Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whiteboard configuration properties are not propagated to the services #46

Closed
tcalmant opened this issue Aug 6, 2024 · 0 comments · Fixed by #47
Closed

Whiteboard configuration properties are not propagated to the services #46

tcalmant opened this issue Aug 6, 2024 · 0 comments · Fixed by #47

Comments

@tcalmant
Copy link

tcalmant commented Aug 6, 2024

When configuring the JakartarsServletWhiteboardRuntimeComponent configuration, properties like osgi.jakartars.name or custom properties are not propagated to the service instance.

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:

   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

juergen-albert added a commit that referenced this issue Sep 16, 2024
fixes #46

Signed-off-by: Juergen Albert <j.albert@data-in-motion.biz>
juergen-albert added a commit that referenced this issue Sep 16, 2024
fixes #46

Signed-off-by: Juergen Albert <j.albert@data-in-motion.biz>
juergen-albert added a commit that referenced this issue Sep 16, 2024
fixes #46

Signed-off-by: Juergen Albert <j.albert@data-in-motion.biz>
juergen-albert added a commit that referenced this issue Sep 16, 2024
fixes #46

Signed-off-by: Juergen Albert <j.albert@data-in-motion.biz>
juergen-albert added a commit that referenced this issue Sep 16, 2024
fixes #46

Signed-off-by: Juergen Albert <j.albert@data-in-motion.biz>
juergen-albert added a commit that referenced this issue Sep 19, 2024
fixes #46

Signed-off-by: Juergen Albert <j.albert@data-in-motion.biz>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant