-
Task
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
None
-
3
-
False
-
-
False
-
subs-swatch-2
-
-
The idea is that if we detect that a new over-usage notification will be sent by one customer that has been already notified for the same subscription within the same day, we ignore the new over usage notification.
To implement these changes we need:
- add database Quarkus extension
- new liquibase script to add a new table to store the information we need
- new counter to check the number of times we skipped a new notification
For refinement: clarify the data model we need.
So, if latest_notified timestamp is older than 1 day (it should be configurable), then we notify. Otherwise, we ignore the message.
Acceptance Criteria
- Add component tests to verify then notification is ignored or not using the counter.
- depends on
-
SWATCH-3793 Implement logic to detect customer usage over usage
-
- Backlog
-
- is depended on by
-
SWATCH-3795 Send notifications to “platform.notifications.ingress”
-
- Backlog
-