Skip to content

hosting-aware-pruning-fig-10-broken

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:
            mode: semantic-loose
            node_default_condition_mode: incoming-artifact-host
            optimization_topology: min
            optimization_topology_unique: false
            hosting_stack_constraint: true
    node_templates:
        app:
            type: app
            persistent: true
            requirements:
                - host: elastic
                - host: static
                - database:
                      node: database
                      implied: true
        database:
            type: database
        static:
            type: static
        elastic:
            type: elastic

Expected Error

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

Could not solve

Last update: September 5, 2024