-
Notifications
You must be signed in to change notification settings - Fork 3
CCM-11188 Implement patch /letter/id API #128
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
Merged
Merged
Changes from all commits
Commits
Show all changes
69 commits
Select commit
Hold shift + click to select a range
e372fc7
Change supplier header to app-supplier-id
francisco-videira-nhs 766c990
Validate path parameter only
francisco-videira-nhs 6ae8678
Add basic error handling
francisco-videira-nhs fa437fb
Change supplier id header to nhsd-supplier-id
francisco-videira-nhs 4a10a01
Validate request body
francisco-videira-nhs 8ffd5a2
Move supplier id header to config
francisco-videira-nhs 94511c2
Add debug config and workspace
francisco-videira-nhs 780ba20
Remove root hello world handler
francisco-videira-nhs ee2e9ed
Merge remote-tracking branch 'origin/main' into feature/CCM-11188
francisco-videira-nhs 4053511
Fix local reference
francisco-videira-nhs 393b4fd
Add all letter status types
francisco-videira-nhs df11a4e
Fix letter schema
francisco-videira-nhs 3a0c8b5
Merge remote-tracking branch 'origin/main' into feature/CCM-11188
francisco-videira-nhs 1464338
CCM-11602: Test
simonlabarere 9c8e408
CCM-11602: letters schema
simonlabarere 1527d2c
CCM-11602: letters schema
simonlabarere f691d50
CCM-11602: Give get letters access to GSI
simonlabarere 2fd858d
CCM-11602: GET Letters endpoint
simonlabarere e941df9
CCM-11602: GET Letters endpoint
simonlabarere 740a199
CCM-11602: GET Letters endpoint
simonlabarere c487606
CCM-11602: GET Letters endpoint
simonlabarere 1e7c493
CCM-11602: GET Letters endpoint
simonlabarere 6b2aa91
CCM-11602: GET Endpoint sandbox updates
simonlabarere 214ef5f
CCM-11602: Get enpoint tests
simonlabarere f30b190
CCM-11602: Get enpoint safe header check
simonlabarere 4f671c8
CCM-11602: Update sandbox
simonlabarere 19c2838
CCM-11602: Update sandbox
simonlabarere 78671d2
CCM-11602: Add logging
simonlabarere ef55e54
CCM-11602: Update sandbox
simonlabarere 2a82516
CCM-11602: Rename size parameter to limit
simonlabarere 4939ecc
CCM-11602: Add validation for limit parameter
simonlabarere 9f6d455
CCM-11602: increase Trivy scan timeout
simonlabarere d7ac071
CCM-11602: Add groupId
simonlabarere b5c0026
Correct target URL for main (#134)
nhsd-david-wass 193aef5
CCM-11942 Fixing cross repo workflows (#137)
aidenvaines-cgi b1f5969
CCM-11751: Use github release assests for shared modules call (#142)
sidnhs e66b8d8
CCM-11751: Fixing workflow trigger (#146)
sidnhs 97b73ab
CCM-11580: Updates for OAS Spec V1 (#139)
m-houston 0828b17
Update README.md (#140)
timireland 5ef7bed
Merge branch 'main' into feature/CCM-11602_get_endpoint
simonlabarere 2855e68
Merge remote-tracking branch 'origin/main' into feature/CCM-11188
francisco-videira-nhs 5d6e542
Merge branch 'main' into feature/CCM-11602_get_endpoint
masl2 2f97221
Add timestamp value to supplierStatusSk
francisco-videira-nhs efcbeb3
Merge branch 'feature/CCM-11602_get_endpoint' into feature/CCM-11188
francisco-videira-nhs e7be472
Bring get letters in line with patch letter
francisco-videira-nhs 8382a2a
CCM-11602: param validation, max range, and OAS 400 examples
masl2 3b893c6
CCM-11602: unit test expectation wording
masl2 57ae2e2
Workspace change
francisco-videira-nhs 5b14c24
Add reasonCode and reasonText to db
francisco-videira-nhs ddaf849
Log unexpected errors
francisco-videira-nhs 99749c3
CCM-11602: MAX LIMIT envar and added into test context
masl2 2cfdedf
Remove reasonCode and text from plan
francisco-videira-nhs b8e4ef2
CCM-11602: limit can't be 0, return maxLimit value
masl2 bd9d919
Bump
francisco-videira-nhs 534433d
Fix error
francisco-videira-nhs 1a20406
Fix error message
francisco-videira-nhs 651d163
Change sk to iso timestamp
francisco-videira-nhs 829b599
Merge remote-tracking branch 'origin/feature/CCM-11602_get_endpoint' …
francisco-videira-nhs 31c1fe3
Integrate get and patch branches
francisco-videira-nhs 3bd8ac7
Merge remote-tracking branch 'origin/main' into feature/CCM-11188
francisco-videira-nhs 7a57d8b
Workspace settings
francisco-videira-nhs 6001e30
Add templates to error messages
francisco-videira-nhs 3ffc1ce
Fix 400 limit messages
francisco-videira-nhs ded48aa
WIP Remove id from Error?
francisco-videira-nhs ff77676
CCM-11188: standardise shared modules
masl2 5fa01fa
Revert "WIP Remove id from Error?"
francisco-videira-nhs 2761b90
Add correlationId as error.id
francisco-videira-nhs d0ae003
Marry errors with OAS
francisco-videira-nhs 51675ac
Optional reason data
francisco-videira-nhs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| { | ||
| "configurations": [ | ||
| { | ||
| "args": [ | ||
| "${relativeFile}", | ||
| "--runInBand" | ||
| ], | ||
| "console": "integratedTerminal", | ||
| "cwd": "${workspaceFolder}/${input:workspace}", | ||
| "internalConsoleOptions": "neverOpen", | ||
| "name": "Debug current test file (pick workspace)", | ||
| "program": "${workspaceFolder}/node_modules/.bin/jest", | ||
| "request": "launch", | ||
| "type": "node" | ||
| }, | ||
| { | ||
| "args": [ | ||
| "${relativeFile}", | ||
| "--runInBand", | ||
| "--testNamePattern", | ||
| "${input:testName}" | ||
| ], | ||
| "console": "integratedTerminal", | ||
| "cwd": "${workspaceFolder}/${input:workspace}", | ||
| "internalConsoleOptions": "neverOpen", | ||
| "name": "Debug single test by name (pick workspace)", | ||
| "program": "${workspaceFolder}/node_modules/.bin/jest", | ||
| "request": "launch", | ||
| "type": "node" | ||
| } | ||
| ], | ||
| "inputs": [ | ||
| { | ||
| "description": "Select package workspace to run tests in", | ||
| "id": "workspace", | ||
| "options": [ | ||
| "lambdas/api-handler", | ||
| "lambdas/authorizer", | ||
| "internal/datastore" | ||
| ], | ||
| "type": "pickString" | ||
| }, | ||
| { | ||
| "description": "Enter test name regex for --testNamePattern", | ||
| "id": "testName", | ||
| "type": "promptString" | ||
| } | ||
| ], | ||
| "version": "0.0.1" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
infrastructure/terraform/components/api/module_domain_truststore.tf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
infrastructure/terraform/components/api/module_logging_bucket.tf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit picky but these are common envars, but not db specific anymore