NOKIA NSP connect
This VsCode extension allows to register multiple NSP setups and switch seamlessly between them for all NSP-related extension (intent-manager, workflow-manager, artifact-administrator). You can also have multiple NSP setups open at once in different VsCode windows.
License
Copyright 2023 Nokia
Licensed under the BSD 3-Clause License.
SPDX-License-Identifier: BSD-3-Clause
Nokia logo is trademark of Nokia
Features
The NSP connect vsCode extension allows to:
- Create new NSP setups by providing a unique ID and IP address.
- Remove them as needed.
- Track the "active setup".
- Request and maintain the credentials for each setup.
- Bulk update the connection details for any NSP extension installed in the system automatically.
- An NSP connection is consistent to all NSP extensions on a certain VsCode window.
- The user can have multiple setups open at once in different VsCode windows.
- Other capabilities to be investigated.
Usage
- Simply right click on the NSP Setup you would like to connect to and select "Connect to NSP". This will trigger all NSP-based extensions to connect to the selected NSP setup.
More usage details can be found in the See release changes in CHANGELOG
Install
To compile and generate the VSIX for installation, run:
npm install .
npm run compile
vsce package
VsCode Extension Development
- To compile the typescript extension run:
npm run compile
To run and open the live instance of the extension, open the VsCode Debugger and make sure you have extension.ts open in the VsCode editor.
- ctrl+shift+p > Debug: Start Debugging > VsCode Extension Development
After changes are made to the source code you must recompile the extension in step 1. and then you must restart the extension devlopment host to reflect the changes:
Contribute
Contributions are welcome via normal pull request procedure.
Extension Settings
There is no need for the user to update the extension settings.
By installing this extension, in the explorer window a new view appears called NSP Setups. The user can use this view to create, delete and connect to those NSP setups, avoiding the user from manually introducing the connection details (IP, user, etc.) every time.
Known Issues
- When credentials differ across setups, the connection may seem broken. Try to refresh the files on the explorer, so the extension reconnects and downloads your definitions.
TODOs
- Fix Known Issues. Review/Optimize code.
Release Notes
See release changes in See release changes in CHANGELOG
Contributors
Important links