Uploaded image for project: 'Subscription Watch'
  1. Subscription Watch
  2. SWATCH-3794

Implement logic to not send notifications to same customers within the same day

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None

      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.

              Unassigned Unassigned
              jcarvaja@redhat.com Jose Carvajal Hilario
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: