[ 
https://issues.apache.org/jira/browse/UNOMI-449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Griffon updated UNOMI-449:
--------------------------------
    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.  

  was:
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. 

existing integration / unit test will validate the move of the endpoints.  


> 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)

Reply via email to