aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/pom.xml
diff options
context:
space:
mode:
authorvasraz <vasyl.razinkov@est.tech>2023-06-28 15:34:47 +0100
committerVasyl Razinkov <vasyl.razinkov@est.tech>2023-06-29 10:31:23 +0000
commit2e4af1e0c0611851f450b2e215485064f6795958 (patch)
tree2c766e17841c24dc40faa98ff260234ea2cfa80a /catalog-be/pom.xml
parent6d4057b032a30daa8388f9f1a323eae1581eb91c (diff)
Implement YAML Validator
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I0365d4160984e4d68906959fb801ec7da5449b77 Issue-ID: SDC-4537
Diffstat (limited to 'catalog-be/pom.xml')
-rw-r--r--catalog-be/pom.xml20
1 files changed, 14 insertions, 6 deletions
diff --git a/catalog-be/pom.xml b/catalog-be/pom.xml
index 5dc9423def..54d6ce2f6a 100644
--- a/catalog-be/pom.xml
+++ b/catalog-be/pom.xml
@@ -22,6 +22,7 @@
</properties>
<dependencies>
+
<dependency>
<groupId>org.openecomp.sdc</groupId>
<artifactId>togglz-rest-services</artifactId>
@@ -42,6 +43,11 @@
<!--JSON and YAML Parsing-->
<dependency>
+ <groupId>com.networknt</groupId>
+ <artifactId>json-schema-validator</artifactId>
+ <version>1.0.84</version>
+ </dependency>
+ <dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>${jackson.version}</version>
@@ -57,7 +63,6 @@
</exclusion>
</exclusions>
</dependency>
-
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
@@ -220,11 +225,11 @@
</exclusions>
</dependency>
- <dependency>
- <groupId>io.micrometer</groupId>
- <artifactId>micrometer-registry-prometheus</artifactId>
- <version>${micrometer.version}</version>
- </dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-registry-prometheus</artifactId>
+ <version>${micrometer.version}</version>
+ </dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
@@ -1183,6 +1188,9 @@
<exclude>
src/test/resources/artifacts/pnfSoftwareInformation/**
</exclude>
+ <exclude>
+ src/test/resources/yamlValidation/noValid/**
+ </exclude>
</excludes>
</validationSet>
<validationSet>