vscode-extension-for-zowe
vscode-extension-for-zowe copied to clipboard
Notify extenders when changes to the vault have been made
Is your feature request related to a problem? Please describe.
As of 2.10.0, we introduced the ability to notify extenders and have the extender define the behavior to perform upon receiving new changes to a team configuration profile in Zowe Explorer. For this issue we want to extend this functionality by also notifying if a change in a users Zowe vault is changed, meaning if a user updates their password, logs out, logs in, or updates their token, the extenders will be notified and Zowe Explorer will be refreshed.
Describe the solution you'd like
If a user changes their password, logs out, logs in, or updates their expired token, Zowe Explorer should refresh automatically and notify extenders about the new vault change so they can obtain that latest credential information too.
Describe alternatives you've considered
Currently the only way to obtain latest credentials is manually refreshing, but this can be tedious for extenders since sometimes this can produce a very clunky experience.
Additional context
Thank you for raising this enhancement request. The community has 90 days to vote on it. If the enhancement receives at least 10 upvotes, it is added to our development backlog. If it receives fewer votes, the issue is closed.
Relevant Imperative issue which will add the onVaultUpdate
event emitter to be attached to our onProfilesUpdate
event emitter for extenders https://github.com/zowe/zowe-cli/issues/1987