technologies-optimization-prio
Description
technology rule for grandparent is not considered since technology rule for parent is stricter
Variable Service Template
The variability of the following variable service template shall be resolved.
| tosca_definitions_version: tosca_variability_1_0_rc_3
node_types:
grandparent:
derived_from: tosca.nodes.Root
parent:
derived_from: grandparent
container:
derived_from: parent
topology_template:
variability:
qualities:
- component: parent
technology: ansible
weight: 0
- component: grandparent
technology: terraform
weight: 1
node_templates:
container:
type: container
persistent: true
|
Variability-Resolved Service Template
The following variability-resolved service template is expected.
| tosca_definitions_version: tosca_simple_yaml_1_3
node_types:
grandparent:
derived_from: tosca.nodes.Root
parent:
derived_from: grandparent
container:
derived_from: parent
topology_template:
node_templates:
container:
type: container~parent::ansible
|
Last update:
November 20, 2024