...
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
- The entity is referred to using
- name
- version (optional if there is only one version in the name space)
- namespace (optional)
- 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
- Namespace lookup is as follows
- If a name space is specified, the Service Template referred to by that namespace is used to look up the TOSCA entity
- If an name space is not specified, then the following precedence is used
- The current service template is checked for the referred TOSCA entity, if it's not found...
- The default service template is checked for the referred TOSCA entity
- The entity is referred to using
- Update and delete of service templates is tricky because we need to make sure that no external references are disrupted.
...