Skip to content

Commit

Permalink
port changes
Browse files Browse the repository at this point in the history
  • Loading branch information
karlfosterBCL committed Mar 7, 2025
1 parent d1fe8c1 commit 1c8f95e
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ jobs:
env:
SERVICES: sqs,sns
DEFAULT_REGION: eu-west-2
ports:
- 4566:4566
postgres:
image: postgres:17
env:
Expand Down
2 changes: 2 additions & 0 deletions helm_deploy/hmpps-breach-notice-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ generic-service:
namespace_secrets:
hmpps-breach-notice-api:
APPINSIGHTS_INSTRUMENTATIONKEY: "APPINSIGHTS_INSTRUMENTATIONKEY"
HMPPS-AUTH_CLIENT-ID: CLIENT_CREDS_CLIENT_ID
HMPPS-AUTH-SECRET: CLIENT_CREDS_CLIENT_SECRET
rds-instance-output:
DATABASE_ENDPOINT: rds_instance_endpoint
DATABASE_USERNAME: database_username
Expand Down
7 changes: 7 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ spring:
resourceserver:
jwt:
jwk-set-uri: ${hmpps-auth.url}/.well-known/jwks.json
# client:
# registration:
# default:
# provider: hmpps-auth
# authorization-grant-type: client_credentials
# client-id: ${hmpps-auth.client-id}
# client-secret: ${hmpps-auth.client-secret}

server:
port: 8080
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ class DomainEventTest : IntegrationTestBase() {
assertThat(breachNoticeUpdated).isNotNull
assertThat(breachNoticeUpdated.crn).isEqualTo("X000102")
assertThat(breachNoticeUpdated.id).isNotNull()
assertThat(breachNoticeUpdated.reviewRequiredDate).isNotNull()
assertThat(breachNoticeUpdated.reviewEvent).isEqualTo("MERGE")
}
}
}
Expand Down

0 comments on commit 1c8f95e

Please sign in to comment.