Skip to content
This repository was archived by the owner on Jan 28, 2024. It is now read-only.

Commit df25657

Browse files
committedApr 11, 2023
chore: update ydh email domain
1 parent 6e2475d commit df25657

File tree

11 files changed

+15
-15
lines changed

11 files changed

+15
-15
lines changed
 

‎CODE_OF_CONDUCT.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ representative at an online or offline event.
5555
## Enforcement
5656

5757
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58-
reported to the community leader responsible for enforcement at frazer.smith@ydh.nhs.uk.
58+
reported to the community leader responsible for enforcement at frazer.smith@somersetft.nhs.uk.
5959
All complaints will be reviewed and investigated promptly and fairly.
6060

6161
All community leaders are obligated to respect the privacy and security of the

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ Example body of POST request:
129129
```json
130130
{
131131
"name": "Example Mirth Connect instance",
132-
"email": "frazer.smith@ydh.nhs.uk",
132+
"email": "frazer.smith@somersetft.nhs.uk",
133133
"expires": "2022-03-09",
134134
"scopes": ["contact.read", "contact.search"]
135135
}

‎SECURITY.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Disclosure policy
44

5-
Please email reports about any security-related issues you find to frazer.smith@ydh.nhs.uk or servicedesk@ydh.nhs.uk for the attention of the Solutions Development Team.
5+
Please email reports about any security-related issues you find to frazer.smith@somersetft.nhs.uk or servicedesk@somersetft.nhs.uk for the attention of the Solutions Development Team.
66
Please use a descriptive subject line in your report email, in addition to a reference or link to this repository in the body of the report.
77
After the initial reply to your report, the Solutions Development team will attempt to keep you informed of the progress being made towards a fix.
88

‎docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ services:
3737
labels:
3838
# Using OCI Image Format spec
3939
# See https://github.com/opencontainers/image-spec/blob/main/annotations.md
40-
org.opencontainers.image.authors: Frazer Smith <frazer.smith@ydh.nhs.uk>
40+
org.opencontainers.image.authors: Frazer Smith <frazer.smith@somersetft.nhs.uk>
4141
org.opencontainers.image.licenses: MIT
4242
org.opencontainers.image.url: https://github.com/Fdawgs/ydh-community-contacts-api
4343
logging:

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"url": "https://github.com/Fdawgs/ydh-community-contacts-api/issues"
1010
},
1111
"license": "MIT",
12-
"author": "Frazer Smith <frazer.smith@ydh.nhs.uk>",
12+
"author": "Frazer Smith <frazer.smith@somersetft.nhs.uk>",
1313
"funding": "https://justgiving.com/yeovilhospital",
1414
"engines": {
1515
"node": ">=18.12.1"

‎src/config/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ async function getConfig() {
235235
'<a href="https://yeovilhospital.co.uk/">Yeovil District Hospital NHSFT</a>\'s Community Contacts RESTful API, a Node.js application using the <a href="https://fastify.io/">Fastify web framework</a>, built to support CRUD (Create, Read, Update, and Delete) functionality of community midwife, health visitor, and school nurse team email addresses in YDH\'s catchment area.',
236236
contact: {
237237
name: "Author",
238-
email: "frazer.smith@ydh.nhs.uk",
238+
email: "frazer.smith@somersetft.nhs.uk",
239239
},
240240
license: {
241241
name: license,

‎src/routes/admin/access/bearer-token/route.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const testId = randomUUID();
1616

1717
const testReqPayload = {
1818
name: "Test Clinical System Supplier Product",
19-
email: "testFirstName.testLastName@ydh.nhs.uk",
19+
email: "testFirstName.testLastName@somersetft.nhs.uk",
2020
expires: "2022-11-07",
2121
scopes: ["contact.read", "contact.search"],
2222
};

‎src/routes/contact/route.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const testReqPayload = {
2626
},
2727
{
2828
system: "email",
29-
value: "examplemidwife@ydh.nhs.uk",
29+
value: "examplemidwife@somersetft.nhs.uk",
3030
use: "Community Midwives",
3131
},
3232
],

‎src/server.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const testContactTelecom = [
4242
},
4343
{
4444
system: "email",
45-
value: "examplemidwife@ydh.nhs.uk",
45+
value: "examplemidwife@somersetft.nhs.uk",
4646
use: "Community Midwives",
4747
},
4848
];

‎test_resources/insomnia_test_requests.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"method": "POST",
1616
"body": {
1717
"mimeType": "application/json",
18-
"text": "{\n\t\"name\": \"Mirth Connect instance\",\n\t\"email\": \"frazer.smith@ydh.nhs.uk\",\n\t\"expires\": \"2099-03-09\",\n\t\"scopes\": [\n\t\t\"contact.delete\",\n\t\t\"contact.read\",\n\t\t\"contact.search\",\n\t\t\"contact.put\",\n\t\t\"contact.post\"\n\t]\n}"
18+
"text": "{\n\t\"name\": \"Mirth Connect instance\",\n\t\"email\": \"frazer.smith@somersetft.nhs.uk\",\n\t\"expires\": \"2099-03-09\",\n\t\"scopes\": [\n\t\t\"contact.delete\",\n\t\t\"contact.read\",\n\t\t\"contact.search\",\n\t\t\"contact.put\",\n\t\t\"contact.post\"\n\t]\n}"
1919
},
2020
"parameters": [],
2121
"headers": [
@@ -301,7 +301,7 @@
301301
"method": "PUT",
302302
"body": {
303303
"mimeType": "application/json",
304-
"text": "{\n\t\"match\": {\n\t\t\"type\": \"postcode\",\n\t\t\"value\": \"TA12\",\n\t\t\"receiver\": \"Area North\"\n\t},\n\t\"telecom\": [\n\t\t{\n\t\t\t\"system\": \"email\",\n\t\t\t\"value\": \"examplehv@nhs.net\",\n\t\t\t\"use\": \"Health Visitors\"\n\t\t},\n\t\t{\n\t\t\t\"system\": \"email\",\n\t\t\t\"value\": \"examplemidwife@ydh.nhs.uk\",\n\t\t\t\"use\": \"Community Midwives\"\n\t\t}\n\t]\n}"
304+
"text": "{\n\t\"match\": {\n\t\t\"type\": \"postcode\",\n\t\t\"value\": \"TA12\",\n\t\t\"receiver\": \"Area North\"\n\t},\n\t\"telecom\": [\n\t\t{\n\t\t\t\"system\": \"email\",\n\t\t\t\"value\": \"examplehv@nhs.net\",\n\t\t\t\"use\": \"Health Visitors\"\n\t\t},\n\t\t{\n\t\t\t\"system\": \"email\",\n\t\t\t\"value\": \"examplemidwife@somersetft.nhs.uk\",\n\t\t\t\"use\": \"Community Midwives\"\n\t\t}\n\t]\n}"
305305
},
306306
"parameters": [],
307307
"headers": [
@@ -336,7 +336,7 @@
336336
"method": "POST",
337337
"body": {
338338
"mimeType": "application/json",
339-
"text": "{\n\t\"match\": {\n\t\t\"type\": \"postcode\",\n\t\t\"value\": \"TA12233\",\n\t\t\"receiver\": \"Area North\"\n\t},\n\t\"telecom\": [\n\t\t{\n\t\t\t\"system\": \"email\",\n\t\t\t\"value\": \"examplehv@nhs.net\",\n\t\t\t\"use\": \"\",\n\t\t\t\"test\": \"true\"\n\t\t},\n\t\t{\n\t\t\t\"system\": \"email\",\n\t\t\t\"value\": \"examplemidwife@ydh.nhs.uk\",\n\t\t\t\"use\": \"Community Midwives\"\n\t\t}\n\t]\n}"
339+
"text": "{\n\t\"match\": {\n\t\t\"type\": \"postcode\",\n\t\t\"value\": \"TA12233\",\n\t\t\"receiver\": \"Area North\"\n\t},\n\t\"telecom\": [\n\t\t{\n\t\t\t\"system\": \"email\",\n\t\t\t\"value\": \"examplehv@nhs.net\",\n\t\t\t\"use\": \"\",\n\t\t\t\"test\": \"true\"\n\t\t},\n\t\t{\n\t\t\t\"system\": \"email\",\n\t\t\t\"value\": \"examplemidwife@somersetft.nhs.uk\",\n\t\t\t\"use\": \"Community Midwives\"\n\t\t}\n\t]\n}"
340340
},
341341
"parameters": [],
342342
"headers": [
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
INSERT INTO lookup.contacts
22
(match_type, match_value, match_receiver, telecom)
33
VALUES
4-
('postcode', 'TA126JU', 'Area North', '[{ "system": "email", "value": "examplehv@nhs.net", "use": "Health Visitors"}, { "system": "email", "value": "examplemidwife@ydh.nhs.uk", "use": "Community Midwives"}]'),
5-
('postcode', 'TA12', 'Area North', '[{ "system": "email", "value": "examplehv@nhs.net", "use": "Health Visitors"}, { "system": "email", "value": "examplemidwife@ydh.nhs.uk", "use": "Community Midwives"}]'),
6-
('postcode', 'BA22', 'Yeovil', '[{ "system": "email", "value": "examplehv@nhs.net", "use": "Health Visitors"}, { "system": "email", "value": "examplemidwife@ydh.nhs.uk", "use": "Community Midwives"}]'),
4+
('postcode', 'TA126JU', 'Area North', '[{ "system": "email", "value": "examplehv@nhs.net", "use": "Health Visitors"}, { "system": "email", "value": "examplemidwife@somersetft.nhs.uk", "use": "Community Midwives"}]'),
5+
('postcode', 'TA12', 'Area North', '[{ "system": "email", "value": "examplehv@nhs.net", "use": "Health Visitors"}, { "system": "email", "value": "examplemidwife@somersetft.nhs.uk", "use": "Community Midwives"}]'),
6+
('postcode', 'BA22', 'Yeovil', '[{ "system": "email", "value": "examplehv@nhs.net", "use": "Health Visitors"}, { "system": "email", "value": "examplemidwife@somersetft.nhs.uk", "use": "Community Midwives"}]'),
77
('gp_id', 'J81019', 'Whitecliff Group Practice', '[{ "system": "email", "value": "examplemidwife@dchft.nhs.uk", "use": "Community Midwives"}]'),
88
('school_code', 'EE106751', 'Our Lady Of Mount Carmel Catholic Primary School, Wincanton,Wincanton', '[{"system": "email", "value": "exampleschoolnurse@somerset.gov.uk", "use": "School Nurse"}]')

0 commit comments

Comments
 (0)