summaryrefslogtreecommitdiffstats
path: root/plugins/restapi-call-node/provider/src/test/resources/testEmptyValueNContainer.json
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2022-07-15 13:23:01 +0000
committerGerrit Code Review <gerrit@onap.org>2022-07-15 13:23:01 +0000
commite5d489a09606a97f537911f08e9274c0ce0bc17d (patch)
tree84619f04238d8850717854492d1fbb2645d08af5 /plugins/restapi-call-node/provider/src/test/resources/testEmptyValueNContainer.json
parentd3b56a45e948a2e3d0cf8c5514cdaf4e08a0b4fe (diff)
parent400408a5bf555ddca5521e1f7c44d256ab941c01 (diff)
Merge "Restapi-call-node: Support for Empty Container {} in JSON"
Diffstat (limited to 'plugins/restapi-call-node/provider/src/test/resources/testEmptyValueNContainer.json')
-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
+ },
+ }]
+}