Skip to content

artifacts-dont-throw-ambiguous-artifact

Description

Artifacts are not ambiguous since unique check is based on name scoped by node.

Variable Service Template

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

tosca_definitions_version: tosca_variability_1_0
topology_template:
    node_templates:
        node_one:
            type: node
            artifacts:
                artifact_one:
                    type: artifact_a
        node_two:
            type: node
            artifacts:
                - artifact_one:
                      type: artifact_a

Variability-Resolved Service Template

The following variability-resolved service template is expected.

tosca_definitions_version: tosca_simple_yaml_1_3
topology_template:
    node_templates:
        node_one:
            type: node
            artifacts:
                artifact_one:
                    type: artifact_a
        node_two:
            type: node
            artifacts:
                artifact_one:
                    type: artifact_a

Last update: September 5, 2024