generated from ministryofjustice/hmpps-template-kotlin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix API clients 1) MN API client: missing body 2) JB API client: scopes' separator 3) Error & debug logging 4) Rename container name of local `hmpps-auth` (avoid conflict at Docker) Fix JPA auditing - enable JPA auditing for `@CreatedDate` and `@LastModifiedDate`
- Loading branch information
1 parent
80d2ffa
commit 8c256ff
Showing
7 changed files
with
77 additions
and
8 deletions.
There are no files selected for viewing
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
8 changes: 8 additions & 0 deletions
8
src/main/kotlin/uk/gov/justice/digital/hmpps/jobsboardintegrationapi/config/JpaConfig.kt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package uk.gov.justice.digital.hmpps.jobsboardintegrationapi.config | ||
|
||
import org.springframework.context.annotation.Configuration | ||
import org.springframework.data.jpa.repository.config.EnableJpaAuditing | ||
|
||
@Configuration | ||
@EnableJpaAuditing | ||
class JpaConfig |
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
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
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
23 changes: 23 additions & 0 deletions
23
src/main/resources/META-INF/additional-spring-configuration-metadata.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"properties": [ | ||
{ | ||
"name": "api.base.url.jobsboard", | ||
"type": "java.lang.String", | ||
"description": "Base URL for Jobs Board APIs" | ||
}, | ||
{ | ||
"name": "api.base.url.mnjobboard", | ||
"type": "java.lang.String", | ||
"description": "Base URL for MN Job Board APIs" | ||
}, | ||
{ | ||
"name": "api.integration.enabled", | ||
"type": "java.lang.String", | ||
"description": "Feature flag to switch on/off JobsBoard-to-MN-Job-Board Integration functions" | ||
}, | ||
{ | ||
"name": "api.client.logging.enabled", | ||
"type": "java.lang.String", | ||
"description": "Enabling client logging at API Web Client; disabled by default" | ||
} | ||
] } |
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