Repository navigation
Conversation
The javax module listed CloudEventsProvider in META-INF/services/javax.ws.rs.ext.Providers (cloudevents#233), so Quarkus and RESTEasy registered it without extra config. The Jakarta module from cloudevents#732 kept the MessageBodyReader, MessageBodyWriter and ClientRequestFilter files but not this one. Since 4.1.0 Quarkus REST doesn't register the provider. A CloudEvent resource parameter falls back to Jackson and answers 500, and the REST client can't send CloudEvents either. Add the file back and let the Quarkus example test post a binary and a structured event. Signed-off-by: emir <52245396+EmiRZx@users.noreply.github.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fixes #801. adds
META-INF/services/jakarta.ws.rs.ext.Providersback tocloudevents-http-restful-ws-jakartawith the same content as the other three service files. the Quarkus example test now posts a binary and a structured event and expects 201. on Java 17 both tests fail with 500 without the file and pass with it. the packaged example receives its own events again.the tests of all modules that depend on
cloudevents-http-restful-ws-jakartapass, including the RESTEasy, Jersey, Liberty and Spring integration tests. RESTEasy reads the same file, so they now behave as they did with 4.0.2.