From 769cb4c222fb6123bda3ae12abadd73cba7bdbb5 Mon Sep 17 00:00:00 2001 From: "Tait,Trevor(rt0435)" Date: Thu, 31 Jan 2019 10:58:16 -0500 Subject: SDNC Context Builder : L2 Fabric Retrieval - pnf Handle the case where there ONE PNF under source-port OR dest-port but not both. Issue-ID: LOG-778 Change-Id: Ia37bc98e51e9bc8548ac897af369c0e576f57308 Signed-off-by: Tait,Trevor(rt0435) --- .../junit/portMirrorConfigurationsResponse.json | 40 ++++++++++------------ 1 file changed, 18 insertions(+), 22 deletions(-) (limited to 'src/test/resources') diff --git a/src/test/resources/junit/portMirrorConfigurationsResponse.json b/src/test/resources/junit/portMirrorConfigurationsResponse.json index 1c9b430..50b5b07 100644 --- a/src/test/resources/junit/portMirrorConfigurationsResponse.json +++ b/src/test/resources/junit/portMirrorConfigurationsResponse.json @@ -1,23 +1,19 @@ -{ - "port-mirror-configuration-request-input": { - "source-port": [ - { - "vnf-information": { - "vnf-id": "09a8c1d8-0981-4e3d-a4c0-6007d6f57e1b" - }, - "pnf-information": { - "pnf-name": "onapTest1", - "pnf-type": "onapSrc" - } - } - ], - "dest-port": [ - { - "pnf-information": { - "pnf-name": "onapTest2", - "pnf-type": "onapDest" - } - } - ] - } +{ + "port-mirror-configuration-request-input": { + "source-port": { + "vnf-information": { + "vnf-id": "09a8c1d8-0981-4e3d-a4c0-6007d6f57e1b" + }, + "pnf-information": { + "pnf-name": "onapTest1", + "pnf-type": "onapSrc" + } + }, + "dest-port": { + "pnf-information": { + "pnf-name": "onapTest2", + "pnf-type": "onapDest" + } + } + } } \ No newline at end of file -- cgit 1.2.3-korg