summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2021-10-08 17:09:52 +0000
committerGerrit Code Review <gerrit@onap.org>2021-10-08 17:09:52 +0000
commit2afcafdce51ad7991b98b3ae4ff9dbc4084f4d0c (patch)
tree2c00b5735ed5e7d9b5580751d0ff3ab21dda6512 /plugins
parentcef711e2a291ab1779052d36cf5b21ccd9ed498b (diff)
parent3ed7d5863ec628ff02943c353d352646a71dbd5e (diff)
Merge "CCSDK-3480 Allow empty variables."
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/RestapiCallNode.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/RestapiCallNode.java b/plugins/restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/RestapiCallNode.java
index fdc164463..5756d4e58 100755
--- a/plugins/restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/RestapiCallNode.java
+++ b/plugins/restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/RestapiCallNode.java
@@ -614,7 +614,7 @@ public class RestapiCallNode implements SvcLogicJavaPlugin {
String var1 = template.substring(i1 + 2, i2);
String value1 = format == Format.XML ? XmlJsonUtil.getXml(mm, var1) : XmlJsonUtil.getJson(mm, var1);
- if (value1 == null || value1.trim().length() == 0) {
+ if (value1 == null) {
// delete the whole element (line)
int i3 = template.lastIndexOf('\n', i1);
if (i3 < 0) {