diff options
Diffstat (limited to 'restapi-call-node')
-rw-r--r-- | restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/XmlJsonUtil.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/XmlJsonUtil.java b/restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/XmlJsonUtil.java index 5e293d45..9870221d 100644 --- a/restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/XmlJsonUtil.java +++ b/restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/XmlJsonUtil.java @@ -83,6 +83,10 @@ public final class XmlJsonUtil { continue; } + if (value == null || value.trim().isEmpty()) { + continue; + } + if (key.startsWith(var + "[")) { String newKey = key.substring(var.length()); set(ll, newKey, value); |