[ 
https://issues.apache.org/jira/browse/ARIA-338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ran Ziv updated ARIA-338:
-------------------------
    Affects Version/s:     (was: 0.2.0)

> Reflect properties as attributes
> --------------------------------
>
>                 Key: ARIA-338
>                 URL: https://issues.apache.org/jira/browse/ARIA-338
>             Project: AriaTosca
>          Issue Type: Story
>            Reporter: Avia Efrat
>            Priority: Minor
>
> 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]:
> {panel:title=3.5.10.1 Attribute and Property reflection | bgColor=#F5F5F5} 
> 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.
> {panel}
> The semantics of overriding (predefined property and attribute with the same 
> name) are not clear. Note that section [2.11.2] provides an 
> [example|http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/os/TOSCA-Simple-Profile-YAML-v1.0-os.html#_Toc471725306]
>  that contains a property and an attribute with the same name.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to