Refactor: Merge Config and ProfileInfo APIs #2396
Labels
enhancement
New feature or request
priority-low
Legit issue but cosmetic or nice-to-have
v4
Prospective changes for v4
Is your feature or enhancement request related to a problem or limitation? Please describe
As a Zowe extender, it is difficult to know which profile API is best to use and inconvenient when I need to use both.
As a Zowe core maintainer, there is duplication across the profile APIs which requires extra maintenance.
Describe your enhancement idea
Merge the Config and ProfileInfo APIs into a single API that can be used both by Zowe CLI and extenders to manage team config.
Describe alternatives you've considered
Extenders can currently use both APIs by calling
ProfileInfo.getTeamConfig
to access the Config API.Provide any additional context
Perhaps the profiles features of Imperative could be split out into a separate SDK - see #1969
It might be useful to pull in some of the profile methods from Zowe Explorer to consolidate even more APIs.
The text was updated successfully, but these errors were encountered: