oasis-tcs / tosca-specs

OASIS TOSCA TC: This repository contains drafts of the TOSCA TC’s specifications and committee notes. https://github.com/oasis-tcs/tosca-specs
Other
5 stars 5 forks source link

Remove relationship template? #108

Open pmjordan opened 3 months ago

pmjordan commented 3 months ago

These comments were hidden in csd06 section 7.4 and moved here as part of https://github.com/oasis-tcs/tosca-specs/issues/61

{"id": "532", "author": "Michael Rehder", "date": "2020-12-15T13:23:00Z", "comment": "My understanding is that this is an\nalternative to relations defined within node templates. \nIt\u2019s not clear why this option would be chosen over the node-template\noption. \nIf both relations in node-templates and relationship templates are used,\nhow are they combined together? \nOr is this not recommended? \nI can imagine that combination rules would be very difficult to define\nbut if it is possible, it must be defined", "target": "A relationship template\nspecifies the occurrence of a manageable relationship between node\ntemplates as part of an application\u2019s topology model that is defined in\na TOSCA service template. A Relationship template is an instance of a\nspecified relationship type and can provide customized properties, or\noperations that complement and change the defaults provided by its\nrelationship type and its implementations."}

koppor commented 2 months ago

The example at https://github.com/oasis-tcs/tosca-specs/issues/75#issuecomment-2300574356 provides a use case for explicit relationship templates.