Uploaded image for project: 'Service Design and Creation'
  1. Service Design and Creation
  2. SDC-3435

Initial support for relationship_templates

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • Honolulu Release
    • None
    • None
    • None

      Allow to create a relationship between two nodes that contains interfaces implementations, using the TOSCA relationship_templates structure. The interface implementation can contain inputs assignments.

      TOSCA 1.3 documentation, section 3.8.4 Relationship Template.

      <relationship_template_name>:
        type: <relationship_type_name>
        description: <relationship_type_description>
        metadata:
          <map of string>
        properties:
          <property_assignments>
        attributes:
          <attribute_assignments>
        interfaces:
          <interface_definitions>
        copy:
          <source_relationship_template_name>
      

      The relationship template is used to specify a relationship between two nodes in the requirement assignment TOSCA section TOSCA 1.3 documentation, section 3.8.2 Requirement assignment.

      <requirement_name>:
        node: <node_template_name> | <node_type_name>
        relationship: <relationship_template_name> | <relationship_type_name>
        capability: <capability_symbolic_name> | <capability_type_name>
        node_filter:
          <node_filter_definition>
        occurrences: [ min_occurrences, max_occurrences ]
      

      This allows the user to create relationships that contains interfaces implementations.

        1. adding-an-operation.png
          58 kB
          andre.schmid
        2. new-wizard-tab-operations.png
          74 kB
          andre.schmid
        3. operation-added-listed.png
          44 kB
          andre.schmid
        4. resource-Vfinterfacetest2-csar.csar
          46 kB
          andre.schmid

            andre.schmid andre.schmid
            andre.schmid andre.schmid
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: