zowe / zowe-explorer-vscode

Visual Studio Code Extension for Zowe, which lets users interact with z/OS Data Sets, Unix System Services, and Jobs on a remote mainframe instance. Powered by Zowe SDKs.
Eclipse Public License 2.0
173 stars 92 forks source link

Expose logic for creating new team configs/schemas #3088

Open traeok opened 2 months ago

traeok commented 2 months ago

Is your feature request related to a problem? Please describe.

From the perspective of a Zowe Explorer extender, I would have to re-implement most of the logic for creating a new team config and schema. This would likely involve duplicating code that already exists in Zowe Explorer's codebase in order to access it.

Describe the solution you'd like

It would be helpful to provide some of this logic in ZE API, if possible, to avoid code duplication and to allow this feature to be leveraged by extenders.

Describe alternatives you've considered

Copy/pasting the code from Zowe Explorer itself, but this feels redundant and is not easy to maintain.

Additional context

Follow up on discussion in issue #3078

zFernand0 commented 2 months ago

This will be helpful for the CICS extension

FrankSu1996 commented 1 month ago

It would be nice to have the ability to add a custom profile if needed in the created team config instead of always the default profile attributes.