Closed gejohnston closed 2 months ago
Attention: Patch coverage is 99.68051%
with 1 lines
in your changes are missing coverage. Please review.
Project coverage is 90.96%. Comparing base (
03d99c8
) to head (f72d69c
). Report is 2 commits behind head on next.
Files | Patch % | Lines |
---|---|---|
...g/cmd/convert-profiles/convert-profiles.handler.ts | 97.50% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Failed conditions
3.3% Duplication on New Code (required ≤ 3%)
Release succeeded for the next
branch. :tada:
The following packages have been published:
@zowe/secrets-for-zowe-sdk@8.0.0-next.202404191414
@zowe/imperative@8.0.0-next.202404191414
@zowe/cli-test-utils@8.0.0-next.202404191414
@zowe/core-for-zowe-sdk@8.0.0-next.202404191414
@zowe/zos-uss-for-zowe-sdk@8.0.0-next.202404191414
@zowe/provisioning-for-zowe-sdk@8.0.0-next.202404191414
@zowe/zos-console-for-zowe-sdk@8.0.0-next.202404191414
@zowe/zos-files-for-zowe-sdk@8.0.0-next.202404191414
@zowe/zos-logs-for-zowe-sdk@8.0.0-next.202404191414
@zowe/zosmf-for-zowe-sdk@8.0.0-next.202404191414
@zowe/zos-workflows-for-zowe-sdk@8.0.0-next.202404191414
@zowe/zos-jobs-for-zowe-sdk@8.0.0-next.202404191414
@zowe/zos-tso-for-zowe-sdk@8.0.0-next.202404191414
@zowe/cli@8.0.0-next.202404191414
Powered by Octorelease :rocket:
What It Does
The new ConvertV1Profiles class enables apps to convert V1 profiles into a current Zowe client configuration file.
The primary function of the
convert profiles
command remains the same. The following changes were introduced:The ConvertV1Profiles.convert API was written to work better for apps that are not a command line program.
How to Test
The impact on end-users can be tested by running the
convert profiles
command in various scenarios. Because V1 profiles can no longer be created in V3, it can be difficult to create useful test data. The following screenshots demonstrate several known scenarios.In a simple situation the output looks like the screenshot below. In this scenario, the V1 SCS plugin was already installed, and the
convert profiles
command uninstalled that plugin.When you also ask to delete your old profiles, you are prompted to confirm the deletion. The output looks like this:
When an error occurs, the output looks like this:
When the old V1 SCS plugin is configured as the CredentialManager for Zowe, the .zowe\settings\imperative.json looks like this:
When configured like this, ALL zowe commands will display a warning that the Credential Manager is not in the list of known credential managers. The command then attempts its operation. An example of a
zowe-files list
command shows this behavior.Also, when configured like this, the
plugins uninstall @zowe/secure-credential-store-for-zowe-cli
command (like all Zowe commands) displays the same CredentialManager warning. It also display a set of NPM warnings when uninstalling the V1 SCS plugin, even though it successfully uninstalls the SCS plugin.The warnings above are not a result of the
convert profiles
command, but they do affect theconvert profiles
command because:plugins uninstall
operation.Despite the warnings in such a configuration, the
convert profiles
command converts the V1 profiles, uninstalls the SCS plugin, and restores the Zowe built-in CredentialManager.As proof that the
convert profiles
command has restored the built-in CredentialManager, when you now run thezos-files list
command, you no longer get the CredentialManager warning.Review Checklist I certify that I have:
Additional Comments