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

Add metric_id to openapi definitions

    XMLWordPrintable

Details

    • Story
    • Resolution: Done
    • Normal
    • 2024-03-19 - API
    • None
    • None

    Description

      As a GUI dev, I'd like to move away from UOM references in favor of metric_id, so that backend devs can remove UOM from the API, however, metric_id isn't available in all places that currently have UOM in the API

      Done Criteria

      • Significant QE Test refactor
      • metric_id is included on the OpenAPI endpoints & populated where we are currently using UOM. This includes both query parameters & response bodies
      • UOM IS NOT CHANGED AND IS NOT REMOVED
      • There should be no breaking changes in this card
      • metric_id on some endpoints is replacing an enum with a string, so that any valid metric_id can be used this includes the code that the openapi definition is calling (such as /subscriptpions/products/{product_id}). 

      Attachments

        Issue Links

          Activity

            People

              jcarvaja@redhat.com Jose Carvajal Hilario
              khowell@redhat.com Kevin Howell
              Nikhil Kathole Nikhil Kathole
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: