Skip to content

Feature/amp 126 subscriptions db#2

Merged
coling01 merged 12 commits intomainfrom
feature/amp-126-subscriptions-db
Dec 11, 2025
Merged

Feature/amp 126 subscriptions db#2
coling01 merged 12 commits intomainfrom
feature/amp-126-subscriptions-db

Conversation

@coling01
Copy link
Collaborator

@coling01 coling01 commented Dec 9, 2025

No description provided.

* Add flyway to create tables and fk constraint
* Add entities
* Add repositories
* Add repository tests to prove flyway and jpa line up ok
* Add flyway to create tables and fk constraint
* Add entities
* Add repositories
* Add repository tests to prove flyway and jpa line up ok
* Add flyway to create tables and fk constraint
* Add entities
* Add repositories
* Add repository tests to prove flyway and jpa line up ok
* Add flyway to create tables and fk constraint
* Add entities
* Add repositories
* Add repository tests to prove flyway and jpa line up ok
* Add MapStruct mapper layer
* Add simple service layer
* Add flyway to create tables and fk constraint
* Add entities
* Add repositories
* Add repository tests to prove flyway and jpa line up ok
* Add MapStruct mapper layer
* Add simple service layer
* Make subscription id a uuid
@coling01 coling01 requested a review from a team as a code owner December 10, 2025 13:08
* Move dockerfiles to root
* Bring in api-test.gradle
* Config app.yaml and dockerfile to line up for api-test
* Move dockerfiles to root
* Bring in api-test.gradle
* Config app.yaml and dockerfile to line up for api-test
implementation('uk.gov.hmcts.cp:api-cp-crime-courthearing-cases-results:0.0.0-a65d290')

// Lets add this to the api because we need it to prevent its openapi NotNull errors
implementation("io.swagger.core.v3:swagger-annotations:2.2.41")
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

wioll get rid of this next PR when pull in the proper api spec

tasks.named('build') {
dependsOn tasks.named('test')
dependsOn tasks.named('api')
dependsOn tasks.named('apiTest')
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we want to run api tests as part of the build or after the build? Will these api test interact with CP services?

spring:
application:
name: service-hmcts-springboot-demo-postgres
jpa:
Copy link
Contributor

Choose a reason for hiding this comment

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

name looks incorrect

Copy link
Contributor

@samirgarg samirgarg left a comment

Choose a reason for hiding this comment

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

Pending review for all business classes in later MR

Copy link
Contributor

@madhusudan-yasa madhusudan-yasa left a comment

Choose a reason for hiding this comment

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

All initial changes looks good

@coling01 coling01 merged commit ebd0c24 into main Dec 11, 2025
10 checks passed
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 this pull request may close these issues.

3 participants