...
- Should be available a functionality to load a full version of the service template that contains own tosca entities and also all tosca entities referenced from other service templates
- A service template cannot be deleted if there are references to it
- Any Tosca Entities in a common service template cannot be deleted if there are references to that service template
- Any Tosca Entities in a common service template cannot be change "namespace", "type" and "type_version" if there are references to that service template
- Any Tosca Entities in a common service template could be change values if there are not automation compositions in it and in all references to that service template
- A Tosca Entity could be add in a common service template if there are not automation compositions in it and in all references to that service template
- Functionality as create, update and delete of a ToscaEntity in a service template should be validated and restricted to the service template itself. (Example: update property values of a service template should never update property values from other service templates referenced)
- To reduce the complexity, could be useful to save additional information about the service template:
- A full version of the service template that contains own tosca entities and also all tosca entities referenced from other service templates. it will be used in read-only for business logic purpose
- a A table to save relations between service templates
- A table to save relations between service templates and automation compositions (with all service templates referenced)
Conclusion
- Work in progress