implied-default-fixed-right
Variable Service Template
The variability of the following variable service template shall be resolved.
| tosca_definitions_version: tosca_variability_1_0_rc_2
topology_template:
variability:
inputs:
l:
type: boolean
expressions:
is_l:
equal:
- variability_input: l
- true
is_r:
equal:
- variability_input: l
- false
options:
expected_incoming_relation_check: false
required_incoming_relation_constraint: false
enrich_technologies: false
technology_constraint: false
node_templates:
application:
type: Application
persistent: true
requirements:
- connection:
node: left
conditions:
logic_expression: is_l
- connection:
node: right
default_alternative: true
right:
type: Right
persistent: true
left:
type: Left
persistent: true
|
When resolving variability, the following variability inputs shall be used.
Variability-Resolved Service Template
The following variability-resolved service template is expected.
| tosca_definitions_version: tosca_simple_yaml_1_3
topology_template:
node_templates:
application:
type: Application
requirements:
- connection: right
right:
type: Right
left:
type: Left
|
Last update:
December 28, 2024