-
Story
-
Resolution: Done
-
Normal
-
None
-
None
-
False
-
-
False
-
-
As a developer, I'd like the in-the-box logic to be configuration driven, so that it can be applied to future onboarded products in configuration.
Done:
- Openshift and satellite products configured to have rhel as an included subscription. This can be specified in a new "includedSubscriptions" field at the root of a product config yaml
- Hardcoding mention at https://github.com/RedHatInsights/rhsm-subscriptions/blob/main/src/main/java/org/candlepin/subscriptions/capacity/CapacityProductExtractor.java#L101 is based on product fingerprint and not just the product name. Thus products whose name starts with both "Openshift" and "Red Hat Openshift" will properly mask the underlying RHEL os. This will require a rethink of mapEngProductsToSwatchIds(...) method at https://github.com/RedHatInsights/rhsm-subscriptions/blob/main/src/main/java/org/candlepin/subscriptions/capacity/CapacityProductExtractor.java#L59
FactNormalizer class updated to stop checking hardcoded strings to identify products/variants
- blocks
-
SWATCH-72 Fixed Capacity Reporting for RHEL Add-ons (x86 arch)
- Closed
- is blocked by
-
SWATCH-1230 Implement swatch-product-configuration lookup methods
- Closed