-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
priorize rules depending on componen inheritance
- Loading branch information
1 parent
21db0e6
commit f6137a8
Showing
13 changed files
with
90 additions
and
233 deletions.
There are no files selected for viewing
78 changes: 4 additions & 74 deletions
78
examples/unfurl-technology---boutique---plus-maintenance-automated/lib/technology-rules.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
78 changes: 4 additions & 74 deletions
78
examples/unfurl-technology---industry---plus-maintenance-automated/lib/technology-rules.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
78 changes: 4 additions & 74 deletions
78
examples/unfurl-technology---shop---plus-maintenance-automated/lib/technology-rules.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
tests/conformance/technologies/optimization-prio/expected.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
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 |
25 changes: 25 additions & 0 deletions
25
tests/conformance/technologies/optimization-prio/template.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
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: | ||
technology_rules: | ||
- component: parent | ||
technology: ansible | ||
weight: 0 | ||
|
||
- component: grandparent | ||
technology: terraform | ||
weight: 1 | ||
|
||
node_templates: | ||
container: | ||
type: container | ||
persistent: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
description: technology rule for grandparent is not considered since technology rule for parent is stricter |