Skip to content

Commit

Permalink
CMG-190 some code tidy - refactor bits of code where custody-manager …
Browse files Browse the repository at this point in the history
…is referenced (#154)

* CMG-190 some code tidy - refactor bits of code where custody-manager is referenced

* CMG-190 some code tidy - refactor bits of code where custody-manager is referenced
  • Loading branch information
yasinmustafa authored Nov 21, 2024
1 parent 260a3a0 commit 0816fc5
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 8 deletions.
1 change: 0 additions & 1 deletion helm_deploy/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ generic-service:
COMMON_COMPONENTS_ENABLED: true
PRISON_API_URL: "https://prison-api-dev.prison.service.justice.gov.uk"
PRISONER_SEARCH_API_URL: "https://prisoner-search-dev.prison.service.justice.gov.uk"
CUSTODY_MANAGER_API_URL: "https://custody-manager-api-dev.hmpps.service.justice.gov.uk"
DOCUMENT_API_URL: "https://document-api-dev.hmpps.service.justice.gov.uk"
DIGITAL_PRISON_SERVICES_URL: "https://digital-dev.prison.service.justice.gov.uk"
ENVIRONMENT_NAME: DEV
Expand Down
1 change: 0 additions & 1 deletion helm_deploy/values-preprod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ generic-service:
COMMON_COMPONENTS_ENABLED: true
PRISON_API_URL: "https://prison-api-preprod.prison.service.justice.gov.uk"
PRISONER_SEARCH_API_URL: "https://prisoner-search-preprod.prison.service.justice.gov.uk"
CUSTODY_MANAGER_API_URL: "https://custody-manager-api-preprod.hmpps.service.justice.gov.uk"
DOCUMENT_API_URL: "https://document-api-preprod.hmpps.service.justice.gov.uk"
DIGITAL_PRISON_SERVICES_URL: "https://digital-preprod.prison.service.justice.gov.uk"
ENVIRONMENT_NAME: PRE-PRODUCTION
Expand Down
1 change: 0 additions & 1 deletion helm_deploy/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ generic-service:
COMMON_COMPONENTS_ENABLED: true
PRISON_API_URL: "https://prison-api.prison.service.justice.gov.uk"
PRISONER_SEARCH_API_URL: "https://prisoner-search.prison.service.justice.gov.uk"
CUSTODY_MANAGER_API_URL: "https://custody-manager-api.hmpps.service.justice.gov.uk"
DOCUMENT_API_URL: "https://document-api.hmpps.service.justice.gov.uk"
DIGITAL_PRISON_SERVICES_URL: "https://digital.prison.service.justice.gov.uk"
ADJUSTMENTS_UI_URL: "https://adjust-release-dates.hmpps.service.justice.gov.uk"
Expand Down
2 changes: 1 addition & 1 deletion logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ import config from './server/config'

const formatOut = bunyanFormat({ outputMode: 'short', color: !config.production })

const logger = bunyan.createLogger({ name: 'HMPPS Custody Manager', stream: formatOut, level: 'debug' })
const logger = bunyan.createLogger({ name: 'HMPPS Court Cases and Release Dates', stream: formatOut, level: 'debug' })

export default logger
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "hmpps-court-cases-release-dates",
"version": "0.0.1",
"description": "HMPPS Custody Manager",
"description": "HMPPS Court Cases and Release Dates",
"repository": "[email protected]:ministryofjustice/hmpps-court-cases-release-dates.git",
"license": "MIT",
"scripts": {
Expand All @@ -28,7 +28,6 @@
"int-test-ui": "cypress open --e2e --browser chrome",
"clean": "rm -rf dist build node_modules stylesheets",
"generate-prisoner-search-api-types": "openapi-typescript https://prisoner-search-dev.prison.service.justice.gov.uk/v3/api-docs > ./server/@types/prisonerSearchApi/index.d.ts",
"generate-custody-manager-api-types": "openapi-typescript https://custody-manager-api-dev.hmpps.service.justice.gov.uk/v3/api-docs > ./server/@types/custodyManagerApi/index.d.ts",
"generate-document-management-api-types": "openapi-typescript https://document-api-dev.hmpps.service.justice.gov.uk/v3/api-docs > ./server/@types/documentManagementApi/index.d.ts",
"generate-adjustments-api-types": "openapi-typescript https://adjustments-api-dev.hmpps.service.justice.gov.uk/v3/api-docs > ./server/@types/adjustmentsApi/index.d.ts",
"generate-calculate-release-dates-api-types": "openapi-typescript https://calculate-release-dates-api-dev.hmpps.service.justice.gov.uk/v3/api-docs > ./server/@types/calculateReleaseDatesApi/index.d.ts",
Expand Down
Empty file.

0 comments on commit 0816fc5

Please sign in to comment.