diff options
author | subhash kumar singh <subhash.kumar.singh@huawei.com> | 2018-03-22 05:06:26 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-03-22 05:06:26 +0000 |
commit | 2f5fca51b0a34269cc116292a5bdb605620372c7 (patch) | |
tree | 14c9c1ff2ea7b58dd59b4711d60264d546134c42 | |
parent | 07370e397dd66530a48343736f779f6870d13f2f (diff) | |
parent | b2fdec228f84b78b047dae14ec6a7d1df12a478a (diff) |
Merge "Make json default to {}"
-rw-r--r-- | framework/src/main/java/org/onap/cli/fw/input/OnapCommandParameter.java | 3 |
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; |