[
https://issues.apache.org/jira/browse/UNOMI-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17308485#comment-17308485
]
Serge Huber commented on UNOMI-449:
-----------------------------------
Thanks for this proposal. It's something I've been wanting to do since I
started rewriting the REST server.
Compatibility is critical if we want to deliver this in 1.5, a little less in
2.0 but it goes with the idea that we stay backward compatible as much as
possible.
We will probably have to add some integrations tests, to validate both the
existing and the new location of those services.
> Move Servlet endpoints to REST endpoints.
> ------------------------------------------
>
> Key: UNOMI-449
> URL: https://issues.apache.org/jira/browse/UNOMI-449
> Project: Apache Unomi
> Issue Type: Improvement
> Components: web
> Affects Versions: 2.0.0, 1.5.5
> Reporter: David Griffon
> Priority: Major
> Fix For: 2.0.0, 1.5.5
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)