generated from hmcts/spring-boot-template
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature: Hibernate Setup #62
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Conflicts: # build.gradle
# Conflicts: # build.gradle # charts/pre-api/values.yaml # src/main/resources/application.yaml
# Conflicts: # build.gradle
jasonpaige
requested changes
Nov 30, 2023
src/integrationTest/java/uk/gov/hmcts/reform/preapi/entities/AppAccessTest.java
Show resolved
Hide resolved
src/main/java/uk/gov/hmcts/reform/preapi/config/OpenAPIConfiguration.java
Show resolved
Hide resolved
src/main/java/uk/gov/hmcts/reform/preapi/enums/RecordingStatus.java
Outdated
Show resolved
Hide resolved
jasonpaige
approved these changes
Nov 30, 2023
Merged
LaurenceRawlings
pushed a commit
that referenced
this pull request
Feb 14, 2024
* Added hibernate, postgres, lombok and flyway. Set java version to 17. * Updated Open API config * Added local docker compose to generate local db * Updated application.yaml with settings for hibernate and flyway * Added placeholder code for variables needed from key vault * Added SQL script to generate the database via flyway * Updated values.yaml to get correct environment variables from key vault * Fixed environment vars in docker-compose-local.yml * Updated README with details for running local docker image * Hibernate and rest controller for recording * checkstyle fix * Remove old code for old db + created enums for new db types * Remove old db schema * Fix Application.java re-added * Add updated hibernate entities * Add updated hibernate repositories * Move id field out of each entity into base entity class * Remove unused imports * Remove setting fields to false * Fix Class cannot have field of same name * Add PMD suppressing on the enums * Fix spacing * Fix editInstruction column with type json * Add tests for each of the entities and a helper class to generate entities * Fix checkstyle and pmd * Added hibernate, postgres, lombok and flyway. Set java version to 17. * Updated Open API config * Added local docker compose to generate local db * Updated application.yaml with settings for hibernate and flyway * Added placeholder code for variables needed from key vault * Added SQL script to generate the database via flyway * Fixed environment vars in docker-compose-local.yml * Updated README with details for running local docker image * Hibernate and rest controller for recording * checkstyle fix * removed duplicate flyway gradle tasks * Bumping chart version/ fixing aliases * Remove old code for old db * Remove old code for old db * Fix Enum types work correctly now * Remove BookingParticipant entity and replaced with many to many * Update entities to match new schema changes * Update entities to match new schema changes (deleted -> deleted_at) * Fix Tests for updated entities * Styling * Styling * Update entities to match new schema changes (capture session, recording) * Revert readme changes * Update build.gradle * Move schema file db.migrations -> db.migration * Revert springboot version to fix enum errors * Move tests to integration testing * Remove timezone setting * Add comment for downgraded spring plugin * Add default test user to entity factory * Capitalize enums in db and code * Update column definition default --------- Co-authored-by: Jason Paige <[email protected]> Co-authored-by: hmcts-jenkins-cnp <60659747+hmcts-jenkins-cnp[bot]@users.noreply.github.com> Co-authored-by: Jason Paige <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/S28-2157
Change description
Does this PR introduce a breaking change? (check one with "x")