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

Implement swatch-product-configuration lookup methods

    XMLWordPrintable

Details

    • Story
    • Resolution: Done
    • Normal
    • 2023-07-24 - API
    • None
    • None

    Description

      As a developer, I'd like to have alternatives to tag profiles lookups, so that I can refactor components away from tag profile.

      Done:

      • Subscription objects are loaded from the yaml configuration files
      • Lookup methods are provided.  Here are some examples of ones to include.  Other lookup methods will be added as needed as part of other cards in the epic
        • (static) Subscription.findByArch(arch: String)
        • (static) Subscription.findByServiceType(serviceType: String)
        • (static) Subscription.getAllServiceTypes()
        • Subscription.getFinestGranularity()
        • Subscription.getMetric(metricId: String)
        • Subscription.getMetricIds()
        • Subscription.isPrometheusEnabled()
        • Subscription.getSupportedGranularity()
        • (static) Variant.findByEngProductId(engProductId: String)
        • (static) Variant.findByOfferingProductName(name: String)
        • (static) Variant.findByRole(role: String)
        • Variant.getSubscription() (get parent)

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: