From 8aa599260569b9f063fb85680c95116b00609c31 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Sat, 14 Oct 2017 01:04:20 +0530 Subject: 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 --- .../src/test/java/org/onap/cli/validation/OnapValidationTest.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'validate/validation') 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"); -- cgit 1.2.3-korg