diff options
author | Ofir Sonsino <os0695@att.com> | 2018-01-31 17:19:00 +0200 |
---|---|---|
committer | Ofir Sonsino <os0695@att.com> | 2018-01-31 17:19:00 +0200 |
commit | 1cfb08779ea0e00be69e072a940b3063e049fe6b (patch) | |
tree | 6602a900387c8393ed0dcd81c0539381632903c6 /vid-app-common/src/test/resources/payload_jsons | |
parent | 2f20b001b9243e0f8b44aecc768ec265fd538732 (diff) |
org.onap migration
Change-Id: I52f0b2851f2c765752b6d21f49b32136d7d72a3d
Issue-ID: VID-86
Signed-off-by: Ofir Sonsino <os0695@att.com>
Diffstat (limited to 'vid-app-common/src/test/resources/payload_jsons')
4 files changed, 121 insertions, 0 deletions
diff --git a/vid-app-common/src/test/resources/payload_jsons/activateOperationalEnvironmentsPayloadToMso.json b/vid-app-common/src/test/resources/payload_jsons/activateOperationalEnvironmentsPayloadToMso.json new file mode 100644 index 000000000..400a55f9e --- /dev/null +++ b/vid-app-common/src/test/resources/payload_jsons/activateOperationalEnvironmentsPayloadToMso.json @@ -0,0 +1,23 @@ +{ + "requestDetails": { + "requestInfo": { + "resourceType": "operationalEnvironment", + "source": "VID", + "requestorId": "<userId>" + }, + "relatedInstanceList": [ + { + "relatedInstance": { + "resourceType": "operationalEnvironment", + "instanceId": "<relatedInstanceId>", + "instanceName": "<relatedInstanceName>" + } + } + ], + "requestParameters": { + "operationalEnvironmentType": "VNF", + "workloadContext": "<workloadContext>", + "manifest": <manifest> + } + } +}
\ No newline at end of file diff --git a/vid-app-common/src/test/resources/payload_jsons/createOperationalEnvironmentsPayloadToMso.json b/vid-app-common/src/test/resources/payload_jsons/createOperationalEnvironmentsPayloadToMso.json new file mode 100644 index 000000000..bdfdb4e76 --- /dev/null +++ b/vid-app-common/src/test/resources/payload_jsons/createOperationalEnvironmentsPayloadToMso.json @@ -0,0 +1,24 @@ +{ + "requestDetails": { + "requestInfo": { + "resourceType": "operationalEnvironment", + "instanceName": "<instanceName>", + "source": "VID", + "requestorId": "<userId>" + }, + "relatedInstanceList": [ + { + "relatedInstance": { + "resourceType": "operationalEnvironment", + "instanceId": "<ecompInstanceId>", + "instanceName": "<ecompInstanceName>" + } + } + ], + "requestParameters": { + "operationalEnvironmentType": "<operationalEnvType>", + "tenantContext": "<tenantContext>", + "workloadContext": "<workloadContext>" + } + } +}
\ No newline at end of file diff --git a/vid-app-common/src/test/resources/payload_jsons/deactivateOperationalEnvironmentsPayloadToMso.json b/vid-app-common/src/test/resources/payload_jsons/deactivateOperationalEnvironmentsPayloadToMso.json new file mode 100644 index 000000000..b9ff15127 --- /dev/null +++ b/vid-app-common/src/test/resources/payload_jsons/deactivateOperationalEnvironmentsPayloadToMso.json @@ -0,0 +1,12 @@ +{ + "requestDetails": { + "requestInfo": { + "resourceType": "operationalEnvironment", + "source": "VID", + "requestorId": "<userId>" + }, + "requestParameters": { + "operationalEnvironmentType": "VNF" + } + } +}
\ No newline at end of file diff --git a/vid-app-common/src/test/resources/payload_jsons/mso_request_create_configuration.json b/vid-app-common/src/test/resources/payload_jsons/mso_request_create_configuration.json new file mode 100644 index 000000000..e0942bae2 --- /dev/null +++ b/vid-app-common/src/test/resources/payload_jsons/mso_request_create_configuration.json @@ -0,0 +1,62 @@ + +{ + "requestDetails": { + "modelInfo": { + "modelType": "configuration", + "modelInvariantId": "c30a024e-a6c6-4670-b73c-3df64eb57ff6", + "modelVersionId": "f58d039d-4cfc-40ec-bd75-1f05f0458a6c", + "modelName": "Port Mirroring Configuration By Policy", + "modelVersion": "1.0", + "modelCustomizationId": "4b7ebace-bad6-4526-9be6-bf248e20fc5f", + "modelCustomizationName": "Port Mirroring Configuration By Policy 1" + }, + "cloudConfiguration": { + "lcpCloudRegionId": "AAIAIC25" + }, + "requestInfo": { + "instanceName":"test_sssdad", + "source": "VID", + "requestorId": "1" + }, + "relatedInstanceList": [ + { + "relatedInstance": { + "instanceId": "c187e9fe-40c3-4862-b73e-84ff056205f6 ", + "modelInfo": { + "modelType": "service", + "modelInvariantId": "b7d923c9-6175-41f1-91ba-4565c4953408", + "modelVersionId": "ee6d61be-4841-4f98-8f23-5de9da846ca7", + "modelName": "ServiceContainerMultiplepProbes", + "modelVersion": "1.0" + } + } + }, + { + "relatedInstance": { + "instanceId": "9be14a4f-7367-4cf9-96a1-f08f10f485a7", + "instanceDirection": "source", + "modelInfo": { + "modelType": "vnf", + "modelInvariantId": "a7eac2b3-8444-40ee-92e3-b3359b32445c", + "modelVersionId": "2a2ea15f-07c6-4b89-bfca-e8aba39a34d6", + "modelName": "vmmeService2", + "modelVersion": "1.0", + "modelCustomizationId": "060be63d-5f9c-4fd0-8ef7-830d5e8eca17" + } + } + }, + { + "relatedInstance": { + "instanceId": "AS-pnf2-10219--as988q", + "instanceDirection": "destination", + "modelInfo": { + "modelType": "pnf" + } + } + } + ], + "requestParameters": { + "userParams": [] + } + } +}
\ No newline at end of file |