2 "tosca_definitions_version" : "controller_blueprint_1_0_0",
4 "template_author" : "cds-dev",
5 "author-email" : "test@bell.ca",
6 "template_name" : "uat-imperative-workflow",
7 "template_version" : "1.0.0",
8 "template_tags" : "UAT, CBA, test",
9 "template_type" : "DEFAULT"
12 "file" : "Definitions/data_types.json"
14 "file" : "Definitions/relationship_types.json"
16 "file" : "Definitions/artifact_types.json"
18 "file" : "Definitions/node_types.json"
20 "file" : "Definitions/policy_types.json"
22 "dsl_definitions" : { },
23 "topology_template" : {
28 "target" : "resource-resolution",
29 "on_success" : [ "deploy" ],
30 "on_failure" : [ "assign-recover" ]
33 "target" : "execute-script-1",
34 "on_success" : [ "deploy" ],
35 "on_failure" : [ "collect" ]
38 "target" : "execute-script-2",
39 "on_success" : [ "collect" ],
40 "on_failure" : [ "deploy-recover" ]
43 "target" : "execute-script-3",
44 "on_success" : [ "collect" ],
45 "on_failure" : [ "collect" ]
48 "target" : "collect-results"
52 "service-instance-id" : {
58 "uat-wf-properties" : {
59 "description" : "Dynamic PropertyDefinition for workflow(uat-wf).",
61 "type" : "dt-uat-wf-properties"
68 "get_attribute" : [ "collect-results", "response-data" ]
76 "target" : "execute-script-1",
77 "on_success" : [ "finalize" ],
78 "on_failure" : [ "clean-up" ]
81 "target" : "execute-script-2",
82 "on_success" : [ "finalize" ],
83 "on_failure" : [ "clean-up" ]
86 "target" : "execute-script-3",
87 "on_success" : [ "clean-up" ],
88 "on_failure" : [ "clean-up" ]
91 "target" : "execute-script-4",
92 "on_success" : [ "collect" ],
93 "on_failure" : [ "collect" ]
96 "target" : "collect-results"
100 "service-instance-id" : {
111 "get_attribute" : [ "collect-results", "response-data" ]
118 "resource-resolution" : {
119 "type" : "component-resource-resolution",
121 "ResourceResolutionComponent" : {
125 "artifact-prefix-names" : [ "assign" ],
126 "store-result" : false
134 "type" : "artifact-mapping-resource",
135 "file" : "Templates/assign-mapping.json"
139 "execute-script-1" : {
140 "type" : "component-script-executor",
142 "ComponentScriptExecutor" : {
146 "primary" : "component-script",
148 "operation_host" : "SELF"
151 "script-type" : "kotlin",
152 "script-class-reference" : "cba.cds.uat.TestScript"
160 "execute-script-2" : {
161 "type" : "component-script-executor",
163 "ComponentScriptExecutor" : {
167 "primary" : "component-script",
169 "operation_host" : "SELF"
172 "script-type" : "kotlin",
173 "script-class-reference" : "cba.cds.uat.TestScript"
181 "execute-script-3" : {
182 "type" : "component-script-executor",
184 "ComponentScriptExecutor" : {
188 "primary" : "component-script",
190 "operation_host" : "SELF"
193 "script-type" : "kotlin",
194 "script-class-reference" : "cba.cds.uat.TestScript"
202 "execute-script-4" : {
203 "type" : "component-script-executor",
205 "ComponentScriptExecutor" : {
209 "primary" : "component-script",
211 "operation_host" : "SELF"
214 "script-type" : "kotlin",
215 "script-class-reference" : "cba.cds.uat.TestScript"
223 "collect-results" : {
224 "type" : "component-script-executor",
226 "ComponentScriptExecutor" : {
230 "primary" : "component-script",
232 "operation_host" : "SELF"
235 "script-type" : "kotlin",
236 "script-class-reference" : "cba.cds.uat.CollectorScript"