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

Initial support for relationship_templates

    XMLWordPrintable

Details

    • Story
    • Status: Closed
    • Medium
    • Resolution: Done
    • None
    • Honolulu Release
    • None
    • None

    Description

      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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: