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": "8.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"
173 "description": "Activate K8s config template",
174 "target": "k8s-config-apply",
177 "call_operation": "K8sConfigTemplateComponent.process"
181 "status-verification-script"
184 "status-verification-script": {
185 "description": "Simple status verification script",
186 "target": "simple-status-check",
189 "call_operation": "ComponentScriptExecutor.process"
200 "description": "Simple error verification script",
201 "target": "simple-error-check",
204 "call_operation": "ComponentScriptExecutor.process"
212 "description": "Final collection of results",
213 "target": "collect-results"
221 "config-deploy-properties": {
222 "description": "Dynamic PropertyDefinition for workflow(config-deploy).",
224 "type": "dt-config-deploy-properties"
231 "description": "Gather necessary input for config init and status verification",
232 "target": "config-setup-process",
235 "call_operation": "ResourceResolutionComponent.process"
246 "description": "Activate K8s config template",
247 "target": "k8s-config-apply",
250 "call_operation": "K8sConfigTemplateComponent.process"
254 "status-verification-script"
257 "status-verification-script": {
258 "description": "Simple status verification script",
259 "target": "simple-status-check",
262 "call_operation": "ComponentScriptExecutor.process"
266 "health-check-process"
272 "health-check-process": {
273 "description": "Start health check script",
274 "target": "health-check-script",
277 "call_operation": "ComponentScriptExecutor.process"
288 "description": "Simple error verification script",
289 "target": "simple-error-check",
292 "call_operation": "ComponentScriptExecutor.process"
300 "description": "Final collection of results",
301 "target": "collect-results"
309 "config-deploy-properties": {
310 "description": "Dynamic PropertyDefinition for workflow(config-deploy).",
312 "type": "dt-config-deploy-properties"
318 "resource-assignment": {
319 "type": "component-resource-resolution",
321 "ResourceResolutionComponent": {
325 "artifact-prefix-names": {
326 "get_input": "template-prefix"
334 "helm_base_template-template": {
335 "type": "artifact-template-velocity",
336 "file": "Templates/base_template-template.vtl"
338 "helm_base_template-mapping": {
339 "type": "artifact-mapping-resource",
340 "file": "Templates/base_template-mapping.json"
342 "helm_vpkg-template": {
343 "type": "artifact-template-velocity",
344 "file": "Templates/vpkg-template.vtl"
346 "helm_vpkg-mapping": {
347 "type": "artifact-mapping-resource",
348 "file": "Templates/vpkg-mapping.json"
350 "helm_vfw-template": {
351 "type": "artifact-template-velocity",
352 "file": "Templates/vfw-template.vtl"
354 "helm_vfw-mapping": {
355 "type": "artifact-mapping-resource",
356 "file": "Templates/vfw-mapping.json"
359 "type": "artifact-template-velocity",
360 "file": "Templates/vnf-template.vtl"
363 "type": "artifact-mapping-resource",
364 "file": "Templates/vnf-mapping.json"
366 "helm_vsn-template": {
367 "type": "artifact-template-velocity",
368 "file": "Templates/vsn-template.vtl"
370 "helm_vsn-mapping": {
371 "type": "artifact-mapping-resource",
372 "file": "Templates/vsn-mapping.json"
376 "k8s-profile-upload": {
377 "type": "component-k8s-profile-upload",
379 "K8sProfileUploadComponent": {
383 "artifact-prefix-names": {
384 "get_input": "template-prefix"
386 "resource-assignment-map": {
388 "resource-assignment",
398 "vfw-cnf-cds-base-profile": {
399 "type": "artifact-k8sprofile-content",
400 "file": "Templates/k8s-profiles/vfw-cnf-cds-base-profile.tar.gz"
402 "vfw-cnf-cds-vpkg-profile": {
403 "type": "artifact-k8sprofile-content",
404 "file": "Templates/k8s-profiles/vfw-cnf-cds-vpkg-profile"
406 "vfw-cnf-cds-vpkg-profile-mapping": {
407 "type": "artifact-mapping-resource",
408 "file": "Templates/k8s-profiles/vfw-cnf-cds-vpkg-profile/ssh-service-mapping.json"
412 "k8s-config-template": {
413 "type": "component-k8s-config-template",
415 "K8sConfigTemplateComponent": {
419 "artifact-prefix-names": [
422 "resource-assignment-map": {
424 "config-setup-process",
428 "config-deploy-setup"
437 "ssh-service-config": {
438 "type": "artifact-k8sconfig-content",
439 "file": "Templates/k8s-configs/ssh-service.tar.gz"
441 "ssh-service-config-customizable": {
442 "type": "artifact-k8sconfig-content",
443 "file": "Templates/k8s-configs/ssh-service-config"
445 "ssh-service-config-customizable-mapping": {
446 "type": "artifact-mapping-resource",
447 "file": "Templates/k8s-configs/ssh-service-config/ssh-service-mapping.json"
451 "k8s-config-apply": {
452 "type": "component-k8s-config-value",
454 "K8sConfigValueComponent": {
458 "artifact-prefix-names": [
461 "k8s-config-operation-type": "create",
462 "resource-assignment-map": {
464 "config-setup-process",
468 "config-deploy-setup"
477 "ssh-service-default": {
478 "type": "artifact-k8sconfig-content",
479 "file": "Templates/k8s-configs/ssh-service-config/values.yaml"
481 "ssh-service-config": {
482 "type": "artifact-k8sconfig-content",
483 "file": "Templates/k8s-configs/ssh-service-values/values.yaml.vtl"
485 "ssh-service-config-mapping": {
486 "type": "artifact-mapping-resource",
487 "file": "Templates/k8s-configs/ssh-service-values/ssh-service-mapping.json"
491 "simple-status-check": {
492 "type": "component-script-executor",
494 "ComponentScriptExecutor": {
498 "script-type": "kotlin",
499 "script-class-reference": "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.SimpleStatusCheck",
500 "instance-dependencies": [
501 "bluePrintPropertiesService"
503 "dynamic-properties": "*simple-status-properties"
510 "simple-error-check": {
511 "type": "component-script-executor",
513 "ComponentScriptExecutor": {
517 "script-type": "kotlin",
518 "script-class-reference": "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.SimpleErrorCheck",
519 "instance-dependencies": [
520 "bluePrintPropertiesService"
522 "dynamic-properties": "*simple-status-properties"
529 "health-check-script": {
530 "type": "component-script-executor",
532 "ComponentScriptExecutor": {
536 "script-type": "kotlin",
537 "script-class-reference": "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.K8sHealthCheck",
538 "instance-dependencies": [
539 "bluePrintPropertiesService"
541 "dynamic-properties": "*simple-status-properties"
548 "config-setup-process": {
549 "type": "component-resource-resolution",
551 "ResourceResolutionComponent": {
556 "get_input": "resolution-key"
558 "store-result": false,
559 "artifact-prefix-names": [
564 "resource-assignment-params": {
577 "config-deploy-template": {
578 "type": "artifact-template-velocity",
579 "file": "Templates/config-setup-template.vtl"
581 "config-deploy-mapping": {
582 "type": "artifact-mapping-resource",
583 "file": "Templates/config-setup-mapping.json"
587 "config-deploy-process": {
588 "type": "component-script-executor",
590 "ComponentScriptExecutor": {
594 "script-type": "kotlin",
595 "script-class-reference": "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.ConfigDeploy",
596 "dynamic-properties": "*config-deploy-properties"
604 "type": "component-script-executor",
606 "ComponentScriptExecutor": {
610 "primary": "component-script",
612 "operation_host": "SELF"
615 "script-type": "kotlin",
616 "script-class-reference": "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.CollectorScript"