-
Notifications
You must be signed in to change notification settings - Fork 87
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
Zowe CLI V2 - Regression on profile naming, malfunction of our tools and loss of credentials #1403
Comments
After some discussion, we considered this issue to have two essential parts to it.
Hopefully this serves as an explanation to how the new name shouldn't have impacted end users (too deeply) when converting from V1 profiles to V2 Team Config using the Next steps:
There is a slight problem with the AutoStore functionality (which I will create an issue for). After the demonstration, I noticed that the user and password were stored in a new What should have happened is that, since we detected that we were using an aliased name, the AutoStore functionality should have saved the credentials in the new profile ( Details
|
Thank you for raising this enhancement request. |
Hi,
With Zowe CLI V1, we had chosen to name all our profiles according to the name of the accessed z/OS LPAR.
So all profiles, whether z/OSMF, FTP, SSH, TSO, ENDEVOR... had the same name.
In addition, the profiles names were imposed on all our users because they are used in tool settings, including VS Code extensions, (settings managed at the Workspace level, i.e. a Git Repository, and shared by all users of this Git repository).
When switching from Zowe CLI V1 to Zowe CLI V2, the profile migration procedure renamed them all, by assigning them a name of the form "type-old_name"!
In fact, after migration, no tools were working anymore...
I think this is related to an architecture issue in the
zowe.config.json
file:profiles
, and thetype
of the profile is just an attributetype
should have been the primary key in theprofiles
array and the profile name should have been a secondary key. This would have made it possible to migrate the profiles while keeping their names and not to create any constraint on the uniqueness of the profile name.To put our tools back into operation, we had to rename all the profiles in the settings by applying a new naming convention:
Corollary, the profiles had to be renamed in the
zowe.config.json
file. But there is no Zowe CLI command to rename a profile... so the recoding had to be done manually directly in thezowe.config.json
file...This led to the loss of all credentials... which all had to be recreated as the profiles were used.
We are absolutely not satisfied with these impacts suffered during the transition from Zowe CLI V1 to Zowe CLI V2.
The text was updated successfully, but these errors were encountered: