This is an automated email from the ASF dual-hosted git repository.
shuber pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/unomi.git.
from dc88114 UNOMI - 355 Add long value type (#170)
add d977661 UNOMI-356 Refactor REST API - A new RestServer class is
responsible for creating a single JAX RS Server - Service beans must register
with the OSGi service registry and setup the following property:
osgi.jaxrs.resource=true (this property comes from OSGi R7 so that we can then
migrate to OSGi R6 JAX RS whiteboard once we are on OSGI R7) - All JAX RS
service beans are now register, not just the ones in the "rest" subproject -
Swagger UI is integrated by default, although [...]
add 8443fbb Add customizer to make the try out URL work.
add 58cd225 Update
rest/src/main/java/org/apache/unomi/rest/RestServer.java
add 1d59f85 Merge pull request #171 from
apache/UNOMI-356-refactor-rest-api
No new revisions were added by this update.
Summary of changes:
api/pom.xml | 29 --
extensions/geonames/rest/pom.xml | 5 +
.../unomi/geonames/rest/GeonamesEndPoint.java | 5 +
.../resources/OSGI-INF/blueprint/blueprint.xml | 75 -----
extensions/groovy-actions/services/pom.xml | 4 +-
extensions/lists-extension/rest/pom.xml | 5 +
.../unomi/lists/rest/UserListServiceEndPoint.java | 5 +
.../resources/OSGI-INF/blueprint/blueprint.xml | 75 -----
extensions/privacy-extension/rest/pom.xml | 5 +
.../unomi/privacy/rest/PrivacyServiceEndPoint.java | 6 +-
.../resources/OSGI-INF/blueprint/blueprint.xml | 75 -----
extensions/privacy-extension/services/pom.xml | 2 +-
extensions/router/router-core/pom.xml | 4 +-
extensions/router/router-rest/pom.xml | 5 +
.../rest/AbstractConfigurationServiceEndpoint.java | 14 -
.../router/rest/ConfigRestExceptionMapper.java | 5 +
.../rest/ExportConfigurationServiceEndPoint.java | 8 +
.../rest/ImportConfigurationServiceEndPoint.java | 14 +
.../resources/OSGI-INF/blueprint/blueprint.xml | 98 -------
extensions/router/router-service/pom.xml | 4 +-
extensions/salesforce-connector/rest/pom.xml | 7 +-
.../org/apache/unomi/sfdc/rest/SFDCEndPoint.java | 13 +-
.../resources/OSGI-INF/blueprint/blueprint.xml | 76 -----
extensions/unomi-mailchimp/rest/pom.xml | 7 +-
.../unomi/mailchimp/rest/MailChimpEndPoint.java | 6 +
.../resources/OSGI-INF/blueprint/blueprint.xml | 75 -----
itests/README.md | 35 +++
itests/pom.xml | 2 +-
kar/src/main/feature/feature.xml | 2 +
lifecycle-watcher/pom.xml | 2 +-
metrics/pom.xml | 2 +-
persistence-elasticsearch/core/pom.xml | 4 +-
pom.xml | 52 +---
rest/pom.xml | 307 +++------------------
.../unomi/rest/CampaignsServiceEndPoint.java | 5 +
.../apache/unomi/rest/ClusterServiceEndPoint.java | 5 +
.../unomi/rest/DefinitionsServiceEndPoint.java | 7 +
.../apache/unomi/rest/EventServiceEndpoint.java | 5 +
.../apache/unomi/rest/GoalsServiceEndPoint.java | 5 +
.../org/apache/unomi/rest/LocalizationHelper.java | 12 +
.../apache/unomi/rest/PatchServiceEndPoint.java | 5 +
.../apache/unomi/rest/ProfileServiceEndPoint.java | 8 +
.../apache/unomi/rest/QueryServiceEndPoint.java | 6 +
.../apache/unomi/rest/ResourceBundleHelper.java | 9 +
.../java/org/apache/unomi/rest/RestServer.java | 180 ++++++++++++
.../apache/unomi/rest/RulesServiceEndPoint.java | 5 +
.../apache/unomi/rest/ScoringServiceEndPoint.java | 5 +
.../apache/unomi/rest/SegmentServiceEndPoint.java | 5 +
.../apache/unomi/rest/UserListServiceEndPoint.java | 5 +
.../resources/OSGI-INF/blueprint/blueprint.xml | 280 -------------------
services/pom.xml | 4 +-
.../META-INF/cxs/events/updateProperties.json | 2 +-
tools/shell-commands/pom.xml | 4 +-
tools/shell-dev-commands/pom.xml | 4 +-
54 files changed, 456 insertions(+), 1138 deletions(-)
delete mode 100644
extensions/geonames/rest/src/main/resources/OSGI-INF/blueprint/blueprint.xml
delete mode 100644
extensions/lists-extension/rest/src/main/resources/OSGI-INF/blueprint/blueprint.xml
delete mode 100644
extensions/privacy-extension/rest/src/main/resources/OSGI-INF/blueprint/blueprint.xml
delete mode 100644
extensions/router/router-rest/src/main/resources/OSGI-INF/blueprint/blueprint.xml
delete mode 100644
extensions/salesforce-connector/rest/src/main/resources/OSGI-INF/blueprint/blueprint.xml
delete mode 100644
extensions/unomi-mailchimp/rest/src/main/resources/OSGI-INF/blueprint/blueprint.xml
create mode 100644 rest/src/main/java/org/apache/unomi/rest/RestServer.java
delete mode 100644 rest/src/main/resources/OSGI-INF/blueprint/blueprint.xml