summaryrefslogtreecommitdiffstats
path: root/examples/examples-onap-bbs/src/main/resources/logic
diff options
context:
space:
mode:
Diffstat (limited to 'examples/examples-onap-bbs/src/main/resources/logic')
-rw-r--r--examples/examples-onap-bbs/src/main/resources/logic/AAIServiceCreateTask.js2
-rw-r--r--examples/examples-onap-bbs/src/main/resources/logic/SdncResourceUpdateTask.js48
2 files changed, 24 insertions, 26 deletions
diff --git a/examples/examples-onap-bbs/src/main/resources/logic/AAIServiceCreateTask.js b/examples/examples-onap-bbs/src/main/resources/logic/AAIServiceCreateTask.js
index ac409ed2d..a1c11adae 100644
--- a/examples/examples-onap-bbs/src/main/resources/logic/AAIServiceCreateTask.js
+++ b/examples/examples-onap-bbs/src/main/resources/logic/AAIServiceCreateTask.js
@@ -100,8 +100,6 @@ try {
var putUpddateServInstance = service_instance;
putUpddateServInstance['orchestration-status'] = "created";
-if (putUpddateServInstance.hasOwnProperty('input-parameters'))
- delete putUpddateServInstance['input-parameters'];
executor.logger.info(" string" + JSON.stringify(putUpddateServInstance, null,
4));
var resource_version = putUpddateServInstance['resource-version'];
diff --git a/examples/examples-onap-bbs/src/main/resources/logic/SdncResourceUpdateTask.js b/examples/examples-onap-bbs/src/main/resources/logic/SdncResourceUpdateTask.js
index 85977097f..55f5a1ba1 100644
--- a/examples/examples-onap-bbs/src/main/resources/logic/SdncResourceUpdateTask.js
+++ b/examples/examples-onap-bbs/src/main/resources/logic/SdncResourceUpdateTask.js
@@ -112,27 +112,27 @@ xmlDeleteAccess = xmlDeleteAccess.replace("customer_name_value", input_param[
xmlDeleteAccess = xmlDeleteAccess.replace("srv_info_model_inv_uuid_value",
getResourceInvariantUuid(input_param['service']['parameters'][
'resources'
- ], 'OLT'));
+ ], 'AccessConnectivity'));
xmlDeleteAccess = xmlDeleteAccess.replace("srv_info_model_custom_uuid_value",
getResourceCustomizationUuid(input_param['service']['parameters'][
'resources'
- ], 'OLT'));
+ ], 'AccessConnectivity'));
xmlDeleteAccess = xmlDeleteAccess.replace("srv_info_model_uuid_value",
getResourceUuid(input_param['service']['parameters']['resources'],
- 'OLT'));
-xmlDeleteAccess = xmlDeleteAccess.replace("srv_info_model_name_value", "OLT");
+ 'AccessConnectivity'));
+xmlDeleteAccess = xmlDeleteAccess.replace("srv_info_model_name_value", "AccessConnectivity");
xmlDeleteAccess = xmlDeleteAccess.replace("network_info_model_inv_uuid_value",
getResourceInvariantUuid(input_param['service']['parameters'][
'resources'
- ], 'OLT'));
+ ], 'AccessConnectivity'));
xmlDeleteAccess = xmlDeleteAccess.replace(
"network_info_model_custom_uuid_value", getResourceCustomizationUuid(
- input_param['service']['parameters']['resources'], 'OLT'));
+ input_param['service']['parameters']['resources'], 'AccessConnectivity'));
xmlDeleteAccess = xmlDeleteAccess.replace("network_info_model_uuid_value",
getResourceUuid(input_param['service']['parameters']['resources'],
- 'OLT'));
+ 'AccessConnectivity'));
xmlDeleteAccess = xmlDeleteAccess.replace("network_info_model_name_value",
- "OLT");
+ "AccessConnectivity");
xmlDeleteAccess = xmlDeleteAccess.replace("vendor_value", input_param['service']
['parameters']['requestInputs']['ont_ont_manufacturer']);
@@ -188,27 +188,27 @@ xmlCreateAccess = xmlCreateAccess.replace("customer_name_value", input_param[
xmlCreateAccess = xmlCreateAccess.replace("srv_info_model_inv_uuid_value",
getResourceInvariantUuid(input_param['service']['parameters'][
'resources'
- ], 'OLT'));
+ ], 'AccessConnectivity'));
xmlCreateAccess = xmlCreateAccess.replace("srv_info_model_custom_uuid_value",
getResourceCustomizationUuid(input_param['service']['parameters'][
'resources'
- ], 'OLT'));
+ ], 'AccessConnectivity'));
xmlCreateAccess = xmlCreateAccess.replace("srv_info_model_uuid_value",
getResourceUuid(input_param['service']['parameters']['resources'],
- 'OLT'));
-xmlCreateAccess = xmlCreateAccess.replace("srv_info_model_name_value", "OLT");
+ 'AccessConnectivity'));
+xmlCreateAccess = xmlCreateAccess.replace("srv_info_model_name_value", "AccessConnectivity");
xmlCreateAccess = xmlCreateAccess.replace("network_info_model_inv_uuid_value",
getResourceInvariantUuid(input_param['service']['parameters'][
'resources'
- ], 'OLT'));
+ ], 'AccessConnectivity'));
xmlCreateAccess = xmlCreateAccess.replace(
"network_info_model_custom_uuid_value", getResourceCustomizationUuid(
- input_param['service']['parameters']['resources'], 'OLT'));
+ input_param['service']['parameters']['resources'], 'AccessConnectivity'));
xmlCreateAccess = xmlCreateAccess.replace("network_info_model_uuid_value",
getResourceUuid(input_param['service']['parameters']['resources'],
- 'OLT'));
+ 'AccessConnectivity'));
xmlCreateAccess = xmlCreateAccess.replace("network_info_model_name_value",
- "OLT");
+ "AccessConnectivity");
xmlCreateAccess = xmlCreateAccess.replace("vendor_value", input_param['service']
['parameters']['requestInputs']['ont_ont_manufacturer']);
@@ -270,29 +270,29 @@ xmlChangeProfile = xmlChangeProfile.replace("customer_name_value", input_param[
xmlCreateAccess = xmlCreateAccess.replace("srv_info_model_inv_uuid_value",
getResourceInvariantUuid(input_param['service']['parameters'][
'resources'
- ], 'EdgeInternetProfile'));
+ ], 'InternetProfile'));
xmlCreateAccess = xmlCreateAccess.replace("srv_info_model_custom_uuid_value",
getResourceCustomizationUuid(input_param['service']['parameters'][
'resources'
- ], 'EdgeInternetProfile'));
+ ], 'InternetProfile'));
xmlCreateAccess = xmlCreateAccess.replace("srv_info_model_uuid_value",
getResourceUuid(input_param['service']['parameters']['resources'],
- 'EdgeInternetProfile'));
+ 'InternetProfile'));
xmlCreateAccess = xmlCreateAccess.replace("srv_info_model_name_value",
- "EdgeInternetProfile");
+ "InternetProfile");
xmlCreateAccess = xmlCreateAccess.replace("network_info_model_inv_uuid_value",
getResourceInvariantUuid(input_param['service']['parameters'][
'resources'
- ], 'EdgeInternetProfile'));
+ ], 'InternetProfile'));
xmlCreateAccess = xmlCreateAccess.replace(
"network_info_model_custom_uuid_value", getResourceCustomizationUuid(
input_param['service']['parameters']['resources'],
- 'EdgeInternetProfile'));
+ 'InternetProfile'));
xmlCreateAccess = xmlCreateAccess.replace("network_info_model_uuid_value",
getResourceUuid(input_param['service']['parameters']['resources'],
- 'EdgeInternetProfile'));
+ 'InternetProfile'));
xmlCreateAccess = xmlCreateAccess.replace("network_info_model_name_value",
- "EdgeInternetProfile");
+ "InternetProfile");
xmlChangeProfile = xmlChangeProfile.replace("vendor_value", input_param[
'service']['parameters']['requestInputs']['ont_ont_manufacturer']);