@openshift-assisted/ui-lib 2.9.15-cim → 2.10.0-cim
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/@types/cim/components/Agent/BMCForm.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts +2 -2
- package/build/@types/cim/components/Hypershift/DetailsPage/ClusterInstallationProgress.d.ts +2 -6
- package/build/@types/cim/components/Hypershift/DetailsPage/ClusterInstallationProgress.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/DetailsPage/ConditionsTable.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/DetailsPage/HostedClusterProgress.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsProgress.d.ts +2 -6
- package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsProgress.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsTable.d.ts +2 -6
- package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsTable.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/types.d.ts +2 -8
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/types.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/forms/NodePoolAgentsForm.d.ts +3 -1
- package/build/@types/cim/components/Hypershift/forms/NodePoolAgentsForm.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/modals/AddNodePoolModal.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/modals/ManageHostsModal.d.ts +1 -1
- package/build/@types/cim/components/Hypershift/modals/ManageHostsModal.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/modals/NodePoolForm.d.ts +0 -8
- package/build/@types/cim/components/Hypershift/modals/NodePoolForm.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/types.d.ts +19 -1
- package/build/@types/cim/components/Hypershift/types.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/utils/status.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/EnvironmentDetails.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/agentStatus.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/clusterDeployment.d.ts +2 -2
- package/build/@types/cim/components/helpers/toAssisted.d.ts.map +1 -1
- package/build/@types/cim/components/modals/AddBmcHostYamlForm.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationForm.d.ts.map +1 -1
- package/build/@types/common/api/assisted-service/NewFeatureSupportLevelsAPI.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/OpenShiftVersionSelect.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/FinalizingProgress.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/KubeconfigDownload.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/OperatorsProgressItem.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/ProgressBarTexts.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/ReviewValidations.d.ts.map +1 -1
- package/build/@types/common/components/featureSupportLevels/FeatureSupportLevelBadge.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostRowDetail.d.ts +1 -2
- package/build/@types/common/components/hosts/HostRowDetail.d.ts.map +1 -1
- package/build/@types/common/components/hosts/status.d.ts.map +1 -1
- package/build/@types/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.d.ts.map +1 -1
- package/build/@types/common/components/ui/BorderedIcon/BorderedIcon.d.ts +3 -2
- package/build/@types/common/components/ui/BorderedIcon/BorderedIcon.d.ts.map +1 -1
- package/build/@types/common/components/ui/ClusterEventsToolbar.d.ts.map +1 -1
- package/build/@types/common/components/ui/DeveloperPreview.d.ts +5 -0
- package/build/@types/common/components/ui/DeveloperPreview.d.ts.map +1 -0
- package/build/@types/common/components/ui/EventsList.d.ts.map +1 -1
- package/build/@types/common/components/ui/PreviewBadge.d.ts +8 -7
- package/build/@types/common/components/ui/PreviewBadge.d.ts.map +1 -1
- package/build/@types/common/components/ui/PrismCode.d.ts.map +1 -1
- package/build/@types/common/components/ui/TechnologyPreview.d.ts +5 -0
- package/build/@types/common/components/ui/TechnologyPreview.d.ts.map +1 -0
- package/build/@types/common/components/ui/formik/RichInputField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/validationSchemas.d.ts.map +1 -1
- package/build/@types/common/components/ui/index.d.ts +2 -0
- package/build/@types/common/components/ui/index.d.ts.map +1 -1
- package/build/@types/common/config/constants.d.ts +1 -1
- package/build/@types/common/types/clusters.d.ts +4 -2
- package/build/@types/common/types/clusters.d.ts.map +1 -1
- package/build/@types/common/utils.d.ts +1 -0
- package/build/@types/common/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.d.ts.map +1 -1
- package/build/@types/ocm/components/HostsClusterDetailTab/HostsClusterDetailTab.d.ts.map +1 -1
- package/build/@types/ocm/components/Routes.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/CpuArchitectureDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/DiscoveryImageForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/HostInventory.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmOperatorProgressItem.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/LvmCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/OdfCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.d.ts +3 -2
- package/build/@types/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/AssistedInstallerDetailCard.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterDetail.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/utils.d.ts +1 -1
- package/build/@types/ocm/components/clusterDetail/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsStep.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/AssistedInstallerHeader.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/ClusterStatus.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/ClustersListToolbar.d.ts.map +1 -1
- package/build/@types/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.d.ts.map +1 -1
- package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts +2 -0
- package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts.map +1 -1
- package/build/@types/ocm/components/fetching/fetchEvents.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/HostsDiscoveryTable.d.ts.map +1 -1
- package/build/@types/ocm/components/ui/OcmFormFields.d.ts +1 -1
- package/build/@types/ocm/components/utils.d.ts +5 -0
- package/build/@types/ocm/components/utils.d.ts.map +1 -0
- package/build/@types/ocm/hooks/use-feature.d.ts +3 -0
- package/build/@types/ocm/hooks/use-feature.d.ts.map +1 -0
- package/build/@types/ocm/index.d.ts +1 -2
- package/build/@types/ocm/index.d.ts.map +1 -1
- package/build/@types/ocm/services/ClusterDetailsService.d.ts.map +1 -1
- package/build/@types/ocm/services/ClustersService.d.ts.map +1 -1
- package/build/@types/ocm/services/Day2ClusterService.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/current-cluster/slice.d.ts +1 -2
- package/build/@types/ocm/store/slices/current-cluster/slice.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/feature-flags/selectors.d.ts +3 -2
- package/build/@types/ocm/store/slices/feature-flags/selectors.d.ts.map +1 -1
- package/build/cjs/cim/components/Agent/AgentTable.js +2 -2
- package/build/cjs/cim/components/Agent/AgentTable.js.map +1 -1
- package/build/cjs/cim/components/Agent/BMCForm.js +4 -3
- package/build/cjs/cim/components/Agent/BMCForm.js.map +1 -1
- package/build/cjs/cim/components/Agent/MinimalHWRequirements.js +2 -2
- package/build/cjs/cim/components/Agent/MinimalHWRequirements.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.js +2 -2
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsTable.js +2 -2
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsTable.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsNetworkTable.js +2 -2
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsNetworkTable.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js +2 -2
- package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/ClusterInstallationProgress.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/ConditionsTable.js +10 -6
- package/build/cjs/cim/components/Hypershift/DetailsPage/ConditionsTable.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/HostedClusterProgress.js +5 -3
- package/build/cjs/cim/components/Hypershift/DetailsPage/HostedClusterProgress.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsProgress.js +3 -3
- package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsProgress.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsTable.js +2 -2
- package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsTable.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.js +9 -4
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.js +13 -3
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.js +32 -10
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/forms/NodePoolAgentsForm.js +16 -5
- package/build/cjs/cim/components/Hypershift/forms/NodePoolAgentsForm.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/modals/AddNodePoolModal.js +5 -0
- package/build/cjs/cim/components/Hypershift/modals/AddNodePoolModal.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/modals/ManageHostsModal.js +50 -10
- package/build/cjs/cim/components/Hypershift/modals/ManageHostsModal.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/modals/NodePoolForm.js +1 -1
- package/build/cjs/cim/components/Hypershift/modals/NodePoolForm.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/utils/status.js +11 -7
- package/build/cjs/cim/components/Hypershift/utils/status.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js +6 -4
- package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js +2 -2
- package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.js +3 -3
- package/build/cjs/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraTableToolbar.js +2 -2
- package/build/cjs/cim/components/InfraEnv/InfraTableToolbar.js.map +1 -1
- package/build/cjs/cim/components/helpers/agentStatus.js +5 -4
- package/build/cjs/cim/components/helpers/agentStatus.js.map +1 -1
- package/build/cjs/cim/components/helpers/toAssisted.js +8 -2
- package/build/cjs/cim/components/helpers/toAssisted.js.map +1 -1
- package/build/cjs/cim/components/modals/AddBmcHostYamlForm.js +4 -3
- package/build/cjs/cim/components/modals/AddBmcHostYamlForm.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigDisconnectedAlert.js +2 -2
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigDisconnectedAlert.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigProgressAlert.js +2 -2
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigProgressAlert.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationForm.js +9 -8
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationForm.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimStorageMissingAlert.js +2 -2
- package/build/cjs/cim/components/modals/CimConfiguration/CimStorageMissingAlert.js.map +1 -1
- package/build/cjs/cim/components/modals/MassDeleteAgentModal.js +2 -2
- package/build/cjs/cim/components/modals/MassDeleteAgentModal.js.map +1 -1
- package/build/cjs/common/api/assisted-service/NewFeatureSupportLevelsAPI.js +1 -5
- package/build/cjs/common/api/assisted-service/NewFeatureSupportLevelsAPI.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js +2 -2
- package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.js +2 -2
- package/build/cjs/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.js +3 -3
- package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/OpenShiftVersionSelect.js +8 -5
- package/build/cjs/common/components/clusterConfiguration/OpenShiftVersionSelect.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/ClusterCredentials.js +2 -2
- package/build/cjs/common/components/clusterDetail/ClusterCredentials.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/ConsoleModal.js +2 -2
- package/build/cjs/common/components/clusterDetail/ConsoleModal.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/FinalizingProgress.js +9 -6
- package/build/cjs/common/components/clusterDetail/FinalizingProgress.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/KubeconfigDownload.js +5 -4
- package/build/cjs/common/components/clusterDetail/KubeconfigDownload.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js +10 -6
- package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/ProgressBarTexts.js +6 -4
- package/build/cjs/common/components/clusterDetail/ProgressBarTexts.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/ReviewValidations.js +9 -5
- package/build/cjs/common/components/clusterWizard/ReviewValidations.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js +4 -4
- package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js.map +1 -1
- package/build/cjs/common/components/featureSupportLevels/FeatureSupportLevelBadge.js +3 -2
- package/build/cjs/common/components/featureSupportLevels/FeatureSupportLevelBadge.js.map +1 -1
- package/build/cjs/common/components/hosts/DiskRole.js +2 -2
- package/build/cjs/common/components/hosts/DiskRole.js.map +1 -1
- package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js +8 -5
- package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js.map +1 -1
- package/build/cjs/common/components/hosts/HostRowDetail.js +2 -2
- package/build/cjs/common/components/hosts/HostRowDetail.js.map +1 -1
- package/build/cjs/common/components/hosts/HostStatus.js +2 -2
- package/build/cjs/common/components/hosts/HostStatus.js.map +1 -1
- package/build/cjs/common/components/hosts/HostValidationGroups.js +8 -5
- package/build/cjs/common/components/hosts/HostValidationGroups.js.map +1 -1
- package/build/cjs/common/components/hosts/Hostname.js +4 -4
- package/build/cjs/common/components/hosts/Hostname.js.map +1 -1
- package/build/cjs/common/components/hosts/HostsTable.js +2 -2
- package/build/cjs/common/components/hosts/HostsTable.js.map +1 -1
- package/build/cjs/common/components/hosts/MassChangeHostnameModal.js +2 -2
- package/build/cjs/common/components/hosts/MassChangeHostnameModal.js.map +1 -1
- package/build/cjs/common/components/hosts/OcpConsoleNodesSectionLink.js +2 -2
- package/build/cjs/common/components/hosts/OcpConsoleNodesSectionLink.js.map +1 -1
- package/build/cjs/common/components/hosts/TableToolbar.js +3 -3
- package/build/cjs/common/components/hosts/TableToolbar.js.map +1 -1
- package/build/cjs/common/components/hosts/VMRebootConfigurationInfo.js +2 -2
- package/build/cjs/common/components/hosts/VMRebootConfigurationInfo.js.map +1 -1
- package/build/cjs/common/components/hosts/status.js +42 -30
- package/build/cjs/common/components/hosts/status.js.map +1 -1
- package/build/cjs/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.js +3 -2
- package/build/cjs/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.js.map +1 -1
- package/build/cjs/common/components/storage/DisksTable.js +3 -3
- package/build/cjs/common/components/storage/DisksTable.js.map +1 -1
- package/build/cjs/common/components/storage/StorageUtils.js +2 -2
- package/build/cjs/common/components/storage/StorageUtils.js.map +1 -1
- package/build/cjs/common/components/ui/BorderedIcon/BorderedIcon.js +10 -10
- package/build/cjs/common/components/ui/BorderedIcon/BorderedIcon.js.map +1 -1
- package/build/cjs/common/components/ui/ClusterEventsToolbar.js +4 -3
- package/build/cjs/common/components/ui/ClusterEventsToolbar.js.map +1 -1
- package/build/cjs/common/components/ui/DeveloperPreview.js +14 -0
- package/build/cjs/common/components/ui/DeveloperPreview.js.map +1 -0
- package/build/cjs/common/components/ui/EventsList.js +8 -5
- package/build/cjs/common/components/ui/EventsList.js.map +1 -1
- package/build/cjs/common/components/ui/ExternalLink.js +2 -2
- package/build/cjs/common/components/ui/ExternalLink.js.map +1 -1
- package/build/cjs/common/components/ui/NoPermissionsError.js +3 -3
- package/build/cjs/common/components/ui/NoPermissionsError.js.map +1 -1
- package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js +2 -2
- package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js.map +1 -1
- package/build/cjs/common/components/ui/PopoverIcon.js +2 -2
- package/build/cjs/common/components/ui/PopoverIcon.js.map +1 -1
- package/build/cjs/common/components/ui/PreviewBadge.js +6 -17
- package/build/cjs/common/components/ui/PreviewBadge.js.map +1 -1
- package/build/cjs/common/components/ui/PrismCode.js +6 -4
- package/build/cjs/common/components/ui/PrismCode.js.map +1 -1
- package/build/cjs/common/components/ui/SimpleDropdown.js +2 -2
- package/build/cjs/common/components/ui/SimpleDropdown.js.map +1 -1
- package/build/cjs/common/components/ui/TechnologyPreview.js +15 -0
- package/build/cjs/common/components/ui/TechnologyPreview.js.map +1 -0
- package/build/cjs/common/components/ui/ViewClusterEventsButton.js +2 -2
- package/build/cjs/common/components/ui/ViewClusterEventsButton.js.map +1 -1
- package/build/cjs/common/components/ui/WizardNavItem.js +3 -3
- package/build/cjs/common/components/ui/WizardNavItem.js.map +1 -1
- package/build/cjs/common/components/ui/eventsModal.js +3 -3
- package/build/cjs/common/components/ui/eventsModal.js.map +1 -1
- package/build/cjs/common/components/ui/formik/AddButton.js +2 -2
- package/build/cjs/common/components/ui/formik/AddButton.js.map +1 -1
- package/build/cjs/common/components/ui/formik/AdditionalNTPSourcesField.js +1 -1
- package/build/cjs/common/components/ui/formik/AdditionalNTPSourcesField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/PencilEditField.js +2 -2
- package/build/cjs/common/components/ui/formik/PencilEditField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/PullSecretField.js +3 -3
- package/build/cjs/common/components/ui/formik/PullSecretField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/RemovableField.js +2 -2
- package/build/cjs/common/components/ui/formik/RemovableField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/RichInputField.js +8 -4
- package/build/cjs/common/components/ui/formik/RichInputField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/validationSchemas.js +11 -4
- package/build/cjs/common/components/ui/formik/validationSchemas.js.map +1 -1
- package/build/cjs/common/components/ui/index.js +2 -0
- package/build/cjs/common/components/ui/index.js.map +1 -1
- package/build/cjs/common/components/ui/uiState/EmptyState.js +2 -2
- package/build/cjs/common/components/ui/uiState/EmptyState.js.map +1 -1
- package/build/cjs/common/components/ui/uiState/ErrorState.js +3 -3
- package/build/cjs/common/components/ui/uiState/ErrorState.js.map +1 -1
- package/build/cjs/common/config/constants.js +1 -1
- package/build/cjs/common/types/clusters.js +5 -1
- package/build/cjs/common/types/clusters.js.map +1 -1
- package/build/cjs/common/utils.js +19 -1
- package/build/cjs/common/utils.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/AddHosts.js +1 -1
- package/build/cjs/ocm/components/AddHosts/AddHosts.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.js +4 -3
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.js.map +1 -1
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTab.js +3 -4
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTab.js.map +1 -1
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js +1 -1
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js.map +1 -1
- package/build/cjs/ocm/components/Routes.js +7 -9
- package/build/cjs/ocm/components/Routes.js.map +1 -1
- package/build/cjs/ocm/components/SentryErrorMonitorContextProvider.js +1 -1
- package/build/cjs/ocm/components/SentryErrorMonitorContextProvider.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/CpuArchitectureDropdown.js +10 -8
- package/build/cjs/ocm/components/clusterConfiguration/CpuArchitectureDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageForm.js +4 -3
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/HostInventory.js +2 -1
- package/build/cjs/ocm/components/clusterConfiguration/HostInventory.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmBaseDomainField.js +4 -4
- package/build/cjs/ocm/components/clusterConfiguration/OcmBaseDomainField.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +6 -5
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js +9 -6
- package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js +10 -6
- package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CollapsedManifest.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CollapsedManifest.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifest.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifest.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.js +3 -3
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.js +3 -3
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js +9 -5
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js +1 -7
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/CnvCheckbox.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/operators/CnvCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/LvmCheckbox.js +3 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/LvmCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/MceCheckbox.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/operators/MceCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OdfCheckbox.js +15 -5
- package/build/cjs/ocm/components/clusterConfiguration/operators/OdfCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js +23 -12
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.js +3 -3
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/constants.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/constants.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.js +4 -2
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.js +13 -7
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewStep.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewStep.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/CollapsedHost.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/CollapsedHost.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/MacIpMapping.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/MacIpMapping.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlViewFields.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlViewFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js +11 -10
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.js +6 -5
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/CancelInstallationModal.js +1 -1
- package/build/cjs/ocm/components/clusterDetail/CancelInstallationModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterDetail.js +3 -2
- package/build/cjs/ocm/components/clusterDetail/ClusterDetail.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusMessages.js +3 -3
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusMessages.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailsButtonGroup.js +2 -2
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailsButtonGroup.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterInstallationError.js +2 -2
- package/build/cjs/ocm/components/clusterDetail/ClusterInstallationError.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/OpenShiftVersionDetail.js +2 -2
- package/build/cjs/ocm/components/clusterDetail/OpenShiftVersionDetail.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js +5 -5
- package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js +4 -4
- package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/utils.js +5 -5
- package/build/cjs/ocm/components/clusterDetail/utils.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js +2 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/HostDiscovery.js +1 -1
- package/build/cjs/ocm/components/clusterWizard/HostDiscovery.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/Operators.js +1 -1
- package/build/cjs/ocm/components/clusterWizard/Operators.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js +7 -1
- package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js.map +1 -1
- package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js +2 -2
- package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterBreadcrumbs.js +1 -1
- package/build/cjs/ocm/components/clusters/ClusterBreadcrumbs.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterStatus.js +15 -8
- package/build/cjs/ocm/components/clusters/ClusterStatus.js.map +1 -1
- package/build/cjs/ocm/components/clusters/Clusters.js +3 -3
- package/build/cjs/ocm/components/clusters/Clusters.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClustersListToolbar.js +4 -3
- package/build/cjs/ocm/components/clusters/ClustersListToolbar.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js +6 -5
- package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js +17 -1
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js.map +1 -1
- package/build/cjs/ocm/components/fetching/fetchEvents.js +1 -1
- package/build/cjs/ocm/components/fetching/fetchEvents.js.map +1 -1
- package/build/cjs/ocm/components/hosts/HostsDiscoveryTable.js +1 -1
- package/build/cjs/ocm/components/hosts/HostsDiscoveryTable.js.map +1 -1
- package/build/cjs/ocm/components/hosts/HostsTableEmptyState.js +2 -2
- package/build/cjs/ocm/components/hosts/HostsTableEmptyState.js.map +1 -1
- package/build/cjs/ocm/components/hosts/use-hosts-table.js +1 -1
- package/build/cjs/ocm/components/hosts/use-hosts-table.js.map +1 -1
- package/build/cjs/ocm/components/hosts/utils.js +1 -1
- package/build/cjs/ocm/components/hosts/utils.js.map +1 -1
- package/build/cjs/ocm/components/ui/InfoLinkWithModal.js +2 -2
- package/build/cjs/ocm/components/ui/InfoLinkWithModal.js.map +1 -1
- package/build/cjs/ocm/components/utils.js +18 -0
- package/build/cjs/ocm/components/utils.js.map +1 -0
- package/build/cjs/ocm/hooks/use-feature.js +10 -0
- package/build/cjs/ocm/hooks/use-feature.js.map +1 -0
- package/build/cjs/ocm/hooks/useClusterCustomManifests.js +1 -1
- package/build/cjs/ocm/hooks/useClusterCustomManifests.js.map +1 -1
- package/build/cjs/ocm/hooks/useClusterPreflightRequirements.js +1 -1
- package/build/cjs/ocm/hooks/useClusterPreflightRequirements.js.map +1 -1
- package/build/cjs/ocm/hooks/useManagedDomains.js +1 -1
- package/build/cjs/ocm/hooks/useManagedDomains.js.map +1 -1
- package/build/cjs/ocm/hooks/useOpenshiftVersions.js +1 -1
- package/build/cjs/ocm/hooks/useOpenshiftVersions.js.map +1 -1
- package/build/cjs/ocm/hooks/usePullSecret.js +1 -1
- package/build/cjs/ocm/hooks/usePullSecret.js.map +1 -1
- package/build/cjs/ocm/hooks/useSupportLevelsAPI.js +1 -1
- package/build/cjs/ocm/hooks/useSupportLevelsAPI.js.map +1 -1
- package/build/cjs/ocm/hooks/useUsedClusterNames.js +1 -1
- package/build/cjs/ocm/hooks/useUsedClusterNames.js.map +1 -1
- package/build/cjs/ocm/index.js +1 -2
- package/build/cjs/ocm/index.js.map +1 -1
- package/build/cjs/ocm/services/ClusterDetailsService.js +19 -7
- package/build/cjs/ocm/services/ClusterDetailsService.js.map +1 -1
- package/build/cjs/ocm/services/ClustersService.js +2 -2
- package/build/cjs/ocm/services/ClustersService.js.map +1 -1
- package/build/cjs/ocm/services/Day2ClusterService.js +11 -1
- package/build/cjs/ocm/services/Day2ClusterService.js.map +1 -1
- package/build/cjs/ocm/store/slices/feature-flags/selectors.js +2 -1
- package/build/cjs/ocm/store/slices/feature-flags/selectors.js.map +1 -1
- package/lib/cim/components/Agent/AgentTable.tsx +1 -1
- package/lib/cim/components/Agent/BMCForm.tsx +2 -1
- package/lib/cim/components/Agent/MinimalHWRequirements.tsx +1 -1
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.tsx +1 -1
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentDetailsTable.tsx +1 -1
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentHostsNetworkTable.tsx +1 -1
- package/lib/cim/components/ClusterDeployment/networkConfigurationValidation.ts +2 -2
- package/lib/cim/components/Hypershift/DetailsPage/ClusterInstallationProgress.tsx +7 -6
- package/lib/cim/components/Hypershift/DetailsPage/ConditionsTable.tsx +6 -10
- package/lib/cim/components/Hypershift/DetailsPage/HostedClusterProgress.tsx +4 -5
- package/lib/cim/components/Hypershift/DetailsPage/NodePoolsProgress.tsx +9 -8
- package/lib/cim/components/Hypershift/DetailsPage/NodePoolsTable.tsx +8 -7
- package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.tsx +8 -3
- package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.tsx +13 -3
- package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.tsx +36 -8
- package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/types.ts +2 -8
- package/lib/cim/components/Hypershift/forms/NodePoolAgentsForm.tsx +58 -19
- package/lib/cim/components/Hypershift/modals/AddNodePoolModal.tsx +7 -2
- package/lib/cim/components/Hypershift/modals/ManageHostsModal.tsx +64 -12
- package/lib/cim/components/Hypershift/modals/NodePoolForm.tsx +8 -10
- package/lib/cim/components/Hypershift/types.ts +21 -1
- package/lib/cim/components/Hypershift/utils/status.tsx +6 -6
- package/lib/cim/components/InfraEnv/EnvironmentDetails.tsx +3 -1
- package/lib/cim/components/InfraEnv/InfraEnvFormPage.tsx +1 -1
- package/lib/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.tsx +2 -2
- package/lib/cim/components/InfraEnv/InfraTableToolbar.tsx +1 -1
- package/lib/cim/components/helpers/agentStatus.tsx +3 -2
- package/lib/cim/components/helpers/toAssisted.ts +8 -2
- package/lib/cim/components/modals/AddBmcHostYamlForm.tsx +2 -1
- package/lib/cim/components/modals/CimConfiguration/CimConfigDisconnectedAlert.tsx +1 -1
- package/lib/cim/components/modals/CimConfiguration/CimConfigProgressAlert.tsx +1 -1
- package/lib/cim/components/modals/CimConfiguration/CimConfigurationForm.tsx +2 -1
- package/lib/cim/components/modals/CimConfiguration/CimStorageMissingAlert.tsx +1 -1
- package/lib/cim/components/modals/MassDeleteAgentModal.tsx +1 -1
- package/lib/common/api/assisted-service/NewFeatureSupportLevelsAPI.ts +1 -0
- package/lib/common/components/clusterConfiguration/DiscoveryImageConfigForm.tsx +1 -1
- package/lib/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.tsx +1 -1
- package/lib/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.tsx +1 -1
- package/lib/common/components/clusterConfiguration/OpenShiftVersionSelect.tsx +5 -9
- package/lib/common/components/clusterDetail/ClusterCredentials.tsx +1 -1
- package/lib/common/components/clusterDetail/ConsoleModal.tsx +1 -1
- package/lib/common/components/clusterDetail/FinalizingProgress.tsx +4 -6
- package/lib/common/components/clusterDetail/KubeconfigDownload.tsx +16 -6
- package/lib/common/components/clusterDetail/OperatorsProgressItem.tsx +6 -10
- package/lib/common/components/clusterDetail/ProgressBarTexts.tsx +3 -1
- package/lib/common/components/clusterWizard/ReviewValidations.tsx +6 -10
- package/lib/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.tsx +6 -6
- package/lib/common/components/featureSupportLevels/FeatureSupportLevelBadge.tsx +2 -1
- package/lib/common/components/hosts/DiskRole.tsx +1 -1
- package/lib/common/components/hosts/HostPropertyValidationPopover.tsx +5 -5
- package/lib/common/components/hosts/HostRowDetail.tsx +6 -10
- package/lib/common/components/hosts/HostStatus.tsx +1 -1
- package/lib/common/components/hosts/HostValidationGroups.tsx +5 -5
- package/lib/common/components/hosts/Hostname.tsx +2 -2
- package/lib/common/components/hosts/HostsTable.tsx +1 -1
- package/lib/common/components/hosts/MassChangeHostnameModal.tsx +1 -1
- package/lib/common/components/hosts/OcpConsoleNodesSectionLink.tsx +1 -1
- package/lib/common/components/hosts/TableToolbar.tsx +2 -2
- package/lib/common/components/hosts/VMRebootConfigurationInfo.tsx +1 -1
- package/lib/common/components/hosts/status.tsx +14 -18
- package/lib/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.tsx +2 -1
- package/lib/common/components/storage/DisksTable.tsx +1 -1
- package/lib/common/components/storage/StorageUtils.tsx +1 -1
- package/lib/common/components/ui/BorderedIcon/BorderedIcon.tsx +2 -1
- package/lib/common/components/ui/ClusterEventsToolbar.tsx +2 -1
- package/lib/common/components/ui/DeveloperPreview.tsx +19 -0
- package/lib/common/components/ui/EventsList.tsx +4 -6
- package/lib/common/components/ui/ExternalLink.tsx +1 -1
- package/lib/common/components/ui/NoPermissionsError.tsx +2 -2
- package/lib/common/components/ui/OpenShiftVersionDropdown.tsx +1 -1
- package/lib/common/components/ui/PopoverIcon.tsx +1 -1
- package/lib/common/components/ui/PreviewBadge.tsx +8 -42
- package/lib/common/components/ui/PrismCode.tsx +3 -5
- package/lib/common/components/ui/SimpleDropdown.tsx +1 -1
- package/lib/common/components/ui/TechnologyPreview.tsx +25 -0
- package/lib/common/components/ui/ViewClusterEventsButton.tsx +1 -1
- package/lib/common/components/ui/WizardNavItem.tsx +2 -2
- package/lib/common/components/ui/eventsModal.tsx +2 -2
- package/lib/common/components/ui/formik/AddButton.tsx +1 -1
- package/lib/common/components/ui/formik/AdditionalNTPSourcesField.tsx +1 -1
- package/lib/common/components/ui/formik/PencilEditField.tsx +1 -1
- package/lib/common/components/ui/formik/PullSecretField.tsx +1 -1
- package/lib/common/components/ui/formik/RemovableField.tsx +1 -1
- package/lib/common/components/ui/formik/RichInputField.tsx +5 -7
- package/lib/common/components/ui/formik/validationSchemas.ts +12 -6
- package/lib/common/components/ui/index.ts +2 -0
- package/lib/common/components/ui/uiState/EmptyState.tsx +1 -1
- package/lib/common/components/ui/uiState/ErrorState.tsx +2 -2
- package/lib/common/config/constants.ts +1 -1
- package/lib/common/types/clusters.ts +8 -4
- package/lib/common/utils.ts +18 -0
- package/lib/ocm/components/AddHosts/AddHosts.tsx +1 -1
- package/lib/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.tsx +3 -4
- package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTab.tsx +5 -7
- package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.tsx +1 -1
- package/lib/ocm/components/Routes.tsx +8 -11
- package/lib/ocm/components/SentryErrorMonitorContextProvider.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/CpuArchitectureDropdown.tsx +13 -9
- package/lib/ocm/components/clusterConfiguration/DiscoveryImageForm.tsx +3 -2
- package/lib/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/HostInventory.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/OcmBaseDomainField.tsx +5 -5
- package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +4 -4
- package/lib/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.tsx +6 -10
- package/lib/ocm/components/clusterConfiguration/OcmOperatorProgressItem.tsx +6 -10
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CollapsedManifest.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifest.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.tsx +2 -2
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.tsx +7 -2
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.tsx +10 -3
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx +1 -9
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/operators/CnvCheckbox.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/operators/LvmCheckbox.tsx +7 -1
- package/lib/ocm/components/clusterConfiguration/operators/MceCheckbox.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/operators/OdfCheckbox.tsx +22 -4
- package/lib/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.tsx +38 -18
- package/lib/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.tsx +2 -2
- package/lib/ocm/components/clusterConfiguration/platformIntegration/constants.tsx +2 -2
- package/lib/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.tsx +4 -2
- package/lib/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.tsx +8 -12
- package/lib/ocm/components/clusterConfiguration/review/ReviewStep.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/CollapsedHost.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/YamlView/MacIpMapping.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlViewFields.tsx +1 -1
- package/lib/ocm/components/clusterDetail/AssistedInstallerDetailCard.tsx +25 -26
- package/lib/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.tsx +16 -21
- package/lib/ocm/components/clusterDetail/CancelInstallationModal.tsx +1 -1
- package/lib/ocm/components/clusterDetail/ClusterDetail.tsx +3 -9
- package/lib/ocm/components/clusterDetail/ClusterDetailStatusMessages.tsx +2 -2
- package/lib/ocm/components/clusterDetail/ClusterDetailsButtonGroup.tsx +2 -2
- package/lib/ocm/components/clusterDetail/ClusterInstallationError.tsx +2 -2
- package/lib/ocm/components/clusterDetail/OpenShiftVersionDetail.tsx +1 -1
- package/lib/ocm/components/clusterDetail/ProgressBarAlerts.tsx +5 -5
- package/lib/ocm/components/clusterDetail/ResetClusterModal.tsx +3 -3
- package/lib/ocm/components/clusterDetail/utils.tsx +6 -5
- package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +1 -1
- package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +1 -1
- package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +2 -5
- package/lib/ocm/components/clusterWizard/HostDiscovery.tsx +1 -1
- package/lib/ocm/components/clusterWizard/Operators.tsx +1 -1
- package/lib/ocm/components/clusterWizard/OperatorsStep.tsx +17 -2
- package/lib/ocm/components/clusters/AssistedInstallerHeader.tsx +8 -6
- package/lib/ocm/components/clusters/ClusterBreadcrumbs.tsx +1 -1
- package/lib/ocm/components/clusters/ClusterStatus.tsx +9 -13
- package/lib/ocm/components/clusters/Clusters.tsx +2 -2
- package/lib/ocm/components/clusters/ClustersListToolbar.tsx +2 -1
- package/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx +3 -2
- package/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +16 -0
- package/lib/ocm/components/fetching/fetchEvents.ts +15 -3
- package/lib/ocm/components/hosts/HostsDiscoveryTable.tsx +0 -1
- package/lib/ocm/components/hosts/HostsTableEmptyState.tsx +1 -1
- package/lib/ocm/components/hosts/use-hosts-table.tsx +1 -1
- package/lib/ocm/components/hosts/utils.ts +1 -1
- package/lib/ocm/components/ui/InfoLinkWithModal.tsx +1 -1
- package/lib/ocm/components/utils.ts +19 -0
- package/lib/ocm/hooks/_use-feature-detection.test.tsx +7 -15
- package/lib/ocm/hooks/use-feature.ts +7 -0
- package/lib/ocm/hooks/useClusterCustomManifests.ts +1 -1
- package/lib/ocm/hooks/useClusterPreflightRequirements.ts +1 -1
- package/lib/ocm/hooks/useManagedDomains.ts +1 -1
- package/lib/ocm/hooks/useOpenshiftVersions.tsx +1 -1
- package/lib/ocm/hooks/usePullSecret.ts +1 -1
- package/lib/ocm/hooks/useSupportLevelsAPI.ts +1 -1
- package/lib/ocm/hooks/useUsedClusterNames.ts +1 -1
- package/lib/ocm/index.ts +1 -2
- package/lib/ocm/services/ClusterDetailsService.ts +20 -4
- package/lib/ocm/services/ClustersService.ts +10 -4
- package/lib/ocm/services/Day2ClusterService.ts +20 -2
- package/lib/ocm/store/slices/feature-flags/selectors.ts +6 -6
- package/package.json +14 -6
- package/build/@types/ocm/api/index.d.ts +0 -2
- package/build/@types/ocm/api/index.d.ts.map +0 -1
- package/build/cjs/ocm/api/index.js +0 -5
- package/build/cjs/ocm/api/index.js.map +0 -1
- package/lib/ocm/api/index.ts +0 -1
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { saveAs } from 'file-saver';
|
|
2
1
|
import get from 'lodash-es/get.js';
|
|
3
|
-
import { isInOcm, handleApiError, getApiErrorMessage } from '
|
|
2
|
+
import { isInOcm, handleApiError, getApiErrorMessage } from '../../../common/api';
|
|
4
3
|
import { AlertsContextType, hostStatusOrder } from '../../../common';
|
|
5
4
|
import { ClustersAPI } from '../../services/apis';
|
|
6
5
|
import { ClustersService } from '../../services';
|
|
7
|
-
import { stringToJSON } from '../../../common/utils';
|
|
6
|
+
import { downloadFile, stringToJSON } from '../../../common/utils';
|
|
8
7
|
import {
|
|
9
8
|
Cluster,
|
|
10
9
|
Host,
|
|
@@ -15,7 +14,9 @@ import {
|
|
|
15
14
|
export const downloadClusterInstallationLogs = async (
|
|
16
15
|
addAlert: AlertsContextType['addAlert'],
|
|
17
16
|
clusterId: string,
|
|
17
|
+
clearAlerts: AlertsContextType['clearAlerts'],
|
|
18
18
|
) => {
|
|
19
|
+
clearAlerts();
|
|
19
20
|
try {
|
|
20
21
|
if (isInOcm) {
|
|
21
22
|
const { data } = await ClustersAPI.getPresignedForClusterFiles({
|
|
@@ -24,10 +25,10 @@ export const downloadClusterInstallationLogs = async (
|
|
|
24
25
|
hostId: undefined,
|
|
25
26
|
logsType: 'all',
|
|
26
27
|
});
|
|
27
|
-
|
|
28
|
+
downloadFile(data.url);
|
|
28
29
|
} else {
|
|
29
30
|
const { data, fileName } = await ClustersService.downloadLogs(clusterId);
|
|
30
|
-
|
|
31
|
+
downloadFile('', data, fileName);
|
|
31
32
|
}
|
|
32
33
|
} catch (e) {
|
|
33
34
|
handleApiError(e, (e) => {
|
|
@@ -3,7 +3,7 @@ import { useHistory } from 'react-router-dom';
|
|
|
3
3
|
import { useDispatch } from 'react-redux';
|
|
4
4
|
import { useAlerts, LoadingState, ClusterWizardStep, ErrorState } from '../../../common';
|
|
5
5
|
import { usePullSecret } from '../../hooks';
|
|
6
|
-
import { getApiErrorMessage, handleApiError, isUnknownServerError } from '
|
|
6
|
+
import { getApiErrorMessage, handleApiError, isUnknownServerError } from '../../../common/api';
|
|
7
7
|
import { setServerUpdateError, updateCluster } from '../../store/slices/current-cluster/slice';
|
|
8
8
|
import { useClusterWizardContext } from './ClusterWizardContext';
|
|
9
9
|
import { canNextClusterDetails, ClusterWizardFlowStateNew } from './wizardTransition';
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
import { canNextClusterDetails } from './wizardTransition';
|
|
16
16
|
import { OpenshiftVersionOptionType, getFormikErrorFields } from '../../../common';
|
|
17
17
|
import ClusterWizardFooter from './ClusterWizardFooter';
|
|
18
|
-
import { isInOcm } from '
|
|
18
|
+
import { isInOcm } from '../../../common/api';
|
|
19
19
|
import {
|
|
20
20
|
ClusterDetailsService,
|
|
21
21
|
ClusterDetailsUpdateParams,
|
|
@@ -12,15 +12,12 @@ import { HostsNetworkConfigurationType } from '../../services';
|
|
|
12
12
|
import { defaultWizardSteps, staticIpFormViewSubSteps } from './constants';
|
|
13
13
|
import { StaticIpView } from '../clusterConfiguration/staticIp/data/dataTypes';
|
|
14
14
|
import { getStaticIpInfo } from '../clusterConfiguration/staticIp/data/fromInfraEnv';
|
|
15
|
-
import {
|
|
16
|
-
AssistedInstallerOCMPermissionTypesListType,
|
|
17
|
-
useFeature,
|
|
18
|
-
useAlerts,
|
|
19
|
-
} from '../../../common';
|
|
15
|
+
import { AssistedInstallerOCMPermissionTypesListType, useAlerts } from '../../../common';
|
|
20
16
|
import useSetClusterPermissions from '../../hooks/useSetClusterPermissions';
|
|
21
17
|
import { Cluster, InfraEnv } from '@openshift-assisted/types/assisted-installer-service';
|
|
22
18
|
import { useUISettings } from '../../hooks';
|
|
23
19
|
import { AlertVariant } from '@patternfly/react-core';
|
|
20
|
+
import { useFeature } from '../../hooks/use-feature';
|
|
24
21
|
|
|
25
22
|
const addStepToClusterWizard = (
|
|
26
23
|
wizardStepIds: ClusterWizardStepsType[],
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
import HostInventory from '../clusterConfiguration/HostInventory';
|
|
13
13
|
import { useClusterWizardContext } from './ClusterWizardContext';
|
|
14
14
|
import { canNextHostDiscovery } from './wizardTransition';
|
|
15
|
-
import { getApiErrorMessage, handleApiError, isUnknownServerError } from '
|
|
15
|
+
import { getApiErrorMessage, handleApiError, isUnknownServerError } from '../../../common/api';
|
|
16
16
|
import { setServerUpdateError, updateCluster } from '../../store/slices/current-cluster/slice';
|
|
17
17
|
import ClusterWizardFooter from './ClusterWizardFooter';
|
|
18
18
|
import ClusterWizardNavigation from './ClusterWizardNavigation';
|
|
@@ -20,7 +20,7 @@ import ClusterWizardNavigation from '../clusterWizard/ClusterWizardNavigation';
|
|
|
20
20
|
import { OperatorsStep } from './OperatorsStep';
|
|
21
21
|
import { ClustersService, OperatorsService } from '../../services';
|
|
22
22
|
import { setServerUpdateError, updateCluster } from '../../store/slices/current-cluster/slice';
|
|
23
|
-
import { getApiErrorMessage, handleApiError, isUnknownServerError } from '
|
|
23
|
+
import { getApiErrorMessage, handleApiError, isUnknownServerError } from '../../../common/api';
|
|
24
24
|
import { canNextOperators } from './wizardTransition';
|
|
25
25
|
import { Cluster, MonitoredOperator } from '@openshift-assisted/types/assisted-installer-service';
|
|
26
26
|
|
|
@@ -7,10 +7,14 @@ import OdfCheckbox from '../clusterConfiguration/operators/OdfCheckbox';
|
|
|
7
7
|
import LvmCheckbox from '../clusterConfiguration/operators/LvmCheckbox';
|
|
8
8
|
import MceCheckbox from '../clusterConfiguration/operators/MceCheckbox';
|
|
9
9
|
import { selectIsCurrentClusterSNO } from '../../store/slices/current-cluster/selectors';
|
|
10
|
+
import { isOCPVersionEqualsOrMajor } from '../utils';
|
|
10
11
|
|
|
11
12
|
export const OperatorsStep = (props: ClusterOperatorProps) => {
|
|
12
13
|
const isSNO = useSelector(selectIsCurrentClusterSNO);
|
|
13
|
-
|
|
14
|
+
const isVersionEqualsOrMajorThan4_15 = isOCPVersionEqualsOrMajor(
|
|
15
|
+
props.openshiftVersion || '',
|
|
16
|
+
'4.15',
|
|
17
|
+
);
|
|
14
18
|
return (
|
|
15
19
|
<Stack hasGutter data-testid={'operators-form'}>
|
|
16
20
|
<StackItem>
|
|
@@ -22,7 +26,18 @@ export const OperatorsStep = (props: ClusterOperatorProps) => {
|
|
|
22
26
|
<StackItem>
|
|
23
27
|
<MceCheckbox />
|
|
24
28
|
</StackItem>
|
|
25
|
-
|
|
29
|
+
{isVersionEqualsOrMajorThan4_15 ? (
|
|
30
|
+
<>
|
|
31
|
+
<StackItem>
|
|
32
|
+
<LvmCheckbox {...props} />
|
|
33
|
+
</StackItem>
|
|
34
|
+
<StackItem>
|
|
35
|
+
<OdfCheckbox />
|
|
36
|
+
</StackItem>
|
|
37
|
+
</>
|
|
38
|
+
) : (
|
|
39
|
+
<StackItem>{isSNO ? <LvmCheckbox {...props} /> : <OdfCheckbox />}</StackItem>
|
|
40
|
+
)}
|
|
26
41
|
</Stack>
|
|
27
42
|
);
|
|
28
43
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TextContent, Text, Split, SplitItem } from '@patternfly/react-core';
|
|
3
|
-
import { ASSISTED_INSTALLER_DOCUMENTATION_LINK, ExternalLink } from '../../../common';
|
|
3
|
+
import { ASSISTED_INSTALLER_DOCUMENTATION_LINK, ExternalLink, isInOcm } from '../../../common';
|
|
4
4
|
|
|
5
5
|
export const AssistedInstallerHeader = () => {
|
|
6
6
|
return (
|
|
@@ -14,11 +14,13 @@ export const AssistedInstallerHeader = () => {
|
|
|
14
14
|
Assisted Installer documentation
|
|
15
15
|
</ExternalLink>
|
|
16
16
|
</SplitItem>
|
|
17
|
-
|
|
18
|
-
<
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
{isInOcm && (
|
|
18
|
+
<SplitItem>
|
|
19
|
+
<Text component="a" data-testid="whats-new-link">
|
|
20
|
+
What's new in Assisted Installer?
|
|
21
|
+
</Text>
|
|
22
|
+
</SplitItem>
|
|
23
|
+
)}
|
|
22
24
|
</Split>
|
|
23
25
|
</TextContent>
|
|
24
26
|
);
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from '@patternfly/react-core';
|
|
8
8
|
import { Link } from 'react-router-dom';
|
|
9
9
|
import { routeBasePath } from '../../config';
|
|
10
|
-
import { isInOcm } from '
|
|
10
|
+
import { isInOcm } from '../../../common/api';
|
|
11
11
|
|
|
12
12
|
const ClusterBreadcrumbs = ({ clusterName }: { clusterName?: string }) => (
|
|
13
13
|
<PageSection variant={PageSectionVariants.light}>
|
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
} from '@patternfly/react-
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
CheckCircleIcon,
|
|
12
|
-
InProgressIcon,
|
|
13
|
-
BanIcon,
|
|
14
|
-
} from '@patternfly/react-icons';
|
|
2
|
+
import { global_danger_color_100 as dangerColor } from '@patternfly/react-tokens/dist/js/global_danger_color_100';
|
|
3
|
+
import { global_success_color_100 as okColor } from '@patternfly/react-tokens/dist/js/global_success_color_100';
|
|
4
|
+
import { global_warning_color_100 as warningColor } from '@patternfly/react-tokens/dist/js/global_warning_color_100';
|
|
5
|
+
import { ExclamationCircleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-circle-icon';
|
|
6
|
+
import { ExclamationTriangleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-triangle-icon';
|
|
7
|
+
import { FileAltIcon } from '@patternfly/react-icons/dist/js/icons/file-alt-icon';
|
|
8
|
+
import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
|
|
9
|
+
import { InProgressIcon } from '@patternfly/react-icons/dist/js/icons/in-progress-icon';
|
|
10
|
+
import { BanIcon } from '@patternfly/react-icons/dist/js/icons/ban-icon';
|
|
15
11
|
import { clusterStatusLabels, WithTestID } from '../../../common';
|
|
16
12
|
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
17
13
|
import { TFunction } from 'i18next';
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
Text,
|
|
9
9
|
PageSection,
|
|
10
10
|
} from '@patternfly/react-core';
|
|
11
|
-
import { AddCircleOIcon } from '@patternfly/react-icons';
|
|
11
|
+
import { AddCircleOIcon } from '@patternfly/react-icons/dist/js/icons/add-circle-o-icon';
|
|
12
12
|
import {
|
|
13
13
|
ResourceUIState,
|
|
14
14
|
Alerts,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from '../../../common';
|
|
21
21
|
import ClustersTable from './ClustersTable';
|
|
22
22
|
import { fetchClustersAsync, deleteCluster } from '../../store/slices/clusters/slice';
|
|
23
|
-
import { handleApiError, getApiErrorMessage } from '
|
|
23
|
+
import { handleApiError, getApiErrorMessage } from '../../../common/api';
|
|
24
24
|
import ClusterBreadcrumbs from './ClusterBreadcrumbs';
|
|
25
25
|
import { routeBasePath } from '../../config';
|
|
26
26
|
import { ClustersService } from '../../services';
|
|
@@ -18,7 +18,8 @@ import {
|
|
|
18
18
|
ToolbarGroup,
|
|
19
19
|
Tooltip,
|
|
20
20
|
} from '@patternfly/react-core';
|
|
21
|
-
import { FilterIcon
|
|
21
|
+
import { FilterIcon } from '@patternfly/react-icons/dist/js/icons/filter-icon';
|
|
22
|
+
import { SyncIcon } from '@patternfly/react-icons/dist/js/icons/sync-icon';
|
|
22
23
|
import { clusterStatusLabels, isSelectEventChecked, ToolbarButton } from '../../../common';
|
|
23
24
|
import { ResourceUIState } from '../../../common';
|
|
24
25
|
import { fetchClustersAsync } from '../../store/slices/clusters/slice';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { CheckCircleIcon
|
|
1
|
+
import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
|
|
2
|
+
import { InfoCircleIcon } from '@patternfly/react-icons/dist/js/icons/info-circle-icon';
|
|
2
3
|
import React from 'react';
|
|
3
|
-
import { global_success_color_100 as okColor } from '@patternfly/react-tokens';
|
|
4
|
+
import { global_success_color_100 as okColor } from '@patternfly/react-tokens/dist/js/global_success_color_100';
|
|
4
5
|
import { Text, TextList, TextListItem, TextContent } from '@patternfly/react-core';
|
|
5
6
|
import {
|
|
6
7
|
FeatureId,
|
|
@@ -218,3 +218,19 @@ export const isFeatureSupportedAndAvailable = (supportLevel: SupportLevel | unde
|
|
|
218
218
|
|
|
219
219
|
export const hostsNetworkConfigurationDisabledReason =
|
|
220
220
|
"DHCP only is the supported hosts' network configuration when external partner integrations is selected";
|
|
221
|
+
|
|
222
|
+
export const getOdfIncompatibleWithLvmsReason = (operatorValues: OperatorsValues) => {
|
|
223
|
+
const mustDisableOdf = operatorValues.useOdfLogicalVolumeManager;
|
|
224
|
+
// In versions >= 4.15, it's not possible to select ODF + LVMS
|
|
225
|
+
return mustDisableOdf
|
|
226
|
+
? `Currently, you can not install ${ODF_OPERATOR_LABEL} operator at the same time as ${LVMS_OPERATOR_LABEL} operator.`
|
|
227
|
+
: undefined;
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
export const getLvmsIncompatibleWithOdfReason = (operatorValues: OperatorsValues) => {
|
|
231
|
+
const mustDisableLvms = operatorValues.useOpenShiftDataFoundation;
|
|
232
|
+
// In versions >= 4.15, it's not possible to select ODF + LVMS
|
|
233
|
+
return mustDisableLvms
|
|
234
|
+
? `Currently, you can not install ${LVMS_OPERATOR_LABEL} operator at the same time as ${ODF_OPERATOR_LABEL} operator.`
|
|
235
|
+
: undefined;
|
|
236
|
+
};
|
|
@@ -1,10 +1,22 @@
|
|
|
1
|
-
import { AxiosError, AxiosResponseHeaders } from 'axios';
|
|
1
|
+
import { AxiosError, AxiosHeaderValue, AxiosHeaders, AxiosResponseHeaders } from 'axios';
|
|
2
2
|
import { EVENT_SEVERITIES, EventListFetchProps } from '../../../common';
|
|
3
|
-
import { handleApiError } from '
|
|
3
|
+
import { handleApiError } from '../../../common/api';
|
|
4
4
|
import { EventsAPI } from '../../services/apis';
|
|
5
5
|
import { SeverityCountsType } from '../../../common/components/ui/ClusterEventsToolbar';
|
|
6
6
|
import { Event } from '@openshift-assisted/types/assisted-installer-service';
|
|
7
|
-
const parseHeaders = (
|
|
7
|
+
const parseHeaders = (
|
|
8
|
+
headers:
|
|
9
|
+
| AxiosResponseHeaders
|
|
10
|
+
| Partial<
|
|
11
|
+
AxiosHeaders & {
|
|
12
|
+
Server: AxiosHeaderValue;
|
|
13
|
+
'Content-Type': AxiosHeaderValue;
|
|
14
|
+
'Content-Length': AxiosHeaderValue;
|
|
15
|
+
'Cache-Control': AxiosHeaderValue;
|
|
16
|
+
'Content-Encoding': AxiosHeaderValue;
|
|
17
|
+
}
|
|
18
|
+
>,
|
|
19
|
+
) => {
|
|
8
20
|
const severities: Record<Event['severity'], number> = {
|
|
9
21
|
error: 0,
|
|
10
22
|
info: 0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ConnectedIcon } from '@patternfly/react-icons';
|
|
2
|
+
import { ConnectedIcon } from '@patternfly/react-icons/dist/js/icons/connected-icon';
|
|
3
3
|
import EmptyState from '../../../common/components/ui/uiState/EmptyState';
|
|
4
4
|
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
5
5
|
import HostsDiscoveryTroubleshootingInfoLinkWithModal from './HostsDiscoveryTroubleshootingInfoLinkWithModal';
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
AdditionalNTPSourcesDialog,
|
|
15
15
|
AdditionalNTPSourcesFormProps,
|
|
16
16
|
} from '../../../common/components/hosts/AdditionalNTPSourcesDialog';
|
|
17
|
-
import { getApiErrorMessage, handleApiError, isUnknownServerError } from '
|
|
17
|
+
import { getApiErrorMessage, handleApiError, isUnknownServerError } from '../../../common/api';
|
|
18
18
|
import {
|
|
19
19
|
forceReload,
|
|
20
20
|
setServerUpdateError,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { saveAs } from 'file-saver';
|
|
2
2
|
import type { AlertsContextType } from '../../../common';
|
|
3
3
|
|
|
4
|
-
import { isInOcm, handleApiError, getApiErrorMessage } from '
|
|
4
|
+
import { isInOcm, handleApiError, getApiErrorMessage } from '../../../common/api';
|
|
5
5
|
import { updateCluster } from '../../store/slices/current-cluster/slice';
|
|
6
6
|
import { ClustersService } from '../../services';
|
|
7
7
|
import ClustersAPI from '../../../common/api/assisted-service/ClustersAPI';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Button, ButtonVariant, Modal, ModalProps } from '@patternfly/react-core';
|
|
3
|
-
import { InfoCircleIcon } from '@patternfly/react-icons';
|
|
3
|
+
import { InfoCircleIcon } from '@patternfly/react-icons/dist/js/icons/info-circle-icon';
|
|
4
4
|
import { SVGIconProps } from '@patternfly/react-icons/dist/js/createIcon';
|
|
5
5
|
|
|
6
6
|
export interface InfoLinkWithModalProps {
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Cluster } from '@openshift-assisted/types/./assisted-installer-service';
|
|
2
|
+
|
|
3
|
+
export const isOciPlatformType = (cluster: Cluster): boolean => {
|
|
4
|
+
return (
|
|
5
|
+
cluster.platform?.type === 'external' && cluster.platform?.external?.platformName === 'oci'
|
|
6
|
+
);
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export const getMajorMinorVersion = (version = '') => {
|
|
10
|
+
const match = /[0-9].[0-9][0-9]?/g.exec(version);
|
|
11
|
+
return match?.[0] || '';
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export const isOCPVersionEqualsOrMajor = (
|
|
15
|
+
openshiftVersion: string,
|
|
16
|
+
ocpVersionToCompare: string,
|
|
17
|
+
): boolean => {
|
|
18
|
+
return parseFloat(getMajorMinorVersion(openshiftVersion)) >= parseFloat(ocpVersionToCompare);
|
|
19
|
+
};
|
|
@@ -4,13 +4,13 @@ import * as React from 'react';
|
|
|
4
4
|
import { Provider } from 'react-redux';
|
|
5
5
|
import { render } from 'react-dom';
|
|
6
6
|
import { act } from 'react-dom/test-utils';
|
|
7
|
-
import { featureFlagsActions
|
|
8
|
-
import {
|
|
9
|
-
import { RootStateDay1, storeDay1 } from '../store/store-day1';
|
|
7
|
+
import { featureFlagsActions } from '../store/slices/feature-flags/slice';
|
|
8
|
+
import { storeDay1 } from '../store/store-day1';
|
|
10
9
|
import { useFeatureDetection } from './use-feature-detection';
|
|
11
10
|
import { CurrentAccountApi } from '../../common/api/accounts-management-service/current-account-api';
|
|
12
11
|
import { OrganizationsApi } from '../../common/api/accounts-management-service/organizations-api';
|
|
13
12
|
import { getMockContainer } from '../../_test-helpers/mock-container';
|
|
13
|
+
import { isFeatureEnabled } from '../store/slices/feature-flags/selectors';
|
|
14
14
|
|
|
15
15
|
vi.spyOn(featureFlagsActions, 'setFeatureFlag');
|
|
16
16
|
vi.spyOn(CurrentAccountApi, 'getCurrentAccount').mockImplementation(() => {
|
|
@@ -51,12 +51,7 @@ describe('use-feature-detection.ts', () => {
|
|
|
51
51
|
),
|
|
52
52
|
);
|
|
53
53
|
|
|
54
|
-
expect(
|
|
55
|
-
isFeatureEnabled(
|
|
56
|
-
storeDay1.getState() as RootStateDay1 & FeatureFlagsState,
|
|
57
|
-
'ASSISTED_INSTALLER_PLATFORM_OCI',
|
|
58
|
-
),
|
|
59
|
-
).toBe(true);
|
|
54
|
+
expect(isFeatureEnabled('ASSISTED_INSTALLER_PLATFORM_OCI')(storeDay1.getState())).toBe(true);
|
|
60
55
|
});
|
|
61
56
|
|
|
62
57
|
it('Internal features override external features', async () => {
|
|
@@ -86,12 +81,9 @@ describe('use-feature-detection.ts', () => {
|
|
|
86
81
|
),
|
|
87
82
|
);
|
|
88
83
|
|
|
89
|
-
expect(
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
'ASSISTED_INSTALLER_PLATFORM_OCI',
|
|
93
|
-
),
|
|
94
|
-
).toBe(featuresOverride.ASSISTED_INSTALLER_PLATFORM_OCI);
|
|
84
|
+
expect(isFeatureEnabled('ASSISTED_INSTALLER_PLATFORM_OCI')(storeDay1.getState())).toBe(
|
|
85
|
+
featuresOverride.ASSISTED_INSTALLER_PLATFORM_OCI,
|
|
86
|
+
);
|
|
95
87
|
});
|
|
96
88
|
|
|
97
89
|
it('Processes only features prefixed with ASSISTED_INSTALLER', async () => {
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AssistedInstallerFeatureType } from '../../common';
|
|
2
|
+
import { useSelectorDay1 } from '../store';
|
|
3
|
+
import { isFeatureEnabled } from '../store/slices/feature-flags/selectors';
|
|
4
|
+
|
|
5
|
+
export const useFeature = (feature: AssistedInstallerFeatureType): boolean => {
|
|
6
|
+
return useSelectorDay1(isFeatureEnabled(feature));
|
|
7
|
+
};
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
Manifest,
|
|
7
7
|
} from '@openshift-assisted/types/assisted-installer-service';
|
|
8
8
|
import { ClustersAPI } from '../services/apis';
|
|
9
|
-
import { getApiErrorMessage, handleApiError } from '
|
|
9
|
+
import { getApiErrorMessage, handleApiError } from '../../common/api';
|
|
10
10
|
import { getErrorMessage } from '../../common/utils';
|
|
11
11
|
import { ListManifestsExtended } from '../components/clusterConfiguration/manifestsConfiguration/data/dataTypes';
|
|
12
12
|
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
PreflightHardwareRequirements,
|
|
6
6
|
} from '@openshift-assisted/types/assisted-installer-service';
|
|
7
7
|
import { ClustersAPI } from '../services/apis';
|
|
8
|
-
import { getApiErrorMessage, handleApiError } from '
|
|
8
|
+
import { getApiErrorMessage, handleApiError } from '../../common/api';
|
|
9
9
|
import { getErrorMessage } from '../../common/utils';
|
|
10
10
|
|
|
11
11
|
const { addAlert } = alertsSlice.actions;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useAlerts } from '../../common';
|
|
3
|
-
import { getApiErrorMessage, handleApiError } from '
|
|
3
|
+
import { getApiErrorMessage, handleApiError } from '../../common/api';
|
|
4
4
|
import { ManagedDomainsAPI } from '../services/apis';
|
|
5
5
|
import { ManagedDomain } from '@openshift-assisted/types/assisted-installer-service';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { CpuArchitecture, OpenshiftVersionOptionType } from '../../common';
|
|
3
|
-
import { getApiErrorMessage, handleApiError } from '
|
|
3
|
+
import { getApiErrorMessage, handleApiError } from '../../common/api';
|
|
4
4
|
import { SupportedOpenshiftVersionsAPI } from '../services/apis';
|
|
5
5
|
import { getKeys } from '../../common/utils';
|
|
6
6
|
import { Cluster, OpenshiftVersion } from '@openshift-assisted/types/assisted-installer-service';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { getApiErrorMessage, handleApiError } from '
|
|
2
|
+
import { getApiErrorMessage, handleApiError } from '../../common/api';
|
|
3
3
|
import { useAlerts } from '../../common';
|
|
4
4
|
import { AccessTokenAPI } from '../../common/api/accounts-management-service/access-token-api';
|
|
5
5
|
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
ArchitectureSupportLevelMap,
|
|
5
5
|
NewFeatureSupportLevelMap,
|
|
6
6
|
} from '../../common/components/newFeatureSupportLevels';
|
|
7
|
-
import { getApiErrorMessage, handleApiError } from '
|
|
7
|
+
import { getApiErrorMessage, handleApiError } from '../../common/api';
|
|
8
8
|
import NewFeatureSupportLevelsAPI from '../../common/api/assisted-service/NewFeatureSupportLevelsAPI';
|
|
9
9
|
import { PlatformType } from '@openshift-assisted/types/./assisted-installer-service';
|
|
10
10
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { getApiErrorMessage, handleApiError } from '
|
|
2
|
+
import { getApiErrorMessage, handleApiError } from '../../common/api';
|
|
3
3
|
import { ClustersAPI } from '../services/apis';
|
|
4
4
|
import { useAlerts } from '../../common';
|
|
5
5
|
import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
|
package/lib/ocm/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * as Api from '
|
|
1
|
+
export * as Api from '../common/api';
|
|
2
2
|
export * as Store from './store';
|
|
3
3
|
export * as Config from './config';
|
|
4
4
|
export * as Services from './services';
|
|
@@ -13,4 +13,3 @@ export * as Constants from '../common/config';
|
|
|
13
13
|
export * as Reducers from '../common/reducers';
|
|
14
14
|
|
|
15
15
|
export * from '../common/components';
|
|
16
|
-
export * from '../common/api';
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
OcmClusterDetailsValues,
|
|
14
14
|
} from './types';
|
|
15
15
|
import { getDummyInfraEnvField } from '../components/clusterConfiguration/staticIp/data/dummyData';
|
|
16
|
-
import { isInOcm } from '
|
|
16
|
+
import { isInOcm } from '../../common/api';
|
|
17
17
|
import { getDefaultCpuArchitecture } from './CpuArchitectureService';
|
|
18
18
|
import {
|
|
19
19
|
Cluster,
|
|
@@ -44,9 +44,21 @@ const ClusterDetailsService = {
|
|
|
44
44
|
diskEncryption: DiskEncryptionService.getDiskEncryptionParams(values),
|
|
45
45
|
platform: {
|
|
46
46
|
type: values.platform,
|
|
47
|
+
...(values.platform === 'external'
|
|
48
|
+
? {
|
|
49
|
+
external: {
|
|
50
|
+
platformName: 'oci',
|
|
51
|
+
cloudControllerManager: 'External',
|
|
52
|
+
},
|
|
53
|
+
}
|
|
54
|
+
: {}),
|
|
47
55
|
},
|
|
48
56
|
};
|
|
49
57
|
|
|
58
|
+
if (!values.isCMNSupported) {
|
|
59
|
+
params.userManagedNetworking = true;
|
|
60
|
+
}
|
|
61
|
+
|
|
50
62
|
if (values.hostsNetworkConfigurationType === HostsNetworkConfigurationType.STATIC) {
|
|
51
63
|
params.staticNetworkConfig = getDummyInfraEnvField();
|
|
52
64
|
}
|
|
@@ -76,9 +88,13 @@ const ClusterDetailsService = {
|
|
|
76
88
|
}
|
|
77
89
|
|
|
78
90
|
if (platform) {
|
|
79
|
-
params.platform =
|
|
80
|
-
|
|
81
|
-
|
|
91
|
+
params.platform =
|
|
92
|
+
platform === 'external'
|
|
93
|
+
? {
|
|
94
|
+
type: platform,
|
|
95
|
+
external: { platformName: 'oci', cloudControllerManager: 'External' },
|
|
96
|
+
}
|
|
97
|
+
: { type: platform };
|
|
82
98
|
}
|
|
83
99
|
|
|
84
100
|
return params;
|
|
@@ -33,7 +33,7 @@ const ClustersService = {
|
|
|
33
33
|
staticNetworkConfig: params.staticNetworkConfig,
|
|
34
34
|
};
|
|
35
35
|
|
|
36
|
-
if (params.platform?.type === 'oci') {
|
|
36
|
+
if (params.platform?.type === 'external' && params.platform.external?.platformName === 'oci') {
|
|
37
37
|
infraEnvCreateParams.imageType = 'minimal-iso';
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -53,10 +53,16 @@ const ClustersService = {
|
|
|
53
53
|
await ClustersAPI.deregister(clusterId);
|
|
54
54
|
},
|
|
55
55
|
|
|
56
|
-
async downloadLogs(
|
|
56
|
+
async downloadLogs(
|
|
57
|
+
clusterId: Cluster['id'],
|
|
58
|
+
hostId?: Host['id'],
|
|
59
|
+
): Promise<{
|
|
60
|
+
data: Blob;
|
|
61
|
+
fileName: string | undefined;
|
|
62
|
+
}> {
|
|
57
63
|
const { data, headers } = await ClustersAPI.downloadLogs(clusterId, hostId);
|
|
58
|
-
const contentHeader = headers['content-disposition'];
|
|
59
|
-
const fileName = contentHeader?.match(/filename="(.+)"/)?.[1];
|
|
64
|
+
const contentHeader: string | undefined = headers['content-disposition'] as string | undefined;
|
|
65
|
+
const fileName: string | undefined = contentHeader?.match(/filename="(.+)"/)?.[1];
|
|
60
66
|
return { data, fileName };
|
|
61
67
|
},
|
|
62
68
|
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { InfraEnvsService } from '.';
|
|
2
2
|
import { ClustersAPI } from './apis';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
CpuArchitecture,
|
|
5
|
+
NonPlatformIntegrations,
|
|
6
|
+
SupportedCpuArchitecture,
|
|
7
|
+
SupportedPlatformIntegrations,
|
|
8
|
+
SupportedPlatformType,
|
|
9
|
+
} from '../../common';
|
|
4
10
|
import { OcmClusterType } from '../components/AddHosts/types';
|
|
5
11
|
import { mapOcmArchToCpuArchitecture } from './CpuArchitectureService';
|
|
6
12
|
import {
|
|
@@ -35,10 +41,22 @@ export const getApiVipDnsName = (ocmCluster: OcmClusterType) => {
|
|
|
35
41
|
};
|
|
36
42
|
|
|
37
43
|
export const mapCloudProviderToPlatformType = (cloudProviderId?: string) => {
|
|
38
|
-
|
|
44
|
+
let platformType = cloudProviderId;
|
|
45
|
+
if (
|
|
46
|
+
!SupportedPlatformIntegrations.includes(platformType as SupportedPlatformType) &&
|
|
47
|
+
!NonPlatformIntegrations.includes(platformType as SupportedPlatformType)
|
|
48
|
+
) {
|
|
49
|
+
platformType = 'baremetal';
|
|
50
|
+
}
|
|
39
51
|
const platform: Platform = {
|
|
40
52
|
type: (platformType as PlatformType) || 'baremetal',
|
|
41
53
|
};
|
|
54
|
+
if (platformType === 'external') {
|
|
55
|
+
platform.external = {
|
|
56
|
+
platformName: 'oci',
|
|
57
|
+
cloudControllerManager: 'External',
|
|
58
|
+
};
|
|
59
|
+
}
|
|
42
60
|
return platform;
|
|
43
61
|
};
|
|
44
62
|
|
|
@@ -4,9 +4,9 @@ import { createSelector } from '@reduxjs/toolkit';
|
|
|
4
4
|
|
|
5
5
|
export const selectFeatureFlagsSlice = (state: RootStateDay1) => state.featureFlags;
|
|
6
6
|
|
|
7
|
-
export const isFeatureEnabled =
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
);
|
|
7
|
+
export const isFeatureEnabled = (featureId: keyof FeatureListType) =>
|
|
8
|
+
createSelector(
|
|
9
|
+
selectFeatureFlagsSlice,
|
|
10
|
+
(featureFlags: ReturnType<typeof selectFeatureFlagsSlice>) =>
|
|
11
|
+
featureFlags.data[featureId] ?? false,
|
|
12
|
+
);
|