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"
30 "naming-resolution": {
32 "url": "http://neng-serv:8080/web/service",
33 "username": "ccsdkapps",
34 "password": "ccsdkapps"
42 "config-deploy-properties": {
44 "get_input": "resolution-key"
47 "simple-status-properties": {
49 "get_input": "resolution-key"
51 "config-deploy-setup": {
53 "config-setup-process",
62 "topology_template": {
64 "resource-assignment": {
66 "resource-assignment": {
67 "description": "Resource Assign Workflow",
68 "target": "resource-assignment",
71 "call_operation": "ResourceResolutionComponent.process"
79 "description": "Generate and upload K8s Profile",
80 "target": "k8s-profile-upload",
83 "call_operation": "ComponentScriptExecutor.process"
103 "resource-assignment-properties": {
104 "description": "Dynamic PropertyDefinition for workflow(resource-assignment).",
106 "type": "dt-resource-assignment-properties"
114 "resource-assignment",
124 "description": "Gather necessary input for config template upload",
125 "target": "config-setup-process",
128 "call_operation": "ResourceResolutionComponent.process"
136 "description": "Generate and upload K8s config template",
137 "target": "k8s-config-template",
140 "call_operation": "K8sConfigTemplateComponent.process"
154 "config-assign-properties": {
155 "description": "Dynamic PropertyDefinition for workflow(config-assign).",
157 "type": "dt-config-assign-properties"
164 "description": "Gather necessary input for config init and status verification",
165 "target": "config-setup-process",
168 "call_operation": "ResourceResolutionComponent.process"
179 "description": "Activate K8s config template",
180 "target": "k8s-config-apply",
183 "call_operation": "K8sConfigTemplateComponent.process"
187 "status-verification-script"
190 "status-verification-script": {
191 "description": "Simple status verification script",
192 "target": "simple-status-check",
195 "call_operation": "ComponentScriptExecutor.process"
206 "description": "Simple error verification script",
207 "target": "simple-error-check",
210 "call_operation": "ComponentScriptExecutor.process"
218 "description": "Final collection of results",
219 "target": "collect-results"
227 "config-deploy-properties": {
228 "description": "Dynamic PropertyDefinition for workflow(config-deploy).",
230 "type": "dt-config-deploy-properties"
237 "description": "Gather necessary input for config init and status verification",
238 "target": "config-setup-process",
241 "call_operation": "ResourceResolutionComponent.process"
252 "description": "Activate K8s config template",
253 "target": "k8s-config-apply",
256 "call_operation": "K8sConfigTemplateComponent.process"
260 "status-verification-script"
263 "status-verification-script": {
264 "description": "Simple status verification script",
265 "target": "simple-status-check",
268 "call_operation": "ComponentScriptExecutor.process"
272 "health-check-process"
278 "health-check-process": {
279 "description": "Start health check script",
280 "target": "health-check-script",
283 "call_operation": "ComponentScriptExecutor.process"
294 "description": "Simple error verification script",
295 "target": "simple-error-check",
298 "call_operation": "ComponentScriptExecutor.process"
306 "description": "Final collection of results",
307 "target": "collect-results"
315 "config-deploy-properties": {
316 "description": "Dynamic PropertyDefinition for workflow(config-deploy).",
318 "type": "dt-config-deploy-properties"
324 "resource-assignment": {
325 "type": "component-resource-resolution",
327 "ResourceResolutionComponent": {
331 "artifact-prefix-names": {
332 "get_input": "template-prefix"
340 "helm_base_template-template": {
341 "type": "artifact-template-velocity",
342 "file": "Templates/base_template-template.vtl"
344 "helm_base_template-mapping": {
345 "type": "artifact-mapping-resource",
346 "file": "Templates/base_template-mapping.json"
348 "helm_vpkg-template": {
349 "type": "artifact-template-velocity",
350 "file": "Templates/vpkg-template.vtl"
352 "helm_vpkg-mapping": {
353 "type": "artifact-mapping-resource",
354 "file": "Templates/vpkg-mapping.json"
356 "helm_vfw-template": {
357 "type": "artifact-template-velocity",
358 "file": "Templates/vfw-template.vtl"
360 "helm_vfw-mapping": {
361 "type": "artifact-mapping-resource",
362 "file": "Templates/vfw-mapping.json"
365 "type": "artifact-template-velocity",
366 "file": "Templates/vnf-template.vtl"
369 "type": "artifact-mapping-resource",
370 "file": "Templates/vnf-mapping.json"
372 "helm_vsn-template": {
373 "type": "artifact-template-velocity",
374 "file": "Templates/vsn-template.vtl"
376 "helm_vsn-mapping": {
377 "type": "artifact-mapping-resource",
378 "file": "Templates/vsn-mapping.json"
382 "k8s-profile-upload": {
383 "type": "component-k8s-profile-upload",
385 "K8sProfileUploadComponent": {
389 "artifact-prefix-names": {
390 "get_input": "template-prefix"
392 "resource-assignment-map": {
394 "resource-assignment",
404 "vfw-cnf-cds-base-profile": {
405 "type": "artifact-k8sprofile-content",
406 "file": "Templates/k8s-profiles/vfw-cnf-cds-base-profile.tar.gz"
408 "vfw-cnf-cds-vpkg-profile": {
409 "type": "artifact-k8sprofile-content",
410 "file": "Templates/k8s-profiles/vfw-cnf-cds-vpkg-profile"
412 "vfw-cnf-cds-vpkg-profile-mapping": {
413 "type": "artifact-mapping-resource",
414 "file": "Templates/k8s-profiles/vfw-cnf-cds-vpkg-profile/ssh-service-mapping.json"
418 "k8s-config-template": {
419 "type": "component-k8s-config-template",
421 "K8sConfigTemplateComponent": {
425 "artifact-prefix-names": [
428 "resource-assignment-map": {
430 "config-setup-process",
434 "config-deploy-setup"
443 "ssh-service-config": {
444 "type": "artifact-k8sconfig-content",
445 "file": "Templates/k8s-configs/ssh-service.tar.gz"
447 "ssh-service-config-customizable": {
448 "type": "artifact-k8sconfig-content",
449 "file": "Templates/k8s-configs/ssh-service-config"
451 "ssh-service-config-customizable-mapping": {
452 "type": "artifact-mapping-resource",
453 "file": "Templates/k8s-configs/ssh-service-config/ssh-service-mapping.json"
457 "k8s-config-apply": {
458 "type": "component-k8s-config-value",
460 "K8sConfigValueComponent": {
464 "artifact-prefix-names": [
467 "k8s-config-operation-type": "create",
468 "resource-assignment-map": {
470 "config-setup-process",
474 "config-deploy-setup"
483 "ssh-service-default": {
484 "type": "artifact-k8sconfig-content",
485 "file": "Templates/k8s-configs/ssh-service-config/values.yaml"
487 "ssh-service-config": {
488 "type": "artifact-k8sconfig-content",
489 "file": "Templates/k8s-configs/ssh-service-values/values.yaml.vtl"
491 "ssh-service-config-mapping": {
492 "type": "artifact-mapping-resource",
493 "file": "Templates/k8s-configs/ssh-service-values/ssh-service-mapping.json"
497 "simple-status-check": {
498 "type": "component-script-executor",
500 "ComponentScriptExecutor": {
504 "script-type": "kotlin",
505 "script-class-reference": "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.SimpleStatusCheck",
506 "instance-dependencies": [
507 "bluePrintPropertiesService"
509 "dynamic-properties": "*simple-status-properties"
516 "simple-error-check": {
517 "type": "component-script-executor",
519 "ComponentScriptExecutor": {
523 "script-type": "kotlin",
524 "script-class-reference": "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.SimpleErrorCheck",
525 "instance-dependencies": [
526 "bluePrintPropertiesService"
528 "dynamic-properties": "*simple-status-properties"
535 "health-check-script": {
536 "type": "component-script-executor",
538 "ComponentScriptExecutor": {
542 "script-type": "kotlin",
543 "script-class-reference": "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.K8sHealthCheck",
544 "instance-dependencies": [
545 "bluePrintPropertiesService"
547 "dynamic-properties": "*simple-status-properties"
554 "config-setup-process": {
555 "type": "component-resource-resolution",
557 "ResourceResolutionComponent": {
562 "get_input": "resolution-key"
564 "store-result": false,
565 "artifact-prefix-names": [
570 "resource-assignment-params": {
583 "config-deploy-template": {
584 "type": "artifact-template-velocity",
585 "file": "Templates/config-setup-template.vtl"
587 "config-deploy-mapping": {
588 "type": "artifact-mapping-resource",
589 "file": "Templates/config-setup-mapping.json"
593 "config-deploy-process": {
594 "type": "component-script-executor",
596 "ComponentScriptExecutor": {
600 "script-type": "kotlin",
601 "script-class-reference": "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.ConfigDeploy",
602 "dynamic-properties": "*config-deploy-properties"
610 "type": "component-script-executor",
612 "ComponentScriptExecutor": {
616 "primary": "component-script",
618 "operation_host": "SELF"
621 "script-type": "kotlin",
622 "script-class-reference": "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.CollectorScript"