2 "tosca_definitions_version": "controller_blueprint_1_0_0",
4 "template_author": "Samuli Silvius <s.silvius@partner.samsung.com>",
5 "author-email": "lukasz.rajewski@orange.com",
6 "user-groups": "ADMIN, OPERATION",
7 "template_name": "vFW_CNF_CDS",
8 "template_version": "7.0.0",
9 "template_tags": "Samuli Silvius, Lukasz Rajewski, vFW_CNF_CDS",
10 "template_type": "DEFAULT"
14 "file": "Definitions/data_types.json"
17 "file": "Definitions/relationship_types.json"
20 "file": "Definitions/artifact_types.json"
23 "file": "Definitions/node_types.json"
26 "file": "Definitions/policy_types.json"
36 "config-deploy-properties": {
38 "get_input": "resolution-key"
41 "simple-status-properties": {
43 "get_input": "resolution-key"
45 "config-deploy-setup": {
47 "config-setup-process",
56 "topology_template": {
58 "resource-assignment": {
60 "resource-assignment": {
61 "description": "Resource Assign Workflow",
62 "target": "resource-assignment",
65 "call_operation": "ResourceResolutionComponent.process"
73 "description": "Generate and upload K8s Profile",
74 "target": "k8s-profile-upload",
77 "call_operation": "ComponentScriptExecutor.process"
97 "resource-assignment-properties": {
98 "description": "Dynamic PropertyDefinition for workflow(resource-assignment).",
100 "type": "dt-resource-assignment-properties"
108 "resource-assignment",
118 "description": "Gather necessary input for config template upload",
119 "target": "config-setup-process",
122 "call_operation": "ResourceResolutionComponent.process"
130 "description": "Generate and upload K8s config template",
131 "target": "k8s-config-template",
134 "call_operation": "K8sConfigTemplateComponent.process"
148 "config-assign-properties": {
149 "description": "Dynamic PropertyDefinition for workflow(config-assign).",
151 "type": "dt-config-assign-properties"
158 "description": "Gather necessary input for config init and status verification",
159 "target": "config-setup-process",
162 "call_operation": "ResourceResolutionComponent.process"
170 "description": "Activate K8s config template",
171 "target": "k8s-config-apply",
174 "call_operation": "K8sConfigTemplateComponent.process"
178 "status-verification-script"
181 "status-verification-script": {
182 "description": "Simple status verification script",
183 "target": "simple-status-check",
186 "call_operation": "ComponentScriptExecutor.process"
196 "config-deploy-properties": {
197 "description": "Dynamic PropertyDefinition for workflow(config-deploy).",
199 "type": "dt-config-deploy-properties"
205 "resource-assignment": {
206 "type": "component-resource-resolution",
208 "ResourceResolutionComponent": {
212 "artifact-prefix-names": {
213 "get_input": "template-prefix"
221 "helm_base_template-template": {
222 "type": "artifact-template-velocity",
223 "file": "Templates/base_template-template.vtl"
225 "helm_base_template-mapping": {
226 "type": "artifact-mapping-resource",
227 "file": "Templates/base_template-mapping.json"
229 "helm_vpkg-template": {
230 "type": "artifact-template-velocity",
231 "file": "Templates/vpkg-template.vtl"
233 "helm_vpkg-mapping": {
234 "type": "artifact-mapping-resource",
235 "file": "Templates/vpkg-mapping.json"
237 "helm_vfw-template": {
238 "type": "artifact-template-velocity",
239 "file": "Templates/vfw-template.vtl"
241 "helm_vfw-mapping": {
242 "type": "artifact-mapping-resource",
243 "file": "Templates/vfw-mapping.json"
246 "type": "artifact-template-velocity",
247 "file": "Templates/vnf-template.vtl"
250 "type": "artifact-mapping-resource",
251 "file": "Templates/vnf-mapping.json"
253 "helm_vsn-template": {
254 "type": "artifact-template-velocity",
255 "file": "Templates/vsn-template.vtl"
257 "helm_vsn-mapping": {
258 "type": "artifact-mapping-resource",
259 "file": "Templates/vsn-mapping.json"
263 "k8s-profile-upload": {
264 "type": "component-k8s-profile-upload",
266 "K8sProfileUploadComponent": {
270 "artifact-prefix-names": {
271 "get_input": "template-prefix"
273 "resource-assignment-map": {
275 "resource-assignment",
285 "vfw-cnf-cds-base-profile": {
286 "type": "artifact-k8sprofile-content",
287 "file": "Templates/k8s-profiles/vfw-cnf-cds-base-profile.tar.gz"
289 "vfw-cnf-cds-vpkg-profile": {
290 "type": "artifact-k8sprofile-content",
291 "file": "Templates/k8s-profiles/vfw-cnf-cds-vpkg-profile"
293 "vfw-cnf-cds-vpkg-profile-mapping": {
294 "type": "artifact-mapping-resource",
295 "file": "Templates/k8s-profiles/vfw-cnf-cds-vpkg-profile/ssh-service-mapping.json"
299 "k8s-config-template": {
300 "type": "component-k8s-config-template",
302 "K8sConfigTemplateComponent": {
306 "artifact-prefix-names": [
309 "resource-assignment-map": {
311 "config-setup-process",
315 "config-deploy-setup"
324 "ssh-service-config": {
325 "type": "artifact-k8sprofile-content",
326 "file": "Templates/k8s-configs/ssh-service.tar.gz"
328 "ssh-service-config-customizable": {
329 "type": "artifact-k8sprofile-content",
330 "file": "Templates/k8s-configs/ssh-service-config"
332 "ssh-service-config-customizable-mapping": {
333 "type": "artifact-mapping-resource",
334 "file": "Templates/k8s-configs/ssh-service-config/ssh-service-mapping.json"
338 "k8s-config-apply": {
339 "type": "component-k8s-config-value",
341 "K8sConfigValueComponent": {
345 "artifact-prefix-names": [
348 "resource-assignment-map": {
350 "config-setup-process",
354 "config-deploy-setup"
363 "simple-status-check": {
364 "type": "component-script-executor",
366 "ComponentScriptExecutor": {
370 "script-type": "kotlin",
371 "script-class-reference": "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.SimpleStatusCheck",
372 "instance-dependencies": [
373 "blueprintPropertiesService"
375 "dynamic-properties": "*simple-status-properties"
382 "config-setup-process": {
383 "type": "component-resource-resolution",
385 "ResourceResolutionComponent": {
390 "get_input": "resolution-key"
392 "store-result": false,
393 "artifact-prefix-names": [
398 "resource-assignment-params": {
411 "config-deploy-template": {
412 "type": "artifact-template-velocity",
413 "file": "Templates/config-setup-template.vtl"
415 "config-deploy-mapping": {
416 "type": "artifact-mapping-resource",
417 "file": "Templates/config-setup-mapping.json"
421 "config-deploy-process": {
422 "type": "component-script-executor",
424 "ComponentScriptExecutor": {
428 "script-type": "kotlin",
429 "script-class-reference": "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.ConfigDeploy",
430 "dynamic-properties": "*config-deploy-properties"