You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by "Serge Huber (Jira)" <ji...@apache.org> on 2021/04/23 09:43:00 UTC
[jira] [Resolved] (UNOMI-449) Move Servlet endpoints to REST
endpoints.
[ https://issues.apache.org/jira/browse/UNOMI-449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Serge Huber resolved UNOMI-449.
-------------------------------
Resolution: Fixed
> 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
>
> Time Spent: 3.5h
> Remaining Estimate: 0h
>
> 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)