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

Schema updates for enabling retry remittance

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Normal Normal
    • 2024-02-05 - API
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • True
    • BIZ-629 - ELS add on for concurrent (non-pay-as-you-go) RHEL offerings

      We added a set of cards required for our Azure integration to combat a delay in subscription id becoming available to actually remit usage to Azure.  The design for that includes a cron job to initiate retries.  The design also includes a database update.

      This card is for updating the OpenAPI spec and creating the liquibase script to add the database column, because those are easy to do upfront and unblock the rest of the work.

      Requirements

      • New POST endpoint, /internal/rpc/remittance/processRetries
        • Has an optional timestamp query param (as_of).  When param is missing, use current timestamp.
        • requires PSK
      • New column (retry_after) in billable_usage_remittance database table
        • datatype: date
        • nullable
      • Hitting the endpoint will respond, but it doesn't actually do anything

            lburnett0 Lindsey Burnett
            lburnett0 Lindsey Burnett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: