Skip to content

[WIP, draft] preflight check draft for zosmf jwt#4727

Draft
1000TurquoisePogs wants to merge 11 commits intov3.x/stagingfrom
feature/v3/jwt-zosmf-check
Draft

[WIP, draft] preflight check draft for zosmf jwt#4727
1000TurquoisePogs wants to merge 11 commits intov3.x/stagingfrom
feature/v3/jwt-zosmf-check

Conversation

@1000TurquoisePogs
Copy link
Copy Markdown
Member

Alternative to #4724
This PR intends to use the jar produced in zowe/api-layer#4531 to create a command zwe validate zosmf jwt which checks if a given zowe-zosmf config is valid depending on if jwt support exists and if zowe is using that or just ltpa.

I do not know the output of this jar, so this PR can be improved by giving better user responses based upon what the jar returns, but I do have a basic template that functions upon expecting that any return code other than 0 is somehow bad.

This code does nothing if apiml is not in use, and does not result in error when ltpa is used either. It's really checking for if you're requesting jwt but the jwt handling isnt working for some reason.

Signed-off-by: 1000TurquoisePogs <sgrady@rocketsoftware.com>
Signed-off-by: 1000TurquoisePogs <sgrady@rocketsoftware.com>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 1, 2026

build 9923 FAILED.
Link to workflow run: https://github.com/zowe/zowe-install-packaging/actions/runs/23853744660

Signed-off-by: 1000TurquoisePogs <sgrady@rocketsoftware.com>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 1, 2026

build 9924 FAILED.
Link to workflow run: https://github.com/zowe/zowe-install-packaging/actions/runs/23853802867

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 1, 2026

build 9925 FAILED.
Link to workflow run: https://github.com/zowe/zowe-install-packaging/actions/runs/23853829755

Comment thread files/defaults.yaml Outdated
# # Superuser startup check - defaults to zowe.launchScript.startupChecks.default, or "exit" if this is unset
# user: exit
# z/OSMF JWT support check - checks whether z/OSMF JWT support is usable when Zowe is configured to use it
zosmfjwt: "exit"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have discussed this as confusing for customers.
If you setup just zowe.launchScript.startupChecks.default = warn in your main configuration, this default will overwrite it for zOSMF JWT check.

That's why the rest of the checks are commented out here.

@hrishikesh-nalawade hrishikesh-nalawade mentioned this pull request Apr 2, 2026
10 tasks
Signed-off-by: hrishikesh-nalawade <hrishikesh.nalawade.17@gmail.com>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 8, 2026

, SMPE build 9967 FAILED.
Link to workflow run: https://github.com/zowe/zowe-install-packaging/actions/runs/24126916553

1 similar comment
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 8, 2026

, SMPE build 9967 FAILED.
Link to workflow run: https://github.com/zowe/zowe-install-packaging/actions/runs/24126916553

Signed-off-by: hrishikesh-nalawade <hrishikesh.nalawade.17@gmail.com>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 8, 2026

, SMPE build 9986 FAILED.
Link to workflow run: https://github.com/zowe/zowe-install-packaging/actions/runs/24151223110

1 similar comment
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 8, 2026

, SMPE build 9986 FAILED.
Link to workflow run: https://github.com/zowe/zowe-install-packaging/actions/runs/24151223110

Signed-off-by: 1000TurquoisePogs <sgrady@rocketsoftware.com>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 14, 2026

build 10051 FAILED.
Link to workflow run: https://github.com/zowe/zowe-install-packaging/actions/runs/24416372693

Signed-off-by: hrishikesh-nalawade <hrishikesh.nalawade.17@gmail.com>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 20, 2026

, SMPE build 10136 FAILED.
Link to workflow run: https://github.com/zowe/zowe-install-packaging/actions/runs/24683531441

Signed-off-by: hrishikesh-nalawade <hrishikesh.nalawade.17@gmail.com>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 20, 2026

, SMPE build 10139 FAILED.
Link to workflow run: https://github.com/zowe/zowe-install-packaging/actions/runs/24684695865

Signed-off-by: hrishikesh-nalawade <hrishikesh.nalawade.17@gmail.com>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 20, 2026

, SMPE build 10139 SUCCEEDED.
Link to workflow run: https://github.com/zowe/zowe-install-packaging/actions/runs/24684695865

Signed-off-by: hrishikesh-nalawade <hrishikesh.nalawade.17@gmail.com>
Signed-off-by: hrishikesh-nalawade <hrishikesh.nalawade.17@gmail.com>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 24, 2026

, SMPE build 10239 SUCCEEDED.
Link to workflow run: https://github.com/zowe/zowe-install-packaging/actions/runs/24904769414

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants