Update SDNC CLL action names to align with latest CCVPN SDNC changes
[so.git] / bpmn / so-bpmn-infrastructure-common / src / main / groovy / org / onap / so / bpmn / infrastructure / scripts / ServiceIntentUtils.groovy
index f60bfa1..9a00db2 100644 (file)
@@ -150,19 +150,19 @@ class ServiceIntentUtils {
         String reqAction
         switch (svcAction) {
             case "create":
-                reqAction = "CreateCloudLeasedLineInstance"
+                reqAction = "CreateCloudLeasedLineInstanceByEline"
                 break
             case "delete":
-                reqAction = "DeleteCloudLeasedLineInstance"
+                reqAction = "DeleteCloudLeasedLineInstanceByEline"
                 break
             case "activate":
-                reqAction = "ActivateCloudLeasedLineInstance"
+                reqAction = "ActivateCloudLeasedLineInstanceByEline"
                 break
             case "deactivate":
-                reqAction = "DeactivateCloudLeasedLineInstance"
+                reqAction = "DeactivateCloudLeasedLineInstanceByEline"
                 break
             case "update":
-                reqAction = "ModifyCloudLeasedLineInstance"
+                reqAction = "ModifyCloudLeasedLineInstanceByEline"
                 break
             default:
                 reqAction = svcAction
@@ -361,7 +361,7 @@ class ServiceIntentUtils {
     }
 
     String getFirstPlmnIdFromSliceProfile(String sliceProfileStr) {
-        String plmnListStr = jsonUtil.getJsonValue(sliceProfileStr, "plmnIdList")
+        String plmnListStr = jsonUtil.getJsonValue(sliceProfileStr, "pLMNIdList")
         String res = jsonUtil.StringArrayToList(plmnListStr).get(0)
 
         return res
@@ -666,4 +666,4 @@ class ServiceIntentUtils {
 
         return res
     }
-}
\ No newline at end of file
+}