-
Notifications
You must be signed in to change notification settings - Fork 6
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
[ICC-201] Set ttl of message and message-status to 3 years for not registered users #230
Conversation
Example of PR titles that include pivotal stories:
|
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.
We also need to introduce this change under feature flag.
@@ -531,6 +548,8 @@ describe("getprocessMessageHandler", () => { | |||
TE.of(O.some(messageData)) | |||
); | |||
const processMessageHandler = getProcessMessageHandler({ | |||
TTL_FOR_USER_NOT_FOUND, | |||
isUserForFeatureFlag, |
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.
Test this failing scenario without enabling FF, since we added a specific test right after for checking the new scenario.
isUserForFeatureFlag, | |
isUserForFeatureFlag: (_: FiscalCode) => false, |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
List of Changes
ttl
to 3 years when user is not found;Motivation and Context
In order to remove messages sent to users not registered we want to set the
ttl
to 3 years tomessage
andmessage-status
.How Has This Been Tested?
Unit test
Screenshots (if appropriate):
Types of changes
Checklist: