summaryrefslogtreecommitdiffstats
path: root/validate/validation/src/test/java
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-10-07 23:23:05 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-11-20 13:51:04 +0530
commita96cd9cbb9b23f4b7ad4e051a5dad7602ac967f0 (patch)
treecd197c8412b9e31c6b8b85d0eab532e4ab101974 /validate/validation/src/test/java
parent7259212791972fc10e41210487ff0f780ab024a6 (diff)
Ignore invalid schema while discovering schema
Issue-Id: CLI-66 Change-Id: I17a367c9277a264b2d3828007af9b42592484ff1 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'validate/validation/src/test/java')
-rw-r--r--validate/validation/src/test/java/org/onap/cli/moco/OnapCommandHttpMocoServer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/validate/validation/src/test/java/org/onap/cli/moco/OnapCommandHttpMocoServer.java b/validate/validation/src/test/java/org/onap/cli/moco/OnapCommandHttpMocoServer.java
index 488c6193..cef6af1f 100644
--- a/validate/validation/src/test/java/org/onap/cli/moco/OnapCommandHttpMocoServer.java
+++ b/validate/validation/src/test/java/org/onap/cli/moco/OnapCommandHttpMocoServer.java
@@ -117,7 +117,7 @@ public class OnapCommandHttpMocoServer {
private List<Resource> dicoverSampleYamls() {
Resource[] resources = new Resource [] {};
try {
- resources = OnapCommandUtils.getExternalResources(SAMPLE_PATTERN + this.samplesToTest);
+ resources = OnapCommandUtils.findResources(SAMPLE_PATTERN + this.samplesToTest);
} catch (IOException e) {
LOG.error("Failed to discover the samples", e);
}