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 b6ef615 UNOMI-180 CDP Specification implementation - Integrate Apollo
Tracing support
discard 9c2094a 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 4885248 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 ed513da 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 d72020a 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 241a579 UNOMI-180 - Updated GraphQL projects to latest version -
Added CDP SDL schema generated from latest CDP specification
discard f6ffe38 UNOMI-180 Implement CXS GraphQL API - Update dependency
versions to make the GraphQL framework work again
discard f49281d UNOMI-180 Implement CXS GraphQL API - Update version numbers
discard 29faaee UNOMI-180 Implement CXS GraphQL API - Rename CXS to CDP
discard 5fe299e UNOMI-180 Implement CXS GraphQL API - Modify the type
generation to use "Input" suffix for input types instead of a prefix.
discard ab68e03 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 1443ccb UNOMI-180 Implement CXS GraphQL API Make sure we use CXS_
prefix everywhere.
discard ab9e96f UNOMI-180 Implement CXS GraphQL API Get event type creation
to work (partially, the event GraphQL schema types are not yet properly
modified)
discard 165b532 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 35853e8 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 a08ed04 UNOMI-180 Implement CXS GraphQL API - We now have basic
filtering generation for event types working !
discard 2b2f883 UNOMI-180 Implement CXS GraphQL API - Event type registration
and dynamic schema generation is now mostly working !
discard 50a98ff UNOMI-180 Implement CXS GraphQL API - First implementation of
registering event types. Not yet perfect but some parts are working.
discard d5d6725 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 6676615 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 9901d95 [UNOMI-228] Replace user agent detector library
add db2230e UNOMI-208 Improve documentation - Fix image reference in
archived documentation
add 07b46ac Remove some more references to incubating...
new e89dddf 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 e6802b0 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 7a446c9 UNOMI-180 Implement CXS GraphQL API - First implementation of
registering event types. Not yet perfect but some parts are working.
new 6fc9ee9 UNOMI-180 Implement CXS GraphQL API - Event type registration
and dynamic schema generation is now mostly working !
new bbfc5e6 UNOMI-180 Implement CXS GraphQL API - We now have basic
filtering generation for event types working !
new 01bfc89 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 0dacbe9 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 2bd7945 UNOMI-180 Implement CXS GraphQL API Get event type creation
to work (partially, the event GraphQL schema types are not yet properly
modified)
new 7f57a46 UNOMI-180 Implement CXS GraphQL API Make sure we use CXS_
prefix everywhere.
new bba63b8 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 8e45a07 UNOMI-180 Implement CXS GraphQL API - Modify the type
generation to use "Input" suffix for input types instead of a prefix.
new 7720c49 UNOMI-180 Implement CXS GraphQL API - Rename CXS to CDP
new 6bd5e94 UNOMI-180 Implement CXS GraphQL API - Update version numbers
new 1bb44a5 UNOMI-180 Implement CXS GraphQL API - Update dependency
versions to make the GraphQL framework work again
new 32b2ba8 UNOMI-180 - Updated GraphQL projects to latest version -
Added CDP SDL schema generated from latest CDP specification
new 9633289 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 0d2b509 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 bff5e6d 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 bc2ed14 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 026cea3 UNOMI-180 CDP Specification implementation - Integrate Apollo
Tracing support
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 (b6ef615)
\
N -- N -- N refs/heads/UNOMI-180-CXS-GRAPHQLAPI (026cea3)
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 20 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:
NOTICE | 2 +-
.../org/apache/unomi/api/conditions/Condition.java | 3 +-
itests/pom.xml | 33 +------
.../test/java/org/apache/unomi/itests/BaseIT.java | 40 +-------
.../src/main/asciidoc/samples/twitter-sample.adoc | 2 +-
package/pom.xml | 13 +--
performance-tests/pom.xml | 36 +------
.../apache/unomi/performancetests/BasicTest.java | 52 ++---------
plugins/request/pom.xml | 86 ++++++++++++++---
.../request/actions/SetRemoteHostInfoAction.java | 52 ++++++-----
.../unomi/plugins/request/useragent/UserAgent.java | 86 +++++++++++++++++
.../useragent/UserAgentDetectorServiceImpl.java | 76 +++++++++++++++
.../resources/OSGI-INF/blueprint/blueprint.xml | 6 ++
.../request/actions/UserAgentDetectorTest.java | 104 +++++++++++++++++++++
pom.xml | 34 ++++++-
services/pom.xml | 14 +++
.../resources/OSGI-INF/blueprint/blueprint.xml | 1 -
17 files changed, 443 insertions(+), 197 deletions(-)
create mode 100644
plugins/request/src/main/java/org/apache/unomi/plugins/request/useragent/UserAgent.java
create mode 100644
plugins/request/src/main/java/org/apache/unomi/plugins/request/useragent/UserAgentDetectorServiceImpl.java
create mode 100644
plugins/request/src/test/java/org/apache/unomi/plugins/request/actions/UserAgentDetectorTest.java