Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name and version of service template are currently are not defined in TOSCA language, not used in yaml files, they are and not present in all examples neither Unit Tests. They , but they are used as primary key of the ToscaServiceTemplate table and They they are used in REST endpoints as id of a resource.

  • namespace as URI could be an issue if used as id of a resource
  • name could be extracted from the prefix of the namespace, and version will could be deprecated or maybe extracted from the namespace as well.postfix of the namespace. A pattern could be like a http://{name}/service/namespace/{x}/{y}/{z}. As example "http://tosca/service/namespace/0/0/1" we can extract name: "tosca" and version: "0.0.1"
  • name and version will be not present into the yaml file (service template) as now, but they could be used we can continue to use them as id of a resource because extracted from the namespace

Validation

Validation in current ORM layer

...