This is an automated email from the ASF dual-hosted git repository.
shuber pushed a change to branch UNOMI-180-CXS-GRAPHQLAPI
in repository https://gitbox.apache.org/repos/asf/unomi.git.
discard abd4f08 Add manual validation of specification steps
discard ca1bbdd Update project version to 1.5.0
discard af70f6f Add custom unomi types with custom event types.
discard 54ca439 findSegments and findEvents fields now work partially,
retrieving partially built results. Filters are not yet doing anything.
discard 9a484f6 UNOMI-180 CDP Specification implementation - Add todo for
configurability of CORS headers
discard db64ae6 Initial work on integrating event service.
discard 6dfd974 UNOMI-180 CDP Specification implementation - Integrate Apollo
Tracing support
discard 2b005ca UNOMI-180 CDP Specification implementation - Add CORS support
to get it to work with GraphQL Playground - Managed to execute a query (but
doesn't return any data as DataFetchers are not yet implemented !)
discard 5e21cbc UNOMI-180 CDP Specification implementation - Implement GET
and POST basic support - Add support for schema retrieval - Add extended
scalars (some scalars are not implemented yet such as GeoPoint)
discard 3d88da4 UNOMI-180 CDP Specification implementation - Get CDP feature
to install properly (but it doesn't start yet since it is missing custom scalar
and event registrations) - Fixed GraphQL schema JSON encoding to UTF-8 -
Removed references to incubating that are no longer needed.
discard 79127c2 UNOMI-180 - Start building a new servlet that loads the SDL
schema and will combine it with dynamic type registration. - Deactivated old
graphql-java-servlet for the moment.
discard b491588 UNOMI-180 - Updated GraphQL projects to latest version -
Added CDP SDL schema generated from latest CDP specification
discard c69cb0d UNOMI-180 Implement CXS GraphQL API - Update dependency
versions to make the GraphQL framework work again
discard a3a1dd9 UNOMI-180 Implement CXS GraphQL API - Update version numbers
discard df454f4 UNOMI-180 Implement CXS GraphQL API - Rename CXS to CDP
discard fe0e16f UNOMI-180 Implement CXS GraphQL API - Modify the type
generation to use "Input" suffix for input types instead of a prefix.
discard b47524f UNOMI-180 Implement CXS GraphQL API - Event output field
generation is working again, input will be harder because of the way the
objects are prefixed with the input naming convention
discard 00cbb33 UNOMI-180 Implement CXS GraphQL API Make sure we use CXS_
prefix everywhere.
discard 8b7d8d3 UNOMI-180 Implement CXS GraphQL API Get event type creation
to work (partially, the event GraphQL schema types are not yet properly
modified)
discard 251f4d9 UNOMI-180 Implement CXS GraphQL API Big refactoring, will now
use a mixture of annotations and manually declared fields to build dynamic
fields in schema. Because of these changes all the previous functionality is a
bit broken for the moment but should be restored in a future commmit.
discard 126f611 UNOMI-180 Implement CXS GraphQL API - Add some example
operators for String filters - Add the possibility to provide a "or" operator
as a default for property matching using a seperate "properties_or" field
discard 62aef25 UNOMI-180 Implement CXS GraphQL API - We now have basic
filtering generation for event types working !
discard 29c2ce5 UNOMI-180 Implement CXS GraphQL API - Event type registration
and dynamic schema generation is now mostly working !
discard df20220 UNOMI-180 Implement CXS GraphQL API - First implementation of
registering event types. Not yet perfect but some parts are working.
discard 689fcee UNOMI-180 Implement CXS GraphQL API - Started implementing
mutation for event type definitions, but still struggling with some limitations
in the graphql-java-annotations project, notably it doesn't easily provide a
way to build input types, and it seems to prefix all input types with "Input"
which is not something wanted as we have already postfixed them. Postfixing
seems to be more of a conventation than prefixing them in the GraphQL world.
discard cca9320 UNOMI-180 Implement CXS GraphQL API - Initial framework for
CXS GraphQL API. Lots of stuff is just testing, please don't consider it as
finalized in any way.
add 729ef07 Adjust missed version numbers
add 145823c Update developper roles from old incubator roles
add 8ace7a5 This closes pull request number #88
add 1e6ca58 UNOMI-235 Exceptions cancel timers Due to the way Executors
work, any uncaught exceptions will cancel a timer, preventing it to executed in
the future. This fix makes sure that all exceptions are caught and logged.
add 3c2ada2 [UNOMI-236] Add a profile for OWASP maven plugin
add d45d757 Fix for Jira UNOMI-238
add fd0edbb Fixed NPE handling for newEntry.getValue
add b367c08 UNOMI-208 Improve Unomi documentation - Add configuration to
generate Swagger documentation for Privacy service and Salesforce REST service
documentation using the JAX RS Analyzer Maven plugin - Improvements to
documentation with lots of samples. - Corrections in the request examples
add 94a5ccb Fix steps title
add c3be6e2 This closes pull request number #91
add c3d2d8f [UNOMI-243] Can't clone repository
add 3042c35 Merge pull request #97 from fpapon/UNOMI-243
add 6add011 UNOMI-242 improve merge function to avoid NPE and handle
nested objects
add 2b08e0a Merge pull request #96 from
apache/UNOMI-242-improve-merge-function
add ecb53bb UNOMI-241 improve retrieving of goals in the correct order
add 62fc6a6 Merge pull request #95 from
apache/UNOMI-241-improve-retrieving-goals
add ee8c9ae UNOMI-240 Document profile import/export
add 3e9e186 Update manual/src/main/asciidoc/profile-import-export.adoc
add c25a7b2 Update manual/src/main/asciidoc/profile-import-export.adoc
add 0209fd7 Update manual/src/main/asciidoc/profile-import-export.adoc
add c954552 Update manual/src/main/asciidoc/profile-import-export.adoc
add de510ce Update manual/src/main/asciidoc/profile-import-export.adoc
add 798312d Update manual/src/main/asciidoc/profile-import-export.adoc
add 8ca2e3c Update manual/src/main/asciidoc/profile-import-export.adoc
add 8d71ce2 Update manual/src/main/asciidoc/profile-import-export.adoc
add 5b5c6eb Update manual/src/main/asciidoc/profile-import-export.adoc
add ca53582 Update manual/src/main/asciidoc/profile-import-export.adoc
add f3970aa Merge pull request #94 from
apache/UNOMI-240-document-profile-import-export
add 481325c fix typo in recipes
add c1c217c Merge pull request #100 from pragnesh/docfix
add 867b10f UNOMI-247 Error in login event rule
add d823d8e UNOMI-246 Fix error in Salesforce connector documentation
add dec9cb0 1. fix error : entrypoint.sh not Unix Format 2. add ENVs
elasticsearch 3. expose port 8102 (Apache Karaf SSH Shell)
add 4c0a7d7 Update docker/Dockerfile
add 635580e Update docker/Dockerfile
add c7f0d45 Update docker/Dockerfile
add 4fa4955 Merge pull request #98 from aarestu/docker
add 950c3d9 UNOMI-250 Refactoring services into seperate Java packages
Right now we have a bit of a mess in our services implementation sub-project.
All the service implementations are in the package:
org.apache.unomi.services.services I propose that we rename this package to:
org.apache.unomi.services.impl and that each service gets its own sub-package,
for example the RulesServiceImpl would be in:
org.apache.unomi.services.impl.rules This would make it much easier to
activate/deac [...]
add 2cfef87 Merge pull request #102 from
apache/UNOMI-250-refactor-services-impl
add 2f877b5 UNOMI-249 New shell commands to make plugin development
easier The following shell dev commands have been added: - List events - Search
for events by profile Id and type - Remove a profile - Remove a rule - Remove a
segment - View a segment - Undeploy definitions provided by a plugin - Added
the possibility to deploy all the definitions contained in a plugin with the
deploy-definition command.
add 0f8e769 UNOMI-249 New shell commands to make plugin development
easier Updated documentation for the new commands.
add 9d32116 UNOMI-249 New shell commands to make plugin development
easier Updated documentation for the new commands.
add b6f6fa4 Merge pull request #101 from
apache/UNOMI-249-new-shell-commands
add d80f65e Minor improvement to root pom to make it easier to pass
parameters to the release plugin
new 661e2c1 UNOMI-180 Implement CXS GraphQL API - Initial framework for
CXS GraphQL API. Lots of stuff is just testing, please don't consider it as
finalized in any way.
new 35b5cf6 UNOMI-180 Implement CXS GraphQL API - Started implementing
mutation for event type definitions, but still struggling with some limitations
in the graphql-java-annotations project, notably it doesn't easily provide a
way to build input types, and it seems to prefix all input types with "Input"
which is not something wanted as we have already postfixed them. Postfixing
seems to be more of a conventation than prefixing them in the GraphQL world.
new 9dd7561 UNOMI-180 Implement CXS GraphQL API - First implementation of
registering event types. Not yet perfect but some parts are working.
new 0796427 UNOMI-180 Implement CXS GraphQL API - Event type registration
and dynamic schema generation is now mostly working !
new 93056ef UNOMI-180 Implement CXS GraphQL API - We now have basic
filtering generation for event types working !
new 3c81e8e UNOMI-180 Implement CXS GraphQL API - Add some example
operators for String filters - Add the possibility to provide a "or" operator
as a default for property matching using a seperate "properties_or" field
new 7ebeabc UNOMI-180 Implement CXS GraphQL API Big refactoring, will now
use a mixture of annotations and manually declared fields to build dynamic
fields in schema. Because of these changes all the previous functionality is a
bit broken for the moment but should be restored in a future commmit.
new 3f5a2ec UNOMI-180 Implement CXS GraphQL API Get event type creation
to work (partially, the event GraphQL schema types are not yet properly
modified)
new 9bde8b4 UNOMI-180 Implement CXS GraphQL API Make sure we use CXS_
prefix everywhere.
new 7daa30b UNOMI-180 Implement CXS GraphQL API - Event output field
generation is working again, input will be harder because of the way the
objects are prefixed with the input naming convention
new 5cbe7ad UNOMI-180 Implement CXS GraphQL API - Modify the type
generation to use "Input" suffix for input types instead of a prefix.
new d413bdc UNOMI-180 Implement CXS GraphQL API - Rename CXS to CDP
new 106b805 UNOMI-180 Implement CXS GraphQL API - Update version numbers
new 9f606ac UNOMI-180 Implement CXS GraphQL API - Update dependency
versions to make the GraphQL framework work again
new 2569792 UNOMI-180 - Updated GraphQL projects to latest version -
Added CDP SDL schema generated from latest CDP specification
new 93d128b UNOMI-180 - Start building a new servlet that loads the SDL
schema and will combine it with dynamic type registration. - Deactivated old
graphql-java-servlet for the moment.
new ed28b1a UNOMI-180 CDP Specification implementation - Get CDP feature
to install properly (but it doesn't start yet since it is missing custom scalar
and event registrations) - Fixed GraphQL schema JSON encoding to UTF-8 -
Removed references to incubating that are no longer needed.
new 11ac0be UNOMI-180 CDP Specification implementation - Implement GET
and POST basic support - Add support for schema retrieval - Add extended
scalars (some scalars are not implemented yet such as GeoPoint)
new 42f3227 UNOMI-180 CDP Specification implementation - Add CORS support
to get it to work with GraphQL Playground - Managed to execute a query (but
doesn't return any data as DataFetchers are not yet implemented !)
new bbe24c2 UNOMI-180 CDP Specification implementation - Integrate Apollo
Tracing support
new dad5889 Initial work on integrating event service.
new 97f4e8e UNOMI-180 CDP Specification implementation - Add todo for
configurability of CORS headers
new c142fdd findSegments and findEvents fields now work partially,
retrieving partially built results. Filters are not yet doing anything.
new 025d4bb Add custom unomi types with custom event types.
new 5823c4c Update project version to 1.5.0
new 07373d6 Add manual validation of specification steps
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 (abd4f08)
\
N -- N -- N refs/heads/UNOMI-180-CXS-GRAPHQLAPI (07373d6)
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 26 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:
docker/Dockerfile | 28 +-
docker/entrypoint.sh | 15 +-
extensions/privacy-extension/rest/pom.xml | 21 ++
.../unomi/privacy/rest/PrivacyServiceEndPoint.java | 1 +
extensions/salesforce-connector/rest/pom.xml | 16 +
.../org/apache/unomi/sfdc/rest/SFDCEndPoint.java | 1 +
manual/src/main/asciidoc/5-min-quickstart.adoc | 2 +-
manual/src/main/asciidoc/actions.adoc | 69 +++++
.../src/main/asciidoc/building-and-deploying.adoc | 2 +-
manual/src/main/asciidoc/concepts.adoc | 208 ++++++++++++-
manual/src/main/asciidoc/conditions.adoc | 103 +++++++
manual/src/main/asciidoc/configuration.adoc | 2 +-
.../asciidoc/connectors/salesforce-connector.adoc | 12 +-
manual/src/main/asciidoc/consent-api.adoc | 2 +-
manual/src/main/asciidoc/custom-extensions.adoc | 6 +-
.../main/asciidoc/how-profile-tracking-works.adoc | 34 ++
.../src/main/asciidoc/images/unomi-rule-engine.png | Bin 0 -> 134094 bytes
manual/src/main/asciidoc/index.adoc | 20 +-
manual/src/main/asciidoc/privacy.adoc | 80 +++++
.../src/main/asciidoc/profile-import-export.adoc | 239 ++++++++++++++
manual/src/main/asciidoc/recipes.adoc | 343 +++++++++++++++++++++
manual/src/main/asciidoc/request-examples.adoc | 5 +-
.../src/main/asciidoc/samples/twitter-sample.adoc | 16 +-
manual/src/main/asciidoc/shell-commands.adoc | 37 ++-
manual/src/main/asciidoc/useful-unomi-urls.adoc | 4 +-
performance-tests/pom.xml | 2 +-
pom.xml | 91 ++++--
.../resources/META-INF/cxs/rules/exampleLogin.json | 5 +-
.../{services => impl}/AbstractServiceImpl.java | 10 +-
.../services/{services => impl}/ParserHelper.java | 5 +-
.../cluster}/ClusterServiceImpl.java | 8 +-
.../cluster}/ClusterSystemStatisticsEvent.java | 2 +-
.../ClusterSystemStatisticsEventHandler.java | 2 +-
.../configsharing}/ConfigSharingServiceImpl.java | 2 +-
.../definitions}/DefinitionsServiceImpl.java | 11 +-
.../events}/EventServiceImpl.java | 3 +-
.../events}/ThirdPartyServer.java | 2 +-
.../{services => impl/goals}/GoalsServiceImpl.java | 15 +-
.../lists}/UserListServiceImpl.java | 3 +-
.../patches}/PatchServiceImpl.java | 5 +-
.../PersonalizationServiceImpl.java | 4 +-
.../profiles}/ProfileServiceImpl.java | 94 +++---
.../queries}/QueryServiceImpl.java | 3 +-
.../{services => impl/rules}/RulesServiceImpl.java | 15 +-
.../scheduler}/SchedulerServiceImpl.java | 2 +-
.../segments}/SegmentServiceImpl.java | 40 ++-
.../resources/OSGI-INF/blueprint/blueprint.xml | 28 +-
.../unomi/shell/commands/DeployDefinition.java | 245 ++-------------
.../shell/commands/DeploymentCommandSupport.java | 232 ++++++++++++++
.../commands/{SessionList.java => EventList.java} | 55 ++--
.../apache/unomi/shell/commands/EventSearch.java | 99 ++++++
.../{RuleResetStats.java => ProfileRemove.java} | 16 +-
.../{RuleResetStats.java => RuleRemove.java} | 12 +-
.../{SegmentView.java => SegmentRemove.java} | 28 +-
.../apache/unomi/shell/commands/SegmentView.java | 2 +-
.../unomi/shell/commands/UndeployDefinition.java | 111 +++++++
56 files changed, 1976 insertions(+), 442 deletions(-)
create mode 100644 manual/src/main/asciidoc/actions.adoc
create mode 100644 manual/src/main/asciidoc/conditions.adoc
create mode 100644 manual/src/main/asciidoc/how-profile-tracking-works.adoc
create mode 100644 manual/src/main/asciidoc/images/unomi-rule-engine.png
create mode 100644 manual/src/main/asciidoc/privacy.adoc
create mode 100644 manual/src/main/asciidoc/profile-import-export.adoc
create mode 100644 manual/src/main/asciidoc/recipes.adoc
rename services/src/main/java/org/apache/unomi/services/{services =>
impl}/AbstractServiceImpl.java (86%)
rename services/src/main/java/org/apache/unomi/services/{services =>
impl}/ParserHelper.java (97%)
rename services/src/main/java/org/apache/unomi/services/{services =>
impl/cluster}/ClusterServiceImpl.java (98%)
rename services/src/main/java/org/apache/unomi/services/{services =>
impl/cluster}/ClusterSystemStatisticsEvent.java (96%)
rename services/src/main/java/org/apache/unomi/services/{services =>
impl/cluster}/ClusterSystemStatisticsEventHandler.java (99%)
rename services/src/main/java/org/apache/unomi/services/{services =>
impl/configsharing}/ConfigSharingServiceImpl.java (99%)
rename services/src/main/java/org/apache/unomi/services/{services =>
impl/definitions}/DefinitionsServiceImpl.java (98%)
rename services/src/main/java/org/apache/unomi/services/{services =>
impl/events}/EventServiceImpl.java (99%)
rename services/src/main/java/org/apache/unomi/services/{services =>
impl/events}/ThirdPartyServer.java (97%)
rename services/src/main/java/org/apache/unomi/services/{services =>
impl/goals}/GoalsServiceImpl.java (98%)
rename services/src/main/java/org/apache/unomi/services/{services =>
impl/lists}/UserListServiceImpl.java (95%)
rename services/src/main/java/org/apache/unomi/services/{services =>
impl/patches}/PatchServiceImpl.java (98%)
rename services/src/main/java/org/apache/unomi/services/{services =>
impl/personalization}/PersonalizationServiceImpl.java (98%)
rename services/src/main/java/org/apache/unomi/services/{services =>
impl/profiles}/ProfileServiceImpl.java (92%)
rename services/src/main/java/org/apache/unomi/services/{services =>
impl/queries}/QueryServiceImpl.java (98%)
rename services/src/main/java/org/apache/unomi/services/{services =>
impl/rules}/RulesServiceImpl.java (97%)
rename services/src/main/java/org/apache/unomi/services/{services =>
impl/scheduler}/SchedulerServiceImpl.java (97%)
rename services/src/main/java/org/apache/unomi/services/{services =>
impl/segments}/SegmentServiceImpl.java (96%)
create mode 100644
tools/shell-dev-commands/src/main/java/org/apache/unomi/shell/commands/DeploymentCommandSupport.java
copy
tools/shell-dev-commands/src/main/java/org/apache/unomi/shell/commands/{SessionList.java
=> EventList.java} (61%)
create mode 100644
tools/shell-dev-commands/src/main/java/org/apache/unomi/shell/commands/EventSearch.java
copy
tools/shell-dev-commands/src/main/java/org/apache/unomi/shell/commands/{RuleResetStats.java
=> ProfileRemove.java} (69%)
copy
tools/shell-dev-commands/src/main/java/org/apache/unomi/shell/commands/{RuleResetStats.java
=> RuleRemove.java} (74%)
copy
tools/shell-dev-commands/src/main/java/org/apache/unomi/shell/commands/{SegmentView.java
=> SegmentRemove.java} (55%)
create mode 100644
tools/shell-dev-commands/src/main/java/org/apache/unomi/shell/commands/UndeployDefinition.java