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

Remove Capacity API from contracts service

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • 2024-07-30 - API
    • None
    • None

      This API was added a while ago and was never implemented: https://github.com/RedHatInsights/rhsm-subscriptions/blob/bbfd8e063e76bc16511a56f2d17c5d6d3e9e96aa/swatch-contracts/src/main/java/com/redhat/swatch/contract/resource/CapacityResource.java#L56

      The tally resource from the monolith does use this API, but it's configured to not use the swatch contracts API, but the monolith API.

      Moreover, the capacity API will be ported to swatch-contracts, so again, this API will be not needed.

      Acceptance Criteria

      • Remove unused capacity API from swatch-contracts
      • Update the TallyResource to directly use the capacity controller
      • QE: only regression testing

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

                Created:
                Updated:
                Resolved: