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

Update/Create the new utilizations record after sending notifications

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Normal Normal
    • None
    • None
    • None
    • None

      After sending a notification message to the "platform.notifications.ingress" in SWATCH-3795,
      we need to either:

      • update the latest_notified timestamp to today, if the customer record in the utilizations table already existed.
      • create a new record into the utilizations table if the customer record didn't exist
        This needs to be done in an isolated transaction.

      Acceptance Criteria

      • Component test to verify that the record is created when sending the notification message
      • And add another component to verify that a new utilization summary message is ignored when the record was created by this logic

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

                Created:
                Updated:
                Resolved: