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

Adapt subscription-watch queries to use new system_profile tables

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • subs-swatch
    • 5
    • Inventory A Sprint 12

      Goal

      Adapt subscription manager queries that read Host Based Inventory database to new DB schema

      Description

      Host Based Inventory has refactored the database and extracted the host.system_profile column into it's own tables and hosts.facts into separate columns on the host table itself.

      We need to change subman queries to adjust to this new structure.

      Example queries (probably not all of them):

      https://github.com/RedHatInsights/rhsm-subscriptions/blob/e2044ddb3aa25bff667bee9be2d143626fcd3be7/src/main/java/org/candlepin/subscriptions/inventory/db/model/InventoryHost.java#L157

      https://github.com/RedHatInsights/rhsm-subscriptions/blob/e2044ddb3aa25bff667bee9be2d143626fcd3be7/src/main/java/org/candlepin/subscriptions/inventory/db/InventoryRepository.java

              rhn-engineering-jramos Joao Paulo Ramos
              oezr@redhat.com Ondrej Ezr
              Asa Price, Joao Paulo Ramos
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: