diff options
Diffstat (limited to 'vid-ext-services-simulator/src/main')
8 files changed, 92 insertions, 6 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_get_change_managements_scaleout.json b/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/mso_get_change_managements_scaleout.json index a7913b0e6..01d28a41c 100644 --- a/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/mso_get_change_managements_scaleout.json +++ b/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/mso_get_change_managements_scaleout.json @@ -17,7 +17,7 @@ "requestStatus":{ "percentProgress":100.0, "requestState":"IN_PROGRESS", - "statusMessage":"Update Is In Progress", + "statusMessage":"Scale-Out Is In Progress", "finishTime":"Fri, 08 Sep 2017 19:34:33 GMT" }, "requestType":"scaleOut", diff --git a/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/mso_get_manual_task.json b/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/mso_get_manual_task.json index 2b0d1bafb..9c4481e69 100644 --- a/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/mso_get_manual_task.json +++ b/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/mso_get_manual_task.json @@ -20,6 +20,8 @@ "errorSource": "A&AI", "errorCode": "404", "errorMessage": "Failed in A&AI 404", + "description": "Manually restart VM id vm8776da8-4c8cbe860422, then verify logs still contain task id daf4dd84-b77a-42da-a051-3239b7a9392c", + "timeout": "P3DT1H1M", "validResponses": [ "rollback", "abort", 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 diff --git a/vid-ext-services-simulator/src/main/resources/simulator.properties b/vid-ext-services-simulator/src/main/resources/simulator.properties index 922e7b19d..5f1a90c5e 100644 --- a/vid-ext-services-simulator/src/main/resources/simulator.properties +++ b/vid-ext-services-simulator/src/main/resources/simulator.properties @@ -6,4 +6,4 @@ simulator.mockserver.port = 1080 #Simulator proprietary simulator.enablePresetRegistration=false -simulator.enableCentralizedRoleAccess=false +simulator.enableCentralizedRoleAccess=false
\ No newline at end of file |