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"
230 "resource-assignment": {
231 "type": "component-resource-resolution",
233 "ResourceResolutionComponent": {
237 "artifact-prefix-names": {
238 "get_input": "template-prefix"
246 "helm_base_template-template": {
247 "type": "artifact-template-velocity",
248 "file": "Templates/base_template-template.vtl"
250 "helm_base_template-mapping": {
251 "type": "artifact-mapping-resource",
252 "file": "Templates/base_template-mapping.json"
254 "helm_vpkg-template": {
255 "type": "artifact-template-velocity",
256 "file": "Templates/vpkg-template.vtl"
258 "helm_vpkg-mapping": {
259 "type": "artifact-mapping-resource",
260 "file": "Templates/vpkg-mapping.json"
262 "helm_vfw-template": {
263 "type": "artifact-template-velocity",
264 "file": "Templates/vfw-template.vtl"
266 "helm_vfw-mapping": {
267 "type": "artifact-mapping-resource",
268 "file": "Templates/vfw-mapping.json"
271 "type": "artifact-template-velocity",
272 "file": "Templates/vnf-template.vtl"
275 "type": "artifact-mapping-resource",
276 "file": "Templates/vnf-mapping.json"
278 "helm_vsn-template": {
279 "type": "artifact-template-velocity",
280 "file": "Templates/vsn-template.vtl"
282 "helm_vsn-mapping": {
283 "type": "artifact-mapping-resource",
284 "file": "Templates/vsn-mapping.json"
288 "k8s-profile-upload": {
289 "type": "component-k8s-profile-upload",
291 "K8sProfileUploadComponent": {
295 "artifact-prefix-names": {
296 "get_input": "template-prefix"
298 "resource-assignment-map": {
300 "resource-assignment",
310 "vfw-cnf-cds-base-profile": {
311 "type": "artifact-k8sprofile-content",
312 "file": "Templates/k8s-profiles/vfw-cnf-cds-base-profile.tar.gz"
314 "vfw-cnf-cds-vpkg-profile": {
315 "type": "artifact-k8sprofile-content",
316 "file": "Templates/k8s-profiles/vfw-cnf-cds-vpkg-profile"
318 "vfw-cnf-cds-vpkg-profile-mapping": {
319 "type": "artifact-mapping-resource",
320 "file": "Templates/k8s-profiles/vfw-cnf-cds-vpkg-profile/ssh-service-mapping.json"
324 "k8s-config-template": {
325 "type": "component-k8s-config-template",
327 "K8sConfigTemplateComponent": {
331 "artifact-prefix-names": [
334 "resource-assignment-map": {
336 "config-setup-process",
340 "config-deploy-setup"
349 "ssh-service-config": {
350 "type": "artifact-k8sconfig-content",
351 "file": "Templates/k8s-configs/ssh-service.tar.gz"
353 "ssh-service-config-customizable": {
354 "type": "artifact-k8sconfig-content",
355 "file": "Templates/k8s-configs/ssh-service-config"
357 "ssh-service-config-customizable-mapping": {
358 "type": "artifact-mapping-resource",
359 "file": "Templates/k8s-configs/ssh-service-config/ssh-service-mapping.json"
363 "k8s-config-apply": {
364 "type": "component-k8s-config-value",
366 "K8sConfigValueComponent": {
370 "artifact-prefix-names": [
373 "k8s-config-operation-type": "create",
374 "resource-assignment-map": {
376 "config-setup-process",
380 "config-deploy-setup"
389 "ssh-service-default": {
390 "type": "artifact-k8sconfig-content",
391 "file": "Templates/k8s-configs/ssh-service-config/values.yaml"
393 "ssh-service-config": {
394 "type": "artifact-k8sconfig-content",
395 "file": "Templates/k8s-configs/ssh-service-values/values.yaml.vtl"
397 "ssh-service-config-mapping": {
398 "type": "artifact-mapping-resource",
399 "file": "Templates/k8s-configs/ssh-service-values/ssh-service-mapping.json"
403 "simple-status-check": {
404 "type": "component-script-executor",
406 "ComponentScriptExecutor": {
410 "script-type": "kotlin",
411 "script-class-reference": "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.SimpleStatusCheck",
412 "instance-dependencies": [
413 "blueprintPropertiesService"
415 "dynamic-properties": "*simple-status-properties"
422 "simple-error-check": {
423 "type": "component-script-executor",
425 "ComponentScriptExecutor": {
429 "script-type": "kotlin",
430 "script-class-reference": "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.SimpleErrorCheck",
431 "instance-dependencies": [
432 "blueprintPropertiesService"
434 "dynamic-properties": "*simple-status-properties"
441 "config-setup-process": {
442 "type": "component-resource-resolution",
444 "ResourceResolutionComponent": {
449 "get_input": "resolution-key"
451 "store-result": false,
452 "artifact-prefix-names": [
457 "resource-assignment-params": {
470 "config-deploy-template": {
471 "type": "artifact-template-velocity",
472 "file": "Templates/config-setup-template.vtl"
474 "config-deploy-mapping": {
475 "type": "artifact-mapping-resource",
476 "file": "Templates/config-setup-mapping.json"
480 "config-deploy-process": {
481 "type": "component-script-executor",
483 "ComponentScriptExecutor": {
487 "script-type": "kotlin",
488 "script-class-reference": "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.ConfigDeploy",
489 "dynamic-properties": "*config-deploy-properties"
497 "type": "component-script-executor",
499 "ComponentScriptExecutor": {
503 "primary": "component-script",
505 "operation_host": "SELF"
508 "script-type": "kotlin",
509 "script-class-reference": "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.CollectorScript"