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

Implement POJOs for swatch-product-configuration

    XMLWordPrintable

Details

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

    Description

      As a developer, I'd like to be able to use configuration from POJOs Java code, so that I can utilize configuration with idiomatic Java.

      object models to be implemented:

      Subscription:

      • * platform: String
      • * id: String
      • requiredSubscriptions: List<String>
      • includedSubscriptions: List<String>
      • fingerprint: Fingerprint
      • * variants: List<Variant>
      • billingWindow: enum(MONTHLY)
      • * metrics: List<Metric>
      • defaults: Defaults

      Fingerprint:

      • engineeringIds: List<String>
      • arches: List<String>

      Variant:

      • * tag: String
      • roles: List<String>
      • engineeringIds: List<String>
      • productNames: List<String>

      Metric:

      • * id: String
      • rhmMetricId: String
      • awsDimension: String
      • prometheus: PrometheusMetric
      • billingFactor: Double
      • uom (see later note)

      PrometheusMetric:

      • queryKey: String
      • queryParams: Map<String,String>

      Defaults:

      • variant: String
      • sla: enum(Standard, Premium, Self-Support)
      • usage: enum(Development/Test, Production, Disaster Recovery)

      Done:

      • Subscription, FingerPrint, Variant, Metric, PrometheusMetric, and Defaults are implemented

      Attachments

        Issue Links

          Activity

            People

              ksynvrit Kenny Synvrit
              khowell@redhat.com Kevin Howell
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: