Skip to content

raghvendra-v/tosca-yaml-lsp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Travis CI

TOSCA YAML LSP

TOSCA DSL grammar using the Xtext framework

This project bridges the gap between meta-model derived from TOSCA catalogue and Java Object-Graph model. It features

  • Xtext based grammer to parse generic YAML
  • Xtext's native JvmModel translator to generate Java POJOs corresponding to the type definitions in the catalogue
  • theia based cloud editor for tosca catalogue
  • Eclipse plugin to edit YAMLs
  • OpenAPI decorators in the generated POJO's to help exposure using spring-boot APIs
  • OGM annotations in the generated POJO's for mapping to a graph DB ( neo4j ) , support for spring-boot REST repository

TOSCA EDITOR DEMO

known issues in YAML parsing

  • Best to have a blank newline at the end of file, although it should work most of the time without them
  • multiple documents (--- and ... markers);
  • Complex mapping keys and complex values starting with ?;
  • Tagged values as keys;
  • The following tags and types: !!set, !!omap, !!pairs, !!set, !!seq, !!bool, !!int, !!merge, !!null, !!timestamp, !!value, !!yaml;
  • TAG directives

build process

maven clean install
Bulk parsing Test runs regression against all the yaml descriptors available in Open Source MANO GIT

About

TOSCA DSL grammer using the xtext framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published