Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(DTFS-7049): added POST /emails endpoint for sending emails using GOV.UK Notify service #820

Merged
merged 32 commits into from
May 31, 2024
Merged
Show file tree
Hide file tree
Changes from 31 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
f572563
feat(DTFS2-7049): adding new dependency package notifications-node-cl…
avaitonis Apr 16, 2024
346b81b
feat(DTFS2-7049): fix lint dependency
avaitonis Apr 16, 2024
e460153
feat(DTFS2-7049): a lot of functionality for sending emails and tests
avaitonis Apr 23, 2024
60a8504
feat(DTFS2-7049): constants, cleanup, refactoring
avaitonis Apr 25, 2024
12a472b
feat(DTFS2-7049): clean up
avaitonis Apr 25, 2024
6a87b26
feat(DTFS2-7049): test email in POST body using new email helper, imp…
avaitonis Apr 29, 2024
d3b858f
Merge remote-tracking branch 'origin/main' into feat/DTFS2-7049/new-e…
avaitonis Apr 29, 2024
45a9885
feat(DTFS2-7049): refactor testing helpers, other improvements for PR
avaitonis Apr 30, 2024
692dba6
Merge remote-tracking branch 'origin/main' into feat/DTFS2-7049/new-e…
avaitonis May 13, 2024
dcc8255
feat(DTFS2-7049): extra tests for edge cases, when request body is empty
avaitonis May 14, 2024
071d164
feat(DTFS2-7049): updating api snapshot
avaitonis May 14, 2024
b2ca686
feat(DTFS2-7049): removing dependency 'escape-string-regexp'
avaitonis May 17, 2024
7fb190f
feat(DTFS2-7049): changed POST mail response description
avaitonis May 17, 2024
804327b
feat(DTFS2-7049): added 500 exception to GOVUK Notify service
avaitonis May 17, 2024
b0daef4
feat(DTFS2-7049): tests improvements, added logger for Gov.uk Notify …
avaitonis May 17, 2024
31f1f65
feat(DTFS2-7049): added exception types to function signatures
avaitonis May 17, 2024
eb238c6
feat(DTFS2-7049): various PR fixes
avaitonis May 17, 2024
c8b6de0
feat(DTFS2-7049): added jsdoc to describe function exception list usi…
avaitonis May 20, 2024
4ad57fa
feat(DTFS2-7049): added type and return type to test helper prepareMo…
avaitonis May 20, 2024
a9ea85a
feat(DTFS2-7049): unit test for test helper prepareModifiedRequest
avaitonis May 20, 2024
7118143
Merge remote-tracking branch 'origin/main' into feat/DTFS2-7049/new-e…
avaitonis May 20, 2024
e44213f
Apply suggestions from code review
avaitonis May 22, 2024
e0e099e
feat(DTFS2-7049): fixing PR issues
avaitonis May 24, 2024
71e44ff
feat(DTFS2-7049): fixed tests caused by removal of global transformer…
avaitonis May 24, 2024
3bb8d71
feat(DTFS2-7049): removed BadRequestException tests moving payload to…
avaitonis May 24, 2024
8acb0e9
Merge remote-tracking branch 'origin/main' into feat/DTFS2-7049/new-e…
avaitonis May 24, 2024
c14fa49
feat(DTFS2-7049): test unknown Gov.UK Notify responses
avaitonis May 31, 2024
c14c735
Apply suggestions from code review
avaitonis May 31, 2024
9e2d28b
Merge remote-tracking branch 'origin/main' into feat/DTFS2-7049/new-e…
avaitonis May 31, 2024
389ddf5
Merge branch 'feat/DTFS2-7049/new-external-gov-notify-api' of https:/…
avaitonis May 31, 2024
86b5b4d
feat(DTFS2-7049): return error message as string instead of array
avaitonis May 31, 2024
0e61f53
Merge remote-tracking branch 'origin/main' into feat/DTFS2-7049/new-e…
avaitonis May 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"acbs",
"APIM",
"azurecr",
"Bloggs",
"BBALIBOR",
"BLPU",
"BLPUs",
Expand All @@ -38,6 +39,7 @@
"ESRA",
"ESTR",
"EWCS",
"Govuk",
"hjlnp",
"HJLNP",
"huskyrc",
Expand All @@ -54,6 +56,7 @@
"satify",
"snet",
"szenius",
"tmpl",
"TOID",
"typeorm",
"Typeorm",
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* **DTFS2-7052:** actioning PR comments ([e012eb4](https://github.com/UK-Export-Finance/mdm-api/commit/e012eb4a7912dcb254bfa0e7c2f5d2794f11ab58))
* **DTFS2-7052:** actioning PR comments ([7d15b07](https://github.com/UK-Export-Finance/mdm-api/commit/7d15b07ef4126f99ffcf6189deac2b2391633edd))
* **DTFS2-7052:** adding constants and examples ([a3d5433](https://github.com/UK-Export-Finance/mdm-api/commit/a3d54338610f50f4824d6c6eeffa50ebdb6e91a2))
* **DTFS2-7052:** adding typescript include for json files, to satify lint. I added big examples to json files ([0b79772](https://github.com/UK-Export-Finance/mdm-api/commit/0b79772256a36fc8e5c9b38e3f67a0433984f2ab))
* **DTFS2-7052:** adding typescript include for json files, to satisfy lint. I added big examples to json files ([0b79772](https://github.com/UK-Export-Finance/mdm-api/commit/0b79772256a36fc8e5c9b38e3f67a0433984f2ab))
* **DTFS2-7052:** api-tests for geospatial/get-address-by-postcode ([c8cb1bc](https://github.com/UK-Export-Finance/mdm-api/commit/c8cb1bc98c72f3258f8bc9d498effdfe561ff45b))
* **DTFS2-7052:** applying Oscars suggestions on my PR ([f68ac66](https://github.com/UK-Export-Finance/mdm-api/commit/f68ac66050ea3e0515378657f4893eb65f933ed4))
* **DTFS2-7052:** change GET /geospatial/addresses/postcode?postcode= empty response from 200 to 404 ([33c9e65](https://github.com/UK-Export-Finance/mdm-api/commit/33c9e65961e67fdff36c854a7ae9f78c3c1ccd0c))
Expand Down
Loading
Loading