Skip to content

Commit

Permalink
PRC-430: Tidying small copy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
timharrison-moj committed Feb 3, 2025
1 parent bd1e322 commit 367e9e1
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 16 deletions.
4 changes: 0 additions & 4 deletions helm_deploy/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions helm_deploy/values-preprod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions helm_deploy/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion run-local.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 367e9e1

Please sign in to comment.