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.
- Loading branch information
runner
committed
Jan 6, 2025
1 parent
a79997f
commit a03dd66
Showing
34 changed files
with
78 additions
and
78 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
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
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
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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
helm_deploy/hmpps-template-kotlin/Chart.yaml → ...ploy/hmpps-learner-records-api/Chart.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
--- | ||
# Per environment values which override defaults in hmpps-template-kotlin/values.yaml | ||
# Per environment values which override defaults in hmpps-learner-records-api/values.yaml | ||
|
||
generic-service: | ||
replicaCount: 2 | ||
|
||
ingress: | ||
host: template-kotlin-dev.hmpps.service.justice.gov.uk | ||
host: learner-records-api-dev.hmpps.service.justice.gov.uk | ||
|
||
env: | ||
APPLICATIONINSIGHTS_CONFIGURATION_FILE: "applicationinsights.dev.json" | ||
HMPPS_AUTH_URL: "https://sign-in-dev.hmpps.service.justice.gov.uk/auth" | ||
# Template kotlin calls out to itself to provide an example of a service call | ||
# TODO: This should be replaced by a call to a different service, or removed | ||
EXAMPLE_API_URL: "https://template-kotlin-dev.hmpps.service.justice.gov.uk" | ||
EXAMPLE_API_URL: "https://learner-records-api-dev.hmpps.service.justice.gov.uk" | ||
|
||
# CloudPlatform AlertManager receiver to route prometheus alerts to slack | ||
# See https://user-guide.cloud-platform.service.justice.gov.uk/documentation/monitoring-an-app/how-to-create-alarms.html#creating-your-own-custom-alerts | ||
generic-prometheus-alerts: | ||
alertSeverity: NON_PROD_ALERTS_SEVERITY_LABEL | ||
alertSeverity: digital-prison-service-dev |
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 |
---|---|---|
@@ -1,20 +1,20 @@ | ||
--- | ||
# Per environment values which override defaults in hmpps-template-kotlin/values.yaml | ||
# Per environment values which override defaults in hmpps-learner-records-api/values.yaml | ||
|
||
generic-service: | ||
replicaCount: 2 | ||
|
||
ingress: | ||
host: template-kotlin-preprod.hmpps.service.justice.gov.uk | ||
host: learner-records-api-preprod.hmpps.service.justice.gov.uk | ||
|
||
env: | ||
APPLICATIONINSIGHTS_CONFIGURATION_FILE: "applicationinsights.dev.json" | ||
HMPPS_AUTH_URL: "https://sign-in-preprod.hmpps.service.justice.gov.uk/auth" | ||
# Template kotlin calls out to itself to provide an example of a service call | ||
# TODO: This should be replaced by a call to a different service, or removed | ||
EXAMPLE_API_URL: "https://template-kotlin-preprod.hmpps.service.justice.gov.uk" | ||
EXAMPLE_API_URL: "https://learner-records-api-preprod.hmpps.service.justice.gov.uk" | ||
|
||
# CloudPlatform AlertManager receiver to route prometheus alerts to slack | ||
# See https://user-guide.cloud-platform.service.justice.gov.uk/documentation/monitoring-an-app/how-to-create-alarms.html#creating-your-own-custom-alerts | ||
generic-prometheus-alerts: | ||
alertSeverity: NON_PROD_ALERTS_SEVERITY_LABEL | ||
alertSeverity: digital-prison-service-dev |
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 |
---|---|---|
@@ -1,17 +1,17 @@ | ||
--- | ||
# Per environment values which override defaults in hmpps-template-kotlin/values.yaml | ||
# Per environment values which override defaults in hmpps-learner-records-api/values.yaml | ||
|
||
generic-service: | ||
ingress: | ||
host: template-kotlin.hmpps.service.justice.gov.uk | ||
host: learner-records-api.hmpps.service.justice.gov.uk | ||
|
||
env: | ||
HMPPS_AUTH_URL: "https://sign-in.hmpps.service.justice.gov.uk/auth" | ||
# Template kotlin calls out to itself to provide an example of a service call | ||
# TODO: This should be replaced by a call to a different service, or removed | ||
EXAMPLE_API_URL: "https://template-kotlin.hmpps.service.justice.gov.uk" | ||
EXAMPLE_API_URL: "https://learner-records-api.hmpps.service.justice.gov.uk" | ||
|
||
# CloudPlatform AlertManager receiver to route prometheus alerts to slack | ||
# See https://user-guide.cloud-platform.service.justice.gov.uk/documentation/monitoring-an-app/how-to-create-alarms.html#creating-your-own-custom-alerts | ||
generic-prometheus-alerts: | ||
alertSeverity: PROD_ALERTS_SEVERITY_LABEL | ||
alertSeverity: digital-prison-service |
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 |
---|---|---|
@@ -1 +1 @@ | ||
rootProject.name = "hmpps-template-kotlin" | ||
rootProject.name = "hmpps-learner-records-api" |
6 changes: 3 additions & 3 deletions
6
...emplatepackagename/HmppsTemplateKotlin.kt → ...ps/learnerrecordsapi/LearnerRecordsApi.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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
package uk.gov.justice.digital.hmpps.templatepackagename | ||
package uk.gov.justice.digital.hmpps.learnerrecordsapi | ||
|
||
import org.springframework.boot.autoconfigure.SpringBootApplication | ||
import org.springframework.boot.runApplication | ||
|
||
@SpringBootApplication | ||
class HmppsTemplateKotlin | ||
class LearnerRecordsApi | ||
|
||
fun main(args: Array<String>) { | ||
runApplication<HmppsTemplateKotlin>(*args) | ||
runApplication<LearnerRecordsApi>(*args) | ||
} |
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
2 changes: 1 addition & 1 deletion
2
...kagename/config/WebClientConfiguration.kt → ...cordsapi/config/WebClientConfiguration.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
2 changes: 1 addition & 1 deletion
2
...latepackagename/health/HealthPingCheck.kt → ...arnerrecordsapi/health/HealthPingCheck.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
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
2 changes: 1 addition & 1 deletion
2
...epackagename/service/ExampleApiService.kt → ...errecordsapi/service/ExampleApiService.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
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
Oops, something went wrong.