-
Type: New Feature
-
Status: Closed
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: CSD2
-
Fix Version/s: CSD03
-
Component/s: Profile-YAML
-
Labels:None
-
Resolution:
It has been proposed that Requirements have cardinality.
Even our Tosca "Root" node has a built-in requirement that should have a [0-n] cardinality; as it reads now, this requires a "dependency" to be fulfilled for EVERY TOSCA node that has derived from it. Either we remove it, add a [0,n] cardinality <or> both:
tosca.nodes.Root:
description: The TOSCA Node Type all other TOSCA base Node Types derive from
attributes:
tosca_id:
type: string
tosca_name:
type: string
requirements:
- dependency:
node: tosca.capabilities.Root
interfaces: [ tosca.interfaces.node.lifecycle.Standard ]