diff options
author | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-10-14 01:04:20 +0530 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-11-21 18:07:19 +0530 |
commit | 8aa599260569b9f063fb85680c95116b00609c31 (patch) | |
tree | dbcaf3e4a5141e801c7b9136240c9d4f7216fac7 /validate/validation/src | |
parent | b7500cd5c7caef69f9d8689872eea01876c9fbba (diff) |
Make schema-validate independent of schema profile
Now schema-validate is able to validate schema of any
given type supported.
Issue-Id: CLI-66
Change-Id: I47ac5e81e9b12dd575e0a4cdc7e8e8bad0f87474
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'validate/validation/src')
-rw-r--r-- | validate/validation/src/test/java/org/onap/cli/validation/OnapValidationTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/validate/validation/src/test/java/org/onap/cli/validation/OnapValidationTest.java b/validate/validation/src/test/java/org/onap/cli/validation/OnapValidationTest.java index 21573138..de55f996 100644 --- a/validate/validation/src/test/java/org/onap/cli/validation/OnapValidationTest.java +++ b/validate/validation/src/test/java/org/onap/cli/validation/OnapValidationTest.java @@ -63,6 +63,9 @@ public class OnapValidationTest { System.out.println(version); System.out.println("==========================\n\n"); for (SchemaInfo sch : OnapCommandRegistrar.getRegistrar().listCommandInfo()) { + if (sch.isIgnore()) { + continue; + } if (sch.getProduct().equals(version)) { System.out.println( "************************* validate '" + sch.getCmdName() + "' *******************************"); @@ -81,6 +84,9 @@ public class OnapValidationTest { System.out.println("==========================\n\n"); int i = 1; for (SchemaInfo sch : OnapCommandRegistrar.getRegistrar().listCommandInfo()) { + if (sch.isIgnore()) { + continue; + } if (sch.getProduct().equals(version)) { System.out.println("[" + i++ + "] " + sch.getCmdName()); System.out.println("-----------------------------------------------\n\n"); |