aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIttay Stern <ittay.stern@att.com>2019-03-19 19:43:19 +0200
committerIttay Stern <ittay.stern@att.com>2019-03-19 19:46:16 +0200
commit1374834fa6770b908246186ba119a6f0b5ff83cf (patch)
tree257a2d87930a4399b48cad4285f19ba6ebdc5339
parent03359a5641dfb26f93d630a1b1232c0ffc6ec51c (diff)
Preset for Workflows action:EQUALS:scaleOut
Change I71d44c6b36babcc5b8931cda65ab86940062deda modified MsoBusinessLogicImpl.getOrchestrationRequestsForDashboard to require having a response from MSO for action:EQUALS:scaleOut in order to see the other modelType:EQUALS:vnf workflows. Change-Id: Ib5466c366938653f1cb3edfeb07328a4bc0b5afc Issue-ID: VID-403 Signed-off-by: Ittay Stern <ittay.stern@att.com>
-rw-r--r--vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/mso_get_change_managements.json21
-rw-r--r--vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/mso_get_change_managements_scaleout.json54
2 files changed, 55 insertions, 20 deletions
diff --git a/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/mso_get_change_managements.json b/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/mso_get_change_managements.json
index eccade571..36bcfa9bf 100644
--- a/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/mso_get_change_managements.json
+++ b/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/mso_get_change_managements.json
@@ -1,7 +1,7 @@
{
"simulatorRequest": {
"method": "GET",
- "path": "/mso/orchestrationRequests/v5",
+ "path": "/mso/orchestrationRequests/v.",
"queryParams": {
"filter": "modelType:EQUALS:vnf"
}
@@ -1733,25 +1733,6 @@
"requestorId": "az2016"
}
}
- },
- {
- "request": {
- "requestId": "2d6502bf-c488-4903-817e-2ed2c644dcf4",
- "requestScope": "vnf",
- "requestStatus": {
- "percentProgress": 100.0,
- "requestState": "COMPLETE",
- "statusMessage": "Completedd successfuly",
- "finishTime": "Thu, 09 Nov 2017 10:58:14 GMT"
- },
- "requestType": "updateInstance",
- "startTime": "Thu, 09 Nov 2017 10:58:14 GMT",
- "instanceReferences": {
- "serviceInstanceId": "54ba3628-9ee5-4b32-8a2a-3abf001bed4e",
- "vnfInstanceId": "b8d99523-1e83-4fd1-b42f-849361ef7024",
- "requestorId": "az2016"
- }
- }
}
]
}
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
new file mode 100644
index 000000000..a7913b0e6
--- /dev/null
+++ b/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/mso_get_change_managements_scaleout.json
@@ -0,0 +1,54 @@
+{
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/mso/orchestrationRequests/v.",
+ "queryParams": {
+ "filter": "action:EQUALS:scaleOut"
+ }
+ },
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body": {
+ "requestList": [
+ {
+ "request": {
+ "requestId":"2a22aff4-620f-44b6-92a1-8a41be396d96\n\n",
+ "requestScope":"vfModule",
+ "requestStatus":{
+ "percentProgress":100.0,
+ "requestState":"IN_PROGRESS",
+ "statusMessage":"Update Is In Progress",
+ "finishTime":"Fri, 08 Sep 2017 19:34:33 GMT"
+ },
+ "requestType":"scaleOut",
+ "startTime":"Fri, 08 Sep 2017 19:34:32 GMT",
+ "instanceReferences":{
+ "serviceInstanceId":"6dd0f8de-93c7-48a2-914b-1a8d58e0eb48",
+ "vnfInstanceId":"7c00cc1e-6425-4fc3-afc3-0289db288d4c",
+ "requestorId":"ds828e"
+ }
+ }
+ },
+ {
+ "request": {
+ "requestId": "2d6502bf-c488-4903-817e-2ed2c644dcf4",
+ "requestScope": "vfModule",
+ "requestStatus": {
+ "percentProgress": 100.0,
+ "requestState": "COMPLETE",
+ "statusMessage": "Completed successfully",
+ "finishTime": "Thu, 09 Nov 2017 10:58:14 GMT"
+ },
+ "requestType": "scaleOut",
+ "startTime": "Thu, 09 Nov 2017 10:58:14 GMT",
+ "instanceReferences": {
+ "serviceInstanceId": "54ba3628-9ee5-4b32-8a2a-3abf001bed4e",
+ "vnfInstanceId": "b8d99523-1e83-4fd1-b42f-849361ef7024",
+ "requestorId": "az2016"
+ }
+ }
+ }
+ ]
+ }
+ }
+} \ No newline at end of file