aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/resources/payload_jsons/resume
diff options
context:
space:
mode:
authorEinat Vinouze <einat.vinouze@intl.att.com>2019-07-16 17:17:36 +0300
committerIttay Stern <ittay.stern@att.com>2019-07-30 06:01:44 +0300
commite601bbdc43bae9a08e2e10c5139a6f76b47860d7 (patch)
tree1913f0b369ead3f2ea5557e5649d8281eca9871c /vid-app-common/src/test/resources/payload_jsons/resume
parent76c6ee4a697617ec4cdee2f3b48bc83136c858c5 (diff)
Implant vid-app-common org.onap.vid.job (main and test)
Issue-ID: VID-378 Change-Id: I41b0bdc2c4e3635f3f3319b1cd63cefc61912dfc Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Signed-off-by: Ittay Stern <ittay.stern@att.com>
Diffstat (limited to 'vid-app-common/src/test/resources/payload_jsons/resume')
-rw-r--r--vid-app-common/src/test/resources/payload_jsons/resume/feRequestResumeMacroService.json107
-rw-r--r--vid-app-common/src/test/resources/payload_jsons/resume/msoResponseGetRequestsOfServiceInstance.json62
2 files changed, 169 insertions, 0 deletions
diff --git a/vid-app-common/src/test/resources/payload_jsons/resume/feRequestResumeMacroService.json b/vid-app-common/src/test/resources/payload_jsons/resume/feRequestResumeMacroService.json
new file mode 100644
index 000000000..c2c84dc9c
--- /dev/null
+++ b/vid-app-common/src/test/resources/payload_jsons/resume/feRequestResumeMacroService.json
@@ -0,0 +1,107 @@
+{
+ "isDirty": false,
+ "instanceParams": [],
+ "existingNames": {
+ "ncmvlansvcym161f_77": ""
+ },
+ "vidNotions": {
+ "instantiationType": "Macro",
+ "instantiationUI": "serviceWithCollectionResource",
+ "modelCategory": "other",
+ "viewEditUI": "serviceWithCollectionResource"
+ },
+ "bulkSize": 1,
+ "action": "Resume",
+ "instanceName": "NcmVlanSvcYm161f_77",
+ "instanceId": "a565e6ad-75d1-4493-98f1-33234b5c17e2",
+ "orchStatus": "Assigned",
+ "productFamilyId": null,
+ "lcpCloudRegionId": null,
+ "tenantId": null,
+ "cloudOwner": null,
+ "modelInfo": {
+ "modelInvariantId": "f6342be5-d66b-4d03-a1aa-c82c3094c4ea",
+ "modelVersionId": "6e0bec91-09f3-43aa-9cf3-e617cd0146be",
+ "modelName": "NCM_VLAN_SVC_ym161f",
+ "modelType": "service",
+ "modelVersion": "8.0"
+ },
+ "globalSubscriberId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",
+ "subscriptionServiceType": "Emanuel",
+ "owningEntityId": null,
+ "owningEntityName": null,
+ "tenantName": null,
+ "aicZoneId": null,
+ "aicZoneName": null,
+ "projectName": null,
+ "rollbackOnFailure": false,
+ "isALaCarte": false,
+ "vnfs": {},
+ "vrfs": {},
+ "networks": {},
+ "vnfGroups": {},
+ "validationCounter": 0,
+ "existingVNFCounterMap": {},
+ "existingVRFCounterMap": {},
+ "existingNetworksCounterMap": {},
+ "existingVnfGroupCounterMap": {},
+ "collectionResources": {
+ "84a351ae-3601-45e2-98df-878d6c816abc": {
+ "action": "None",
+ "instanceName": "NcmVlanSvcYm161f_77_vTSBC Customer Landing Network Collection",
+ "instanceId": "84a351ae-3601-45e2-98df-878d6c816abc",
+ "orchStatus": "Active",
+ "productFamilyId": null,
+ "lcpCloudRegionId": null,
+ "tenantId": null,
+ "cloudOwner": null,
+ "modelInfo": {
+ "modelInvariantId": "081ceb56-eb71-4566-a72d-3e7cbee5cdf1",
+ "modelVersionId": "ce8c98bc-4691-44fb-8ff0-7a47487c11c4",
+ "modelName": "NCM_VLAN_ym161f",
+ "modelType": "collection",
+ "modelVersion": "5.0"
+ },
+ "instanceType": null,
+ "provStatus": null,
+ "inMaint": false,
+ "uuid": "ce8c98bc-4691-44fb-8ff0-7a47487c11c4",
+ "originalName": "NCM_VLAN_ym161f 0",
+ "legacyRegion": null,
+ "lineOfBusiness": null,
+ "platformName": null,
+ "trackById": "84a351ae-3601-45e2-98df-878d6c816abc",
+ "ncfs": {
+ "6b3536cf-3a12-457f-abb5-fa2203e0d923": {
+ "action": "None",
+ "instanceName": "NcmVlanSvcYm161f_77_vTSBC Customer Landing Network Collection",
+ "instanceId": "6b3536cf-3a12-457f-abb5-fa2203e0d923",
+ "orchStatus": null,
+ "productFamilyId": null,
+ "lcpCloudRegionId": null,
+ "tenantId": null,
+ "cloudOwner": null,
+ "modelInfo": {
+ "modelInvariantId": "868b109c-9481-4a18-891b-af974db7705a",
+ "modelVersionId": "dd182d7d-6949-4b90-b3cc-5befe400742e",
+ "modelName": "ncm_vlan_ym161f..NetworkCollection..0",
+ "modelType": "instanceGroup",
+ "modelVersion": "1"
+ },
+ "instanceType": "L3-NETWORK",
+ "provStatus": null,
+ "inMaint": false,
+ "uuid": "dd182d7d-6949-4b90-b3cc-5befe400742e",
+ "originalName": "ncm_vlan_ym161f..NetworkCollection..0",
+ "legacyRegion": null,
+ "lineOfBusiness": null,
+ "platformName": null,
+ "trackById": "6b3536cf-3a12-457f-abb5-fa2203e0d923",
+ "instanceGroupRole": "SUB_INTERFACE",
+ "instanceGroupFunction": "vTSBC Customer Landing Network Collection",
+ "numberOfNetworks": 1
+ }
+ }
+ }
+ }
+}
diff --git a/vid-app-common/src/test/resources/payload_jsons/resume/msoResponseGetRequestsOfServiceInstance.json b/vid-app-common/src/test/resources/payload_jsons/resume/msoResponseGetRequestsOfServiceInstance.json
new file mode 100644
index 000000000..cb49dd8da
--- /dev/null
+++ b/vid-app-common/src/test/resources/payload_jsons/resume/msoResponseGetRequestsOfServiceInstance.json
@@ -0,0 +1,62 @@
+{
+ "requestList": [
+ {
+ "request": {
+ "requestId": "894089b8-f7f4-418d-81da-34186fd32670",
+ "startTime": "Wed, 10 Oct 2018 08:01:21 GMT",
+ "finishTime": "Wed, 10 Oct 2018 08:01:43 GMT",
+ "requestScope": "service",
+ "requestType": "createInstance",
+ "requestDetails": {
+ "modelInfo": {
+ "modelInvariantId": "f6342be5-d66b-4d03-a1aa-c82c3094c4ea",
+ "modelType": "service",
+ "modelName": "NCM_VLAN_SVC_ym161f",
+ "modelVersion": "8.0",
+ "modelVersionId": "6e0bec91-09f3-43aa-9cf3-e617cd0146be",
+ "modelUuid": "6e0bec91-09f3-43aa-9cf3-e617cd0146be",
+ "modelInvariantUuid": "f6342be5-d66b-4d03-a1aa-c82c3094c4ea"
+ },
+ "requestInfo": {
+ "productFamilyId": "db171b8f-115c-4992-a2e3-ee04cae357e0",
+ "source": "VID",
+ "suppressRollback": false,
+ "requestorId": "cs0554"
+ },
+ "subscriberInfo": {
+ "globalSubscriberId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb"
+ },
+ "cloudConfiguration": {
+ "tenantId": "d3b49834f7164cbe831bfbfa35ef649b",
+ "cloudOwner": "irma-aic",
+ "lcpCloudRegionId": "Two"
+ },
+ "requestParameters": {
+ "subscriptionServiceType": "Emanuel",
+ "userParams": [
+ {
+ "name": "aic_zone",
+ "value": "TTL58"
+ }
+ ],
+ "aLaCarte": false
+ },
+ "owningEntity": {
+ "owningEntityId": "e4257a94-21cc-40c5-adc9-e6f4ff868e31",
+ "owningEntityName": "EMANUEL-CORE"
+ }
+ },
+ "instanceReferences": {
+ "serviceInstanceId": "a565e6ad-75d1-4493-98f1-33234b5c17e2",
+ "requestorId": "cs0554"
+ },
+ "requestStatus": {
+ "requestState": "FAILED",
+ "statusMessage": "STATUS: Macro-Service-createInstance request was executed correctly.",
+ "percentProgress": 100,
+ "timestamp": "Wed, 10 Oct 2018 08:01:43 GMT"
+ }
+ }
+ }
+ ]
+}