Skip to content

Commit

Permalink
BAVL-550 removing now redundant legacy BVLS email code/configuration. (
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-crowson-moj authored Jan 13, 2025
1 parent ea46e44 commit 040c4d9
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 166 deletions.
51 changes: 0 additions & 51 deletions backend/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,55 +269,6 @@ export const apis = {
ui_url: process.env.CHANGE_SOMEONES_CELL_URL || 'http://localhost:3002',
},
}
export const notifications = {
enabled: process.env.NOTIFY_ENABLED ? process.env.NOTIFY_ENABLED === 'true' : true,
notifyKey: process.env.NOTIFY_API_KEY || '',
confirmBookingPrisonTemplateId: '391bb0e0-89b3-4aef-b11e-c6550b71fee8',
emails: {
WWI: {
omu: process.env.WANDSWORTH_OMU_EMAIL,
},
TSI: {
omu: process.env.THAMESIDE_OMU_EMAIL,
},
HEI: {
omu: process.env.HEWELL_OMU_EMAIL,
},
BWI: {
omu: process.env.BERWYN_OMU_EMAIL,
},
NMI: {
omu: process.env.NOTTINGHAM_OMU_EMAIL,
},
EYI: {
omu: process.env.ELMLEY_OMU_EMAIL,
},
BNI: {
omu: process.env.BULLINGDON_OMU_EMAIL,
},
PBI: {
omu: process.env.PETERBOROUGH_OMU_EMAIL,
},
BMI: {
omu: process.env.BIRMINGHAM_OMU_EMAIL,
},
NWI: {
omu: process.env.NORWICH_OMU_EMAIL,
},
PNI: {
omu: process.env.PRESTON_OMU_EMAIL,
},
BZI: {
omu: process.env.BRONZEFIELD_OMU_EMAIL,
},
PVI: {
omu: process.env.PENTONVILLE_OMU_EMAIL,
},
EXI: {
omu: process.env.EXETER_OMU_EMAIL,
},
},
}

export const phaseName = process.env.SYSTEM_PHASE

Expand All @@ -326,8 +277,6 @@ export default {
analytics,
hmppsCookie,
redis,
applications,
apis,
notifications,
phaseName,
}
9 changes: 0 additions & 9 deletions backend/setupNotifyClient.ts

This file was deleted.

10 changes: 0 additions & 10 deletions backend/shared/notifyClient.ts

This file was deleted.

2 changes: 0 additions & 2 deletions cypress.env
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ ALERTS_API_URL=http://localhost:9191/alerts-api/

MOIC_URL=http://omic-ui
API_CLIENT_ID=dev
WANDSWORTH_OMU_EMAIL=test@local
SOC_API_URL=http://localhost:9191/
SOC_UI_URL=http://soc/
USE_OF_FORCE_URL=http://use-of-force
Expand All @@ -44,7 +43,6 @@ MERCURY_SUBMIT_LIVE_ENABLED_DATE=
MANAGE_RESTRICTED_PATIENTS_URL=https://manage-restricted-patients

TOKENVERIFICATION_API_ENABLED=true
NOTIFY_ENABLED=false
DISPLAY_RETENTION_LINK=true
SOC_API_ENABLED=true
ESWE_ENABLED=true
Expand Down
15 changes: 0 additions & 15 deletions helm_deploy/digital-prison-services/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,21 +52,6 @@ generic-service:
GOOGLE_ANALYTICS_GA4_ID: "GOOGLE_ANALYTICS_GA4_ID"
GOOGLE_TAG_MANAGER_ID: "GOOGLE_TAG_MANAGER_ID"
SESSION_COOKIE_SECRET: "SESSION_COOKIE_SECRET"
NOTIFY_API_KEY: "NOTIFY_API_KEY"
WANDSWORTH_OMU_EMAIL: "WANDSWORTH_OMU_EMAIL"
THAMESIDE_OMU_EMAIL: "THAMESIDE_OMU_EMAIL"
HEWELL_OMU_EMAIL: "HEWELL_OMU_EMAIL"
BERWYN_OMU_EMAIL: "BERWYN_OMU_EMAIL"
ELMLEY_OMU_EMAIL: "ELMLEY_OMU_EMAIL"
NOTTINGHAM_OMU_EMAIL: "NOTTINGHAM_OMU_EMAIL"
BULLINGDON_OMU_EMAIL: "BULLINGDON_OMU_EMAIL"
PETERBOROUGH_OMU_EMAIL: "PETERBOROUGH_OMU_EMAIL"
BIRMINGHAM_OMU_EMAIL: "BIRMINGHAM_OMU_EMAIL"
NORWICH_OMU_EMAIL: "NORWICH_OMU_EMAIL"
PRESTON_OMU_EMAIL: "PRESTON_OMU_EMAIL"
BRONZEFIELD_OMU_EMAIL: "BRONZEFIELD_OMU_EMAIL"
PENTONVILLE_OMU_EMAIL: "PENTONVILLE_OMU_EMAIL"
EXETER_OMU_EMAIL: "EXETER_OMU_EMAIL"

dps-redis:
REDIS_HOST: "REDIS_HOST"
Expand Down
78 changes: 0 additions & 78 deletions package-lock.json

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

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
"nanoid": "^3.3.7",
"nocache": "^2.1.0",
"nock": "^13.3.8",
"notifications-node-client": "^7.0.6",
"nunjucks": "^3.2.4",
"passport": "^0.6.0",
"passport-oauth2": "^1.7.0",
Expand Down

0 comments on commit 040c4d9

Please sign in to comment.