summaryrefslogtreecommitdiffstats
path: root/components/model-catalog/blueprint-model/uat-blueprints/PNF_CDS_RESTCONF/Definitions
diff options
context:
space:
mode:
authorgummar <raj.gumma@est.tech>2020-03-03 14:48:22 +0000
committerRaj Gumma <raj.gumma@est.tech>2020-03-03 19:09:27 +0000
commitda1303759f22b7882b46fb8670704f2770bf46ed (patch)
treea9323e18e577f1cb46ddfcb6801bd61e04519c2a /components/model-catalog/blueprint-model/uat-blueprints/PNF_CDS_RESTCONF/Definitions
parent2fce8bf2891f3ce472f4b06d09d0e987fbc44149 (diff)
Fix case for all Software upgrade actions
Issue-ID: CCSDK-2145 Signed-off-by: gummar <raj.gumma@est.tech> Change-Id: Ie2a6b6c72997be65ac304f6cd1daac3a8aa85480
Diffstat (limited to 'components/model-catalog/blueprint-model/uat-blueprints/PNF_CDS_RESTCONF/Definitions')
-rw-r--r--components/model-catalog/blueprint-model/uat-blueprints/PNF_CDS_RESTCONF/Definitions/PNF_CDS_RESTCONF.json64
-rw-r--r--components/model-catalog/blueprint-model/uat-blueprints/PNF_CDS_RESTCONF/Definitions/data_types.json16
2 files changed, 40 insertions, 40 deletions
diff --git a/components/model-catalog/blueprint-model/uat-blueprints/PNF_CDS_RESTCONF/Definitions/PNF_CDS_RESTCONF.json b/components/model-catalog/blueprint-model/uat-blueprints/PNF_CDS_RESTCONF/Definitions/PNF_CDS_RESTCONF.json
index 2e6c2f547..747fd8c19 100644
--- a/components/model-catalog/blueprint-model/uat-blueprints/PNF_CDS_RESTCONF/Definitions/PNF_CDS_RESTCONF.json
+++ b/components/model-catalog/blueprint-model/uat-blueprints/PNF_CDS_RESTCONF/Definitions/PNF_CDS_RESTCONF.json
@@ -25,22 +25,22 @@
"get_input" : "resolution-key"
}
},
- "precheck-properties" : {
+ "preCheck-properties" : {
"resolution-key" : {
"get_input" : "resolution-key"
}
},
- "downloadNeSw-properties" : {
+ "downloadNESW-properties" : {
"resolution-key" : {
"get_input" : "resolution-key"
}
},
- "activateNeSw-properties" : {
+ "activateNESW-properties" : {
"resolution-key" : {
"get_input" : "resolution-key"
}
},
- "postcheck-properties" : {
+ "postCheck-properties" : {
"resolution-key" : {
"get_input" : "resolution-key"
}
@@ -96,11 +96,11 @@
}
}
},
- "precheck" : {
+ "preCheck" : {
"steps" : {
"activate-process" : {
"description" : "Check if pnf ready for sw upgrade",
- "target" : "precheck",
+ "target" : "preCheck",
"activities" : [ {
"call_operation" : ""
} ]
@@ -111,18 +111,18 @@
"required" : true,
"type" : "string"
},
- "precheck-properties" : {
- "description" : "Dynamic PropertyDefinition for precheck workflow(software-upgrade).",
+ "preCheck-properties" : {
+ "description" : "Dynamic PropertyDefinition for preCheck workflow(software-upgrade).",
"required" : true,
- "type" : "dt-precheck-properties"
+ "type" : "dt-preCheck-properties"
}
}
},
- "downloadNeSw" : {
+ "downloadNESW" : {
"steps" : {
"activate-process" : {
"description" : "Trigger download new software for sw upgrade",
- "target" : "downloadNeSw",
+ "target" : "downloadNESW",
"activities" : [ {
"call_operation" : ""
} ]
@@ -133,18 +133,18 @@
"required" : true,
"type" : "string"
},
- "downloadNeSw-properties" : {
- "description" : "Dynamic PropertyDefinition for downloadNeSw workflow(software-upgrade).",
+ "downloadNESW-properties" : {
+ "description" : "Dynamic PropertyDefinition for downloadNESW workflow(software-upgrade).",
"required" : true,
- "type" : "dt-downloadNeSw-properties"
+ "type" : "dt-downloadNESW-properties"
}
}
},
- "activateNeSw" : {
+ "activateNESW" : {
"steps" : {
"activate-process" : {
"description" : "Trigger activation of target software version for pnf upgrade",
- "target" : "activateNeSw",
+ "target" : "activateNESW",
"activities" : [ {
"call_operation" : ""
} ]
@@ -155,18 +155,18 @@
"required" : true,
"type" : "string"
},
- "activateNeSw-properties" : {
- "description" : "Dynamic PropertyDefinition for activateNeSw workflow(software-upgrade).",
+ "activateNESW-properties" : {
+ "description" : "Dynamic PropertyDefinition for activateNESW workflow(software-upgrade).",
"required" : true,
- "type" : "dt-activateNeSw-properties"
+ "type" : "dt-activateNESW-properties"
}
}
},
- "postcheck" : {
+ "postCheck" : {
"steps" : {
"activate-process" : {
"description" : "Check if pnf upgrade is completed",
- "target" : "postcheck",
+ "target" : "postCheck",
"activities" : [ {
"call_operation" : ""
} ]
@@ -177,10 +177,10 @@
"required" : true,
"type" : "string"
},
- "postcheck-properties" : {
- "description" : "Dynamic PropertyDefinition for postcheck workflow(software-upgrade).",
+ "postCheck-properties" : {
+ "description" : "Dynamic PropertyDefinition for postCheck workflow(software-upgrade).",
"required" : true,
- "type" : "dt-postcheck-properties"
+ "type" : "dt-postCheck-properties"
}
}
}
@@ -255,7 +255,7 @@
}
}
},
- "precheck" : {
+ "preCheck" : {
"type" : "component-script-executor",
"interfaces" : {
"ComponentScriptExecutor" : {
@@ -269,7 +269,7 @@
"inputs" : {
"script-type" : "kotlin",
"script-class-reference" : "cba.pnf.swug.RestconfSoftwareUpgrade",
- "dynamic-properties" : "*precheck-properties"
+ "dynamic-properties" : "*preCheck-properties"
},
"outputs" : {
"response-data" : "",
@@ -290,7 +290,7 @@
}
}
},
- "downloadNeSw" : {
+ "downloadNESW" : {
"type" : "component-script-executor",
"interfaces" : {
"ComponentScriptExecutor" : {
@@ -304,7 +304,7 @@
"inputs" : {
"script-type" : "kotlin",
"script-class-reference" : "cba.pnf.swug.RestconfSoftwareUpgrade",
- "dynamic-properties" : "*downloadNeSw-properties"
+ "dynamic-properties" : "*downloadNESW-properties"
},
"outputs" : {
"response-data" : "",
@@ -341,7 +341,7 @@
}
}
},
- "activateNeSw" : {
+ "activateNESW" : {
"type" : "component-script-executor",
"interfaces" : {
"ComponentScriptExecutor" : {
@@ -355,7 +355,7 @@
"inputs" : {
"script-type" : "kotlin",
"script-class-reference" : "cba.pnf.swug.RestconfSoftwareUpgrade",
- "dynamic-properties" : "*activateNeSw-properties"
+ "dynamic-properties" : "*activateNESW-properties"
},
"outputs" : {
"response-data" : "",
@@ -384,7 +384,7 @@
}
}
},
- "postcheck" : {
+ "postCheck" : {
"type" : "component-script-executor",
"interfaces" : {
"ComponentScriptExecutor" : {
@@ -398,7 +398,7 @@
"inputs" : {
"script-type" : "kotlin",
"script-class-reference" : "cba.pnf.swug.RestconfSoftwareUpgrade",
- "dynamic-properties" : "*postcheck-properties"
+ "dynamic-properties" : "*postCheck-properties"
},
"outputs" : {
"response-data" : "",
diff --git a/components/model-catalog/blueprint-model/uat-blueprints/PNF_CDS_RESTCONF/Definitions/data_types.json b/components/model-catalog/blueprint-model/uat-blueprints/PNF_CDS_RESTCONF/Definitions/data_types.json
index e3d216c89..2a42ac091 100644
--- a/components/model-catalog/blueprint-model/uat-blueprints/PNF_CDS_RESTCONF/Definitions/data_types.json
+++ b/components/model-catalog/blueprint-model/uat-blueprints/PNF_CDS_RESTCONF/Definitions/data_types.json
@@ -19,8 +19,8 @@
},
"derived_from" : "tosca.datatypes.Dynamic"
},
- "dt-precheck-properties": {
- "description": "Dynamic DataType definition for the precheck workflow(upgrade-software).",
+ "dt-preCheck-properties": {
+ "description": "Dynamic DataType definition for the preCheck workflow(upgrade-software).",
"version": "1.0.0",
"properties": {
"pnf-id": {
@@ -32,8 +32,8 @@
},
"derived_from": "tosca.datatypes.Dynamic"
},
- "dt-downloadNeSw-properties": {
- "description": "Dynamic DataType definition for the downloadNeSw workflow(upgrade-software).",
+ "dt-downloadNESW-properties": {
+ "description": "Dynamic DataType definition for the downloadNESW workflow(upgrade-software).",
"version": "1.0.0",
"properties": {
"pnf-id": {
@@ -45,8 +45,8 @@
},
"derived_from": "tosca.datatypes.Dynamic"
},
- "dt-activateNeSw-properties": {
- "description": "Dynamic DataType definition for the activateNeSw workflow(upgrade-software).",
+ "dt-activateNESW-properties": {
+ "description": "Dynamic DataType definition for the activateNESW workflow(upgrade-software).",
"version": "1.0.0",
"properties": {
"pnf-id": {
@@ -58,8 +58,8 @@
},
"derived_from": "tosca.datatypes.Dynamic"
},
- "dt-postcheck-properties": {
- "description": "Dynamic DataType definition for the postcheck workflow(upgrade-software).",
+ "dt-postCheck-properties": {
+ "description": "Dynamic DataType definition for the postCheck workflow(upgrade-software).",
"version": "1.0.0",
"properties": {
"pnf-id": {