Service Manager Extension
To fetch Tenant's DB credentials extension requires below input:
- Service Manager Instances' client id
- Service Manager Instances' client secret
- Environment (e.g eu20)
- Org (e.g dm-internal-azure)
- Tenant's Id
Dev Setup
- Latest node, npm
- Execute "npm install" (for ./node_modules/ directory)
- Acquire esbuild by executing command "npm i --save-dev esbuild"
- Execute "npm run compile" (for ./dist/ directory)
- For running : Open extension.ts and press F5
Publishing
- npm install -g @vscode/vsce
- "cd" to root folder and execute "vsce package".
- service-manager-ext-0.0.1.vsix generated
- Execute "vsce publish" to publish.
- ssh_vs_ext.service-manager-ext-0.0.1 published to VS Code Marketplace
Rough
How to retain values in vscode extension files
Todo
- For publishing "https://code.visualstudio.com/api/working-with-extensions/publishing-extension#create-a-publisher"
- Test for edge cases
- Test cases
- Security
| |