aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/main/java/org
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-03-22 10:27:13 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-03-22 10:27:13 +0530
commitb2fdec228f84b78b047dae14ec6a7d1df12a478a (patch)
tree9fba12c75299684d1bc4cd089a1c33dbc40cc8ed /framework/src/main/java/org
parent8f21819de7f63856f087ad40ac0f36c644781e54 (diff)
Make json default to {}
Issue-ID: CLI-103 Change-Id: Iad9a583f535275b7d4b0a069a0578c97211c0a78 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'framework/src/main/java/org')
-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;