Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
unomi-2.0.0, unomi-1.5.5
-
None
Description
To unify the endpoint and use JAX-RS / Swagger capabilities we want to move endpoints available in the wab project to the rest one.
We need to move the following servlets:
contextServletService
https://github.com/apache/unomi/blob/master/wab/src/main/resources/OSGI-INF/blueprint/blueprint.xml#L64-L65
eventsCollectorServletService
https://github.com/apache/unomi/blob/master/wab/src/main/resources/OSGI-INF/blueprint/blueprint.xml#L85
clientServletService
https://github.com/apache/unomi/blob/master/wab/src/main/resources/OSGI-INF/blueprint/blueprint.xml#L102
In order to keep compatibility we will forward the existing endpoints to the REST ones.
We will also need to handle the authentication to allow public endpoints in the REST server.
existing integration / unit test will validate the move of the endpoints.