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

Níma: shortcut methods for media support(s) #6421

Closed
Tomas-Kraus opened this issue Mar 16, 2023 · 1 comment
Closed

Níma: shortcut methods for media support(s) #6421

Tomas-Kraus opened this issue Mar 16, 2023 · 1 comment
Assignees
Labels
4.x Version 4.x Níma Helidon Níma P3 task To do webserver
Projects
Milestone

Comments

@Tomas-Kraus
Copy link
Member

Tomas-Kraus commented Mar 16, 2023

Issue #6278 follow up.

In reactive, we can configure media support directly on web server builder. This would require a new interface (e.g. MediaSupport) to be created by the provider.
So users can register JsonSupport.create() instead of creating a new instance of a service loader provider implementation

@Tomas-Kraus Tomas-Kraus added webserver 4.x Version 4.x Níma Helidon Níma builder Related to the builder support labels Mar 16, 2023
@github-actions github-actions bot added this to Triage in Backlog Mar 16, 2023
@m0mus m0mus added this to the 4.0.0-M2 milestone Mar 16, 2023
@tomas-langer tomas-langer changed the title Common Builder API for Nima and reactive webserver Níma: shortcut methods for media support(s) Mar 16, 2023
@m0mus m0mus added the P3 label Mar 16, 2023
@m0mus m0mus moved this from Triage to Normal priority in Backlog Mar 16, 2023
@tomas-langer tomas-langer added task To do and removed builder Related to the builder support labels Mar 16, 2023
@tomas-langer tomas-langer self-assigned this Mar 23, 2023
@tomas-langer
Copy link
Member

The new approach should support:

  • customization of underlying features (custom ObjectMapper for Jackson, JSON-B and JSON-P as well)
  • using config to set up the underlying features
  • customizing supported media types

The config based approach would ideally work for the service providers as well, if feasible (e.g. if I construct my MediaContext from Config)

@tomas-langer tomas-langer moved this from Normal priority to Sprint Scope in Backlog Mar 28, 2023
Backlog automation moved this from Sprint Scope to Closed Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x Version 4.x Níma Helidon Níma P3 task To do webserver
Projects
Backlog
  
Closed
Development

No branches or pull requests

4 participants