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 1bfc166 Remove SDL implementation since we will focus instead on
GraphQL Java annotations-based implementation
discard 93f29e2 Add manual validation of specification steps
discard 8b12fa2 Update project version to 1.5.0
discard 339b793 Add custom unomi types with custom event types.
discard b3de82f findSegments and findEvents fields now work partially,
retrieving partially built results. Filters are not yet doing anything.
discard 8c65786 UNOMI-180 CDP Specification implementation - Add todo for
configurability of CORS headers
discard 3423689 Initial work on integrating event service.
discard 7511bf4 UNOMI-180 CDP Specification implementation - Integrate Apollo
Tracing support
discard c784914 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 434d710 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 dbdff1b 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 856b7d8 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 a474c95 UNOMI-180 - Updated GraphQL projects to latest version -
Added CDP SDL schema generated from latest CDP specification
discard 80b1657 UNOMI-180 Implement CXS GraphQL API - Update dependency
versions to make the GraphQL framework work again
discard 6b0fad6 UNOMI-180 Implement CXS GraphQL API - Update version numbers
discard b38b851 UNOMI-180 Implement CXS GraphQL API - Rename CXS to CDP
discard 65af202 UNOMI-180 Implement CXS GraphQL API - Modify the type
generation to use "Input" suffix for input types instead of a prefix.
discard e15d8e2 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 9f82a28 UNOMI-180 Implement CXS GraphQL API Make sure we use CXS_
prefix everywhere.
discard 6e00421 UNOMI-180 Implement CXS GraphQL API Get event type creation
to work (partially, the event GraphQL schema types are not yet properly
modified)
discard fb7c19d 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 d6a1e19 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 0af1006 UNOMI-180 Implement CXS GraphQL API - We now have basic
filtering generation for event types working !
discard 1061d2d UNOMI-180 Implement CXS GraphQL API - Event type registration
and dynamic schema generation is now mostly working !
discard 4683cf4 UNOMI-180 Implement CXS GraphQL API - First implementation of
registering event types. Not yet perfect but some parts are working.
discard 6fe066c 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 b128823 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 6e75f85 Update dependencies for Karaf 4.2.x
add 0126841 Fix OSGi headers in couple of bundles. Fix bin/setenv
add f7f1b43 Downgrade to Jackson 2.9.10 (including CVE fixes) waithing
XBean fix.
add 7e077f5 Merge pull request #107 from jbonofre/KARAF42
add c0c944c UNOMI-225 Initial work on ElasticSearch 7 support. Includes
switching to Java High Level Rest Client This is very prelimiinary work, it
doesn't even compile yet.
add 87c9223 Update gitignore
add a605e27 WIP [UNOMI-225]
add 838fc1c UNOMI-225 ElasticSearch 7 support - Rewrote all the code in
the persistence service - Working on getting the import package statements
right, probably still some problems in them - Karaf starts but Unomi doesn't
start properly yet
add a9268fa UNOMI-225 ElasticSearch 7 support - Connection to
ElasticSearch is not starting, but still some errors
add 1a69880 UNOMI-225 ElasticSearch 7 support - Connection to
ElasticSearch is now working, still lots of things to fix, notably in mappings.
add 39e6070 UNOMI-225 ElasticSearch 7 support Model changes: - change
geonames to use context prefix (will require re-import) - added mapping types
for all types - Unomi should now start, but there are still known issues
(integration tests do not run, actions are not properly register on first
start). - index.name was changed to index.prefix
add 3abb04b UNOMI-225 ElasticSearch 7 support Model changes: - bug fixes
to get queries to work properly - fixed index template setup
add aa93b2e remove cluster health check at ES persistence service start,
as it could introduce 30sec tiemout per index when cluster is not green.
add 3f87ede adapt PropertyConditionEvaluator.getDate to Joda ES7 parser
add 7e5df35 fix scoring plan mapping creation
add 0f4a133 fix aggregation cast issue ES7
add 3a95b1a fix aggregation cast issue ES7 (clean import)
add 71149bc UNOMI-225 ElasticSearch 7 support Model changes: - fix issue
with full text search not working
add f694fac ES7 support code cleanup mostly Persistence Service Impl,
removing unnecessary stuff.
add 1c50357 Merge pull request #111 from apache/UNOMI-225-ES7
add c06cbe0 UNOMI-254 Add Groovy scripting support for actions These
changes include: - Make the ActionExecutorDispatcher pluggeable, so that it may
delegate to multiple implementations - Provide an implementation for Groovy -
Provide an sample bundle that uses a Groovy action
add 50b49c0 Remove System.out.println and e.printStackTrace and replace
with slf4j logs.
add feda0ac UNOMI-254 Groovy Actions - Moved HttpBuilder and Jsoup
library to Groovy Action feature - Added example of retrieving data from event
- Added DynamicImport-Package for Groovy script dependencies (is there a better
way to do this ?) - Fix dynamic reloading of Groovy scripts from project source
code
add 3267173 Merge pull request #106 from apache/UNOMI-254-groovy-actions
add 61b9958 add device brand and name to user agent detector
add b324449 Merge pull request #109 from
kressaty/feature/useragent-mobile-expansion
add 926388b Provide documentation for ES7 support and Data model changes
add 696ce07 Merge pull request #113 from
apache/UNOMI-225-ES7-documentation
add 38dd795 UNOMI-225 ElasticSearch 7 support Increase timeout values in
integration tests as some continuous integrations might be slow/overloaded.
add 06b0e42 UNOMI-225 ElasticSearch 7 support Revert change committed by
mistake
add 46a2c2c Fix typo in merge action
add acfe957 Attempting to fix issues in integration tests.
add e852a6d UNOMI-257 add predefined mapping for itemType
sfdcConfiguration
add d1e260a Merge pull request #114 from apache/UNOMI-257-mappings
add 80a4059 Adjust all timeouts to be longer for Jenkins (that is pretty
slow !) Add more log information on failures.
add c0ed8ba UNOMI-225 ElasticSearch 7 migration In this commit a
migration implementation has been added to migrate from ElasticSearch 5 to
ElasticSearch 7. Also included is the documentation (and we have moved the
existing documentation to the archive) on how to use the migration
add ebd3ca2 Merge pull request #116 from apache/UNOMI-225-es7-migration
add 7b17bc5 Add support for basic authentication on ES7 client
add 9d92d6a UNOMI-225: add missing config props in
custom.system.properties on ES7 authentication
add f5c3ca9 UNOMI-225: fix bad character
add dbdbe22 Merge pull request #117 from
apache/es7-basic-authentication-support
add d31b448 UNOMI-225: implement ssl communication support with ES7
add d38cea1 Merge pull request #119 from apache/UNOMI-225-ssl-es7-impl
add a068e02 UNOMI-258 Add support for identify() and track() methods in
web-tracker This commits add basic support to make sure that the identify and
track methods do something and send back events to Unomi. This commit does not
contain any documentation but it does add an example to the web tracker example
page. You can view the generated events using the event-tail and event-view
commands on the server.
add 4e5b13a Merge pull request #115 from
apache/UNOMI-258-identify-and-track-webtracker
add b90ea67 UNOMI-225: add documentation on ES7 authentication and ssl
support
add f6e0881 Update manual/src/main/asciidoc/configuration.adoc
add c44e8c9 Update manual/src/main/asciidoc/configuration.adoc
add 23ae19a Merge pull request #120 from
apache/UNOMI-225-es7-auth-ssl-documentation
add c329441 UNOMI-225 ElasticSearch 7 fix for changes in the total hits -
Replaced total hits with count API requests when possible - For aggregations
replaced with a manual sum of all buckets - Added in the PartialList the
relation for the total hits so that users of the API can know if the total size
is EQUAL or GREATER_THAN_OR_EQUAL_TO
add f76c082 UNOMI-225 ElasticSearch 7 fix for changes in the total hits
Remove commented out code
add 29f36f8 Merge pull request #118 from apache/UNOMI-225-es7-fix-counts
add e6c1957 UNOMI-225 Fix typo in documentation
add f6f4711 UNOMI-225 ElasticSearch 7 Migration documentation and
clarification of SOURCE and TARGET settings
add 30093ce UNOMI-225 ElasticSearch 7 fix issues with mappings when
migrating These corrections are based on tests with real customer datasets.
Basically the mappings are now first read from the old ElasticSearch 5 indices
and then merged with the new mapping definitions included in Apache Unomi. The
result is then used to create the indices properly. Also, the total mapping
fields value is also copied from the ES 5 indices if it exists. Finally we
added an important note in the doc [...]
add e953ffe UNOMI-225 ElasticSearch 7 fix issues with mappings when
migrating Remove whitespace introduced by mistake
add efc9af5 UNOMI-225 ElasticSearch 7 fix issues with mappings when
migrating Fix issue with properties merging that was not properly replacing all
the configuration for a mapping field type.
add 325cae3 UNOMI-225: code review cosmetics changes
add 37e2eef Merge pull request #121 from
apache/UNOMI-225-fix-migration-mappings
add 516d24f UNOMI-259 support jdk 11 (WIP)
add 621861d UNOMI-259 - Switch CXF to CXF-JaxRS in feature dependency -
Upgrade FailSafe to support JDK 11 - Fix OGNL to work with JDK 11
add a4b1108 UNOMI-259 - (Temporarily) Deactivate CXF Buss logging since
it is causing problems with JDK 11 - Remove most endorsed libraries as they
don't seem needed anymore - Add some libraries to the feature - Fix miredot
plugin support for JDK 8 & 11 - Fix problem with JDK 8 compilation with
maven-compiler-plugin
add cb0852f UNOMI-259 - Quick typo
add 4f9a6dc UNOMI-259 - Cleanup imports - Fix issues with JAXB libraries
add 3093a2b UNOMI-259 - Fix integration tests & performance tests that
were not executing with JDK 11
add 08e36fa Merge pull request #122 from apache/UNOMI-259-jdk11-support
add 647b29f UNOMI-259 - Update documentation for JDK 11 & ElasticSearch 7
add 23562e4 Handled Enum while merging profiles
add 13fd3df Merge pull request #124 from akvishnuta/feature/UNOMI_261
add 1c44fe2 UNOMI-261 Clean up white space.
new b288e2d 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 bdf3c9a 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 82b5c13 UNOMI-180 Implement CXS GraphQL API - First implementation of
registering event types. Not yet perfect but some parts are working.
new eea2b5a UNOMI-180 Implement CXS GraphQL API - Event type registration
and dynamic schema generation is now mostly working !
new ba2336c UNOMI-180 Implement CXS GraphQL API - We now have basic
filtering generation for event types working !
new defce33 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 616dd6b 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 8d825f9 UNOMI-180 Implement CXS GraphQL API Get event type creation
to work (partially, the event GraphQL schema types are not yet properly
modified)
new 6333eb0 UNOMI-180 Implement CXS GraphQL API Make sure we use CXS_
prefix everywhere.
new e647753 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 f6bc8b6 UNOMI-180 Implement CXS GraphQL API - Modify the type
generation to use "Input" suffix for input types instead of a prefix.
new bc6a887 UNOMI-180 Implement CXS GraphQL API - Rename CXS to CDP
new 2be33e4 UNOMI-180 Implement CXS GraphQL API - Update version numbers
new 7abbcc8 UNOMI-180 Implement CXS GraphQL API - Update dependency
versions to make the GraphQL framework work again
new 12f6acc UNOMI-180 - Updated GraphQL projects to latest version -
Added CDP SDL schema generated from latest CDP specification
new 9302483 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 cfd7a2d 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 dd61925 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 aaafe3f 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 cdc4906 UNOMI-180 CDP Specification implementation - Integrate Apollo
Tracing support
new b4f89b3 Initial work on integrating event service.
new c1ea476 UNOMI-180 CDP Specification implementation - Add todo for
configurability of CORS headers
new c416416 findSegments and findEvents fields now work partially,
retrieving partially built results. Filters are not yet doing anything.
new 055cdd8 Add custom unomi types with custom event types.
new f0a792a Update project version to 1.5.0
new 7f50cd3 Add manual validation of specification steps
new 84510c8 Remove SDL implementation since we will focus instead on
GraphQL Java annotations-based implementation
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 (1bfc166)
\
N -- N -- N refs/heads/UNOMI-180-CXS-GRAPHQLAPI (84510c8)
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 27 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:
.gitignore | 2 +-
api/pom.xml | 33 +
.../java/org/apache/unomi/api/PartialList.java | 28 +-
.../apache/unomi/api/actions/ActionDispatcher.java | 50 ++
.../org/apache/unomi/api/actions/ActionType.java | 10 +-
.../unomi/api/services/DefinitionsService.java | 6 +
.../apache/unomi/api/services/ProfileService.java | 7 +-
docker/docker-compose.yml | 1 -
.../unomi/geonames/services/GeonameEntry.java | 1 -
.../geonames/services/GeonamesServiceImpl.java | 6 +-
.../META-INF/cxs/mappings/geonameEntry.json | 47 +-
.../karaf-kar/pom.xml | 33 +-
.../{unomi-mailchimp => groovy-actions}/pom.xml | 9 +-
.../services/pom.xml | 35 +-
.../services/actions/groovy/GroovyAction.java | 59 ++
.../actions/groovy/GroovyActionDispatcher.java | 179 ++++
.../groovy/GroovyBundleResourceConnector.java | 81 ++
.../resources/OSGI-INF/blueprint/blueprint.xml | 20 +-
.../apache/unomi/services/UserListServiceImpl.java | 4 +-
.../resources/META-INF/cxs/mappings/userList.json | 46 +-
extensions/pom.xml | 1 +
.../META-INF/cxs/mappings/sfdcConfiguration.json | 20 +
.../web-tracker/javascript/dist/unomi-tracker.js | 18 +-
.../javascript/dist/unomi-tracker.min.js | 2 +-
.../src/analytics.js-integration-apache-unomi.js | 19 +-
.../web-tracker/wab/src/main/webapp/index.html | 14 +-
itests/pom.xml | 2 +-
.../test/java/org/apache/unomi/itests/BaseIT.java | 51 +-
.../test/java/org/apache/unomi/itests/BasicIT.java | 9 +-
.../apache/unomi/itests/ConditionEvaluatorIT.java | 4 +-
.../org/apache/unomi/itests/ModifyConsentIT.java | 4 +-
.../test/java/org/apache/unomi/itests/PatchIT.java | 22 +-
.../org/apache/unomi/itests/ProfileExportIT.java | 9 +-
.../apache/unomi/itests/ProfileImportActorsIT.java | 6 +-
.../apache/unomi/itests/ProfileImportBasicIT.java | 6 +-
.../unomi/itests/ProfileImportRankingIT.java | 6 +-
.../unomi/itests/ProfileImportSurfersIT.java | 10 +-
.../org/apache/unomi/itests/ProfileServiceIT.java | 2 +-
.../unomi/itests/PropertiesUpdateActionIT.java | 4 +-
.../java/org/apache/unomi/itests/SegmentIT.java | 2 +-
kar/src/main/feature/feature.xml | 5 +-
manual/pom.xml | 6 +-
.../1.4}/asciidoc/5-min-quickstart.adoc | 0
.../{main => archives/1.4}/asciidoc/actions.adoc | 0
.../src/{main => archives/1.4}/asciidoc/apache.css | 0
.../1.4}/asciidoc/building-and-deploying.adoc | 0
.../1.4}/asciidoc/clustering.adoc | 0
.../{main => archives/1.4}/asciidoc/concepts.adoc | 0
.../1.4}/asciidoc/conditions.adoc | 0
.../1.4}/asciidoc/configuration.adoc | 4 +-
.../1.4}/asciidoc/connectors/connectors.adoc | 0
.../asciidoc/connectors/mailchimp-connector.adoc | 0
.../asciidoc/connectors/salesforce-connector.adoc | 0
.../1.4}/asciidoc/consent-api.adoc | 0
.../1.4}/asciidoc/custom-extensions.adoc | 0
.../1.4}/asciidoc/extending-plugins.adoc | 0
.../1.4}/asciidoc/getting-started.adoc | 0
.../1.4}/asciidoc/how-profile-tracking-works.adoc | 0
.../1.4/asciidoc}/images/asf_logo_url.png | Bin
.../1.4}/asciidoc/images/incubator-logo.png | Bin
.../1.4}/asciidoc/images/unomi-request.png | Bin
.../1.4}/asciidoc/images/unomi-rule-engine.png | Bin
.../src/{main => archives/1.4}/asciidoc/index.adoc | 2 +-
.../{main => archives/1.4}/asciidoc/patches.adoc | 0
.../{main => archives/1.4}/asciidoc/privacy.adoc | 0
.../1.4}/asciidoc/profile-import-export.adoc | 0
.../1.4}/asciidoc/queries-and-aggregations.adoc | 0
.../{main => archives/1.4}/asciidoc/recipes.adoc | 0
.../1.4}/asciidoc/request-examples.adoc | 0
.../1.4}/asciidoc/samples/login-sample.adoc | 0
.../1.4}/asciidoc/samples/samples.adoc | 0
.../1.4}/asciidoc/samples/twitter-sample.adoc | 0
.../asciidoc/samples/weather-update-sample.adoc | 0
.../1.4}/asciidoc/shell-commands.adoc | 0
.../1.4}/asciidoc/useful-unomi-urls.adoc | 0
.../1.4}/asciidoc/web-tracker.adoc | 0
manual/src/main/asciidoc/5-min-quickstart.adoc | 12 +-
.../src/main/asciidoc/building-and-deploying.adoc | 31 +-
manual/src/main/asciidoc/configuration.adoc | 68 +-
manual/src/main/asciidoc/getting-started.adoc | 28 +-
manual/src/main/asciidoc/index.adoc | 2 +
manual/src/main/asciidoc/new-data-model.adoc | 104 +++
manual/src/main/asciidoc/privacy.adoc | 10 +-
.../src/main/asciidoc/samples/twitter-sample.adoc | 2 +-
package/pom.xml | 4 +-
package/src/main/resources/bin/setenv | 1 -
.../main/resources/etc/custom.system.properties | 13 +-
.../apache/unomi/performancetests/BasicTest.java | 40 +-
persistence-elasticsearch/core/pom.xml | 189 +++--
.../ElasticSearchPersistenceServiceImpl.java | 928 ++++++++++-----------
.../resources/META-INF/cxs/mappings/_default_.json | 22 -
.../META-INF/cxs/mappings/actiontype.json | 20 +
.../resources/META-INF/cxs/mappings/campaign.json | 64 +-
.../META-INF/cxs/mappings/campaignevent.json | 58 +-
.../META-INF/cxs/mappings/conditiontype.json | 20 +
.../resources/META-INF/cxs/mappings/event.json | 59 +-
.../META-INF/cxs/mappings/exportconfig.json | 20 +
.../main/resources/META-INF/cxs/mappings/goal.json | 47 +-
.../META-INF/cxs/mappings/importconfig.json | 20 +
.../resources/META-INF/cxs/mappings/persona.json | 38 +
.../META-INF/cxs/mappings/personaSession.json | 53 +-
.../resources/META-INF/cxs/mappings/profile.json | 48 +-
.../META-INF/cxs/mappings/propertyType.json | 90 +-
.../main/resources/META-INF/cxs/mappings/rule.json | 64 +-
.../resources/META-INF/cxs/mappings/rulestats.json | 20 +
.../resources/META-INF/cxs/mappings/scoring.json | 47 +-
.../resources/META-INF/cxs/mappings/segment.json | 48 +-
.../resources/META-INF/cxs/mappings/session.json | 85 +-
.../resources/OSGI-INF/blueprint/blueprint.xml | 31 +-
.../org.apache.unomi.persistence.elasticsearch.cfg | 18 +-
.../ElasticsearchPersistenceTest.java | 173 ++++
persistence-elasticsearch/pom.xml | 22 +-
.../unomi/persistence/spi/PersistenceService.java | 12 +-
plugins/baseplugin/pom.xml | 4 +-
.../actions/MergeProfilesOnPropertyAction.java | 4 +-
.../conditions/PropertyConditionEvaluator.java | 45 +-
plugins/mail/pom.xml | 14 +
plugins/request/pom.xml | 9 +
.../request/actions/SetRemoteHostInfoAction.java | 31 +-
.../unomi/plugins/request/useragent/UserAgent.java | 20 +
.../useragent/UserAgentDetectorServiceImpl.java | 4 +
pom.xml | 41 +-
rest/pom.xml | 161 +++-
.../resources/OSGI-INF/blueprint/blueprint.xml | 6 +-
.../services => samples/groovy-actions}/pom.xml | 34 +-
.../META-INF/cxs/actions/testGroovyAction.groovy | 34 +-
.../META-INF/cxs/actions/testGroovyAction.json | 15 +
.../META-INF/cxs/rules/testGroovyActionRule.json | 22 +
samples/pom.xml | 1 +
.../services/actions/ActionExecutorDispatcher.java | 55 +-
.../unomi/services/impl/AbstractServiceImpl.java | 4 +-
.../impl/definitions/DefinitionsServiceImpl.java | 30 +-
.../services/impl/goals/GoalsServiceImpl.java | 2 +-
.../services/impl/profiles/ProfileServiceImpl.java | 24 +-
.../services/impl/rules/RulesServiceImpl.java | 17 +-
.../services/impl/segments/SegmentServiceImpl.java | 26 +-
.../resources/OSGI-INF/blueprint/blueprint.xml | 10 +-
.../apache/unomi/shell/migration/Migration.java | 3 +-
.../unomi/shell/migration/actions/Migrate.java | 4 +-
.../unomi/shell/migration/impl/MigrationTo121.java | 3 +-
.../unomi/shell/migration/impl/MigrationTo122.java | 3 +-
.../unomi/shell/migration/impl/MigrationTo150.java | 293 +++++++
.../unomi/shell/migration/utils/ConsoleUtils.java | 12 +
.../unomi/shell/migration/utils/HttpUtils.java | 30 +-
.../resources/OSGI-INF/blueprint/blueprint.xml | 2 +
145 files changed, 3123 insertions(+), 1236 deletions(-)
create mode 100644
api/src/main/java/org/apache/unomi/api/actions/ActionDispatcher.java
copy extensions/{salesforce-connector => groovy-actions}/karaf-kar/pom.xml
(74%)
copy extensions/{unomi-mailchimp => groovy-actions}/pom.xml (84%)
copy extensions/{privacy-extension => groovy-actions}/services/pom.xml (77%)
create mode 100644
extensions/groovy-actions/services/src/main/java/org/apache/unomi/services/actions/groovy/GroovyAction.java
create mode 100644
extensions/groovy-actions/services/src/main/java/org/apache/unomi/services/actions/groovy/GroovyActionDispatcher.java
create mode 100644
extensions/groovy-actions/services/src/main/java/org/apache/unomi/services/actions/groovy/GroovyBundleResourceConnector.java
copy {samples/tweet-button-plugin =>
extensions/groovy-actions/services}/src/main/resources/OSGI-INF/blueprint/blueprint.xml
(62%)
create mode 100644
extensions/salesforce-connector/services/src/main/resources/META-INF/cxs/mappings/sfdcConfiguration.json
copy manual/src/{main => archives/1.4}/asciidoc/5-min-quickstart.adoc (100%)
copy manual/src/{main => archives/1.4}/asciidoc/actions.adoc (100%)
copy manual/src/{main => archives/1.4}/asciidoc/apache.css (100%)
copy manual/src/{main => archives/1.4}/asciidoc/building-and-deploying.adoc
(100%)
copy manual/src/{main => archives/1.4}/asciidoc/clustering.adoc (100%)
copy manual/src/{main => archives/1.4}/asciidoc/concepts.adoc (100%)
copy manual/src/{main => archives/1.4}/asciidoc/conditions.adoc (100%)
copy manual/src/{main => archives/1.4}/asciidoc/configuration.adoc (99%)
copy manual/src/{main => archives/1.4}/asciidoc/connectors/connectors.adoc
(100%)
copy manual/src/{main =>
archives/1.4}/asciidoc/connectors/mailchimp-connector.adoc (100%)
copy manual/src/{main =>
archives/1.4}/asciidoc/connectors/salesforce-connector.adoc (100%)
copy manual/src/{main => archives/1.4}/asciidoc/consent-api.adoc (100%)
copy manual/src/{main => archives/1.4}/asciidoc/custom-extensions.adoc (100%)
copy manual/src/{main => archives/1.4}/asciidoc/extending-plugins.adoc (100%)
copy manual/src/{main => archives/1.4}/asciidoc/getting-started.adoc (100%)
copy manual/src/{main =>
archives/1.4}/asciidoc/how-profile-tracking-works.adoc (100%)
copy manual/src/{theme => archives/1.4/asciidoc}/images/asf_logo_url.png (100%)
copy manual/src/{main => archives/1.4}/asciidoc/images/incubator-logo.png
(100%)
copy manual/src/{main => archives/1.4}/asciidoc/images/unomi-request.png (100%)
copy manual/src/{main => archives/1.4}/asciidoc/images/unomi-rule-engine.png
(100%)
copy manual/src/{main => archives/1.4}/asciidoc/index.adoc (98%)
copy manual/src/{main => archives/1.4}/asciidoc/patches.adoc (100%)
copy manual/src/{main => archives/1.4}/asciidoc/privacy.adoc (100%)
copy manual/src/{main => archives/1.4}/asciidoc/profile-import-export.adoc
(100%)
copy manual/src/{main => archives/1.4}/asciidoc/queries-and-aggregations.adoc
(100%)
copy manual/src/{main => archives/1.4}/asciidoc/recipes.adoc (100%)
copy manual/src/{main => archives/1.4}/asciidoc/request-examples.adoc (100%)
copy manual/src/{main => archives/1.4}/asciidoc/samples/login-sample.adoc
(100%)
copy manual/src/{main => archives/1.4}/asciidoc/samples/samples.adoc (100%)
copy manual/src/{main => archives/1.4}/asciidoc/samples/twitter-sample.adoc
(100%)
copy manual/src/{main =>
archives/1.4}/asciidoc/samples/weather-update-sample.adoc (100%)
copy manual/src/{main => archives/1.4}/asciidoc/shell-commands.adoc (100%)
copy manual/src/{main => archives/1.4}/asciidoc/useful-unomi-urls.adoc (100%)
copy manual/src/{main => archives/1.4}/asciidoc/web-tracker.adoc (100%)
create mode 100644 manual/src/main/asciidoc/new-data-model.adoc
delete mode 100644
persistence-elasticsearch/core/src/main/resources/META-INF/cxs/mappings/_default_.json
create mode 100644
persistence-elasticsearch/core/src/main/resources/META-INF/cxs/mappings/actiontype.json
create mode 100644
persistence-elasticsearch/core/src/main/resources/META-INF/cxs/mappings/conditiontype.json
create mode 100644
persistence-elasticsearch/core/src/main/resources/META-INF/cxs/mappings/exportconfig.json
create mode 100644
persistence-elasticsearch/core/src/main/resources/META-INF/cxs/mappings/importconfig.json
create mode 100644
persistence-elasticsearch/core/src/main/resources/META-INF/cxs/mappings/persona.json
create mode 100644
persistence-elasticsearch/core/src/main/resources/META-INF/cxs/mappings/rulestats.json
create mode 100644
persistence-elasticsearch/core/src/test/java/org/apache/unomi/persistence/elasticsearch/ElasticsearchPersistenceTest.java
copy {extensions/privacy-extension/services => samples/groovy-actions}/pom.xml
(71%)
copy extensions/web-tracker/javascript/src/index.js =>
samples/groovy-actions/src/main/resources/META-INF/cxs/actions/testGroovyAction.groovy
(56%)
create mode 100644
samples/groovy-actions/src/main/resources/META-INF/cxs/actions/testGroovyAction.json
create mode 100644
samples/groovy-actions/src/main/resources/META-INF/cxs/rules/testGroovyActionRule.json
create mode 100644
tools/shell-commands/src/main/java/org/apache/unomi/shell/migration/impl/MigrationTo150.java