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

Migrate Console Backend from JAX-RS to Spring Web MVC #6676

Closed
5 tasks done
Matthbo opened this issue Apr 15, 2024 · 1 comment · Fixed by #6755
Closed
5 tasks done

Migrate Console Backend from JAX-RS to Spring Web MVC #6676

Matthbo opened this issue Apr 15, 2024 · 1 comment · Fixed by #6755
Assignees
Labels
Milestone

Comments

@Matthbo
Copy link
Sponsor Member

Matthbo commented Apr 15, 2024

EPIC

Goal

Migrate from CXF using JAX-RS for API endpoints to Spring Web MVC

Description

The Console Backend currently relies on the CXF implementation of JAX-RS for handling RESTful services like the API endpoints. However, we've decided to migrate to Spring Web MVC as Spring is already being used and CXF with JAX-RS lacks proper support for things like WebSocket's or other modern web services.

Tasks

  • Add Spring Web MVC as a dependency
  • Run JAX-RS equivalents endpoints using Spring next to existing endpoints
  • Remove JAX-RS endpoints
  • Remove CXF dependencies
  • Change implementations to Spring Web only
@evandongen
Copy link
Contributor

See https://docs.spring.io/spring-framework/reference/web/webmvc/mvc-servlet/multipart.html - in spring 6, the default behavior of multipart has been changed, make sure to use setMultipartConfig and add a bean named 'multipartResolver'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants