-
Type: Sub-task
-
Status: New
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: CSD03
-
Component/s: Profile-YAML
-
Labels:None
I think the definition of the Root node has something wrong: right now we have removed the Feature capability/dependency to replace it with a single dependency requirement of type tosca.capabilities.Root.
But actually no nodes defines the tosca.capabilities.Root capability. I think it's not very correct to satisfy a requirement by something that doesn't match the type of the requirement (and we don't have node directly defining the tosca.capabilities.Root capability).
To make it simpler and, I think, more correct, we should change the dependency definition so the requirement type is directly tosca.nodes.Root as I think any node can depends from another one.
Woud be:
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:
type: tosca.nodes.Root
lower_bound: 0
upper_bound: unbounded
interfaces: [tosca.interfaces.node.lifecycle.Standard | tosca.interfaces.node.lifecycle.Simple ]