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

Support both active contract and "version history" of a contract in swatch-contracts GET test api

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Current behavior of the GET api is that the response will include all "versions" of contracts matching the parameters, regardless of if endDate is set or not.  We also want to support the ability to only return "current" or "active" contracts.  To achieve this, we should be able to just add endDate as an optional query parameter for the API, and propagate it down to the ContractRepository method that queries the database.

       

      More information can be found from 2/27 dev sync notes

      https://docs.google.com/document/d/16bGEilEsp2nW2vVK2p9GEXdGOQyjvfOxpOtaN6Nfydg/edit 

              khowell@redhat.com Kevin Howell
              lburnett0 Lindsey Burnett
              Ryan Himmelwright Ryan Himmelwright
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: