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