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

Add utilization summary consumer in swatch-utilization

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Normal Normal
    • Next - API
    • None
    • None
    • None
    • Swatch Lightning Sprint 4

      In SWATCH-3792, we created the swatch-utilization skeleton with some basic functionality only.
      After SWATCH-3789, we can now properly configure the utilization summary consumer to consule objects of UtilizationSummary.

      Acceptance Criteria

      • Use the UtilizationSummary model created in SWATCH-3789
      • Validate the payload to ensure we're sending all the required fields (orgID, productId, metricId, for non payg products. For payg products, also the billing_account_id). Log a warning when we receive a message with a wrong productId or metricId.
      • Configure/Add the utilization summary consumer to listen these messages.
      • All "TODO: ... SWATCH-4005" comments that were committed (SWATCH-4001) are handled and removed.

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

                Created:
                Updated:
                Resolved: