[jira] [Commented] (KARAF-6848) Multiple osgi.http.whiteboard.resource.pattern used with HttpWhiteboard does not work

2020-09-16 Thread Jira


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

Jean-Baptiste Onofré commented on KARAF-6848:
-

[~pat-lego] Pax Web 8 is not yet ready. Karaf 4.3.0 will use Pax Web 7.3.x. I 
gonna check if I can do a quick fix on Pax Web 7.3.x.

> Multiple osgi.http.whiteboard.resource.pattern used with HttpWhiteboard does 
> not work
> -
>
> Key: KARAF-6848
> URL: https://issues.apache.org/jira/browse/KARAF-6848
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Affects Versions: 4.3.0
> Environment: Linux - Docker
> Java 11 (openjdk)
>Reporter: Patrique Legault
>Assignee: Jean-Baptiste Onofré
>Priority: Minor
>  Labels: pax-web
>
> When creating a component with the following SCR metadata 
> {code:java}
>  @Component(immediate = true,
>  service = PersonalProfileResource.class,
>  property =
> { "osgi.http.whiteboard.resource.pattern=/profile/*", 
> "osgi.http.whiteboard.resource.pattern=/profile/contact/*", 
> "osgi.http.whiteboard.resource.prefix=/profile" }
> ){code}
>  
>  Only binds the first pattern to the prefix the second pattern is ignored. 
> Even though the scr:info command shows that the all of the SCR metadata is 
> correctly parsed the HTTP:list command only shows one pattern being applied.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (KARAF-6848) Multiple osgi.http.whiteboard.resource.pattern used with HttpWhiteboard does not work

2020-09-16 Thread Patrique Legault (Jira)


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

Patrique Legault commented on KARAF-6848:
-

[~jbonofre] is there a way to upgrade Pax Web to version 8 in Karaf 4.3.0.RC1

> Multiple osgi.http.whiteboard.resource.pattern used with HttpWhiteboard does 
> not work
> -
>
> Key: KARAF-6848
> URL: https://issues.apache.org/jira/browse/KARAF-6848
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Affects Versions: 4.3.0
> Environment: Linux - Docker
> Java 11 (openjdk)
>Reporter: Patrique Legault
>Assignee: Jean-Baptiste Onofré
>Priority: Minor
>  Labels: pax-web
>
> When creating a component with the following SCR metadata 
> {code:java}
>  @Component(immediate = true,
>  service = PersonalProfileResource.class,
>  property =
> { "osgi.http.whiteboard.resource.pattern=/profile/*", 
> "osgi.http.whiteboard.resource.pattern=/profile/contact/*", 
> "osgi.http.whiteboard.resource.prefix=/profile" }
> ){code}
>  
>  Only binds the first pattern to the prefix the second pattern is ignored. 
> Even though the scr:info command shows that the all of the SCR metadata is 
> correctly parsed the HTTP:list command only shows one pattern being applied.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (KARAF-6848) Multiple osgi.http.whiteboard.resource.pattern used with HttpWhiteboard does not work

2020-09-16 Thread Jira


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

Jean-Baptiste Onofré commented on KARAF-6848:
-

I confirm the issue in Pax Web 7. It's already fixed on Pax Web 8.

> Multiple osgi.http.whiteboard.resource.pattern used with HttpWhiteboard does 
> not work
> -
>
> Key: KARAF-6848
> URL: https://issues.apache.org/jira/browse/KARAF-6848
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf
>Affects Versions: 4.3.0
> Environment: Linux - Docker
> Java 11 (openjdk)
>Reporter: Patrique Legault
>Assignee: Jean-Baptiste Onofré
>Priority: Minor
>  Labels: pax-web
>
> When creating a component with the following SCR metadata 
> {code:java}
>  @Component(immediate = true,
>  service = PersonalProfileResource.class,
>  property =
> { "osgi.http.whiteboard.resource.pattern=/profile/*", 
> "osgi.http.whiteboard.resource.pattern=/profile/contact/*", 
> "osgi.http.whiteboard.resource.prefix=/profile" }
> ){code}
>  
>  Only binds the first pattern to the prefix the second pattern is ignored. 
> Even though the scr:info command shows that the all of the SCR metadata is 
> correctly parsed the HTTP:list command only shows one pattern being applied.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)