summaryrefslogtreecommitdiffstats
path: root/vid-ext-services-simulator/src/main/resources/preset_registration
diff options
context:
space:
mode:
authorWojciech Sliwka <wojciech.sliwka@nokia.com>2019-04-02 08:57:15 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-02 08:57:15 +0000
commit56d27d6651babd9223ee8e3a3deddda9d702dcd1 (patch)
treef763b0edabcadd734707f51e47d2d7ad27b4046c /vid-ext-services-simulator/src/main/resources/preset_registration
parent99f537f2af25e2810ff39077d3d49fadff6272ff (diff)
parent30794f9184dc2220a557ba5610a434c2a2bac801 (diff)
Merge "Sending workflow data from UI to SO"
Diffstat (limited to 'vid-ext-services-simulator/src/main/resources/preset_registration')
-rw-r--r--vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/get_aai_services_by_customer.json6
-rw-r--r--vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/get_aai_vlb_service_instances.json2
-rw-r--r--vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/mso_invoke_workflow01.json27
-rw-r--r--vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/mso_invoke_workflow02.json28
-rw-r--r--vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/mso_invoke_workflow03.json29
5 files changed, 88 insertions, 4 deletions
diff --git a/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/get_aai_services_by_customer.json b/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/get_aai_services_by_customer.json
index cb2dc7cf5..a7801268b 100644
--- a/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/get_aai_services_by_customer.json
+++ b/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/get_aai_services_by_customer.json
@@ -1,7 +1,7 @@
{
"simulatorRequest": {
"method": "GET",
- "path": "/aai/v../business/customers/customer/MSO_1610_ST",
+ "path": "/aai/v../business/customers/customer/CAR_2020_ER",
"queryParams": {
"depth": [
"2"
@@ -11,8 +11,8 @@
"simulatorResponse": {
"responseCode": 200,
"body": {
- "global-customer-id": "MSO_1610_ST",
- "subscriber-name": "MSO_1610_ST",
+ "global-customer-id": "CAR_2020_ER",
+ "subscriber-name": "CAR_2020_ER",
"subscriber-type": "INFRA",
"resource-version": "1549008901724",
"service-subscriptions": {
diff --git a/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/get_aai_vlb_service_instances.json b/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/get_aai_vlb_service_instances.json
index 5e998e3a8..91a596b4e 100644
--- a/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/get_aai_vlb_service_instances.json
+++ b/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/get_aai_vlb_service_instances.json
@@ -5,7 +5,7 @@
"queryParams": {
"format": ["simple"]
},
- "body": {"start": ["business/customers/customer/MSO_1610_ST/service-subscriptions/service-subscription/vLB/service-instances"], "query": "query/vnf-topology-fromServiceInstance"}
+ "body": {"start": ["business/customers/customer/CAR_2020_ER/service-subscriptions/service-subscription/vLB/service-instances"], "query": "query/vnf-topology-fromServiceInstance"}
},
"simulatorResponse": {
"responseCode": 200,
diff --git a/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/mso_invoke_workflow01.json b/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/mso_invoke_workflow01.json
new file mode 100644
index 000000000..94fc543b6
--- /dev/null
+++ b/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/mso_invoke_workflow01.json
@@ -0,0 +1,27 @@
+{
+ "simulatorRequest": {
+ "method" : "POST",
+ "path" : "/onap/so/infra/instanceManagement/v1/serviceInstances/[a-fA-F0-9-]*/vnfs/[a-fA-F0-9-]*/workflows/[a-fA-F0-9-]*",
+ "body" : {
+ "requestDetails": {
+ "cloudConfiguration": {
+ "lcpCloudRegionId": "RegionOne",
+ "tenantId": "982c540f6e69488eb6be5664255e00c0"
+ },
+ "requestParameters": {
+ "userParams": [
+ {
+ "[FIRST]parameter 1": "011"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body": {
+ "inf": "workflow 1 invoked"
+ }
+ }
+} \ No newline at end of file
diff --git a/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/mso_invoke_workflow02.json b/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/mso_invoke_workflow02.json
new file mode 100644
index 000000000..f5018f557
--- /dev/null
+++ b/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/mso_invoke_workflow02.json
@@ -0,0 +1,28 @@
+{
+ "simulatorRequest": {
+ "method" : "POST",
+ "path" : "/onap/so/infra/instanceManagement/v1/serviceInstances/[a-fA-F0-9-]*/vnfs/[a-fA-F0-9-]*/workflows/[a-fA-F0-9-]*",
+ "body" : {
+ "requestDetails": {
+ "cloudConfiguration": {
+ "lcpCloudRegionId": "RegionOne",
+ "tenantId": "982c540f6e69488eb6be5664255e00c0"
+ },
+ "requestParameters": {
+ "userParams": [
+ {
+ "[SECOND] parameter 2": "022",
+ "[SECOND] parameter 1": "021"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body": {
+ "inf": "workflow 2 invoked"
+ }
+ }
+} \ No newline at end of file
diff --git a/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/mso_invoke_workflow03.json b/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/mso_invoke_workflow03.json
new file mode 100644
index 000000000..a9daa7cf9
--- /dev/null
+++ b/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/mso_invoke_workflow03.json
@@ -0,0 +1,29 @@
+{
+ "simulatorRequest": {
+ "method" : "POST",
+ "path" : "/onap/so/infra/instanceManagement/v1/serviceInstances/[a-fA-F0-9-]*/vnfs/[a-fA-F0-9-]*/workflows/[a-fA-F0-9-]*",
+ "body" : {
+ "requestDetails": {
+ "cloudConfiguration": {
+ "lcpCloudRegionId": "RegionOne",
+ "tenantId": "982c540f6e69488eb6be5664255e00c0"
+ },
+ "requestParameters": {
+ "userParams": [
+ {
+ "[THIRD] parameter 3": "033",
+ "[THIRD] parameter 2": "test",
+ "[THIRD] parameter 1": "031"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body": {
+ "inf": "workflow 3 invoked"
+ }
+ }
+} \ No newline at end of file