Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate zOSMF clean up [WIP] #3943

Closed
wants to merge 1 commit into from

Conversation

Martin-Zeithaml
Copy link
Contributor

@Martin-Zeithaml Martin-Zeithaml commented Aug 15, 2024

Fixes #3932

Function bin/libs/zosmf.ts: validateZosmfAsAuthProvider and the corresponding shell version is evaluating the default setting as an error:

ERROR: z/OSMF is not configured. Using z/OSMF as authentication provider is not supported. 

Tests

When ZOSMF_HOST and ZOSMF_PORT are defined:

With valid values:

Successfully checked z/OS MF is available on 'https://skynet:800/zosmf/info'

With invalid values:

ERROR: Warning: Could not validate if z/OS MF is available on 'https://skinet:800/zosmf/'. No response code from z/OSMF server.  
ERROR: 2024-08-16 08:09:10 <ZWELS:800> ZWESVUSR ERROR (zwe-internal-start-prepare,global_validate) Zosmf validation failed

Signed-off-by: Martin Zeithaml <[email protected]>
Copy link

github-actions bot commented Aug 15, 2024

build 5758 SUCCEEDED.
Link to workflow run: https://github.com/zowe/zowe-install-packaging/actions/runs/10404242866

Copy link

github-actions bot commented Aug 15, 2024

Test workflow 5145 is started.
Running install test: Convenience Pax
The zowe artifact being used by this test workflow: libs-snapshot-local/org/zowe/2.18.0-PR-3943/zowe-2.18.0-pr-3943-5758-20240815131028.pax
Running on machine: zzow08
Result: SUCCESS
Link to workflow run: https://github.com/zowe/zowe-install-packaging/actions/runs/10404340747

@Martin-Zeithaml Martin-Zeithaml changed the base branch from v2.x/staging to v3.x/staging August 21, 2024 08:42
@Martin-Zeithaml Martin-Zeithaml changed the base branch from v3.x/staging to v2.x/staging August 21, 2024 08:42
@Martin-Zeithaml Martin-Zeithaml deleted the v2.x/zosmfValidate branch August 21, 2024 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Review the zOSMF validation logic in zwe internal start prepare
2 participants