summaryrefslogtreecommitdiffstats
path: root/plugins/restapi-call-node/provider/src/test/resources
diff options
context:
space:
mode:
authorSingal, Kapil (ks220y) <ks220y@att.com>2022-07-13 17:05:40 -0400
committerSingal, Kapil (ks220y) <ks220y@att.com>2022-07-14 10:11:39 -0400
commit400408a5bf555ddca5521e1f7c44d256ab941c01 (patch)
treed5c276571ba5fa71e91887d1261ddb3ccafa84c6 /plugins/restapi-call-node/provider/src/test/resources
parent4c92a51c0f81f1bcb5d85a2d7ec2b827904df036 (diff)
Restapi-call-node: Support for Empty Container {} in JSON
Issue-ID: CCSDK-3718 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: If3c030f3de78d21f1ab0bcdebc234b7697871314
Diffstat (limited to 'plugins/restapi-call-node/provider/src/test/resources')
-rw-r--r--plugins/restapi-call-node/provider/src/test/resources/testEmptyValueNContainer.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/plugins/restapi-call-node/provider/src/test/resources/testEmptyValueNContainer.json b/plugins/restapi-call-node/provider/src/test/resources/testEmptyValueNContainer.json
new file mode 100644
index 000000000..b444e0e5b
--- /dev/null
+++ b/plugins/restapi-call-node/provider/src/test/resources/testEmptyValueNContainer.json
@@ -0,0 +1,24 @@
+{
+ "name1": "value1",
+ "name3": "",
+ "name4": {
+ "name41": "value41",
+ "name42": "",
+ "name43": "some value"
+ },
+ "name5": {
+ "name51": ""
+ },
+ "name7": "some value",
+ "name8": "some value",
+ "name10": "",
+ "list": [
+ ${repeat:tmp.list_length:
+ {
+ "test1": ${tmp.list[${1}]},
+ "container1": {},
+ "container2": EMPTY_CONTAINER,
+ "container3": EMPTY_CONTAINER
+ },
+ }]
+}