Commit 2518a47
* Add upsert lambda
* Fix names
* Fix unit test
* Fix unit test dates
* Fix lambda handler name export
* Add event-schemas-letter-rendering
* Add GitHub NPM registry configuration to .npmrc
* Add version check and Node.js setup to CI workflow
* TO REVERT AFTER TEST: conditional check for event schema version update
* Refactor event schema version checks in CI workflow
* Add GitHub NPM registry URL to Node.js setup in workflows
* Log npm response
* Add NODE_AUTH_TOKEN to GitHub Actions environment for NPM access
* Revert "Add GitHub NPM registry URL to Node.js setup in workflows"
This reverts commit f1444fd.
* Move NODE_AUTH_TOKEN to npm view step in CI workflow
* Reapply "Add GitHub NPM registry URL to Node.js setup in workflows"
This reverts commit 5741a86.
* Add NODE_AUTH_TOKEN to NPM install steps in workflows
* Re-enable conditional check on published package check
* Add NODE_AUTH_TOKEN input for GitHub package registry access in workflows
* Add packages:read to permissions
* delete old test
* fix trivy scan step
* Fix gh pkg registry test stage
* fix local npmrc
* Fix unit test timestamps, add source
* Add notification parsing logic
* fix tf var
* Fix ddb permissions
* Add latest version event schema letter rendering
* Add trying v1 parse if v2 fails
* Add subject
* Split upsert operations
* Letter variant map to vars
* Revert supplierStatusSk
* Fix dependencies
* CCM-13697: Letters Key and Source Data Item (#323)
* swap partition and sort for letters
* store changes and source, subject, billingref
* unsafe marker
* rename correctly
* missing close brace
* minor refactor upsert unit tests
* remove dup line
* gitleaksignore
* bump package version
* Fix get API for component tests
---------
Co-authored-by: Mike Houston <michael.houston4@nhs.net>
Co-authored-by: Mike Houston <60653100+m-houston@users.noreply.github.com>
Co-authored-by: Mark Slowey <113013138+masl2@users.noreply.github.com>
Co-authored-by: Mark Slowey <mark.slowey1@nhs.net>
Co-authored-by: Steve Buxton <steve.buxton@nhs.net>
1 parent 8f7cdab commit 2518a47
52 files changed
Lines changed: 1313 additions & 201 deletions
File tree
- .devcontainer
- .github/workflows
- infrastructure/terraform/components/api
- internal
- datastore/src
- __test__
- events
- schemas/examples
- src
- domain
- events/__tests__
- testData
- lambdas
- api-handler/src
- contracts
- handlers
- __tests__
- mappers
- __tests__
- services
- __tests__
- letter-updates-transformer/src
- __tests__
- mappers
- __tests__
- upsert-letter
- src
- __tests__
- config
- __tests__
- handler
- __tests__
- scripts/utilities/letter-test-data/src
- __test__/helpers
- cli
- helpers
- tests/helpers
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
| 87 | + | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
320 | | - | |
| 320 | + | |
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
52 | 57 | | |
53 | 58 | | |
54 | 59 | | |
| |||
73 | 78 | | |
74 | 79 | | |
75 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
76 | 86 | | |
77 | 87 | | |
78 | 88 | | |
| |||
142 | 152 | | |
143 | 153 | | |
144 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
145 | 160 | | |
146 | 161 | | |
147 | 162 | | |
| |||
168 | 183 | | |
169 | 184 | | |
170 | 185 | | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
171 | 191 | | |
172 | 192 | | |
173 | 193 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
60 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
61 | 66 | | |
62 | 67 | | |
63 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
144 | 153 | | |
145 | 154 | | |
146 | 155 | | |
| |||
157 | 166 | | |
158 | 167 | | |
159 | 168 | | |
| 169 | + | |
160 | 170 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
| 54 | + | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
27 | 31 | | |
28 | 32 | | |
29 | 33 | | |
| |||
0 commit comments