Skip to content

Commit

Permalink
refactor(config): sw-926 rosa as openshift variant (#1140)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdcabrera committed Jul 24, 2023
1 parent d89af74 commit 588f5ae
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
1 change: 1 addition & 0 deletions public/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@
"label_groupVariant_RHEL for IBM Power": "RHEL for IBM Power",
"label_groupVariant_RHEL for IBM z": "RHEL for IBM z",
"label_groupVariant_RHEL for x86": "RHEL for x86",
"label_groupVariant_rosa": "Hosted control plane",
"label_groupVariant_Satellite Capsule": "Satellite Capsule",
"label_groupVariant_Satellite Server": "Satellite Server",
"label_sla": "",
Expand Down
2 changes: 1 addition & 1 deletion src/config/product.rosa.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { ChartTypeVariant } from '../components/chart/chartHelpers';
import { SelectPosition } from '../components/form/select';
import { translate } from '../components/i18n/i18n';

const productGroup = RHSM_API_PATH_PRODUCT_TYPES.ROSA;
const productGroup = 'openshift';

const productId = RHSM_API_PATH_PRODUCT_TYPES.ROSA;

Expand Down
22 changes: 11 additions & 11 deletions tests/__snapshots__/dist.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ exports[`Build distribution should have a predictable ephemeral navigation based
"OpenShift Container Platform",
"OpenShift-dedicated-metrics",
"OpenShift-metrics",
"rosa",
],
"productVariants": [],
},
Expand All @@ -25,6 +26,7 @@ exports[`Build distribution should have a predictable ephemeral navigation based
"OpenShift Container Platform",
"OpenShift-dedicated-metrics",
"OpenShift-metrics",
"rosa",
],
"productVariants": [],
},
Expand All @@ -38,6 +40,7 @@ exports[`Build distribution should have a predictable ephemeral navigation based
"OpenShift Container Platform",
"OpenShift-dedicated-metrics",
"OpenShift-metrics",
"rosa",
],
"productVariants": [],
},
Expand All @@ -51,6 +54,7 @@ exports[`Build distribution should have a predictable ephemeral navigation based
"OpenShift Container Platform",
"OpenShift-dedicated-metrics",
"OpenShift-metrics",
"rosa",
],
"productVariants": [],
},
Expand All @@ -64,6 +68,7 @@ exports[`Build distribution should have a predictable ephemeral navigation based
"OpenShift Container Platform",
"OpenShift-dedicated-metrics",
"OpenShift-metrics",
"rosa",
],
"productVariants": [],
},
Expand All @@ -77,6 +82,7 @@ exports[`Build distribution should have a predictable ephemeral navigation based
"OpenShift Container Platform",
"OpenShift-dedicated-metrics",
"OpenShift-metrics",
"rosa",
],
"productVariants": [],
},
Expand All @@ -90,6 +96,7 @@ exports[`Build distribution should have a predictable ephemeral navigation based
"OpenShift Container Platform",
"OpenShift-dedicated-metrics",
"OpenShift-metrics",
"rosa",
],
"productVariants": [],
},
Expand All @@ -103,6 +110,7 @@ exports[`Build distribution should have a predictable ephemeral navigation based
"OpenShift Container Platform",
"OpenShift-dedicated-metrics",
"OpenShift-metrics",
"rosa",
],
"productVariants": [],
},
Expand All @@ -116,6 +124,7 @@ exports[`Build distribution should have a predictable ephemeral navigation based
"OpenShift Container Platform",
"OpenShift-dedicated-metrics",
"OpenShift-metrics",
"rosa",
],
"productVariants": [],
},
Expand All @@ -129,6 +138,7 @@ exports[`Build distribution should have a predictable ephemeral navigation based
"OpenShift Container Platform",
"OpenShift-dedicated-metrics",
"OpenShift-metrics",
"rosa",
],
"productVariants": [],
},
Expand Down Expand Up @@ -506,17 +516,6 @@ exports[`Build distribution should have a predictable ephemeral navigation based
],
"productVariants": [],
},
{
"coverage": "FALSE",
"path": "/rosa",
"productGroup": [
"rosa",
],
"productId": [
"rosa",
],
"productVariants": [],
},
]
`;

Expand Down Expand Up @@ -551,6 +550,7 @@ exports[`Build distribution should have a predictable ephemeral navigation based
"OpenShift Container Platform",
"OpenShift-dedicated-metrics",
"OpenShift-metrics",
"rosa",
],
"productVariants": [],
},
Expand Down

0 comments on commit 588f5ae

Please sign in to comment.