Details
-
Story
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
According to the TOSCA 1.0 spec, property value should be 'exposed', with the same name, as attributes. TOSCA refers to this feature as "refection".
From the spec, section [3.5.10.1]:
TOSCA orchestrators automatically create Attribute definitions for any Property definitions declared on the same TOSCA entity (e.g., nodes, node capabilities and relationships) in order to make accessible the actual (i.e., the current state) value from the running instance of the entity.
The semantics of overriding (predefined property and attribute with the same name) are not clear. Note that section [2.11.2] provides an example that contains a property and an attribute with the same name.