diff --git a/build.gradle.kts b/build.gradle.kts index 16d699669..28417bd2e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -64,7 +64,7 @@ subprojects { implementation("com.fasterxml.jackson.module:jackson-module-kotlin") - implementation("com.apicatalog:titanium-json-ld:1.3.3") + implementation("com.apicatalog:titanium-json-ld:1.4.0") implementation("org.glassfish:jakarta.json:2.0.1") implementation("io.arrow-kt:arrow-fx-coroutines:1.2.3") diff --git a/search-service/src/test/kotlin/com/egm/stellio/search/web/EntityHandlerTests.kt b/search-service/src/test/kotlin/com/egm/stellio/search/web/EntityHandlerTests.kt index 92ec66f37..05cc710cb 100644 --- a/search-service/src/test/kotlin/com/egm/stellio/search/web/EntityHandlerTests.kt +++ b/search-service/src/test/kotlin/com/egm/stellio/search/web/EntityHandlerTests.kt @@ -2055,7 +2055,7 @@ class EntityHandlerTests { { "type": "https://uri.etsi.org/ngsi-ld/errors/LdContextNotAvailable", "title": "A remote JSON-LD @context referenced in a request cannot be retrieved by the NGSI-LD Broker and expansion or compaction cannot be performed", - "detail": "Unable to load remote context (cause was: JsonLdError[code=There was a problem encountered loading a remote context [code=LOADING_REMOTE_CONTEXT_FAILED]., message=There was a problem encountered loading a remote context [code=LOADING_REMOTE_CONTEXT_FAILED].])" + "detail": "Unable to load remote context (cause was: JsonLdError[code=There was a problem encountered loading a remote context [code=LOADING_REMOTE_CONTEXT_FAILED]., message=There wa a problem encountered loading a remote context [https://easyglobalmarket.com/contexts/diat.jsonld]])" } """.trimIndent() ) diff --git a/subscription-service/src/test/kotlin/com/egm/stellio/subscription/utils/ParsingUtilsTests.kt b/subscription-service/src/test/kotlin/com/egm/stellio/subscription/utils/ParsingUtilsTests.kt index 76c6797d2..c3e65d66f 100644 --- a/subscription-service/src/test/kotlin/com/egm/stellio/subscription/utils/ParsingUtilsTests.kt +++ b/subscription-service/src/test/kotlin/com/egm/stellio/subscription/utils/ParsingUtilsTests.kt @@ -64,8 +64,9 @@ class ParsingUtilsTests { assertTrue(it is LdContextNotAvailableException) assertEquals( "Unable to load remote context (cause was: JsonLdError[code=There was a problem encountered " + - "loading a remote context [code=LOADING_REMOTE_CONTEXT_FAILED]., message=There was a problem " + - "encountered loading a remote context [code=LOADING_REMOTE_CONTEXT_FAILED].])", + "loading a remote context [code=LOADING_REMOTE_CONTEXT_FAILED]., message=There wa a problem " + + "encountered loading a remote context " + + "[https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-non-existing.jsonld]])", it.message ) }, {