From d4a4318d15b9ad92fd46b35c125de8db6a5f689a Mon Sep 17 00:00:00 2001 From: Dan Timoney Date: Wed, 12 Aug 2020 11:23:28 -0400 Subject: Fix test issues Added property settings to all test cases to correct issue in staging build, where properties do not appear to be taking place properly. Also, fixed issues found in testing with docker compose. Change-Id: If698e212d91cd630af4c4a33dd70d90078923478 Issue-ID: SDNC-1315 Signed-off-by: Dan Timoney --- .../src/test/resources/network-assign-rpc.json | 71 ++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 ms/generic-resource-api/src/test/resources/network-assign-rpc.json (limited to 'ms/generic-resource-api/src/test/resources/network-assign-rpc.json') diff --git a/ms/generic-resource-api/src/test/resources/network-assign-rpc.json b/ms/generic-resource-api/src/test/resources/network-assign-rpc.json new file mode 100644 index 0000000..d6b9782 --- /dev/null +++ b/ms/generic-resource-api/src/test/resources/network-assign-rpc.json @@ -0,0 +1,71 @@ +{ + "input": { + "request-information": { + "notification-url": "http://dev.null", + "order-number": "123", + "order-version": "version1", + "request-action": "CreateNetworkInstance", + "request-id": "req123", + "source": "curl" + }, + "sdnc-request-header": { + "svc-action": "assign", + "svc-notification-url": "http://dev.null", + "svc-request-id": "svcreq123" + }, + "service-information": { + "global-customer-id": "cust123", + "onap-model-information": { + "model-customization-uuid": "367a8ba9-057a-4506-b106-fbae818597c6", + "model-invariant-uuid": "367a8ba9-057a-4506-b106-fbae818597c6", + "model-name": "vBNG_0202", + "model-uuid": "00e50cbd-ef0f-4b28-821e-f2b583752dd3", + "model-version": "1920" + }, + "service-id": "service1", + "service-instance-id": "service1", + "subscriber-name": "test", + "subscription-service-type": "test" + }, + "network-request-input": { + "aic-clli": "complexMC", + "aic-cloud-region": "k8s_region_1", + "cloud-owner": "k8sCloudOwner", + "network-input-parameters": { + "param": [ + { + "name": "test-param", + "resource-resolution-data": { + "capability-name": "myCapability", + "payload": "myPayload", + "resource-key": [ + { + "name": "resource1", + "value": "hello_world" + } + ], + "status": "Pending" + }, + "value": "HiThere" + } + ] + }, + "network-instance-group-id": "netgrp123", + "network-name": "myNetwork", + "tenant": "k8s_tenant_1" + }, + "network-information": { + "from-preload": true, + "network-id": "net123", + "network-technology": "virtio", + "network-type": "lan", + "onap-model-information": { + "model-customization-uuid": "367a8ba9-057a-4506-b106-fbae818597c6", + "model-invariant-uuid": "367a8ba9-057a-4506-b106-fbae818597c6", + "model-name": "vBNG_0202", + "model-uuid": "00e50cbd-ef0f-4b28-821e-f2b583752dd3", + "model-version": "1920" + } + } + } + } -- cgit 1.2.3-korg