From 874ab6baf7c39926f896b6c00b6e73721fbbf0fb Mon Sep 17 00:00:00 2001 From: "Krzysztof Massalski (Extern)" Date: Thu, 5 Oct 2023 11:24:40 +0200 Subject: [PATCH 1/2] feat(impl):[TRI-1678] fix jsonschema validation --- irs-api/pom.xml | 2 +- .../irs/services/validation/JsonValidatorServiceTest.java | 2 -- pom.xml | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/irs-api/pom.xml b/irs-api/pom.xml index de349e1e25..64b786c622 100644 --- a/irs-api/pom.xml +++ b/irs-api/pom.xml @@ -184,7 +184,7 @@ net.jimblackler jsonschemafriend - 0.11.4 + 0.12.0 org.jsoup diff --git a/irs-api/src/test/java/org/eclipse/tractusx/irs/services/validation/JsonValidatorServiceTest.java b/irs-api/src/test/java/org/eclipse/tractusx/irs/services/validation/JsonValidatorServiceTest.java index 39e2a328d4..517bc9f638 100644 --- a/irs-api/src/test/java/org/eclipse/tractusx/irs/services/validation/JsonValidatorServiceTest.java +++ b/irs-api/src/test/java/org/eclipse/tractusx/irs/services/validation/JsonValidatorServiceTest.java @@ -34,10 +34,8 @@ import java.util.Objects; import org.eclipse.tractusx.irs.util.JsonUtil; -import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; -@Disabled // TODO enable again and find out why the tests fail class JsonValidatorServiceTest { private final JsonValidatorService testee = new JsonValidatorService(new JsonUtil()); diff --git a/pom.xml b/pom.xml index 8558901a27..ea4ffb478a 100644 --- a/pom.xml +++ b/pom.xml @@ -187,8 +187,6 @@ **/*IrsApiConstants.class **/*ApiErrorsConstants.class org/eclipse/tractusx/irs/testing/dataintegrity/** - - org/eclipse/tractusx/irs/services/validation/** From 438897055b1aa525d011883277882835d8490f99 Mon Sep 17 00:00:00 2001 From: "Krzysztof Massalski (Extern)" Date: Thu, 5 Oct 2023 11:33:38 +0200 Subject: [PATCH 2/2] feat(impl):[TRI-1664] fix deps --- DEPENDENCIES | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DEPENDENCIES b/DEPENDENCIES index 99db4e6e2d..34f340e03f 100644 --- a/DEPENDENCIES +++ b/DEPENDENCIES @@ -198,9 +198,9 @@ maven/mavencentral/net.java.dev.jna/jna/5.8.0, Apache-2.0 OR LGPL-2.1-or-later, maven/mavencentral/net.javacrumbs.json-unit/json-unit-assertj/2.36.0, Apache-2.0, approved, clearlydefined maven/mavencentral/net.javacrumbs.json-unit/json-unit-core/2.36.0, Apache-2.0, approved, clearlydefined maven/mavencentral/net.javacrumbs.json-unit/json-unit-json-path/2.36.0, Apache-2.0, approved, clearlydefined -maven/mavencentral/net.jimblackler.jsonschemafriend/core/0.11.4, Apache-2.0, approved, #3269 -maven/mavencentral/net.jimblackler.jsonschemafriend/extra/0.11.4, Apache-2.0, approved, #3270 -maven/mavencentral/net.jimblackler/jsonschemafriend/0.11.4, Apache-2.0, approved, #3271 +maven/mavencentral/net.jimblackler.jsonschemafriend/core/0.12.0, , restricted, clearlydefined +maven/mavencentral/net.jimblackler.jsonschemafriend/extra/0.12.0, , restricted, clearlydefined +maven/mavencentral/net.jimblackler/jsonschemafriend/0.12.0, , restricted, clearlydefined maven/mavencentral/net.jodah/typetools/0.6.3, Apache-2.0, approved, clearlydefined maven/mavencentral/net.minidev/accessors-smart/2.4.11, Apache-2.0, approved, #7515 maven/mavencentral/net.minidev/accessors-smart/2.4.9, Apache-2.0, approved, #7515