Uploaded image for project: 'Cloudify'
  1. CFY-6874

get_property doesn't look inside data types

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Unprioritized
    • Resolution: Fixed
    • Affects Version/s: 4.0.1
    • Fix Version/s: 4.1
    • Labels:
    • Sprint:
      Cloudify 4.1 Sprint 2

      Description

      data_types:
        endpoint:
          properties:
            host: {}
            port: {}
      
      node_types:
        my_type:
          properties:
            address:
              type: endpoint
      
      node_templates:
        my_node:
          type: my_type
          properties:
            address: {}
      

      In this case, the following expression:

      { get_property: [my_node, address, host] }
      

      — should return the value of the host field inside the {{address}.

      This doesn't work — DSL error received saying that the property doesn't exist.

        Attachments

          Activity

            People

            • Assignee:
              lukasz.maksymczuk lukasz.maksymczuk
              Reporter:
              isaac_s Isaac Shabtay
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: