diff --git a/public/locales/en-US.json b/public/locales/en-US.json index 3c0615a29..3301f763e 100644 --- a/public/locales/en-US.json +++ b/public/locales/en-US.json @@ -124,6 +124,7 @@ "legendTooltip_Sockets_hypervisor_RHEL for IBM z": "$t(curiosity-graph.legendTooltip_Sockets_hypervisor_RHEL)", "legendTooltip_Sockets_hypervisor_RHEL for x86": "$t(curiosity-graph.legendTooltip_Sockets_hypervisor_RHEL)", "legendTooltip_Sockets_hypervisor_rhel-for-x86-eus": "$t(curiosity-graph.legendTooltip_Sockets_hypervisor_RHEL)", + "legendTooltip_Sockets_hypervisor_rhel-for-x86-ha": "$t(curiosity-graph.legendTooltip_Sockets_hypervisor_RHEL)", "legendTooltip_Sockets_hypervisor_rhel-for-sap-x86": "$t(curiosity-graph.legendTooltip_Sockets_hypervisor_RHEL)", "legendTooltip_Sockets_physical": "{{product}} CPU socket usage, per socket pair.", "legendTooltip_Sockets_physical_rhel": "$t(curiosity-graph.legendTooltip_Sockets_physical_RHEL)", @@ -133,6 +134,7 @@ "legendTooltip_Sockets_physical_RHEL for IBM z": "$t(curiosity-graph.legendTooltip_Sockets_physical_RHEL)", "legendTooltip_Sockets_physical_RHEL for x86": "$t(curiosity-graph.legendTooltip_Sockets_physical_RHEL)", "legendTooltip_Sockets_physical_rhel-for-x86-eus": "$t(curiosity-graph.legendTooltip_Sockets_physical_RHEL)", + "legendTooltip_Sockets_physical_rhel-for-x86-ha": "$t(curiosity-graph.legendTooltip_Sockets_physical_RHEL)", "legendTooltip_Sockets_physical_rhel-for-sap-x86": "$t(curiosity-graph.legendTooltip_Sockets_physical_RHEL)", "legendTooltip_Sockets_virtual": "{{product}} CPU socket usage, per socket pair.", "legendTooltip_Sockets_virtual_rhel": "$t(curiosity-graph.legendTooltip_Sockets_virtual_RHEL)", @@ -142,6 +144,7 @@ "legendTooltip_Sockets_virtual_RHEL for IBM z": "$t(curiosity-graph.legendTooltip_Sockets_virtual_RHEL)", "legendTooltip_Sockets_virtual_RHEL for x86": "$t(curiosity-graph.legendTooltip_Sockets_virtual_RHEL)", "legendTooltip_Sockets_virtual_rhel-for-x86-eus": "$t(curiosity-graph.legendTooltip_Sockets_virtual_RHEL)", + "legendTooltip_Sockets_virtual_rhel-for-x86-ha": "$t(curiosity-graph.legendTooltip_Sockets_virtual_RHEL)", "legendTooltip_Sockets_virtual_rhel-for-sap-x86": "$t(curiosity-graph.legendTooltip_Sockets_virtual_RHEL)", "legendTooltip_Storage-gibibytes": "Data storage usage", "legendTooltip_Storage-gibibyte-months": "Data storage usage", @@ -157,6 +160,7 @@ "legendTooltip_threshold_Sockets_RHEL for IBM z": "$t(curiosity-graph.legendTooltip_threshold_Sockets_RHEL)", "legendTooltip_threshold_Sockets_RHEL for x86": "$t(curiosity-graph.legendTooltip_threshold_Sockets_RHEL)", "legendTooltip_threshold_Sockets_rhel-for-x86-eus": "$t(curiosity-graph.legendTooltip_threshold_Sockets_RHEL)", + "legendTooltip_threshold_Sockets_rhel-for-x86-ha": "$t(curiosity-graph.legendTooltip_threshold_Sockets_RHEL)", "legendTooltip_threshold_Sockets_rhel-for-sap-x86": "$t(curiosity-graph.legendTooltip_threshold_Sockets_RHEL)", "legendTooltip_Transfer-gibibytes": "Data transfer usage", "tooltipSummary": "Your subscription data facets. With one level of column and row headers." @@ -172,6 +176,7 @@ "tabInstances_RHEL for IBM z": "$t(curiosity-inventory.tabInstances_RHEL)", "tabInstances_RHEL for x86": "$t(curiosity-inventory.tabInstances_RHEL)", "tabInstances_rhel-for-x86-eus": "$t(curiosity-inventory.tabInstances_RHEL)", + "tabInstances_rhel-for-x86-ha": "$t(curiosity-inventory.tabInstances_RHEL)", "tabInstances_rhel-for-sap-x86": "$t(curiosity-inventory.tabInstances_RHEL)", "tabInstances_OpenShift Container Platform": "$t(curiosity-inventory.tabInstances_RHEL)", "tabInstances_Satellite": "$t(curiosity-inventory.tabInstances_RHEL)", @@ -313,6 +318,7 @@ "label_groupVariant_RHEL for IBM z": "RHEL for IBM z", "label_groupVariant_RHEL for x86": "RHEL for x86", "label_groupVariant_rhel-for-x86-eus": "RHEL for x86 EUS", + "label_groupVariant_rhel-for-x86-ha": "RHEL for x86 HA", "label_groupVariant_rhel-for-sap-x86": "RHEL for SAP x86", "label_groupVariant_rosa": "ROSA Hosted Control Planes", "label_groupVariant_Satellite Capsule": "Satellite Capsule", @@ -419,6 +425,9 @@ "title_rhel-for-x86-eus": "$t(curiosity-view.title_RHEL)", "subtitle_rhel-for-x86-eus": "$t(curiosity-view.title_RHEL)", "description_rhel-for-x86-eus": "$t(curiosity-view.description_RHEL)", + "title_rhel-for-x86-ha": "$t(curiosity-view.title_RHEL)", + "subtitle_rhel-for-x86-ha": "$t(curiosity-view.title_RHEL)", + "description_rhel-for-x86-ha": "$t(curiosity-view.description_RHEL)", "title_rhel-for-sap-x86": "$t(curiosity-view.title_RHEL)", "subtitle_rhel-for-sap-x86": "$t(curiosity-view.title_RHEL)", "description_rhel-for-sap-x86": "$t(curiosity-view.description_RHEL)", diff --git a/src/services/rhsm/__tests__/__snapshots__/rhsmConstants.test.js.snap b/src/services/rhsm/__tests__/__snapshots__/rhsmConstants.test.js.snap index 323c29fc4..fdc078678 100644 --- a/src/services/rhsm/__tests__/__snapshots__/rhsmConstants.test.js.snap +++ b/src/services/rhsm/__tests__/__snapshots__/rhsmConstants.test.js.snap @@ -23,6 +23,7 @@ exports[`RHSM Constants should have specific properties: all exported constants "RHEL_WORKSTATION": "RHEL Workstation", "RHEL_X86": "RHEL for x86", "RHEL_X86_EUS": "rhel-for-x86-eus", + "RHEL_X86_HA": "rhel-for-x86-ha", "RHEL_X86_SAP": "rhel-for-sap-x86", "RHODS": "rhods", "ROSA": "rosa", @@ -35,6 +36,7 @@ exports[`RHSM Constants should have specific properties: all exported constants "RHEL_IBM_Z": "RHEL for IBM z", "RHEL_X86": "RHEL for x86", "RHEL_X86_EUS": "rhel-for-x86-eus", + "RHEL_X86_HA": "rhel-for-x86-ha", "RHEL_X86_SAP": "rhel-for-sap-x86", }, "RHSM_API_PATH_PRODUCT_VARIANT_SATELLITE_TYPES": { @@ -281,6 +283,7 @@ exports[`RHSM Constants should have specific properties: all exported constants "RHEL_WORKSTATION": "RHEL Workstation", "RHEL_X86": "RHEL for x86", "RHEL_X86_EUS": "rhel-for-x86-eus", + "RHEL_X86_HA": "rhel-for-x86-ha", "RHEL_X86_SAP": "rhel-for-sap-x86", "RHODS": "rhods", "ROSA": "rosa", @@ -293,6 +296,7 @@ exports[`RHSM Constants should have specific properties: all exported constants "RHEL_IBM_Z": "RHEL for IBM z", "RHEL_X86": "RHEL for x86", "RHEL_X86_EUS": "rhel-for-x86-eus", + "RHEL_X86_HA": "rhel-for-x86-ha", "RHEL_X86_SAP": "rhel-for-sap-x86", }, "RHSM_API_PATH_PRODUCT_VARIANT_SATELLITE_TYPES": { @@ -540,6 +544,7 @@ exports[`RHSM Constants should have specific properties: all exported constants "RHEL_WORKSTATION": "RHEL Workstation", "RHEL_X86": "RHEL for x86", "RHEL_X86_EUS": "rhel-for-x86-eus", + "RHEL_X86_HA": "rhel-for-x86-ha", "RHEL_X86_SAP": "rhel-for-sap-x86", "RHODS": "rhods", "ROSA": "rosa", @@ -552,6 +557,7 @@ exports[`RHSM Constants should have specific properties: all exported constants "RHEL_IBM_Z": "RHEL for IBM z", "RHEL_X86": "RHEL for x86", "RHEL_X86_EUS": "rhel-for-x86-eus", + "RHEL_X86_HA": "rhel-for-x86-ha", "RHEL_X86_SAP": "rhel-for-sap-x86", }, "RHSM_API_PATH_PRODUCT_VARIANT_SATELLITE_TYPES": { @@ -803,6 +809,7 @@ exports[`RHSM Constants should have specific properties: specific constants 1`] "RHEL_WORKSTATION": "RHEL Workstation", "RHEL_X86": "RHEL for x86", "RHEL_X86_EUS": "rhel-for-x86-eus", + "RHEL_X86_HA": "rhel-for-x86-ha", "RHEL_X86_SAP": "rhel-for-sap-x86", "RHODS": "rhods", "ROSA": "rosa", @@ -815,6 +822,7 @@ exports[`RHSM Constants should have specific properties: specific constants 1`] "RHEL_IBM_Z": "RHEL for IBM z", "RHEL_X86": "RHEL for x86", "RHEL_X86_EUS": "rhel-for-x86-eus", + "RHEL_X86_HA": "rhel-for-x86-ha", "RHEL_X86_SAP": "rhel-for-sap-x86", }, "RHSM_API_PATH_PRODUCT_VARIANT_SATELLITE_TYPES": { diff --git a/src/services/rhsm/rhsmConstants.js b/src/services/rhsm/rhsmConstants.js index 698015722..bfa76d132 100644 --- a/src/services/rhsm/rhsmConstants.js +++ b/src/services/rhsm/rhsmConstants.js @@ -7,7 +7,7 @@ * RHSM path IDs for product RHEL variants. * * @type {{RHEL_ARM: string, RHEL_X86_SAP: string, RHEL_IBM_Z: string, RHEL_IBM_POWER: string, RHEL_X86: string, - * RHEL_X86_EUS: string}} + * RHEL_X86_EUS: string, RHEL_X86_HA: string}} */ const RHSM_API_PATH_PRODUCT_VARIANT_RHEL_TYPES = { RHEL_ARM: 'RHEL for ARM', @@ -15,6 +15,7 @@ const RHSM_API_PATH_PRODUCT_VARIANT_RHEL_TYPES = { RHEL_IBM_Z: 'RHEL for IBM z', RHEL_X86: 'RHEL for x86', RHEL_X86_EUS: 'rhel-for-x86-eus', + RHEL_X86_HA: 'rhel-for-x86-ha', RHEL_X86_SAP: 'rhel-for-sap-x86' }; @@ -440,11 +441,11 @@ const RHSM_INTERNAL_PRODUCT_DISPLAY_TYPES = { * {GENERIC: string, OPTIN: string}, RHSM_API_QUERY_GRANULARITY_TYPES: {WEEKLY: string, QUARTERLY: string, DAILY: * string, MONTHLY: string}, RHSM_API_RESPONSE_UOM_TYPES: {CORES: string, SOCKETS: string}, * RHSM_API_PATH_PRODUCT_VARIANT_RHEL_TYPES: {RHEL_ARM: string, RHEL_X86_SAP: string, RHEL_IBM_Z: string, - * RHEL_IBM_POWER: string, RHEL_X86: string, RHEL_X86_EUS: string}, RHSM_API_RESPONSE_SUBSCRIPTIONS_DATA_TYPES: - * {BILLING_ACCOUNT_ID: string, QUANTITY: string, SUBSCRIPTION_MANAGER_ID: string, INVENTORY_ID: string, - * NUMBER_OF_GUESTS: string, HAS_INFINITE_QUANTITY: string, TOTAL_CAPACITY: string, PRODUCT_NAME: string, - * SERVICE_LEVEL: string, DISPLAY_NAME: string, MEASUREMENTS: string, UOM: string, CATEGORY: string, - * NEXT_EVENT_DATE: string, BILLING_PROVIDER: string, LAST_SEEN: string}, + * RHEL_IBM_POWER: string, RHEL_X86: string, RHEL_X86_EUS: string, RHEL_X86_HA: string}, + * RHSM_API_RESPONSE_SUBSCRIPTIONS_DATA_TYPES: {BILLING_ACCOUNT_ID: string, QUANTITY: string, + * SUBSCRIPTION_MANAGER_ID: string, INVENTORY_ID: string, NUMBER_OF_GUESTS: string, HAS_INFINITE_QUANTITY: string, + * TOTAL_CAPACITY: string, PRODUCT_NAME: string, SERVICE_LEVEL: string, DISPLAY_NAME: string, MEASUREMENTS: string, + * UOM: string, CATEGORY: string, NEXT_EVENT_DATE: string, BILLING_PROVIDER: string, LAST_SEEN: string}, * RHSM_API_QUERY_INVENTORY_SORT_DIRECTION_TYPES: {ASCENDING: string, DESCENDING: string}, * RHSM_API_RESPONSE_SUBSCRIPTION_TYPES: {ANNUAL: string, ON_DEMAND: string}, RHSM_API_QUERY_INVENTORY_SORT_TYPES: * {CORES: string, STORAGE_GIBIBYTES: string, CATEGORY: string, SOCKETS: string, INSTANCE_HOURS: string, diff --git a/tests/__snapshots__/dist.test.js.snap b/tests/__snapshots__/dist.test.js.snap index bcf555756..b2793dc30 100644 --- a/tests/__snapshots__/dist.test.js.snap +++ b/tests/__snapshots__/dist.test.js.snap @@ -214,6 +214,7 @@ exports[`Build distribution should have a predictable ephemeral navigation based "RHEL for IBM z", "RHEL for x86", "rhel-for-x86-eus", + "rhel-for-x86-ha", "rhel-for-sap-x86", "Satellite Capsule", "Satellite Server", @@ -235,6 +236,7 @@ exports[`Build distribution should have a predictable ephemeral navigation based "RHEL for IBM z", "RHEL for x86", "rhel-for-x86-eus", + "rhel-for-x86-ha", "rhel-for-sap-x86", "Satellite Capsule", "Satellite Server", @@ -256,6 +258,7 @@ exports[`Build distribution should have a predictable ephemeral navigation based "RHEL for IBM z", "RHEL for x86", "rhel-for-x86-eus", + "rhel-for-x86-ha", "rhel-for-sap-x86", "Satellite Capsule", "Satellite Server", @@ -277,6 +280,7 @@ exports[`Build distribution should have a predictable ephemeral navigation based "RHEL for IBM z", "RHEL for x86", "rhel-for-x86-eus", + "rhel-for-x86-ha", "rhel-for-sap-x86", "Satellite Capsule", "Satellite Server", @@ -298,6 +302,7 @@ exports[`Build distribution should have a predictable ephemeral navigation based "RHEL for IBM z", "RHEL for x86", "rhel-for-x86-eus", + "rhel-for-x86-ha", "rhel-for-sap-x86", "Satellite Capsule", "Satellite Server", @@ -319,6 +324,7 @@ exports[`Build distribution should have a predictable ephemeral navigation based "RHEL for IBM z", "RHEL for x86", "rhel-for-x86-eus", + "rhel-for-x86-ha", "rhel-for-sap-x86", "Satellite Capsule", "Satellite Server", @@ -340,6 +346,7 @@ exports[`Build distribution should have a predictable ephemeral navigation based "RHEL for IBM z", "RHEL for x86", "rhel-for-x86-eus", + "rhel-for-x86-ha", "rhel-for-sap-x86", "Satellite Capsule", "Satellite Server", @@ -361,6 +368,7 @@ exports[`Build distribution should have a predictable ephemeral navigation based "RHEL for IBM z", "RHEL for x86", "rhel-for-x86-eus", + "rhel-for-x86-ha", "rhel-for-sap-x86", "Satellite Capsule", "Satellite Server", @@ -382,6 +390,7 @@ exports[`Build distribution should have a predictable ephemeral navigation based "RHEL for IBM z", "RHEL for x86", "rhel-for-x86-eus", + "rhel-for-x86-ha", "rhel-for-sap-x86", "Satellite Capsule", "Satellite Server", @@ -403,6 +412,7 @@ exports[`Build distribution should have a predictable ephemeral navigation based "RHEL for IBM z", "RHEL for x86", "rhel-for-x86-eus", + "rhel-for-x86-ha", "rhel-for-sap-x86", "Satellite Capsule", "Satellite Server", @@ -424,6 +434,7 @@ exports[`Build distribution should have a predictable ephemeral navigation based "RHEL for IBM z", "RHEL for x86", "rhel-for-x86-eus", + "rhel-for-x86-ha", "rhel-for-sap-x86", "Satellite Capsule", "Satellite Server", @@ -516,6 +527,7 @@ exports[`Build distribution should have a predictable ephemeral navigation based "RHEL for IBM z", "RHEL for x86", "rhel-for-x86-eus", + "rhel-for-x86-ha", "rhel-for-sap-x86", "Satellite Capsule", "Satellite Server", @@ -572,6 +584,7 @@ exports[`Build distribution should have a predictable ephemeral navigation based "RHEL for IBM z", "RHEL for x86", "rhel-for-x86-eus", + "rhel-for-x86-ha", "rhel-for-sap-x86", "Satellite Capsule", "Satellite Server",