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

Remove unused clients dependencies from swatch-tally

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor Minor
    • Next - API
    • None
    • swatch-tally
    • None
    • 5
    • False
    • Hide

      None

      Show
      None
    • True

      There are some clients dependencies that are declared in swatch-tally but no longer in use like:

      • The contracts-client dependency was used mostly for the swatch redhat marketplace producer that was deleted by SWATCH-3597.
      • The billable usage client was declared in swatch-tally, but only used to reset the account.
      • The prometheus client was declared in swatch-tally but not used. This client is only used in swatch-metrics.
      • The RHM client client was declared in swatch-tally but was not used (it's only used in the conduit service).

      If the clients modules for Spring are no longer used anywhere, let's remove the modules from the project as well.
      In addition to this, the reset_account method in the iqe tests use the reset endpoint from swatch-tally. Since we're removing the contracts client and the billable usage client, we need to update this reset_account to call to the correct service.

      Acceptance Criteria

      • Update iqe-tests to directly call the contracts API to remove the contracts by organization
      • Remove the clients dependencies from swatch-tally
      • Remove the clients modules for Spring that are no longer in use

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

                Created:
                Updated:
                Resolved: