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

Adds Nima WebClient Shortcuts for media support #6951

Merged
merged 3 commits into from Jun 13, 2023

Conversation

ljnelson
Copy link
Member

@ljnelson ljnelson commented Jun 5, 2023

This PR tries to do the equivalent of what #6564 does on the server side with as few changes as possible. This is not my area at all so please do let me know what I've done wrong.

@ljnelson ljnelson added webclient media-support Media type processing in SE 4.x Version 4.x Níma Helidon Níma labels Jun 5, 2023
@ljnelson ljnelson self-assigned this Jun 5, 2023
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jun 5, 2023
@ljnelson ljnelson added this to In Progress in Backlog Jun 6, 2023
@ljnelson ljnelson linked an issue Jun 6, 2023 that may be closed by this pull request
@ljnelson ljnelson marked this pull request as ready for review June 6, 2023 03:24
@ljnelson ljnelson moved this from In Progress to Sprint Scope in Backlog Jun 6, 2023
Copy link
Member

@klustria klustria left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not really a MediaContext expert, but in comparison to the Server implementation, the changes seem to look fine to me. The only comment I may have, and maybe this is more of a question... is it possible to add a test on this in nima/tests/integration/webclient to test out new shortcut like addMediaSupport like below:

        WebClient webClient = WebClient.builder()
                ...
                .addMediaSupport(JsonpSupport.create())
                ...
                .build();

Signed-off-by: Laird Nelson <laird.nelson@oracle.com>
klustria
klustria previously approved these changes Jun 13, 2023
Copy link
Member

@klustria klustria left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, hence approving. Would be good to create a tracking issue to see if we can add a unit or an integration test for this.

Signed-off-by: Laird Nelson <laird.nelson@oracle.com>
@ljnelson ljnelson dismissed stale reviews from romain-grecourt and klustria via 89dc0e2 June 13, 2023 19:05
Signed-off-by: Laird Nelson <laird.nelson@oracle.com>
@ljnelson ljnelson requested a review from klustria June 13, 2023 20:10
Copy link
Member

@klustria klustria left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM....re-approving

@ljnelson ljnelson merged commit 992699c into helidon-io:main Jun 13, 2023
12 checks passed
Backlog automation moved this from Sprint Scope to Closed Jun 13, 2023
@ljnelson ljnelson deleted the 6927-0 branch June 13, 2023 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x Version 4.x media-support Media type processing in SE Níma Helidon Níma OCA Verified All contributors have signed the Oracle Contributor Agreement. webclient
Projects
Backlog
  
Closed
Development

Successfully merging this pull request may close these issues.

Nima WebClient Shortcuts for media support
3 participants