You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/05/25 14:49:00 UTC

[jira] [Commented] (KARAF-6295) Avoid confusion between rest collector and rest-servlet collector

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

ASF GitHub Bot commented on KARAF-6295:
---------------------------------------

fpapon commented on pull request #88: [KARAF-6295] Avoid confusion between rest collector and rest-servlet …
URL: https://github.com/apache/karaf-decanter/pull/88
 
 
   …collector
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Avoid confusion between rest collector and rest-servlet collector
> -----------------------------------------------------------------
>
>                 Key: KARAF-6295
>                 URL: https://issues.apache.org/jira/browse/KARAF-6295
>             Project: Karaf
>          Issue Type: Task
>          Components: decanter
>            Reporter: Francois Papon
>            Assignee: Francois Papon
>            Priority: Minor
>             Fix For: decanter-2.3.0
>
>
> The *collector-rest* and the *collector-rest-servlet* define the same package and the same class:
> {code:java}
> org.apache.karaf.decanter.collector.rest
> {code}
> {code:java}
> public class RestCollector
> {code}
> This is a problem when debugging to match the right source code.
> We should update the *collector-rest-servlet* to have:
> {code:java}
> org.apache.karaf.decanter.collector.rest.servlet
> {code}
> {code:java}
> public class RestServletCollector
> {code}
> We also could change the event topic from 
> {code:java}
> decanter/collect/rest
> {code}
> to 
> {code:java}
> decanter/collect/rest-servlet
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)