This is an automated email from the ASF dual-hosted git repository.
jkevan pushed a change to branch UNOMI-569-flatten-schemas
in repository https://gitbox.apache.org/repos/asf/unomi.git
omit eaf6c8cf7 UNOMI-569: cleanup schemas
omit ae9e47631 UNOMI-569 Flatten schemas - Move page and site to top level
objects - Page and site are now using item as parent validation instead of
custom item - Removed conditiontype JSON schema as it is not needed.
omit 11c489460 UNOMI-569 Flatten schemas - Move page and site to top level
objects - Page and site are now using item as parent validation instead of
custom item - Removed conditiontype JSON schema as it is not needed.
omit 3295df989 Merge branch 'master' into UNOMI-569-flatten-schemas
omit 37c1e9150 UNOMI-569 Flatten JSON Schemas & fix schema bugs - Change
vendor to be a real entity name
omit 178531c3a UNOMI-569 Flatten JSON Schemas & fix schema bugs - Change
vendor to use a real entity name
omit 6b2928a64 UNOMI-569 Flatten JSON Schemas & fix schema bugs - All
schemas are now "flattened", meaning that each object is in a separate schema
file (with a few exceptions) - Bug fixes in GraphQLSchemaProvider to detect
loops in schemas - Fix events used in integration tests to avoid sending
profile objects - Changed Event default initialization to avoid creating
attributes when using default constructor - Added JAXBAnnotationModule in
object mapper used in integration tests - Add [...]
add 582867561 UNOMI-580 : add endpoint to get schema + clean (#429)
add 24d0ad372 UNOMI-579 Fix Condition evaluator integration test date
calculation (#431)
add 89200bf63 UNOMI-557: Optimize the profile update during segment
deletion (#433)
add 2e6a6e8f1 UNOMI-584: introduce new flattenedProperties for events, to
allow map… (#434)
add 787fa25ce UNOMI-582 GraphQL as feature flag (#432)
new 329718760 UNOMI-569 Flatten JSON Schemas & fix schema bugs - All
schemas are now "flattened", meaning that each object is in a separate schema
file (with a few exceptions) - Bug fixes in GraphQLSchemaProvider to detect
loops in schemas - Fix events used in integration tests to avoid sending
profile objects - Changed Event default initialization to avoid creating
attributes when using default constructor - Added JAXBAnnotationModule in
object mapper used in integration tests - Add [...]
new 240e7f36a UNOMI-569 Flatten JSON Schemas & fix schema bugs - Change
vendor to use a real entity name
new bab6d517f UNOMI-569 Flatten JSON Schemas & fix schema bugs - Change
vendor to be a real entity name
new db26ebe1e UNOMI-569 Flatten schemas - Move page and site to top level
objects - Page and site are now using item as parent validation instead of
custom item - Removed conditiontype JSON schema as it is not needed.
new 6608aacd2 UNOMI-569 Flatten schemas - Move page and site to top level
objects - Page and site are now using item as parent validation instead of
custom item - Removed conditiontype JSON schema as it is not needed.
new d30ae2eaa UNOMI-569: cleanup schemas
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (eaf6c8cf7)
\
N -- N -- N refs/heads/UNOMI-569-flatten-schemas (d30ae2eaa)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 6 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
api/src/main/java/org/apache/unomi/api/Event.java | 20 +-
.../unomi/schema/rest/JsonSchemaEndPoint.java | 39 +++-
graphql/karaf-feature/src/main/feature/feature.xml | 10 +-
itests/pom.xml | 9 +-
.../test/java/org/apache/unomi/itests/BaseIT.java | 174 +++++++--------
.../apache/unomi/itests/ConditionEvaluatorIT.java | 3 +-
.../org/apache/unomi/itests/ContextServletIT.java | 2 -
.../java/org/apache/unomi/itests/JSONSchemaIT.java | 240 +++++++++++++++------
.../java/org/apache/unomi/itests/SegmentIT.java | 39 ++++
.../schemas/event-flattened-invalid-1.json | 14 ++
.../schemas/event-flattened-invalid-2.json | 16 ++
.../schemas/event-flattened-invalid-3.json | 13 ++
.../resources/schemas/event-flattened-valid.json | 13 ++
.../event-request.json} | 4 +-
...ma-flattened-flattenedProperties-interests.json | 19 ++
.../schema-flattened-flattenedProperties.json | 18 ++
...rties.json => schema-flattened-properties.json} | 12 +-
.../{schema-dummy.json => schema-flattened.json} | 11 +-
kar/src/main/feature/feature.xml | 6 +-
lifecycle-watcher/pom.xml | 13 +-
.../org/apache/unomi/lifecycle/BundleWatcher.java | 4 +-
.../apache/unomi/lifecycle/BundleWatcherImpl.java | 207 +++++++++++++-----
.../resources/OSGI-INF/blueprint/blueprint.xml | 4 +
package/pom.xml | 2 -
.../main/resources/etc/custom.system.properties | 7 +-
persistence-elasticsearch/core/pom.xml | 7 +
.../resources/META-INF/cxs/mappings/event.json | 3 +
.../resources/META-INF/cxs/mappings/segment.json | 4 +
pom.xml | 1 +
.../deserializers/ContextRequestDeserializer.java | 2 +-
.../rest/service/impl/RestServiceUtilsImpl.java | 2 +
.../services/impl/segments/SegmentServiceImpl.java | 26 +--
setenv.sh | 2 +-
tools/shell-commands/pom.xml | 3 +-
.../internal/UnomiManagementServiceImpl.java | 4 +-
.../resources/OSGI-INF/blueprint/blueprint.xml | 10 +-
wab/src/main/webapp/index.html | 5 +-
37 files changed, 679 insertions(+), 289 deletions(-)
create mode 100644
itests/src/test/resources/schemas/event-flattened-invalid-1.json
create mode 100644
itests/src/test/resources/schemas/event-flattened-invalid-2.json
create mode 100644
itests/src/test/resources/schemas/event-flattened-invalid-3.json
create mode 100644 itests/src/test/resources/schemas/event-flattened-valid.json
copy itests/src/test/resources/{validation/eventcollector_emptyEvents.json =>
schemas/event-request.json} (51%)
create mode 100644
itests/src/test/resources/schemas/schema-flattened-flattenedProperties-interests.json
create mode 100644
itests/src/test/resources/schemas/schema-flattened-flattenedProperties.json
copy itests/src/test/resources/schemas/{schema-dummy-properties.json =>
schema-flattened-properties.json} (54%)
copy itests/src/test/resources/schemas/{schema-dummy.json =>
schema-flattened.json} (51%)