diff --git a/helm_deploy/values-dev.yaml b/helm_deploy/values-dev.yaml index 0e89736..5439c18 100644 --- a/helm_deploy/values-dev.yaml +++ b/helm_deploy/values-dev.yaml @@ -9,11 +9,7 @@ generic-service: env: APPLICATIONINSIGHTS_CONFIGURATION_FILE: "applicationinsights.dev.json" - HMPPS_AUTH_URL: "https://sign-in-dev.hmpps.service.justice.gov.uk/auth" - EXAMPLE_API_URL: "https://organisations-api-dev.hmpps.service.justice.gov.uk" API_BASE_URL_HMPPS_AUTH: "https://sign-in-dev.hmpps.service.justice.gov.uk/auth" - API_BASE_URL_PRISONER_SEARCH: "https://prisoner-search-dev.prison.service.justice.gov.uk" - API_BASE_URL_MANAGE_USERS: "https://manage-users-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 diff --git a/helm_deploy/values-preprod.yaml b/helm_deploy/values-preprod.yaml index 1eb6c73..c93a20a 100644 --- a/helm_deploy/values-preprod.yaml +++ b/helm_deploy/values-preprod.yaml @@ -9,12 +9,7 @@ generic-service: env: APPLICATIONINSIGHTS_CONFIGURATION_FILE: "applicationinsights.dev.json" - HMPPS_AUTH_URL: "https://sign-in-preprod.hmpps.service.justice.gov.uk/auth" - EXAMPLE_API_URL: "https://organisations-api-preprod.hmpps.service.justice.gov.uk" API_BASE_URL_HMPPS_AUTH: "https://sign-in-preprod.hmpps.service.justice.gov.uk/auth" - API_BASE_URL_PRISONER_SEARCH: "https://prisoner-search-preprod.prison.service.justice.gov.uk" - API_BASE_URL_MANAGE_USERS: "https://manage-users-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 diff --git a/helm_deploy/values-prod.yaml b/helm_deploy/values-prod.yaml index 1005158..a911d85 100644 --- a/helm_deploy/values-prod.yaml +++ b/helm_deploy/values-prod.yaml @@ -6,11 +6,7 @@ generic-service: host: organisations-api.hmpps.service.justice.gov.uk env: - HMPPS_AUTH_URL: "https://sign-in.hmpps.service.justice.gov.uk/auth" - EXAMPLE_API_URL: "https://organisations-api.hmpps.service.justice.gov.uk" API_BASE_URL_HMPPS_AUTH: "https://sign-in.hmpps.service.justice.gov.uk/auth" - API_BASE_URL_PRISONER_SEARCH: "https://prisoner-search.prison.service.justice.gov.uk" - API_BASE_URL_MANAGE_USERS: "https://manage-users-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 diff --git a/run-local.sh b/run-local.sh old mode 100644 new mode 100755 index c1a0cbc..1e23975 --- a/run-local.sh +++ b/run-local.sh @@ -1,5 +1,5 @@ # -# This script is used to run the Book a video link API locally. +# This script is used to run the Organisations API locally. # # It runs with a combination of properties from the default spring profile (in application.yaml) and supplemented # with the -local profile (from application-local.yml). The latter overrides some of the defaults. diff --git a/src/main/kotlin/uk/gov/justice/digital/hmpps/organisationsapi/config/OpenApiConfiguration.kt b/src/main/kotlin/uk/gov/justice/digital/hmpps/organisationsapi/config/OpenApiConfiguration.kt index dfcc612..672f6a0 100644 --- a/src/main/kotlin/uk/gov/justice/digital/hmpps/organisationsapi/config/OpenApiConfiguration.kt +++ b/src/main/kotlin/uk/gov/justice/digital/hmpps/organisationsapi/config/OpenApiConfiguration.kt @@ -39,7 +39,7 @@ class OpenApiConfiguration(buildProperties: BuildProperties) { ) .info( Info() - .title("Contacts API") + .title("Organisations API") .version(version) .description("API for the management of organisations and their contact details.") .contact( diff --git a/src/test/kotlin/uk/gov/justice/digital/hmpps/organisationsapi/integration/OpenApiDocsTest.kt b/src/test/kotlin/uk/gov/justice/digital/hmpps/organisationsapi/integration/OpenApiDocsTest.kt index 7c41683..b674ad8 100644 --- a/src/test/kotlin/uk/gov/justice/digital/hmpps/organisationsapi/integration/OpenApiDocsTest.kt +++ b/src/test/kotlin/uk/gov/justice/digital/hmpps/organisationsapi/integration/OpenApiDocsTest.kt @@ -86,7 +86,7 @@ class OpenApiDocsTest : IntegrationTestBase() { .jsonPath("$.components.securitySchemes.$key.scheme").isEqualTo("bearer") .jsonPath("$.components.securitySchemes.$key.bearerFormat").isEqualTo("JWT") - // assertThat(body).toString().isNotEmpty() + // TODO: Can add more checks here as more endpoints and documentation is added } @Test