Skip to content

Feature/10 persistent databases#81

Merged
f-s-h merged 6 commits into
mainfrom
feature/10-persistent-databases
Jun 12, 2026
Merged

Feature/10 persistent databases#81
f-s-h merged 6 commits into
mainfrom
feature/10-persistent-databases

Conversation

@raphael-frank

Copy link
Copy Markdown
Collaborator

Adds persistent PostgreSQL storage across all Spring microservices. Each service gets its own schema and least-privilege user, with Flyway migrations handling table creation (V1) and cross-schema foreign keys (V2). JPA repositories are added for all entities, Lombok is applied to eliminate boilerplate, and @EmbeddedId composite keys are inlined as static inner classes. The local Docker Compose stack and Helm chart are both updated with the necessary REFERENCES grants so cross-schema FK constraints work on fresh deploys without manual intervention. Minor fixes include the Keycloak router label override for local dev and suppressing the Checkstyle MethodName rule for Spring Data JPA derived query methods on @EmbeddedId fields.

closes #10

@raphael-frank raphael-frank requested a review from f-s-h June 12, 2026 14:28
@raphael-frank raphael-frank added the infra Issue regarding the infrastructure or CICD pipeline label Jun 12, 2026
# Conflicts:
#	infra/docker-compose.override.yml

@f-s-h f-s-h left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm

@f-s-h f-s-h merged commit fa22a86 into main Jun 12, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infra Issue regarding the infrastructure or CICD pipeline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PostgreSQL Persistent Databases

2 participants