Uploaded image for project: 'AriaTosca'
  1. AriaTosca
  2. ARIA-338

Reflect properties as attributes

    XMLWordPrintableJSON

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]:

      3.5.10.1 Attribute and Property reflection

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            avia Avia Efrat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: