summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-03-12 17:10:24 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-03-12 17:10:24 +0530
commitfbb78c1651d99b5929f16f2d3e318a8fa0771bb5 (patch)
tree2ed509478d5230654782021a3e6dada1a97fa043
parentd5662f081a79b34f0b5e4dc3f170005140606a3f (diff)
Update the default credentials settings
Issue-ID: CLI-95 Change-Id: Ic8e2e6bf81fc562641902cc5589ed4b1eac077e3 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
-rw-r--r--deployment/zip/src/main/release/data/onap-beijing-profile.json4
-rw-r--r--framework/src/main/java/org/onap/cli/fw/input/OnapCommandParameter.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/deployment/zip/src/main/release/data/onap-beijing-profile.json b/deployment/zip/src/main/release/data/onap-beijing-profile.json
index b26e0d4d..0c186e11 100644
--- a/deployment/zip/src/main/release/data/onap-beijing-profile.json
+++ b/deployment/zip/src/main/release/data/onap-beijing-profile.json
@@ -42,11 +42,11 @@
{
"product" : "onap-beijing",
"name" : "so:host-username",
- "value" : ""
+ "value" : "InfraPortalClien"
},
{
"product" : "onap-beijing",
"name" : "so:host-password",
- "value" : ""
+ "value" : "password1$"
}
] \ No newline at end of file
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 8cc7b454..df0265e6 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
@@ -223,7 +223,7 @@ public class OnapCommandParameter {
break;
case BOOL:
- defaultValue = Boolean.parseBoolean(processedValue);
+ defaultValue = Boolean.valueOf(processedValue);
break;
default: