aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog/blueprint-model/service-blueprint/5GC_Simulator_CNF_CDS/Definitions/5G_Core.json
diff options
context:
space:
mode:
Diffstat (limited to 'components/model-catalog/blueprint-model/service-blueprint/5GC_Simulator_CNF_CDS/Definitions/5G_Core.json')
-rw-r--r--components/model-catalog/blueprint-model/service-blueprint/5GC_Simulator_CNF_CDS/Definitions/5G_Core.json618
1 files changed, 300 insertions, 318 deletions
diff --git a/components/model-catalog/blueprint-model/service-blueprint/5GC_Simulator_CNF_CDS/Definitions/5G_Core.json b/components/model-catalog/blueprint-model/service-blueprint/5GC_Simulator_CNF_CDS/Definitions/5G_Core.json
index 376c00ae3..ef276aed6 100644
--- a/components/model-catalog/blueprint-model/service-blueprint/5GC_Simulator_CNF_CDS/Definitions/5G_Core.json
+++ b/components/model-catalog/blueprint-model/service-blueprint/5GC_Simulator_CNF_CDS/Definitions/5G_Core.json
@@ -1,429 +1,411 @@
{
- "tosca_definitions_version": "controller_blueprint_1_0_0",
- "metadata": {
- "template_author": "Thamlur Raju <TR00568434@TechMahindra.com>",
- "author-email": "TR00568434@TechMahindra.com",
- "user-groups": "ADMIN, OPERATION",
- "template_name": "5G_Core",
- "template_version": "1.0.37",
- "template_tags": "Thamlur Raju, Malinconico Aniello Paolo, Vamshi Namilikonda, 5G_Core",
- "template_type": "DEFAULT"
+ "tosca_definitions_version" : "controller_blueprint_1_0_0",
+ "metadata" : {
+ "template_author" : "Thamlur Raju <TR00568434@TechMahindra.com>, Sangeeta Bellara<sangeeta.bellara@t-systems.com>",
+ "author-email" : "TR00568434@TechMahindra.com,sangeeta.bellara@t-systems.com",
+ "user-groups" : "ADMIN, OPERATION",
+ "template_name" : "5G_Core",
+ "template_version" : "2.0.0",
+ "template_tags" : "Thamlur Raju, Malinconico Aniello Paolo,Vamshi, 5G_Core",
+ "template_type" : "DEFAULT"
},
- "imports": [
- {
- "file": "Definitions/data_types.json"
+ "imports" : [ {
+ "file" : "Definitions/data_types.json"
+ }, {
+ "file" : "Definitions/relationship_types.json"
+ }, {
+ "file" : "Definitions/artifact_types.json"
+ }, {
+ "file" : "Definitions/node_types.json"
+ }, {
+ "file" : "Definitions/policy_types.json"
+ } ],
+ "dsl_definitions" : {
+ "vpkg-rest-api" : {
+ "type" : "basic-auth",
+ "url" : "http://",
+ "username" : "admin",
+ "password" : "admin"
},
- {
- "file": "Definitions/relationship_types.json"
+ "multicloud-k8s-api" : {
+ "type" : "basic-auth",
+ "username" : "admin",
+ "password" : "admin",
+ "url" : "http://multicloud-k8s:9015"
},
- {
- "file": "Definitions/artifact_types.json"
+ "aai-api" : {
+ "type" : "basic-auth",
+ "username" : "AAI",
+ "password" : "AAI",
+ "url" : "https://aai.onap:8443"
},
- {
- "file": "Definitions/node_types.json"
- },
- {
- "file": "Definitions/policy_types.json"
- }
- ],
- "dsl_definitions": {
- "vpkg-rest-api": {
- "type": "basic-auth",
- "url": "http://",
- "username": "admin",
- "password": "admin"
- },
- "multicloud-k8s-api": {
- "type": "basic-auth",
- "username": "admin",
- "password": "admin",
- "url": "http://multicloud-k8s:9015"
- },
- "aai-api": {
- "type": "basic-auth",
- "username": "AAI",
- "password": "AAI",
- "url": "https://aai.onap:8443"
- },
- "profile-upload-properties": {
- "assignment-params": {
- "get_attribute": [
- "resource-assignment",
- "assignment-params"
- ]
+ "profile-upload-properties" : {
+ "assignment-params" : {
+ "get_attribute" : [ "resource-assignment", "assignment-params" ]
},
- "api-access": "*multicloud-k8s-api"
+ "api-access" : "*multicloud-k8s-api"
},
- "config-deploy-properties": {
- "resolution-key": {
- "get_input": "resolution-key"
+ "config-deploy-properties" : {
+ "resolution-key" : {
+ "get_input" : "resolution-key"
},
- "api-access": "*multicloud-k8s-api",
- "aai-access": "*aai-api"
+ "api-access" : "*multicloud-k8s-api",
+ "aai-access" : "*aai-api"
},
- "config-deploy-day-2-properties": {
- "resolution-key": {
- "get_input": "resolution-key"
+ "config-deploy-day-2-properties" : {
+ "resolution-key" : {
+ "get_input" : "resolution-key"
},
- "api-access": "*multicloud-k8s-api",
- "aai-access": "*aai-api"
+ "api-access" : "*multicloud-k8s-api",
+ "aai-access" : "*aai-api"
}
},
- "topology_template": {
- "workflows": {
- "resource-assignment": {
- "steps": {
- "resource-assignment": {
- "description": "Resource Assign Workflow",
- "target": "resource-assignment",
- "activities": [
- {
- "call_operation": "ResourceResolutionComponent.process"
- }
- ],
- "on_success": [
- "profile-upload"
- ]
+ "topology_template" : {
+ "workflows" : {
+ "resource-assignment" : {
+ "steps" : {
+ "resource-assignment" : {
+ "description" : "Resource Assign Workflow",
+ "target" : "resource-assignment",
+ "activities" : [ {
+ "call_operation" : "ResourceResolutionComponent.process"
+ } ],
+ "on_success" : [ "profile-upload" ]
},
- "profile-upload": {
- "description": "Upload K8s Profile",
- "target": "profile-upload",
- "activities": [
- {
- "call_operation": "ComponentScriptExecutor.process"
- }
- ]
+ "profile-upload" : {
+ "description" : "Upload K8s Profile",
+ "target" : "profile-upload",
+ "activities" : [ {
+ "call_operation" : "ComponentScriptExecutor.process"
+ } ]
}
},
- "inputs": {
- "template-prefix": {
- "required": true,
- "type": "list",
- "entry_schema": {
- "type": "string"
+ "inputs" : {
+ "template-prefix" : {
+ "required" : true,
+ "type" : "list",
+ "entry_schema" : {
+ "type" : "string"
}
},
- "resolution-key": {
- "required": false,
- "type": "string",
- "entry_schema": {
- "type": ""
+ "resolution-key" : {
+ "required" : false,
+ "type" : "string",
+ "entry_schema" : {
+ "type" : ""
}
},
- "resource-assignment-properties": {
- "description": "Dynamic PropertyDefinition for workflow(resource-assignment).",
- "required": true,
- "type": "dt-resource-assignment-properties"
+ "resource-assignment-properties" : {
+ "description" : "Dynamic PropertyDefinition for workflow(resource-assignment).",
+ "required" : true,
+ "type" : "dt-resource-assignment-properties"
}
},
- "outputs": {
- "meshed-template": {
- "type": "json",
- "value": {
- "get_attribute": [
- "resource-assignment",
- "assignment-params"
- ]
+ "outputs" : {
+ "meshed-template" : {
+ "type" : "json",
+ "value" : {
+ "get_attribute" : [ "resource-assignment", "assignment-params" ]
}
}
}
},
- "config-assign": {
- "steps": {
- "config-assign": {
- "description": "Config Assign Workflow",
- "target": "config-assign",
- "activities": [
- {
- "call_operation": ""
- }
- ]
+ "config-assign" : {
+ "steps" : {
+ "config-assign" : {
+ "description" : "Config Assign Workflow",
+ "target" : "config-assign",
+ "activities" : [ {
+ "call_operation" : ""
+ } ]
}
},
- "inputs": {
- "resolution-key": {
- "required": true,
- "type": "string"
+ "inputs" : {
+ "resolution-key" : {
+ "required" : true,
+ "type" : "string"
},
- "store-result": {
- "required": true,
- "type": "boolean"
+ "store-result" : {
+ "required" : true,
+ "type" : "boolean"
},
- "config-assign-properties": {
- "description": "Dynamic PropertyDefinition for workflow(config-assign).",
- "required": true,
- "type": "dt-config-assign-properties"
+ "config-assign-properties" : {
+ "description" : "Dynamic PropertyDefinition for workflow(config-assign).",
+ "required" : true,
+ "type" : "dt-config-assign-properties"
}
},
- "outputs": {
- "dry-run": {
- "type": "json",
- "value": {
- "get_attribute": [
- "config-assign",
- "assignment-params"
- ]
+ "outputs" : {
+ "dry-run" : {
+ "type" : "json",
+ "value" : {
+ "get_attribute" : [ "config-assign", "assignment-params" ]
}
}
}
},
- "config-assign-day-2": {
- "steps": {
- "config-assign": {
- "description": "Config Assign Workflow",
- "target": "config-assign-day-2",
- "activities": [
- {
- "call_operation": ""
- }
- ]
+ "config-assign-day-2" : {
+ "steps" : {
+ "config-assign" : {
+ "description" : "Config Assign Workflow",
+ "target" : "config-assign-day-2",
+ "activities" : [ {
+ "call_operation" : ""
+ } ]
}
},
- "inputs": {
- "resolution-key": {
- "required": true,
- "type": "string"
+ "inputs" : {
+ "resolution-key" : {
+ "required" : true,
+ "type" : "string"
},
- "store-result": {
- "required": true,
- "type": "boolean"
+ "store-result" : {
+ "required" : true,
+ "type" : "boolean"
},
- "config-assign-day-2-properties": {
- "description": "Dynamic PropertyDefinition for workflow(config-assign).",
- "required": true,
- "type": "dt-config-assign-day-2-properties"
+ "config-assign-day-2-properties" : {
+ "description" : "Dynamic PropertyDefinition for workflow(config-assign-day-2).",
+ "required" : true,
+ "type" : "dt-config-assign-day-2-properties"
}
},
- "outputs": {
- "dry-run": {
- "type": "json",
- "value": {
- "get_attribute": [
- "config-assign-day-2",
- "assignment-params"
- ]
+ "outputs" : {
+ "dry-run" : {
+ "type" : "json",
+ "value" : {
+ "get_attribute" : [ "config-assign-day-2", "assignment-params" ]
}
}
}
},
- "config-deploy": {
- "steps": {
- "imperative-workflow-step-1": {
- "description": "Config Deploy workflow",
- "target": "execute-post",
- "activities": [
- {
- "call_operation": "ComponentScriptExecutor.process"
- }
- ]
+ "config-deploy" : {
+ "steps" : {
+ "config-deploy" : {
+ "description" : "Config Deploy Workflow",
+ "target" : "config-deploy-process"
}
},
- "inputs": {
- "resolution-key": {
- "required": false,
- "type": "string"
+ "inputs" : {
+ "resolution-key" : {
+ "required" : false,
+ "type" : "string"
},
- "service-instance-id": {
- "required": false,
- "type": "string"
+ "store-result" : {
+ "required" : true,
+ "type" : "boolean"
},
- "config-deploy-properties": {
- "description": "Dynamic PropertyDefinition for workflow(config-deploy).",
- "required": true,
- "type": "dt-config-deploy-properties"
+ "service-instance-id" : {
+ "required" : false,
+ "type" : "string"
+ },
+ "config-deploy-properties" : {
+ "description" : "Dynamic PropertyDefinition for workflow(config-deploy).",
+ "required" : true,
+ "type" : "dt-config-deploy-properties"
}
}
},
- "config-deploy-day-2": {
- "steps": {
- "imperative-workflow-step-1": {
- "description": "Config Deploy workflow",
- "target": "execute-put",
- "activities": [
- {
- "call_operation": "ComponentScriptExecutor.process"
- }
- ]
+ "config-deploy-day-2" : {
+ "steps" : {
+ "config-deploy" : {
+ "description" : "Config Deploy Day 2 Workflow",
+ "target" : "config-deploy-process-2"
}
},
- "inputs": {
- "resolution-key": {
- "required": false,
- "type": "string"
+ "inputs" : {
+ "resolution-key" : {
+ "required" : false,
+ "type" : "string"
},
- "service-instance-id": {
- "required": false,
- "type": "string"
+ "store-result" : {
+ "required" : true,
+ "type" : "boolean"
},
- "config-deploy-day-2-properties": {
- "description": "Dynamic PropertyDefinition for workflow(config-deploy).",
- "required": true,
- "type": "dt-config-deploy-day-2-properties"
+ "service-instance-id" : {
+ "required" : false,
+ "type" : "string"
}
}
}
},
- "node_templates": {
- "resource-assignment": {
- "type": "component-resource-resolution",
- "interfaces": {
- "ResourceResolutionComponent": {
- "operations": {
- "process": {
- "inputs": {
- "artifact-prefix-names": {
- "get_input": "template-prefix"
+ "node_templates" : {
+ "resource-assignment" : {
+ "type" : "component-resource-resolution",
+ "interfaces" : {
+ "ResourceResolutionComponent" : {
+ "operations" : {
+ "process" : {
+ "inputs" : {
+ "artifact-prefix-names" : {
+ "get_input" : "template-prefix"
}
}
}
}
}
},
- "artifacts": {
- "base_template-template": {
- "type": "artifact-template-velocity",
- "file": "Templates/base_template-template.vtl"
- },
- "base_template-mapping": {
- "type": "artifact-mapping-resource",
- "file": "Templates/base_template-mapping.json"
+ "artifacts" : {
+ "helm_amf-template" : {
+ "type" : "artifact-template-velocity",
+ "file" : "Templates/helm_amf-template.vtl"
},
- "amf-template": {
- "type": "artifact-template-velocity",
- "file": "Templates/amf-template.vtl"
+ "helm_amf-mapping" : {
+ "type" : "artifact-mapping-resource",
+ "file" : "Templates/helm_amf-mapping.json"
},
- "amf-mapping": {
- "type": "artifact-mapping-resource",
- "file": "Templates/amf-mapping.json"
+ "helm_smf-template" : {
+ "type" : "artifact-template-velocity",
+ "file" : "Templates/helm_smf-template.vtl"
},
- "smf-template": {
- "type": "artifact-template-velocity",
- "file": "Templates/smf-template.vtl"
+ "helm_smf-mapping" : {
+ "type" : "artifact-mapping-resource",
+ "file" : "Templates/helm_smf-mapping.json"
},
- "smf-mapping": {
- "type": "artifact-mapping-resource",
- "file": "Templates/smf-mapping.json"
+ "helm_upf-template" : {
+ "type" : "artifact-template-velocity",
+ "file" : "Templates/helm_upf-template.vtl"
},
- "upf-template": {
- "type": "artifact-template-velocity",
- "file": "Templates/upf-template.vtl"
+ "helm_upf-mapping" : {
+ "type" : "artifact-mapping-resource",
+ "file" : "Templates/helm_upf-mapping.json"
},
- "upf-mapping": {
- "type": "artifact-mapping-resource",
- "file": "Templates/upf-mapping.json"
+ "vnf-template" : {
+ "type" : "artifact-template-velocity",
+ "file" : "Templates/vnf-template.vtl"
},
- "vnf-template": {
- "type": "artifact-template-velocity",
- "file": "Templates/vnf-template.vtl"
- },
- "vnf-mapping": {
- "type": "artifact-mapping-resource",
- "file": "Templates/vnf-mapping.json"
+ "vnf-mapping" : {
+ "type" : "artifact-mapping-resource",
+ "file" : "Templates/vnf-mapping.json"
}
}
},
- "profile-upload": {
- "type": "component-script-executor",
- "interfaces": {
- "ComponentScriptExecutor": {
- "operations": {
- "process": {
- "inputs": {
- "script-type": "kotlin",
- "script-class-reference": "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.K8sProfileUpload",
- "dynamic-properties": "*profile-upload-properties"
+ "profile-upload" : {
+ "type" : "component-script-executor",
+ "interfaces" : {
+ "ComponentScriptExecutor" : {
+ "operations" : {
+ "process" : {
+ "inputs" : {
+ "script-type" : "kotlin",
+ "script-class-reference" : "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.K8sProfileUpload",
+ "dynamic-properties" : "*profile-upload-properties"
}
}
}
}
}
},
- "config-assign": {
- "type": "component-resource-resolution",
- "interfaces": {
- "ResourceResolutionComponent": {
- "operations": {
- "process": {
- "inputs": {
- "resolution-key": {
- "get_input": "resolution-key"
+ "config-assign" : {
+ "type" : "component-resource-resolution",
+ "interfaces" : {
+ "ResourceResolutionComponent" : {
+ "operations" : {
+ "process" : {
+ "inputs" : {
+ "resolution-key" : {
+ "get_input" : "resolution-key"
},
- "store-result": true,
- "artifact-prefix-names": [
- "baseconfig"
- ]
+ "store-result" : true,
+ "artifact-prefix-names" : [ "baseconfig" ]
}
}
}
}
},
- "artifacts": {
- "baseconfig-template": {
- "type": "artifact-template-velocity",
- "file": "Templates/baseconfig-template.vtl"
+ "artifacts" : {
+ "baseconfig-template" : {
+ "type" : "artifact-template-velocity",
+ "file" : "Templates/baseconfig-template.vtl"
},
- "baseconfig-mapping": {
- "type": "artifact-mapping-resource",
- "file": "Templates/baseconfig-mapping.json"
+ "baseconfig-mapping" : {
+ "type" : "artifact-mapping-resource",
+ "file" : "Templates/baseconfig-mapping.json"
}
}
},
- "config-assign-day-2": {
- "type": "component-resource-resolution",
- "interfaces": {
- "ResourceResolutionComponent": {
- "operations": {
- "process": {
- "inputs": {
- "resolution-key": {
- "get_input": "resolution-key"
+ "config-assign-day-2" : {
+ "type" : "component-resource-resolution",
+ "interfaces" : {
+ "ResourceResolutionComponent" : {
+ "operations" : {
+ "process" : {
+ "inputs" : {
+ "resolution-key" : {
+ "get_input" : "resolution-key"
},
- "store-result": true,
- "artifact-prefix-names": [
- "baseconfigput"
- ]
+ "store-result" : true,
+ "artifact-prefix-names" : [ "baseconfigput" ]
}
}
}
}
},
- "artifacts": {
- "baseconfigput-template": {
- "type": "artifact-template-velocity",
- "file": "Templates/baseconfigput-template.vtl"
+ "artifacts" : {
+ "baseconfigput-template" : {
+ "type" : "artifact-template-velocity",
+ "file" : "Templates/baseconfigput-template.vtl"
},
- "baseconfigput-mapping": {
- "type": "artifact-mapping-resource",
- "file": "Templates/baseconfigput-mapping.json"
+ "baseconfigput-mapping" : {
+ "type" : "artifact-mapping-resource",
+ "file" : "Templates/baseconfigput-mapping.json"
}
}
},
- "execute-post": {
- "type": "component-script-executor",
- "interfaces": {
- "ComponentScriptExecutor": {
- "operations": {
- "process": {
- "inputs": {
- "script-type": "kotlin",
- "script-class-reference": "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.DayOneConfig",
- "dynamic-properties": "*config-deploy-properties"
+ "config-deploy-process" : {
+ "type" : "component-script-executor",
+ "interfaces" : {
+ "ComponentScriptExecutor" : {
+ "operations" : {
+ "process" : {
+ "implementation" : {
+ "primary" : "component-script",
+ "timeout" : 180,
+ "operation_host" : "SELF"
+ },
+ "inputs" : {
+ "script-type" : "kotlin",
+ "script-class-reference" : "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.DayOneConfig",
+ "instance-dependencies" : [ "bluePrintPropertiesService" ],
+ "dynamic-properties" : "*config-deploy-properties"
+ },
+ "outputs" : {
+ "response-data" : "",
+ "status" : "success"
}
}
}
}
+ },
+ "artifacts" : {
+ "config-deploy-aai-template" : {
+ "type" : "artifact-template-velocity",
+ "file" : "Templates/config-deploy-aai-template.vtl"
+ },
+ "config-deploy-aai-mapping" : {
+ "type" : "artifact-mapping-resource",
+ "file" : "Templates/config-deploy-aai-mapping.json"
+ },
+ "config-deploy-sdnc-template" : {
+ "type" : "artifact-template-velocity",
+ "file" : "Templates/config-deploy-sdnc-template.vtl"
+ },
+ "config-deploy-sdnc-mapping" : {
+ "type" : "artifact-mapping-resource",
+ "file" : "Templates/config-deploy-sdnc-mapping.json"
+ }
}
},
- "execute-put": {
- "type": "component-script-executor",
- "interfaces": {
- "ComponentScriptExecutor": {
- "operations": {
- "process": {
- "inputs": {
- "script-type": "kotlin",
- "script-class-reference": "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.KotlinK8sUpdateConfig",
- "dynamic-properties": "*config-deploy-day-2-properties"
+ "config-deploy-process-2" : {
+ "type" : "component-script-executor",
+ "interfaces" : {
+ "ComponentScriptExecutor" : {
+ "operations" : {
+ "process" : {
+ "inputs" : {
+ "script-type" : "kotlin",
+ "script-class-reference" : "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.KotlinK8sUpdateConfig",
+ "instance-dependencies" : [ "bluePrintPropertiesService" ],
+ "dynamic-properties" : "*config-deploy-day-2-properties"
}
}
}