Skip to content

relationships-throw-unused

Variable Service Template

The variability of the following variable service template shall be resolved.

tosca_definitions_version: tosca_variability_1_0
topology_template:
  variability:
    options:
      type_default_condition: true
  node_templates:
    one:
      type: one
      conditions: false
      requirements:
        - two:
            node: two
            conditions: false
            relationship: rtwo
    two:
      type: two
      requirements:
        - three: three
    three:
      type: three
  relationship_templates:
    rtwo:
      type: rtwo
    rthree:
      type: rthree

Expected Error

The following error is expected to be thrown, when resolving variability.

Relation "rthree" is never used

Last update: March 27, 2024