2 "tosca_definitions_version" : "controller_blueprint_1_0_0",
4 "template_author" : "Thamlur Raju <TR00568434@TechMahindra.com>, Sangeeta Bellara<sangeeta.bellara@t-systems.com>",
5 "author-email" : "TR00568434@TechMahindra.com,sangeeta.bellara@t-systems.com",
6 "user-groups" : "ADMIN, OPERATION",
7 "template_name" : "5G_Core",
8 "template_version" : "2.0.0",
9 "template_tags" : "Thamlur Raju, Malinconico Aniello Paolo,Vamshi, 5G_Core",
10 "template_type" : "DEFAULT"
13 "file" : "Definitions/data_types.json"
15 "file" : "Definitions/relationship_types.json"
17 "file" : "Definitions/artifact_types.json"
19 "file" : "Definitions/node_types.json"
21 "file" : "Definitions/policy_types.json"
25 "type" : "basic-auth",
30 "multicloud-k8s-api" : {
31 "type" : "basic-auth",
34 "url" : "http://multicloud-k8s:9015"
37 "type" : "basic-auth",
40 "url" : "https://aai.onap:8443"
42 "profile-upload-properties" : {
43 "assignment-params" : {
44 "get_attribute" : [ "resource-assignment", "assignment-params" ]
46 "api-access" : "*multicloud-k8s-api"
48 "config-deploy-properties" : {
50 "get_input" : "resolution-key"
52 "api-access" : "*multicloud-k8s-api",
53 "aai-access" : "*aai-api"
55 "config-deploy-day-2-properties" : {
57 "get_input" : "resolution-key"
59 "api-access" : "*multicloud-k8s-api",
60 "aai-access" : "*aai-api"
63 "topology_template" : {
65 "resource-assignment" : {
67 "resource-assignment" : {
68 "description" : "Resource Assign Workflow",
69 "target" : "resource-assignment",
71 "call_operation" : "ResourceResolutionComponent.process"
73 "on_success" : [ "profile-upload" ]
76 "description" : "Upload K8s Profile",
77 "target" : "profile-upload",
79 "call_operation" : "ComponentScriptExecutor.process"
98 "resource-assignment-properties" : {
99 "description" : "Dynamic PropertyDefinition for workflow(resource-assignment).",
101 "type" : "dt-resource-assignment-properties"
105 "meshed-template" : {
108 "get_attribute" : [ "resource-assignment", "assignment-params" ]
116 "description" : "Config Assign Workflow",
117 "target" : "config-assign",
119 "call_operation" : ""
132 "config-assign-properties" : {
133 "description" : "Dynamic PropertyDefinition for workflow(config-assign).",
135 "type" : "dt-config-assign-properties"
142 "get_attribute" : [ "config-assign", "assignment-params" ]
147 "config-assign-day-2" : {
150 "description" : "Config Assign Workflow",
151 "target" : "config-assign-day-2",
153 "call_operation" : ""
166 "config-assign-day-2-properties" : {
167 "description" : "Dynamic PropertyDefinition for workflow(config-assign-day-2).",
169 "type" : "dt-config-assign-day-2-properties"
176 "get_attribute" : [ "config-assign-day-2", "assignment-params" ]
184 "description" : "Config Deploy Workflow",
185 "target" : "config-deploy-process"
197 "service-instance-id" : {
201 "config-deploy-properties" : {
202 "description" : "Dynamic PropertyDefinition for workflow(config-deploy).",
204 "type" : "dt-config-deploy-properties"
208 "config-deploy-day-2" : {
211 "description" : "Config Deploy Day 2 Workflow",
212 "target" : "config-deploy-process-2"
224 "service-instance-id" : {
232 "resource-assignment" : {
233 "type" : "component-resource-resolution",
235 "ResourceResolutionComponent" : {
239 "artifact-prefix-names" : {
240 "get_input" : "template-prefix"
248 "helm_amf-template" : {
249 "type" : "artifact-template-velocity",
250 "file" : "Templates/helm_amf-template.vtl"
252 "helm_amf-mapping" : {
253 "type" : "artifact-mapping-resource",
254 "file" : "Templates/helm_amf-mapping.json"
256 "helm_smf-template" : {
257 "type" : "artifact-template-velocity",
258 "file" : "Templates/helm_smf-template.vtl"
260 "helm_smf-mapping" : {
261 "type" : "artifact-mapping-resource",
262 "file" : "Templates/helm_smf-mapping.json"
264 "helm_upf-template" : {
265 "type" : "artifact-template-velocity",
266 "file" : "Templates/helm_upf-template.vtl"
268 "helm_upf-mapping" : {
269 "type" : "artifact-mapping-resource",
270 "file" : "Templates/helm_upf-mapping.json"
273 "type" : "artifact-template-velocity",
274 "file" : "Templates/vnf-template.vtl"
277 "type" : "artifact-mapping-resource",
278 "file" : "Templates/vnf-mapping.json"
283 "type" : "component-script-executor",
285 "ComponentScriptExecutor" : {
289 "script-type" : "kotlin",
290 "script-class-reference" : "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.K8sProfileUpload",
291 "dynamic-properties" : "*profile-upload-properties"
299 "type" : "component-resource-resolution",
301 "ResourceResolutionComponent" : {
306 "get_input" : "resolution-key"
308 "store-result" : true,
309 "artifact-prefix-names" : [ "baseconfig" ]
316 "baseconfig-template" : {
317 "type" : "artifact-template-velocity",
318 "file" : "Templates/baseconfig-template.vtl"
320 "baseconfig-mapping" : {
321 "type" : "artifact-mapping-resource",
322 "file" : "Templates/baseconfig-mapping.json"
326 "config-assign-day-2" : {
327 "type" : "component-resource-resolution",
329 "ResourceResolutionComponent" : {
334 "get_input" : "resolution-key"
336 "store-result" : true,
337 "artifact-prefix-names" : [ "baseconfigput" ]
344 "baseconfigput-template" : {
345 "type" : "artifact-template-velocity",
346 "file" : "Templates/baseconfigput-template.vtl"
348 "baseconfigput-mapping" : {
349 "type" : "artifact-mapping-resource",
350 "file" : "Templates/baseconfigput-mapping.json"
354 "config-deploy-process" : {
355 "type" : "component-script-executor",
357 "ComponentScriptExecutor" : {
361 "primary" : "component-script",
363 "operation_host" : "SELF"
366 "script-type" : "kotlin",
367 "script-class-reference" : "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.DayOneConfig",
368 "instance-dependencies" : [ "bluePrintPropertiesService" ],
369 "dynamic-properties" : "*config-deploy-properties"
372 "response-data" : "",
380 "config-deploy-aai-template" : {
381 "type" : "artifact-template-velocity",
382 "file" : "Templates/config-deploy-aai-template.vtl"
384 "config-deploy-aai-mapping" : {
385 "type" : "artifact-mapping-resource",
386 "file" : "Templates/config-deploy-aai-mapping.json"
388 "config-deploy-sdnc-template" : {
389 "type" : "artifact-template-velocity",
390 "file" : "Templates/config-deploy-sdnc-template.vtl"
392 "config-deploy-sdnc-mapping" : {
393 "type" : "artifact-mapping-resource",
394 "file" : "Templates/config-deploy-sdnc-mapping.json"
398 "config-deploy-process-2" : {
399 "type" : "component-script-executor",
401 "ComponentScriptExecutor" : {
405 "script-type" : "kotlin",
406 "script-class-reference" : "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.KotlinK8sUpdateConfig",
407 "instance-dependencies" : [ "bluePrintPropertiesService" ],
408 "dynamic-properties" : "*config-deploy-day-2-properties"