tosca-community-contributions icon indicating copy to clipboard operation
tosca-community-contributions copied to clipboard

Is examples/basic-template/basic-template.yml a valid service template?

Open philippemerle opened this issue 3 years ago • 0 comments
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.

philippemerle avatar May 11 '22 06:05 philippemerle