Skip to content

Migrate UI bundles to Jakarta EE 10 whiteboard APIs#4102

Draft
holgerfriedrich wants to merge 2 commits intoopenhab:mainfrom
holgerfriedrich:k450
Draft

Migrate UI bundles to Jakarta EE 10 whiteboard APIs#4102
holgerfriedrich wants to merge 2 commits intoopenhab:mainfrom
holgerfriedrich:k450

Conversation

@holgerfriedrich
Copy link
Copy Markdown
Member

Refs: openhab/openhab-core#5479

Servlet / HTTP:

  • Migrate affected UI servlet/context classes to jakarta.servlet.* based APIs
  • Replace legacy HttpService/HttpContext registration in HABot tile with Servlet Whiteboard registration

JAX-RS:

  • Switch UI REST resources from org.osgi.service.jaxrs.whiteboard to org.osgi.service.jakartars.whiteboard (OSGi R8)
  • Update whiteboard annotations/constants from Jaxrs* to Jakartars*
  • Keep RESTConstants.JAX_RS_NAME usage where required for openHAB REST integration
  • Add openhab.tp-jax-rs-whiteboard feature dependency for CometVisu runtime resolution

Dependencies:

  • Replace provided osgi.service.jaxrs with osgi.service.jakartars in bundles dependency management

Build:

  • Verify focused compilation for CometVisu, HABot, and HABPanel after migration

Servlet / HTTP:
- Migrate affected UI servlet/context classes to jakarta.servlet.* based APIs
- Replace legacy HttpService/HttpContext registration in HABot tile with Servlet Whiteboard registration

JAX-RS:
- Switch UI REST resources from org.osgi.service.jaxrs.whiteboard to org.osgi.service.jakartars.whiteboard (OSGi R8)
- Update whiteboard annotations/constants from Jaxrs* to Jakartars*
- Keep RESTConstants.JAX_RS_NAME usage where required for openHAB REST integration
- Add openhab.tp-jax-rs-whiteboard feature dependency for CometVisu runtime resolution

Dependencies:
- Replace provided osgi.service.jaxrs with osgi.service.jakartars in bundles dependency management

Build:
- Verify focused compilation for CometVisu, HABot, and HABPanel after migration

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
@florian-h05 florian-h05 added the awaiting other PR Depends on another PR label Apr 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting other PR Depends on another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants