-
Notifications
You must be signed in to change notification settings - Fork 357
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
MicroProfile Rest Client 2.0 support #4699
Conversation
For the PR we need to get the following CQs approved:
Do we need all of them? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In terms of QueryParamStyle, I might suggest to create some equivalent enum directly in Jersey and implement this query param formatting in Jersey itself but based on Jersey QueryParamStyle equivalent. I think @jansupol would be more then fine with taking this approach.
With that said, I also believe that it would be much more suitable to define some normal property and use that to propagate this new Jersey enum value.
...client/src/main/java/org/glassfish/jersey/microprofile/restclient/RestClientBuilderImpl.java
Outdated
Show resolved
Hide resolved
...client/src/main/java/org/glassfish/jersey/microprofile/restclient/RestClientBuilderImpl.java
Outdated
Show resolved
Hide resolved
...st-client/src/main/java/org/glassfish/jersey/microprofile/restclient/RestClientProducer.java
Outdated
Show resolved
Hide resolved
...-client/src/main/java/org/glassfish/jersey/microprofile/restclient/SseMessageBodyReader.java
Outdated
Show resolved
Hide resolved
ext/microprofile/mp-rest-client/src/main/resources/javax.ws.rs.ext.Providers
Outdated
Show resolved
Hide resolved
Hi @jansupol The |
Hi @jGauravGupta , |
Hi @Verdent, If proxy address will be assigned directly to the properties then either host & port validation need to be duplicated in
|
Filed CQ 23011 for reactive streams 1.0.3 |
@jGauravGupta The splitting is OK to do, what I meant is that you do not have to save proxy parts to the fields. You can do that property setting directly in that proxy method after validation and not in the build method. |
So the PR brings two main parts as I see it:
Both parts are handled separately from the rest of Jersey so that Jersey without MP Rest Client may not benefit from the functionality and some code duplication takes place. For the
|
@jGauravGupta can you please rebase atop master so that the PR does contain just the relevant changes? Thank you |
Signed-off-by: Gaurav Gupta <gaurav.gupta@payara.fish>
Signed-off-by: Gaurav Gupta <gaurav.gupta@payara.fish>
Signed-off-by: Gaurav Gupta <gaurav.gupta@payara.fish>
Signed-off-by: Gaurav Gupta <gaurav.gupta@payara.fish>
Signed-off-by: Gaurav Gupta <gaurav.gupta@payara.fish>
Signed-off-by: Gaurav Gupta <gaurav.gupta@payara.fish>
… dependencies Signed-off-by: jansupol <jan.supol@oracle.com>
Signed-off-by: jansupol <jan.supol@oracle.com>
Signed-off-by: Gaurav Gupta <gaurav.gupta@payara.fish>
Signed-off-by: Gaurav Gupta <gaurav.gupta@payara.fish>
Signed-off-by: Gaurav Gupta <gaurav.gupta@payara.fish>
Signed-off-by: Gaurav Gupta <gaurav.gupta@payara.fish>
Signed-off-by: Gaurav Gupta <gaurav.gupta@payara.fish>
Signed-off-by: Gaurav Gupta <gaurav.gupta@payara.fish>
Signed-off-by: Gaurav Gupta <gaurav.gupta@payara.fish>
Signed-off-by: Gaurav Gupta <gaurav.gupta@payara.fish>
The CQ has been approved. |
Fixes Github issue: #4654
Signed-off-by: Gaurav Gupta gaurav.gupta@payara.fish
MP Rest Client 2.0 - QueryParamStyle support:
JerseyClient
,JerseyClientBuilder
, andJerseyUriBuilder
is extended by the MP Rest Client module to modify the query param based on theQueryParamStyle
.MP Rest Client 2.0 - CDI-managed provider:
Commit cherry-picked from #4695