aboutsummaryrefslogtreecommitdiffstats
path: root/vid-automation
diff options
context:
space:
mode:
authorAmichai Hemli <amichai.hemli@intl.att.com>2019-10-31 15:27:24 +0200
committerIttay Stern <ittay.stern@att.com>2019-10-31 17:16:23 +0000
commitb35fe638e3e38ab00b111bf44c39d5081ef8a3c2 (patch)
tree98a4abff0ec814142be623cc405863a36a39c407 /vid-automation
parenta867b83b9ce1a5ea9793d4fc76d39f2973c9174a (diff)
Update MSO change-management URL
Issue-ID: VID-622 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Change-Id: Ibe7b07ecc858895de579d3dacf1a3312c6793fad
Diffstat (limited to 'vid-automation')
-rw-r--r--vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/mso/changeManagement/PresetMsoChangeManagementBase.java2
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/mso_config_update_error_404.json2
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/mso_config_update_error_409.json2
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/mso_config_update_ok.json2
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/mso_in_place_software_update_error_404.json2
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/mso_in_place_software_update_error_409.json2
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/mso_in_place_software_update_ok.json2
7 files changed, 7 insertions, 7 deletions
diff --git a/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/mso/changeManagement/PresetMsoChangeManagementBase.java b/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/mso/changeManagement/PresetMsoChangeManagementBase.java
index 758e15e6e..aa93bc422 100644
--- a/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/mso/changeManagement/PresetMsoChangeManagementBase.java
+++ b/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/mso/changeManagement/PresetMsoChangeManagementBase.java
@@ -18,7 +18,7 @@ public abstract class PresetMsoChangeManagementBase extends PresetMSOBaseCreate
@Override
public String getReqPath() {
- return getRootPath() + "/serviceInstances/v./" + serviceInstanceId + "/vnfs/"+vnfInstanceId+ getReqPathTrailer();
+ return getRootPath() + "/serviceInstantiation/v./serviceInstances/" + serviceInstanceId + "/vnfs/"+vnfInstanceId+ getReqPathTrailer();
}
protected String getReqPathTrailer() {
diff --git a/vid-automation/src/test/resources/registration_to_simulator/mso_config_update_error_404.json b/vid-automation/src/test/resources/registration_to_simulator/mso_config_update_error_404.json
index c3fb0b009..6d08d520e 100644
--- a/vid-automation/src/test/resources/registration_to_simulator/mso_config_update_error_404.json
+++ b/vid-automation/src/test/resources/registration_to_simulator/mso_config_update_error_404.json
@@ -1,7 +1,7 @@
{
"simulatorRequest": {
"method": "POST",
- "path": ".*/serviceInstances/v./SERVICE_INSTANCE_ID/vnfs/VNF_INSTANCE_ID/applyUpdatedConfig"
+ "path": ".*/serviceInstantiation/v./serviceInstances/SERVICE_INSTANCE_ID/vnfs/VNF_INSTANCE_ID/applyUpdatedConfig"
} ,
"simulatorResponse": {
"responseCode": 404,
diff --git a/vid-automation/src/test/resources/registration_to_simulator/mso_config_update_error_409.json b/vid-automation/src/test/resources/registration_to_simulator/mso_config_update_error_409.json
index 27eb0dc98..5cbf1ee1f 100644
--- a/vid-automation/src/test/resources/registration_to_simulator/mso_config_update_error_409.json
+++ b/vid-automation/src/test/resources/registration_to_simulator/mso_config_update_error_409.json
@@ -1,7 +1,7 @@
{
"simulatorRequest": {
"method": "POST",
- "path": ".*/serviceInstances/v./SERVICE_INSTANCE_ID/vnfs/VNF_INSTANCE_ID/applyUpdatedConfig"
+ "path": ".*/serviceInstantiation/v./serviceInstances/SERVICE_INSTANCE_ID/vnfs/VNF_INSTANCE_ID/applyUpdatedConfig"
} ,
"simulatorResponse": {
"responseCode": 409,
diff --git a/vid-automation/src/test/resources/registration_to_simulator/mso_config_update_ok.json b/vid-automation/src/test/resources/registration_to_simulator/mso_config_update_ok.json
index 021d012f6..7324da3bc 100644
--- a/vid-automation/src/test/resources/registration_to_simulator/mso_config_update_ok.json
+++ b/vid-automation/src/test/resources/registration_to_simulator/mso_config_update_ok.json
@@ -1,7 +1,7 @@
{
"simulatorRequest": {
"method": "POST",
- "path": ".*/serviceInstances/v./SERVICE_INSTANCE_ID/vnfs/VNF_INSTANCE_ID/applyUpdatedConfig"
+ "path": ".*/serviceInstantiation/v./serviceInstances/SERVICE_INSTANCE_ID/vnfs/VNF_INSTANCE_ID/applyUpdatedConfig"
} ,
"simulatorResponse": {
"responseCode": 202,
diff --git a/vid-automation/src/test/resources/registration_to_simulator/mso_in_place_software_update_error_404.json b/vid-automation/src/test/resources/registration_to_simulator/mso_in_place_software_update_error_404.json
index d48d2ae78..c436b2383 100644
--- a/vid-automation/src/test/resources/registration_to_simulator/mso_in_place_software_update_error_404.json
+++ b/vid-automation/src/test/resources/registration_to_simulator/mso_in_place_software_update_error_404.json
@@ -1,7 +1,7 @@
{
"simulatorRequest": {
"method": "POST",
- "path": ".*/serviceInstances/v./SERVICE_INSTANCE_ID/vnfs/VNF_INSTANCE_ID/inPlaceSoftwareUpdate"
+ "path": ".*/serviceInstantiation/v./serviceInstances/SERVICE_INSTANCE_ID/vnfs/VNF_INSTANCE_ID/inPlaceSoftwareUpdate"
} ,
"simulatorResponse": {
"responseCode": 404,
diff --git a/vid-automation/src/test/resources/registration_to_simulator/mso_in_place_software_update_error_409.json b/vid-automation/src/test/resources/registration_to_simulator/mso_in_place_software_update_error_409.json
index fa429c9e9..67ed47304 100644
--- a/vid-automation/src/test/resources/registration_to_simulator/mso_in_place_software_update_error_409.json
+++ b/vid-automation/src/test/resources/registration_to_simulator/mso_in_place_software_update_error_409.json
@@ -1,7 +1,7 @@
{
"simulatorRequest": {
"method": "POST",
- "path": ".*/serviceInstances/v./SERVICE_INSTANCE_ID/vnfs/VNF_INSTANCE_ID/inPlaceSoftwareUpdate"
+ "path": ".*/serviceInstantiation/v./serviceInstances/SERVICE_INSTANCE_ID/vnfs/VNF_INSTANCE_ID/inPlaceSoftwareUpdate"
} ,
"simulatorResponse": {
"responseCode": 409,
diff --git a/vid-automation/src/test/resources/registration_to_simulator/mso_in_place_software_update_ok.json b/vid-automation/src/test/resources/registration_to_simulator/mso_in_place_software_update_ok.json
index 4ce1936c4..efd3b8d1b 100644
--- a/vid-automation/src/test/resources/registration_to_simulator/mso_in_place_software_update_ok.json
+++ b/vid-automation/src/test/resources/registration_to_simulator/mso_in_place_software_update_ok.json
@@ -1,7 +1,7 @@
{
"simulatorRequest": {
"method": "POST",
- "path": ".*/serviceInstances/v./SERVICE_INSTANCE_ID/vnfs/VNF_INSTANCE_ID/inPlaceSoftwareUpdate"
+ "path": ".*/serviceInstantiation/v./serviceInstances/SERVICE_INSTANCE_ID/vnfs/VNF_INSTANCE_ID/inPlaceSoftwareUpdate"
} ,
"simulatorResponse": {
"responseCode": 202,