You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by jk...@apache.org on 2022/05/30 16:54:27 UTC
[unomi] branch jsonSchemaVendorHandling updated: UNOMI-578: Allow for external vendor for JSON schemas deployed into the system
This is an automated email from the ASF dual-hosted git repository.
jkevan pushed a commit to branch jsonSchemaVendorHandling
in repository https://gitbox.apache.org/repos/asf/unomi.git
The following commit(s) were added to refs/heads/jsonSchemaVendorHandling by this push:
new 596cf3ead UNOMI-578: Allow for external vendor for JSON schemas deployed into the system
596cf3ead is described below
commit 596cf3ead1be5104be672ba61b173b13b3ae4f74
Author: Kevan <ke...@jahia.com>
AuthorDate: Mon May 30 18:54:15 2022 +0200
UNOMI-578: Allow for external vendor for JSON schemas deployed into the system
---
.../test/java/org/apache/unomi/itests/ContextServletIT.java | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/itests/src/test/java/org/apache/unomi/itests/ContextServletIT.java b/itests/src/test/java/org/apache/unomi/itests/ContextServletIT.java
index 59232f3b5..90396ea14 100644
--- a/itests/src/test/java/org/apache/unomi/itests/ContextServletIT.java
+++ b/itests/src/test/java/org/apache/unomi/itests/ContextServletIT.java
@@ -144,8 +144,8 @@ public class ContextServletIT extends BaseIT {
schemaService.saveSchema(resourceAsString(FLOAT_PROPERTY_EVENT_TYPE_SCHEMA));
keepTrying("Couldn't find json schemas",
() -> schemaService.getInstalledJsonSchemaIds(),
- (schemaIds) -> (schemaIds.contains("https://vendor.test.com/schemas/json/events/floatPropertyType/1-0-0") &&
- schemaIds.contains("https://vendor.test.com/schemas/json/events/testEventType/1-0-0")),
+ (schemaIds) -> (schemaIds.contains("https://unomi.apache.org/schemas/json/events/floatPropertyType/1-0-0") &&
+ schemaIds.contains("https://unomi.apache.org/schemas/json/events/testEventType/1-0-0")),
DEFAULT_TRYING_TIMEOUT, DEFAULT_TRYING_TRIES);
}
@@ -158,12 +158,12 @@ public class ContextServletIT extends BaseIT {
segmentService.removeSegmentDefinition(SEGMENT_ID, false);
// cleanup schemas
- schemaService.deleteSchema("https://vendor.test.com/schemas/json/events/testEventType/1-0-0");
- schemaService.deleteSchema("https://vendor.test.com/schemas/json/events/floatPropertyType/1-0-0");
+ schemaService.deleteSchema("https://unomi.apache.org/schemas/json/events/testEventType/1-0-0");
+ schemaService.deleteSchema("https://unomi.apache.org/schemas/json/events/floatPropertyType/1-0-0");
keepTrying("Should not find json schemas anymore",
() -> schemaService.getInstalledJsonSchemaIds(),
- (schemaIds) -> (!schemaIds.contains("https://vendor.test.com/schemas/json/events/floatPropertyType/1-0-0") &&
- !schemaIds.contains("https://vendor.test.com/schemas/json/events/testEventType/1-0-0")),
+ (schemaIds) -> (!schemaIds.contains("https://unomi.apache.org/schemas/json/events/floatPropertyType/1-0-0") &&
+ !schemaIds.contains("https://unomi.apache.org/schemas/json/events/testEventType/1-0-0")),
DEFAULT_TRYING_TIMEOUT, DEFAULT_TRYING_TRIES);
}