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

Convert REST API to Java #1699

Open
steven-sheehy opened this issue Mar 10, 2021 · 0 comments
Open

Convert REST API to Java #1699

steven-sheehy opened this issue Mar 10, 2021 · 0 comments
Labels
enhancement Type: New feature epic Type: Large user story that encompasses multiple tasks rest-java Area: Java REST API technical debt

Comments

@steven-sheehy
Copy link
Member

steven-sheehy commented Mar 10, 2021

Problem
The current JavaScript REST API component is not properly layered, mixing HTTP, business logic and SQL construction all within the same layer. The SQL construction in particular is quite error prone and a maintenance burden. We'd also like to reuse code with other modules.

Solution
Convert the REST API to Spring WebFlux and JPA. Using the OpenAPI spec as a contract, generate the Spring WebFlux scaffolding and fill in the service and repository layers. As this is a large effort, we should do it one by one hiding the separate processes behind an API gateway so they appear as a unified API.

Alternatives
Properly layer current module into controller, service, domain and ORM-based repository layer.

Additional Context

@steven-sheehy steven-sheehy added enhancement Type: New feature technical debt rest Area: REST API labels Mar 10, 2021
@steven-sheehy steven-sheehy added the epic Type: Large user story that encompasses multiple tasks label Nov 23, 2022
@steven-sheehy steven-sheehy changed the title Convert REST API to Spring MVC Convert REST API to Java Jun 20, 2023
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Mirror Node Jul 31, 2023
@steven-sheehy steven-sheehy moved this from 📋 Backlog to 🏃‍♀ Sprint backlog in Mirror Node Jul 31, 2023
@steven-sheehy steven-sheehy added rest-java Area: Java REST API and removed rest Area: REST API labels Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Type: New feature epic Type: Large user story that encompasses multiple tasks rest-java Area: Java REST API technical debt
Projects
Status: 🏃‍♀ Sprint backlog
Development

No branches or pull requests

1 participant