From cecc5554b6214be9e473ccfa7207bb04f079b9ae Mon Sep 17 00:00:00 2001 From: Norm Traxler Date: Mon, 7 Jan 2019 21:45:37 +0000 Subject: 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 --- .../junit/networkDiscoveryResponse-1.json | 91 +++++++++++++++++++++- 1 file changed, 88 insertions(+), 3 deletions(-) (limited to 'src/test/resources') 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 -- cgit 1.2.3-korg