-
Notifications
You must be signed in to change notification settings - Fork 1
CCM-13615: Status Update Transformer Source #309
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
base: main
Are you sure you want to change the base?
Conversation
1adb1f1 to
588bf5a
Compare
588bf5a to
6d35b7f
Compare
lambdas/letter-updates-transformer/src/letter-updates-transformer.ts
Outdated
Show resolved
Hide resolved
…mer.ts Co-authored-by: Mike Houston <60653100+m-houston@users.noreply.github.com>
stevebux
left a comment
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.
Looks good, a couple of very minor comments
lambdas/letter-updates-transformer/src/__tests__/letter-updates-transformer.test.ts
Outdated
Show resolved
Hide resolved
lambdas/letter-updates-transformer/src/letter-updates-transformer.ts
Outdated
Show resolved
Hide resolved
stevebux
left a comment
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.
LGTM
|
Should probably wait until after #280 to ensure we don't lose the value passthrough to the outbound events |
Description
Add account (short name) and environment to the status update source field to enable better routing and filtering for the events
Additionally allow INSERT events as these will be linked to new letter creation and will inform other services a letter has been registered/allocated in the supplier api (via PENDING status)
Finally move payload extraction to discrete non pipe step to help ensure payloads are logged - filtered payloads were not being logged
Enables identification of account and environment source for events
Ensures PENDING statuses will be generated
Improves logging for debugging
Checklist
Sensitive Information Declaration
To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.