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

Implement swatch-product-configuration lookup methods

XMLWordPrintable

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

      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)

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

              Created:
              Updated:
              Resolved: