diff options
author | Alexey Sandler <alexey.sandler@intl.att.com> | 2020-03-16 21:47:40 +0200 |
---|---|---|
committer | Alexey Sandler <alexey.sandler@intl.att.com> | 2020-03-16 21:47:40 +0200 |
commit | 6b57c89aa2ceda72126576c8cdb58b75e83df6f1 (patch) | |
tree | 8424b3969939a943170753577add63c1ad352f7d /vid-automation/src/main/java | |
parent | 212533a0274fd52384c02b929d435e4fb6aeed82 (diff) |
API test to verify simpleNoTaskInfo format
Use new format when fetching Orchestration requests from MSO to the CM dashboard
Issue-ID: VID-787
Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
Change-Id: Id426ee13ce9dede540d7807cb836f1bb6db420c2
Diffstat (limited to 'vid-automation/src/main/java')
-rw-r--r-- | vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/mso/PresetMSOOrchestrationRequestsGetNoTaskInfoBody.java | 220 |
1 files changed, 111 insertions, 109 deletions
diff --git a/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/mso/PresetMSOOrchestrationRequestsGetNoTaskInfoBody.java b/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/mso/PresetMSOOrchestrationRequestsGetNoTaskInfoBody.java index 652abbec8..ac57ebbc0 100644 --- a/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/mso/PresetMSOOrchestrationRequestsGetNoTaskInfoBody.java +++ b/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/mso/PresetMSOOrchestrationRequestsGetNoTaskInfoBody.java @@ -31,128 +31,130 @@ public class PresetMSOOrchestrationRequestsGetNoTaskInfoBody extends BaseMSOPres @Override public Object getResponseBody() { return "" + - " \"requestList\": [" - + " {" - + " \"request\": {" - + " \"requestId\": \"f01fbb5d-c964-44d4-9080-00e83eae419f\"," - + " \"startTime\": \"Mon, 05 Aug 2019 12:49:35 GMT\"," - + " \"finishTime\": \"Mon, 05 Aug 2019 12:50:24 GMT\"," - + " \"requestScope\": \"vnf\"," - + " \"requestType\": \"updateInstance\"," - + " \"requestDetails\": {" - + " \"modelInfo\": {" - + " \"modelCustomizationName\": \"FEXN_5G_NC_VSP 0\"," - + " \"modelInvariantId\": \"5fc21c6e-3ca3-4641-90f0-1e2ae66b20be\"," - + " \"modelType\": \"vnf\"," - + " \"modelName\": \"FEXN_5G_NC_VSP\"," - + " \"modelVersion\": \"2\"," - + " \"modelCustomizationUuid\": \"2ba4f9f3-765f-4172-802e-a56a912c221c\"," - + " \"modelVersionId\": \"9ba01811-84ea-4878-9fd7-7a0a280e0572\"," - + " \"modelCustomizationId\": \"2ba4f9f3-765f-4172-802e-a56a912c221c\"," - + " \"modelUuid\": \"9ba01811-84ea-4878-9fd7-7a0a280e0572\"," - + " \"modelInvariantUuid\": \"5fc21c6e-3ca3-4641-90f0-1e2ae66b20be\"," - + " \"modelInstanceName\": \"FEXN_5G_NC_VSP 0\"" - + " }," - + " \"requestInfo\": {" - + " \"productFamilyId\": \"a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb\"," - + " \"source\": \"VID\"," - + " \"instanceName\": \"PST-VNF-1810-None-4751\"," - + " \"suppressRollback\": false," - + " \"requestorId\": \"yy3692\"" - + " }," - + " \"relatedInstanceList\": [" - + " {" - + " \"relatedInstance\": {" - + " \"instanceId\": \"a06c0d0b-ae17-42fb-b9b5-4b3a93a7be11\"," - + " \"modelInfo\": {" - + " \"modelInvariantId\": \"abb333ce-c66a-4670-b44a-17fe6a4963f3\"," - + " \"modelType\": \"service\"," - + " \"modelName\": \"test_VNF_01_by5924\"," - + " \"modelVersion\": \"2\"," - + " \"modelVersionId\": \"6c756dd3-ffa5-4162-b1a8-501e4a643707\"," - + " \"modelUuid\": \"6c756dd3-ffa5-4162-b1a8-501e4a643707\"," - + " \"modelInvariantUuid\": \"abb333ce-c66a-4670-b44a-17fe6a4963f3\"" - + " }" + "{" + + " \"requestList\": [" + + " {" + + " \"request\": {" + + " \"requestId\": \"f01fbb5d-c964-44d4-9080-00e83eae419f\"," + + " \"startTime\": \"Mon, 05 Aug 2019 12:49:35 GMT\"," + + " \"finishTime\": \"Mon, 05 Aug 2019 12:50:24 GMT\"," + + " \"requestScope\": \"vnf\"," + + " \"requestType\": \"updateInstance\"," + + " \"requestDetails\": {" + + " \"modelInfo\": {" + + " \"modelCustomizationName\": \"FEXN_5G_NC_VSP 0\"," + + " \"modelInvariantId\": \"5fc21c6e-3ca3-4641-90f0-1e2ae66b20be\"," + + " \"modelType\": \"vnf\"," + + " \"modelName\": \"FEXN_5G_NC_VSP\"," + + " \"modelVersion\": \"2\"," + + " \"modelCustomizationUuid\": \"2ba4f9f3-765f-4172-802e-a56a912c221c\"," + + " \"modelVersionId\": \"9ba01811-84ea-4878-9fd7-7a0a280e0572\"," + + " \"modelCustomizationId\": \"2ba4f9f3-765f-4172-802e-a56a912c221c\"," + + " \"modelUuid\": \"9ba01811-84ea-4878-9fd7-7a0a280e0572\"," + + " \"modelInvariantUuid\": \"5fc21c6e-3ca3-4641-90f0-1e2ae66b20be\"," + + " \"modelInstanceName\": \"FEXN_5G_NC_VSP 0\"" + + " }," + + " \"requestInfo\": {" + + " \"productFamilyId\": \"a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb\"," + + " \"source\": \"VID\"," + + " \"instanceName\": \"PST-VNF-1810-None-4751\"," + + " \"suppressRollback\": false," + + " \"requestorId\": \"yy3692\"" + + " }," + + " \"relatedInstanceList\": [" + + " {" + + " \"relatedInstance\": {" + + " \"instanceId\": \"a06c0d0b-ae17-42fb-b9b5-4b3a93a7be11\"," + + " \"modelInfo\": {" + + " \"modelInvariantId\": \"abb333ce-c66a-4670-b44a-17fe6a4963f3\"," + + " \"modelType\": \"service\"," + + " \"modelName\": \"test_VNF_01_by5924\"," + + " \"modelVersion\": \"2\"," + + " \"modelVersionId\": \"6c756dd3-ffa5-4162-b1a8-501e4a643707\"," + + " \"modelUuid\": \"6c756dd3-ffa5-4162-b1a8-501e4a643707\"," + + " \"modelInvariantUuid\": \"abb333ce-c66a-4670-b44a-17fe6a4963f3\"" + " }" + " }" - + " ]," - + " \"cloudConfiguration\": {" - + " \"tenantId\": \"1c099363f335409ea47df3c8db61397a\"," - + " \"cloudOwner\": \"irma-aic\"," - + " \"lcpCloudRegionId\": \"mdt19b\"" - + " }," - + " \"requestParameters\": {" - + " \"aLaCarte\": true," - + " \"testApi\": \"GR_API\"" - + " }," - + " \"platform\": {" - + " \"platformName\": \"None Platform - Collab\"" - + " }," - + " \"lineOfBusiness\": {" - + " \"lineOfBusinessName\": \"None_LOB - Collab\"" + " }" + + " ]," + + " \"cloudConfiguration\": {" + + " \"tenantId\": \"1c099363f335409ea47df3c8db61397a\"," + + " \"cloudOwner\": \"irma-aic\"," + + " \"lcpCloudRegionId\": \"mdt19b\"" + " }," - + " \"instanceReferences\": {" - + " \"serviceInstanceId\": \"a06c0d0b-ae17-42fb-b9b5-4b3a93a7be11\"," - + " \"vnfInstanceId\": \"569cd880-e095-466a-b97d-97bb46fea257\"," - + " \"vnfInstanceName\": \"PST-VNF-1810-None-4751\"," - + " \"requestorId\": \"yy3692\"" + + " \"requestParameters\": {" + + " \"aLaCarte\": true," + + " \"testApi\": \"GR_API\"" + " }," - + " \"requestStatus\": {" - + " \"requestState\": \"ROLLED_BACK\"," - + " \"statusMessage\": \"STATUS: Error Source: SDNC, Error Message: Unable to find l3-network in AAI for network role sgi_direct_net_2 FLOW STATUS: All Rollback flows have completed successfully ROLLBACK STATUS: Rollback has been completed successfully.\"," - + " \"percentProgress\": 100," - + " \"timestamp\": \"Mon, 05 Aug 2019 12:50:24 GMT\"" + + " \"platform\": {" + + " \"platformName\": \"None Platform - Collab\"" + + " }," + + " \"lineOfBusiness\": {" + + " \"lineOfBusinessName\": \"None_LOB - Collab\"" + " }" + + " }," + + " \"instanceReferences\": {" + + " \"serviceInstanceId\": \"a06c0d0b-ae17-42fb-b9b5-4b3a93a7be11\"," + + " \"vnfInstanceId\": \"569cd880-e095-466a-b97d-97bb46fea257\"," + + " \"vnfInstanceName\": \"PST-VNF-1810-None-4751\"," + + " \"requestorId\": \"yy3692\"" + + " }," + + " \"requestStatus\": {" + + " \"requestState\": \"ROLLED_BACK\"," + + " \"statusMessage\": \"STATUS: Error Source: SDNC, Error Message: Unable to find l3-network in AAI for network role sgi_direct_net_2 FLOW STATUS: All Rollback flows have completed successfully ROLLBACK STATUS: Rollback has been completed successfully.\"," + + " \"percentProgress\": 100," + + " \"timestamp\": \"Mon, 05 Aug 2019 12:50:24 GMT\"" + " }" - + " }," - + " {" - + " \"request\": {" - + " \"requestId\": \"64970886-ed75-4837-8bf1-0eb472fe65e6\"," - + " \"startTime\": \"Fri, 06 Mar 2020 23:07:48 GMT\"," - + " \"finishTime\": \"Fri, 06 Mar 2020 23:08:40 GMT\"," - + " \"requestScope\": \"vnf\"," - + " \"requestType\": \"replaceInstance\"," - + " \"requestDetails\": {" - + " \"modelInfo\": {" - + " \"modelCustomizationName\": \"L3VPNvRR-RESOURCE 0\"," - + " \"modelInvariantId\": \"fdb84cd2-87d8-4b22-bf47-b3ef765d2c11\"," - + " \"modelType\": \"vnf\"," - + " \"modelNameVersionId\": \"fdb84cd2-87d8-4b22-bf47-b3ef765d2c11\"," - + " \"modelName\": \"L3VPNvRR-RESOURCE\"," - + " \"modelVersion\": \"1\"," - + " \"modelInvariantUuid\": \"fdb84cd2-87d8-4b22-bf47-b3ef765d2c11\"," - + " \"modelInstanceName\": \"L3VPNvRR-RESOURCE 0\"" - + " }," - + " \"requestInfo\": {" - + " \"source\": \"VID\"," - + " \"suppressRollback\": false," - + " \"requestorId\": \"ROBOT\"" - + " }," - + " \"cloudConfiguration\": {" - + " \"tenantId\": \"78491aac74be4fab9873db114774b475\"," - + " \"cloudOwner\": \"irma-aic\"," - + " \"lcpCloudRegionId\": \"dyh2b\"" - + " }," - + " \"requestParameters\": {" - + " \"testApi\": \"GR_API\"" - + " }" + + " }" + + " }," + + " {" + + " \"request\": {" + + " \"requestId\": \"64970886-ed75-4837-8bf1-0eb472fe65e6\"," + + " \"startTime\": \"Fri, 06 Mar 2020 23:07:48 GMT\"," + + " \"finishTime\": \"Fri, 06 Mar 2020 23:08:40 GMT\"," + + " \"requestScope\": \"vnf\"," + + " \"requestType\": \"replaceInstance\"," + + " \"requestDetails\": {" + + " \"modelInfo\": {" + + " \"modelCustomizationName\": \"L3VPNvRR-RESOURCE 0\"," + + " \"modelInvariantId\": \"fdb84cd2-87d8-4b22-bf47-b3ef765d2c11\"," + + " \"modelType\": \"vnf\"," + + " \"modelNameVersionId\": \"fdb84cd2-87d8-4b22-bf47-b3ef765d2c11\"," + + " \"modelName\": \"L3VPNvRR-RESOURCE\"," + + " \"modelVersion\": \"1\"," + + " \"modelInvariantUuid\": \"fdb84cd2-87d8-4b22-bf47-b3ef765d2c11\"," + + " \"modelInstanceName\": \"L3VPNvRR-RESOURCE 0\"" + " }," - + " \"instanceReferences\": {" - + " \"serviceInstanceId\": \"e648ee86-c091-4d38-8573-99893cd79bfa\"," - + " \"vnfInstanceId\": \"9a2b3dd1-5fd9-4cb4-a47f-b4f0e8e678e3\"," - + " \"vnfInstanceName\": \"PST-VNF-2002-None-943501\"," + + " \"requestInfo\": {" + + " \"source\": \"VID\"," + + " \"suppressRollback\": false," + " \"requestorId\": \"ROBOT\"" + " }," - + " \"requestStatus\": {" - + " \"requestState\": \"COMPLETE\"," - + " \"statusMessage\": \"STATUS: ALaCarte-Vnf-deleteInstance request was executed correctly. FLOW STATUS: Successfully completed all Building Blocks\"," - + " \"percentProgress\": 100," - + " \"timestamp\": \"Fri, 06 Mar 2020 23:08:40 GMT\"" + + " \"cloudConfiguration\": {" + + " \"tenantId\": \"78491aac74be4fab9873db114774b475\"," + + " \"cloudOwner\": \"irma-aic\"," + + " \"lcpCloudRegionId\": \"dyh2b\"" + + " }," + + " \"requestParameters\": {" + + " \"testApi\": \"GR_API\"" + " }" + + " }," + + " \"instanceReferences\": {" + + " \"serviceInstanceId\": \"e648ee86-c091-4d38-8573-99893cd79bfa\"," + + " \"vnfInstanceId\": \"9a2b3dd1-5fd9-4cb4-a47f-b4f0e8e678e3\"," + + " \"vnfInstanceName\": \"PST-VNF-2002-None-943501\"," + + " \"requestorId\": \"ROBOT\"" + + " }," + + " \"requestStatus\": {" + + " \"requestState\": \"COMPLETE\"," + + " \"statusMessage\": \"STATUS: ALaCarte-Vnf-deleteInstance request was executed correctly. FLOW STATUS: Successfully completed all Building Blocks\"," + + " \"percentProgress\": 100," + + " \"timestamp\": \"Fri, 06 Mar 2020 23:08:40 GMT\"" + " }" + " }" - + " ]"; + + " }" + + " ]" + + "}"; } } |