tosca-community-contributions
tosca-community-contributions copied to clipboard
Is examples/basic-template/basic-template.yml a valid service template?
trafficstars
Issue Description
https://github.com/oasis-open/tosca-community-contributions/blob/master/examples/basic-template/basic-template.yml is an invalid service template for Ubicity Validator, Puccini, Cloudnet TOSCA toolbox, and OpenStack TOSCA parser. Is a TOSCA parser successfully validated this service template?
Main issues are
- operation inputs in type definitions are parameter assignments instead of property definitions, see at
- https://github.com/oasis-open/tosca-community-contributions/blob/master/examples/basic-template/basic-template.yml#L22
- https://github.com/oasis-open/tosca-community-contributions/blob/master/examples/basic-template/basic-template.yml#L29
- https://github.com/oasis-open/tosca-community-contributions/blob/master/examples/basic-template/basic-template.yml#L56
- integer values are used instead of version values, see at
- https://github.com/oasis-open/tosca-community-contributions/blob/master/examples/basic-template/basic-template.yml#L44
- https://github.com/oasis-open/tosca-community-contributions/blob/master/examples/basic-template/basic-template.yml#L46
Proposed Resolution
Correct this service template or remove it.