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

Add swatch-contracts endpoint to reset subscriptions for an org

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • swatch-contracts
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • subs-swatch-lightning

      • The AccountResetService currently deletes all subscriptions for a given org directly. This is being used on swatch-core side mostly by iqe tests.
      • There is no corresponding API endpoint in swatch-contracts to support this operation.
      • Create a swatch-contracts endpoint that allows resetting (deleting) subscription and contract data for an org.
      • We need this endpoint so that it can be invoked by AccountResetService instead of direct repository access.
      •   swatch_tally_client.accountReset(org_id=123)
          swatch_contracts_client.contractsReset(org_id=123) 

      AC:

      • Endpoint exists in swatch-contracts to reset subscriptions and contracts for a specified org.
      • Proper authorization and safeguards are in place.

              Unassigned Unassigned
              karshah@redhat.com Kartik Shah
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: