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

Complete removal of Subscription and Offering entities from swatch-tally

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • None
    • True
    • Hide

      None

      Show
      None
    • False
    • Impediment
    • subs-swatch-thunder

      After SWATCH-3927, there are still a couple of usages of the Subscription and Offering entities/repositories.  Specifically, there is an AccountResetService class that performs a delete of all subscriptions for an org.  There is no corresponding endpoint for this operation in swatch-contracts, hence the new card.

      Acceptance:

      • Coordinate with SWATCH Team 2 to create a deleteByOrgId endpoint for subscriptions.
      • Remove subscriptionRepository.deleteByOrgId from the AccountResetService
      • Use the new swatch-contracts endpoint in the IQE tests along with AccountResetService to perform the account reset.  E.g.
        •   swatch_tally_client.accountReset(org_id=123)
            swatch_contracts_client.contractsReset(org_id=123) 
      • Remove all traces of usage for the Subscription, Offering, and related entities in swatch-tally.

              Unassigned Unassigned
              awood1@redhat.com Alex Wood
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: