diff options
author | s00370346 <swarup.nayak1@huawei.com> | 2019-06-06 18:27:25 +0530 |
---|---|---|
committer | s00370346 <swarup.nayak1@huawei.com> | 2019-06-06 18:28:53 +0530 |
commit | c447d7111134cc149542ea1690712864e850060e (patch) | |
tree | 737bbded9ad9902150183d6600909aa339d53e41 /examples/examples-onap-bbs/src/main/resources/logic | |
parent | ae257d13b8d89da7e599c1ca2b27805d5d10aa93 (diff) |
BBS Apex Policy vendor --> manufacturer and other
Issue-ID: POLICY-1831
Signed-off-by: s00370346 <swarup.nayak1@huawei.com>
Change-Id: Ib1e60287c6209e1f16764d071e28facc75a12c6e
Diffstat (limited to 'examples/examples-onap-bbs/src/main/resources/logic')
-rw-r--r-- | examples/examples-onap-bbs/src/main/resources/logic/AAIServiceCreateTask.js | 2 | ||||
-rw-r--r-- | examples/examples-onap-bbs/src/main/resources/logic/SdncResourceUpdateTask.js | 48 |
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']); |