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

Update Tally Report API Queries to Filter Primary Rows

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • swatch-tally
    • None
    • 8
    • False
    • Hide

      None

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

      • Modify Tally Report API repository queries to return only primary records.
      • Add WHERE is_primary = true filtering to applicable queries.
      • Add feature flag so that we can make sure we can flip between old and new behavior in prod

      AC

      • Repository queries include is_primary = true filter where required.
      • Only primary rows are returned by the Tally Report API.
      • No regressions in existing API behavior.
      • Queries execute successfully with expected performance.
      • Feature flag added incase things go wrong and we have to flip switch

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

                Created:
                Updated: