From bd6abe51f90936ecb4a7de92a3f40978675a2886 Mon Sep 17 00:00:00 2001 From: Vidyashree-Huawei Date: Fri, 17 Apr 2020 19:06:56 +0530 Subject: Payload attributes are not displayed in operational policy Handled list type in response Change-Id: If4b5b45c5f23f377add1be84306a31e78d47c52b Issue-ID: CLAMP-823 Signed-off-by: Vidyashree-Huawei --- .../vFW-CDS-modify-config-wf-expected-result.json | 58 ++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 src/test/resources/example/cds-response/vFW-CDS-modify-config-wf-expected-result.json (limited to 'src/test/resources/example/cds-response/vFW-CDS-modify-config-wf-expected-result.json') diff --git a/src/test/resources/example/cds-response/vFW-CDS-modify-config-wf-expected-result.json b/src/test/resources/example/cds-response/vFW-CDS-modify-config-wf-expected-result.json new file mode 100644 index 000000000..7e78bb062 --- /dev/null +++ b/src/test/resources/example/cds-response/vFW-CDS-modify-config-wf-expected-result.json @@ -0,0 +1,58 @@ +{ + "inputs": { + "resolution-key": { + "required": true, + "type": "string" + }, + "modify-config-properties": { + "vpg_onap_private_ip_0": { + "description": "", + "required": false, + "type": "string", + "status": "", + "constraints": [ + {} + ], + "entry_schema": { + "type": "" + } + }, + "service-instance.service-instance-id": { + "type": "string" + }, + "vnf-id": { + "type": "string" + }, + "data": { + "description": "", + "required": false, + "type": "string", + "status": "", + "constraints": [ + {} + ], + "entry_schema": { + "type": "dt-data" + } + }, + "service-instance-id": { + "type": "string" + }, + "update-active-streams": { + "description": "", + "required": false, + "type": "string", + "status": "", + "constraints": [ + {} + ], + "entry_schema": { + "type": "dt-data" + } + }, + "generic-vnf.vnf-id": { + "type": "string" + } + } + } +} \ No newline at end of file -- cgit From 2d9f989e0d37002c758bdf66a3f25fcfdac35b62 Mon Sep 17 00:00:00 2001 From: root1 Date: Tue, 11 Aug 2020 18:44:29 +0530 Subject: CLAMP should not display all CDS workflow properties CLAMP should not display all CDS workflow properties Issue-ID: CLAMP-856 Signed-off-by: root1 Change-Id: I98fc46c9c9ba574a3606740921d74743cb6f38ea --- .../vFW-CDS-modify-config-wf-expected-result.json | 72 +++++++--------------- 1 file changed, 22 insertions(+), 50 deletions(-) (limited to 'src/test/resources/example/cds-response/vFW-CDS-modify-config-wf-expected-result.json') diff --git a/src/test/resources/example/cds-response/vFW-CDS-modify-config-wf-expected-result.json b/src/test/resources/example/cds-response/vFW-CDS-modify-config-wf-expected-result.json index 7e78bb062..2b6493176 100644 --- a/src/test/resources/example/cds-response/vFW-CDS-modify-config-wf-expected-result.json +++ b/src/test/resources/example/cds-response/vFW-CDS-modify-config-wf-expected-result.json @@ -1,57 +1,29 @@ { "inputs": { - "resolution-key": { - "required": true, - "type": "string" - }, "modify-config-properties": { - "vpg_onap_private_ip_0": { - "description": "", - "required": false, - "type": "string", - "status": "", - "constraints": [ - {} - ], - "entry_schema": { - "type": "" + "type": "object", + "properties": { + "service-instance-id": { + "type": "string", + "input-param": true + }, + "update-active-streams": { + "description": "", + "required": false, + "type": "string", + "input-param": true, + "status": "", + "constraints": [ + {} + ], + "entry_schema": { + "type": "dt-data" + } + }, + "generic-vnf.vnf-id": { + "type": "string", + "input-param": true } - }, - "service-instance.service-instance-id": { - "type": "string" - }, - "vnf-id": { - "type": "string" - }, - "data": { - "description": "", - "required": false, - "type": "string", - "status": "", - "constraints": [ - {} - ], - "entry_schema": { - "type": "dt-data" - } - }, - "service-instance-id": { - "type": "string" - }, - "update-active-streams": { - "description": "", - "required": false, - "type": "string", - "status": "", - "constraints": [ - {} - ], - "entry_schema": { - "type": "dt-data" - } - }, - "generic-vnf.vnf-id": { - "type": "string" } } } -- cgit