Patrique Legault created KARAF-6848:
---------------------------------------

             Summary: 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


When creating a component with the following SCR metadata 
```
@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"
})
```
 
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)

Reply via email to