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

build!: Updated to Equinox SDK 4.33, Jetty 12.0.14, Jersey 3.1.9, added jakartarest-osgi 1.2.3 #5478

Open
wants to merge 31 commits into
base: develop
Choose a base branch
from

Conversation

salvatore-coppola
Copy link
Contributor

@salvatore-coppola salvatore-coppola commented Oct 22, 2024

  • Updated equinox sdk to 4.33
  • Updated jetty to 12.0.14
  • Moved to jetty.ee10
  • Moved to Jersey 3.1.9
  • Switched to Felix implementation of Http Service Specification, Http Whiteboard Specification and Whiteboard Specification for Jakarta™ Servlet OSGi specs
  • Replaced com.eclipsesource:osgi-jaxrs-connector with org.eclipse.osgi-technology.rest, implementing the Whiteboard Specification for Jakarta™ RESTful Web Services OSGi spec
  • Removed KuraJettyCustomizer
  • Added new Jetty launcher
  • Moved from javax namespace to jakarta
  • Moved to whiteboard pattern to register servlets and restful web services in WebConsole
  • Removed Equinox SDK zip download step
  • Removed mToolkit

@salvatore-coppola salvatore-coppola force-pushed the update-equinox-4.33 branch 2 times, most recently from 25ed315 to 65eac79 Compare December 17, 2024 09:18
@nicolatimeus nicolatimeus force-pushed the update-equinox-4.33 branch 2 times, most recently from 379d796 to 861968f Compare January 9, 2025 15:08
@nicolatimeus nicolatimeus changed the title chore: Updated equinox build: Updated to Equinox SDK 4.33, Jetty 12.0.14, Jersey 3.1.9, added jakartarest-osgi 1.2.3 Jan 13, 2025
@nicolatimeus nicolatimeus marked this pull request as ready for review January 14, 2025 08:00
@nicolatimeus
Copy link
Contributor

Open points that we can address later:

  • Review the configuration options of HttpService and extend them exposing more parameters if needed (see TODO comments in [1])
  • Log messages like the following are printed in Kura stdout once for each Rest resource on startup:
Jan 14, 2025 8:06:25 AM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime
WARNING: A provider org.eclipse.kura.internal.rest.cloudconnection.provider.CloudConnectionRestService registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider org.eclipse.kura.internal.rest.cloudconnection.provider.CloudConnectionRestService will be ignored.

we should investigate the root cause, the mentioned rest services seem to work properly.

  • Update the dev-env

[1] https://github.com/eclipse-kura/kura/blob/update-equinox-4.33/kura/org.eclipse.kura.http.server.manager/src/main/java/org/eclipse/kura/http/server/manager/JettyServerHolder.java

@mattdibi mattdibi changed the title build: Updated to Equinox SDK 4.33, Jetty 12.0.14, Jersey 3.1.9, added jakartarest-osgi 1.2.3 build!: Updated to Equinox SDK 4.33, Jetty 12.0.14, Jersey 3.1.9, added jakartarest-osgi 1.2.3 Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants