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

Create swatch-contracts test API to enable automated testing for umb-style message consumption

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Blocker Blocker
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      As a QE, I want to be able to test the partner contract creation logic without injecting messages onto UMB. 

      There are three ways that logic can be invoked in swatch.  Rest API, kafka messages, or UMB messages.  Today, IQE supports Rest API & Kafka, but not UMB.  swatch-contracts consumes UMB messages from entitlement gateway.  We don't want to have to inject UMB messages for testing purposes in a stage/prod environment, so we want to provide a different interface.

      Note: this is a blocker for automation testing to be written for several cards as part of the SaaS contracts epic.  See https://docs.google.com/document/d/17OlJcxuIwbQ_BaUSzCO3uAPxSSPZlVVvNTB27fQZuO0/edit#heading=h.ho8xbhdacbah([https://docs.google.com/document/d/17OlJcxuIwbQ_BaUSzCO3uAPxSSPZlVVvNTB27fQZuO0/edit#heading=h.ho8xbhdacbah] "Follow link")  This card is for a quick fix for unblocking contract testing.  A more long-term pattern/solution TBD as part of SWATCH-1160

       

      Done:

      • Internal API needs to be secured by the usual means and tagged as a test API
      • The API should be blocked from usage in prod
      • QE should write a wrapper for this in SMQE tools
      •  

              lburnett0 Lindsey Burnett
              lburnett0 Lindsey Burnett
              Ryan Himmelwright Ryan Himmelwright (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: