diff options
author | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-12-20 15:15:13 +0530 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-12-20 15:15:52 +0530 |
commit | e8e6e21d2ecf21920a338860ee21a11c6278caaf (patch) | |
tree | a718c287e6a70c5b8736fa83ad49016e70eda699 | |
parent | c1a3a1bc706190ac8a03c78c9d992c06e34b3333 (diff) |
Fix error in validation message
Issue-ID: CLI-66
Change-Id: I3e34de01b661487f2ab60d4b086dc9f6d1735840
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
-rw-r--r-- | profiles/http/src/main/java/org/onap/cli/fw/http/schema/OnapCommandSchemaHttpLoader.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/profiles/http/src/main/java/org/onap/cli/fw/http/schema/OnapCommandSchemaHttpLoader.java b/profiles/http/src/main/java/org/onap/cli/fw/http/schema/OnapCommandSchemaHttpLoader.java index 04d1c10a..08a70782 100644 --- a/profiles/http/src/main/java/org/onap/cli/fw/http/schema/OnapCommandSchemaHttpLoader.java +++ b/profiles/http/src/main/java/org/onap/cli/fw/http/schema/OnapCommandSchemaHttpLoader.java @@ -97,8 +97,7 @@ public class OnapCommandSchemaHttpLoader { if (valMap != null) { if (validate) { OnapCommandUtils.validateTags(errorList, valMap, OnapCommandConfig.getCommaSeparatedList(OnapCommandHttpConstants.HTTP_SECTIONS), - OnapCommandConfig.getCommaSeparatedList(OnapCommandHttpConstants.HTTP_MANDATORY_SECTIONS), OnapCommandConstants.PARAMETERS); - errorList.addAll(validateHttpSchemaSection(values)); + OnapCommandConfig.getCommaSeparatedList(OnapCommandHttpConstants.HTTP_MANDATORY_SECTIONS), OnapCommandHttpConstants.HTTP); } for (Map.Entry<String, ?> entry1 : valMap.entrySet()) { String key1 = entry1.getKey(); |