Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Ciena: Blue Planet TOSCANew to Visual Studio Code? Get it now.

Ciena: Blue Planet TOSCA

Blue Planet

blueplanet.com
|
219 installs
| (0) | Free
Ciena: Blue Planet TOSCA Extension for Visual Studio Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Blue Planet TOSCA Extension for Visual Studio Code

Also check out the Blue Planet Extension Pack!

Features

The Blue Planet Tosca extension for Visual Studio Code supports service template development for the BP users through VS Code IDE activity bar.

TOSCA activity bar supports several side-bar menu entities such as below:

  • TOSCA-lite outline to list resource types, service templates and property types from all the workspaces
  • Visualizing the resource types using graphical web-view & building TOSCA-lite service templates through graphical editor
  • TOSCA-lite file navigation support through VS Code editor, resource graph editor and TOSCA-lite graphical editor
  • TOSCA-lite file outline support through VS Code explorer
  • TOSCA-lite form based editor
  • TOSCA-lite graphical editor

Tosca extension also provides language support and code snippets for Blue Planet's TOSCA Lite DSL, DDUI Schema II.

TOSCA-Lite Outline

Screenshot

BP Tools: Resource Type Graph Webview

Screenshot

Validation And Code Suggestions

Screenshot

TOSCA-Lite Snippets

Screenshot

TOSCA-lite form based editor

Screenshot

TOSCA-lite graphical editor

Screenshot

DDUI Schema II Snippets

Screenshot

Preview TOSCA as UML (BETA)

You can now right-click any .tosca file and "Preview TOSCA UML" will build a PlantUML class diagram of the ResourceTypes. If the PlantUML Extension is installed and configured this will also open a preview window.

"plantuml.server": "https://www.plantuml.com/plantuml",
"plantuml.render": "PlantUMLServer"
Declarative Service Templates

Screenshot

Settings

For a complete listing of settings provided for the Blue Planet Tosca Extension, see the "Contributions" page for this extension.

Language Server Settings

  • bp.languageServerBPTosca.bpSchemaVersion: The version of BPO core to validate TOSCA against (0 points to the latest version)
  • bp.languageServerBPTosca.maxNumberOfProblems: Controls the maximum number of problems produced by the Blue Planet Tosca Lite language server

TOSCA Tools Settings

  • bp.resourceTypeGraph.delayInGraphElementHighlight: In resource type graph after this duration connected nodes or edges get highlighted when hovering on any node or edge (in milliseconds)

Tosca Indexing Settings

  • bp.toscaIndexing.descriptionLimit: During indexing how many characters of a field's description to show.
  • bp.toscaIndexing.maxReadFileConcurrency: During indexing only read this many files at a time.
  • bp.toscaIndexing.maxRemoveFileConcurrency: During indexing only remove this many files at a time.
  • bp.toscaIndexing.maxStatFileConcurrency: During indexing only get stats on this many files at a time.
  • bp.toscaIndexing.maxWriteFileConcurrency: During indexing only write this many files at a time.
  • bp.toscaIndexing.progressBarUpdateIntervalMs: During indexing how often to update the progress bar (in milliseconds).

Contributing & Development

We welcome contributions! If you are interested in contributing, please email devexchange@blueplanet.com

If you are new to VSCode Extension development review the VSC Extension Quickstart and the BP Git Workflow & Contribution Guidelines

  1. Install npm i
  2. Run npm run build
  3. Open Debug Pannel and Run "Tosca client + server"
  • BP Git Workflow & Contribution Guidelines
  • VSCode Extension Quickstart
  • Extension Documentation

Development Notes

  • The language client & server logs to the "BP tosca" item in the dropdown in the output window

Manual Packaging

  1. Install vsce (should be already done with npm i)
  2. run yarn run package:tosca-ext -- --baseContentUrl=https://developer.blueplanet.com/assets/vscode/tosca-extension/ --baseImagesUrl=https://developer.blueplanet.com/assets/vscode/tosca-extension/

Manual Install

  1. Open Extension sidebar
  2. Select the three dots in the top right of the sidebar
  3. Select Install from VSIX...
Screenshot

Screenshot

Feedback

Please provide feedback in the Blue Planet Q&A Forums on the myCiena Portal

Release Notes

Refer to the CHANGELOG.md

License

Apache-2.0 - See LICENSE for more info

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft