Skip to content

requirement-assignment-default-condition-throw-source

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: true
    two:
      type: two
      requirements:
        - three: three
    three:
      type: three

Expected Error

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

Relation source "one" of relation "two@0" of node "one" does not exist

Last update: March 27, 2024