You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2020/10/08 13:15:00 UTC

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

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

Jean-Baptiste Onofré reassigned KARAF-6848:
-------------------------------------------

    Assignee:     (was: Jean-Baptiste Onofré)

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