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

Make the web-server database-capable for caching #3634

Open
lorriborri opened this issue Nov 20, 2024 · 0 comments · May be fixed by #3636
Open

Make the web-server database-capable for caching #3634

lorriborri opened this issue Nov 20, 2024 · 0 comments · May be fixed by #3636

Comments

@lorriborri
Copy link
Member

Situation

We need to enhance the web-server to be database-capable and use the database as a cache for the web-ui SPA to reduce load on the SecHub server.

Wanted

Local database with test data for local web-ui and web-server development and testing.

Solution

  1. Integrate Hibernate into project
  2. Configure the database connection using environment variables
  3. Add Flyway to manage database migrations
  • Create a user table and necessary relations using Flyway
  • Develop an initialization script with default data, activated by a profile
  • Enable the H2 database for testing purposes via a profile
  1. Ensure seamless integration with PostgreSQL across Dev, Int, and Prod environments
@lorriborri lorriborri linked a pull request Nov 20, 2024 that will close this issue
lorriborri added a commit that referenced this issue Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant