aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsubhash kumar singh <subhash.kumar.singh@huawei.com>2018-03-22 05:06:26 +0000
committerGerrit Code Review <gerrit@onap.org>2018-03-22 05:06:26 +0000
commit2f5fca51b0a34269cc116292a5bdb605620372c7 (patch)
tree14c9c1ff2ea7b58dd59b4711d60264d546134c42
parent07370e397dd66530a48343736f779f6870d13f2f (diff)
parentb2fdec228f84b78b047dae14ec6a7d1df12a478a (diff)
Merge "Make json default to {}"
-rw-r--r--framework/src/main/java/org/onap/cli/fw/input/OnapCommandParameter.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/framework/src/main/java/org/onap/cli/fw/input/OnapCommandParameter.java b/framework/src/main/java/org/onap/cli/fw/input/OnapCommandParameter.java
index df0265e6..3b689b10 100644
--- a/framework/src/main/java/org/onap/cli/fw/input/OnapCommandParameter.java
+++ b/framework/src/main/java/org/onap/cli/fw/input/OnapCommandParameter.java
@@ -167,6 +167,9 @@ public class OnapCommandParameter {
case UUID:
this.defaultValue = UUID.randomUUID().toString();
break;
+ case JSON:
+ this.defaultValue = new String("{}");
+ break;
default:
this.defaultValue = new String("");
break;