-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major
-
Affects Version/s: None
-
Component/s: Profile-YAML
-
None
In section 12 Grouping Node Templates, a membership construct is used to associate a TOSCA runtime constraint (a capability not provided by the nodes in the service template but by the environment that is processing it) to a set of node templates, the subjects of the constraint.
The specific use cases is an anti-colocation constraint to ensure two SoftwareComponents are not placed on the same Compute node which is certainly a valid and common use case.
My concern with the proposed syntax is that is that it is not able to support strong validation. This construct should capture the following semantics:
1) The capability of the TOSCA Runtime to be applied (constrained)
2) The subjects of the action implied by the declarative constraint