Versions Compared

Key

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

...

id cannot have dot '.' in MongoDB : solved with minimal configuration

Discussion

  • Each Service Template is stored as a JSON "LOB"
  • Each service template has a unique name space
  • When a TOSCA entity is referred to by another TOSCA entity, the following rules apply
    1. The entity is referred to using
      1. name
      2. version (optional if there is only one version in the name space)
      3. namespace (optional)
    2. The version is optional if the name of the referred entity is unique in the specified name space, if there are more than one entities with a given name in a name space, version MUST be specified
    3. Namespace lookup is as follows
      1. If a name space is specified, the Service Template referred to by that namespace is used to look up the TOSCA entity
      2. If an name space is not specified, then the following precedence is used
        1. The current service template is checked for the referred TOSCA entity, if it's not found...
        2. The default service template is checked for the referred TOSCA entity
  • Update and delete of service templates is tricky because we need to make sure that no external references are disrupted.

...