diff options
author | Norm Traxler <normant@amdocs.com> | 2019-01-07 21:45:37 +0000 |
---|---|---|
committer | Norm Traxler <normant@amdocs.com> | 2019-01-07 21:45:54 +0000 |
commit | cecc5554b6214be9e473ccfa7207bb04f079b9ae (patch) | |
tree | b0125fc193633277d381f70f0094ba543ffbd26c /src/test/resources | |
parent | a39e4fc1942d75117834245d3f87c369d2f4a66b (diff) |
Change Network Discovery micro call to Synchronous
Network Discovery API is now synchronus, so the context builder is changing accordingly.
Issue-ID: SDNC-543
Change-Id: I518a93197b192a42349fc23afb6c1cc731d55478
Signed-off-by: Norm Traxler <normant@amdocs.com>
Diffstat (limited to 'src/test/resources')
-rw-r--r-- | src/test/resources/junit/networkDiscoveryResponse-1.json | 91 |
1 files changed, 88 insertions, 3 deletions
diff --git a/src/test/resources/junit/networkDiscoveryResponse-1.json b/src/test/resources/junit/networkDiscoveryResponse-1.json index 12da468..7df8470 100644 --- a/src/test/resources/junit/networkDiscoveryResponse-1.json +++ b/src/test/resources/junit/networkDiscoveryResponse-1.json @@ -1,6 +1,91 @@ { "requestId": "2131_1", - "code": 202, - "message": "Accepted", - "ackFinalIndicator": false + "code": 200, + "message": "OK", + "ackFinalIndicator": true, + "resources": [ + { + "id": "2c311eae-f542-4173-8a01-582922abd495", + "name": null, + "type": "vserver", + "dataQuality": { + "status": "ok", + "errorText": null + }, + "attributeList": [ + { + "name": "id", + "value": "2c311eae-f542-4173-8a01-582922abd495", + "dataQuality": { + "status": "ok", + "errorText": null + } + }, + { + "name": "name", + "value": "norm_bouygues", + "dataQuality": { + "status": "ok", + "errorText": null + } + }, + { + "name": "inMaintenance", + "value": "false", + "dataQuality": { + "status": "ok", + "errorText": null + } + }, + { + "name": "imageId", + "value": "c0022890-d91f-422c-91c5-3866edeae768", + "dataQuality": { + "status": "ok", + "errorText": null + } + }, + { + "name": "status", + "value": "ACTIVE", + "dataQuality": { + "status": "ok", + "errorText": null + } + }, + { + "name": "vmState", + "value": "active", + "dataQuality": { + "status": "ok", + "errorText": null + } + }, + { + "name": "tenantId", + "value": "15ad36d394e744838e947ca90609f805", + "dataQuality": { + "status": "ok", + "errorText": null + } + }, + { + "name": "hostId", + "value": "ea1660efbbedda164379afacdc622305c4b88cebfb84119472d286a8", + "dataQuality": { + "status": "ok", + "errorText": null + } + }, + { + "name": "hostStatus", + "value": "UNKNOWN", + "dataQuality": { + "status": "ok", + "errorText": null + } + } + ] + } + ] }
\ No newline at end of file |