-
Task
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
-
5
-
False
-
-
False
-
subs-swatch-lightning
-
-
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:
- create a deleteByOrgId endpoint for swatch-contracts that matches the one currently in swatch-tally.
- Remove subscriptionRepository.deleteByOrgId from the AccountResetService in swatch-tally
- 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)
- no proxying stuff...tests that require "reset all the things" should be updated to call the swatch-tally API and swatch-contracts subsequently if the test calls for it
- blocks
-
SWATCH-3995 Complete removal of Subscription and Offering entities from swatch-tally
-
- Refinement
-