You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by "David Griffon (Jira)" <ji...@apache.org> on 2021/03/30 07:08:00 UTC

[jira] [Comment Edited] (UNOMI-449) Move Servlet endpoints to REST endpoints.

    [ https://issues.apache.org/jira/browse/UNOMI-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17311199#comment-17311199 ] 

David Griffon edited comment on UNOMI-449 at 3/30/21, 7:07 AM:
---------------------------------------------------------------

First step to create the new endpoints has been done on 2.0 and 1.5.x 
https://github.com/apache/unomi/pull/271

Next step to forward the existing endpoint is ongoing


was (Author: david.griffon):
First step to create the new endpoints has been done on 2.0 and 1.5.x 
Next step to forward the existing endpoint is ongoing

> 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: 20m
>  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)