Closed tcalmant closed 2 months ago
When configuring the JakartarsServletWhiteboardRuntimeComponent configuration, properties like osgi.jakartars.name or custom properties are not propagated to the service instance.
JakartarsServletWhiteboardRuntimeComponent
osgi.jakartars.name
For example, with this configuration:
{ "org.apache.felix.http~sensinact.rest": { "org.osgi.service.http.port":8081, "org.apache.felix.http.runtime.init.id":"sensinact" }, "JakartarsServletWhiteboardRuntimeComponent~sensinact": { "osgi.http.whiteboard.target":"(id=sensinact)", "osgi.jakartars.name":"sensiNact.rest" } }
the JakartarsServiceRuntime holds those properties:
JakartarsServiceRuntime
osgi.jakartars.endpoint = http://192.168.1.39:8081/ service.bundleid = 43 service.changecount = 4 service.description = REST whiteboard for HttpServiceRuntime 118 service.id = 145 service.scope = singleton
I think we should see the osgi.jakartars.name property to be able to select it with osgi.jakartars.whiteboard.target
osgi.jakartars.whiteboard.target
When configuring the
JakartarsServletWhiteboardRuntimeComponent
configuration, properties likeosgi.jakartars.name
or custom properties are not propagated to the service instance.For example, with this configuration:
the
JakartarsServiceRuntime
holds those properties:I think we should see the
osgi.jakartars.name
property to be able to select it withosgi.jakartars.whiteboard.target