@openshift-assisted/ui-lib 5.0.1-cim → 5.0.2-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/ClusterDeployment/ClusterDeploymentWizard.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/ACMClusterDeploymentDetailsStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/components/ValidationSection.d.ts +2 -2
- package/build/@types/cim/components/ClusterDeployment/components/ValidationSection.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/types.d.ts +1 -2
- package/build/@types/cim/components/ClusterDeployment/types.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts +3 -2
- package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsStep.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/StorageClassDropdown.d.ts +6 -0
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/StorageClassDropdown.d.ts.map +1 -0
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.d.ts +4 -2
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/hooks/useSupportedOCPVersions.d.ts +2 -1
- package/build/@types/cim/components/Hypershift/hooks/useSupportedOCPVersions.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/EnvironmentErrors.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/InfraEnvAgentTable.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/status.d.ts +5 -7
- package/build/@types/cim/components/helpers/status.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/toAssisted.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/versions.d.ts +3 -2
- package/build/@types/cim/components/helpers/versions.d.ts.map +1 -1
- package/build/@types/cim/components/index.d.ts +0 -1
- package/build/@types/cim/components/index.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/CimStorageMissingAlert.d.ts.map +1 -1
- package/build/@types/cim/components/modals/MassDeleteAgentModal.d.ts +2 -3
- package/build/@types/cim/components/modals/MassDeleteAgentModal.d.ts.map +1 -1
- package/build/@types/cim/hooks/index.d.ts +1 -0
- package/build/@types/cim/hooks/index.d.ts.map +1 -1
- package/build/@types/cim/hooks/useStorageClasses.d.ts +4 -0
- package/build/@types/cim/hooks/useStorageClasses.d.ts.map +1 -0
- package/build/@types/cim/index.d.ts +0 -1
- package/build/@types/cim/index.d.ts.map +1 -1
- package/build/@types/common/api/assisted-service/ClustersAPI.d.ts +2 -1
- package/build/@types/common/api/assisted-service/ClustersAPI.d.ts.map +1 -1
- package/build/@types/common/api/assisted-service/NewFeatureSupportLevelsAPI.d.ts +7 -1
- package/build/@types/common/api/assisted-service/NewFeatureSupportLevelsAPI.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DiscoveryImageConfigForm.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/validationsInfoUtils.d.ts.map +1 -1
- package/build/@types/common/components/index.d.ts +1 -1
- package/build/@types/common/components/index.d.ts.map +1 -1
- package/build/@types/common/components/operators/operatorSpecs.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/PullSecretField.d.ts +1 -0
- package/build/@types/common/components/ui/formik/PullSecretField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/SelectFieldWithSearch.d.ts +2 -1
- package/build/@types/common/components/ui/formik/SelectFieldWithSearch.d.ts.map +1 -1
- package/build/@types/common/config/docs_links.d.ts.map +1 -1
- package/build/@types/common/types/clusters.d.ts +1 -1
- package/build/@types/common/types/clusters.d.ts.map +1 -1
- package/build/@types/common/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/types.d.ts +4 -3
- package/build/@types/ocm/components/AddHosts/types.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.d.ts +10 -2
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContext.d.ts +5 -0
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContext.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/NewClusterWizard.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/constants.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/disconnected/BasicStep.d.ts +1 -0
- package/build/@types/ocm/components/clusterWizard/disconnected/BasicStep.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.d.ts +4 -0
- package/build/@types/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterWizard/disconnected/ReviewStep.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts +1 -1
- package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts.map +1 -1
- package/build/@types/ocm/components/featureSupportLevels/index.d.ts +0 -1
- package/build/@types/ocm/components/featureSupportLevels/index.d.ts.map +1 -1
- package/build/@types/ocm/services/ClustersService.d.ts +2 -1
- package/build/@types/ocm/services/ClustersService.d.ts.map +1 -1
- package/build/@types/ocm/services/InfraEnvsService.d.ts +1 -1
- package/build/@types/ocm/services/NewFeatureSupportLevelsService.d.ts +1 -1
- package/build/cjs/cim/components/Agent/AgentsSelectionTable.js +1 -1
- package/build/cjs/cim/components/Agent/AgentsSelectionTable.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizard.js +13 -15
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizard.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterInstallationError.js +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterInstallationError.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ACMClusterDeploymentDetailsStep.js +3 -2
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ACMClusterDeploymentDetailsStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.js +4 -5
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.js +2 -2
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.js +2 -5
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/components/ValidationSection.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/constants.js +2 -2
- package/build/cjs/cim/components/ClusterDeployment/constants.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.js +1 -1
- package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscoveryStep.js +2 -2
- package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscoveryStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.js +2 -2
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.js +4 -4
- package/build/cjs/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/wizardTransition.js +21 -7
- package/build/cjs/cim/components/ClusterDeployment/wizardTransition.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.js +3 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsStep.js +13 -3
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsStep.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/StorageClassDropdown.js +52 -0
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/StorageClassDropdown.js.map +1 -0
- package/build/cjs/cim/components/Hypershift/hooks/useSupportedOCPVersions.js +3 -3
- package/build/cjs/cim/components/Hypershift/hooks/useSupportedOCPVersions.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/EnvironmentErrors.js +2 -4
- package/build/cjs/cim/components/InfraEnv/EnvironmentErrors.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.js +2 -2
- package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js.map +1 -1
- package/build/cjs/cim/components/helpers/status.js +4 -4
- package/build/cjs/cim/components/helpers/status.js.map +1 -1
- package/build/cjs/cim/components/helpers/toAssisted.js +2 -12
- package/build/cjs/cim/components/helpers/toAssisted.js.map +1 -1
- package/build/cjs/cim/components/helpers/versions.js +6 -6
- package/build/cjs/cim/components/helpers/versions.js.map +1 -1
- package/build/cjs/cim/components/helpers/versions.test.js +19 -18
- package/build/cjs/cim/components/helpers/versions.test.js.map +1 -1
- package/build/cjs/cim/components/index.js +0 -1
- package/build/cjs/cim/components/index.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimStorageMissingAlert.js +1 -1
- 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/cim/hooks/index.js +1 -0
- package/build/cjs/cim/hooks/index.js.map +1 -1
- package/build/cjs/cim/hooks/useStorageClasses.js +13 -0
- package/build/cjs/cim/hooks/useStorageClasses.js.map +1 -0
- package/build/cjs/cim/index.js +0 -1
- package/build/cjs/cim/index.js.map +1 -1
- package/build/cjs/common/api/assisted-service/ClustersAPI.js +3 -0
- package/build/cjs/common/api/assisted-service/ClustersAPI.js.map +1 -1
- package/build/cjs/common/api/assisted-service/NewFeatureSupportLevelsAPI.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js +2 -4
- package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DownloadIso.js +1 -1
- package/build/cjs/common/components/clusterConfiguration/DownloadIso.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/ConsoleModal.js +1 -1
- package/build/cjs/common/components/clusterDetail/ConsoleModal.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/validationsInfoUtils.js +11 -4
- package/build/cjs/common/components/clusterWizard/validationsInfoUtils.js.map +1 -1
- package/build/cjs/common/components/index.js +1 -1
- package/build/cjs/common/components/index.js.map +1 -1
- package/build/cjs/common/components/operators/operatorSpecs.js +0 -3
- package/build/cjs/common/components/operators/operatorSpecs.js.map +1 -1
- package/build/cjs/common/components/ui/formik/PullSecretField.js +2 -2
- package/build/cjs/common/components/ui/formik/PullSecretField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/SelectFieldWithSearch.js +2 -1
- package/build/cjs/common/components/ui/formik/SelectFieldWithSearch.js.map +1 -1
- package/build/cjs/common/config/docs_links.js +5 -4
- package/build/cjs/common/config/docs_links.js.map +1 -1
- package/build/cjs/common/utils.js +3 -0
- package/build/cjs/common/utils.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterInstallationError.js +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterInstallationError.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js +1 -1
- package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContext.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js +9 -0
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/NewClusterWizard.js +3 -0
- package/build/cjs/ocm/components/clusterWizard/NewClusterWizard.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/constants.js +1 -0
- package/build/cjs/ocm/components/clusterWizard/constants.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js +16 -22
- package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.js +102 -0
- package/build/cjs/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.js.map +1 -0
- package/build/cjs/ocm/components/clusterWizard/disconnected/ReviewStep.js +7 -5
- package/build/cjs/ocm/components/clusterWizard/disconnected/ReviewStep.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/wizardTransition.js +3 -0
- package/build/cjs/ocm/components/clusterWizard/wizardTransition.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/index.js +0 -1
- package/build/cjs/ocm/components/featureSupportLevels/index.js.map +1 -1
- package/build/cjs/ocm/services/ClustersService.js +3 -0
- package/build/cjs/ocm/services/ClustersService.js.map +1 -1
- package/lib/cim/components/Agent/AgentsSelectionTable.tsx +1 -1
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentWizard.tsx +91 -99
- package/lib/cim/components/ClusterDeployment/ClusterInstallationError.tsx +1 -1
- package/lib/cim/components/ClusterDeployment/clusterDetails/ACMClusterDeploymentDetailsStep.tsx +4 -3
- package/lib/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.tsx +6 -6
- package/lib/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.tsx +2 -2
- package/lib/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.tsx +2 -3
- package/lib/cim/components/ClusterDeployment/components/ValidationSection.tsx +3 -2
- package/lib/cim/components/ClusterDeployment/constants.ts +2 -2
- package/lib/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.tsx +1 -1
- package/lib/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscoveryStep.tsx +2 -2
- package/lib/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.tsx +2 -2
- package/lib/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.tsx +11 -11
- package/lib/cim/components/ClusterDeployment/types.ts +2 -3
- package/lib/cim/components/ClusterDeployment/wizardTransition.ts +30 -19
- package/lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.tsx +4 -0
- package/lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsStep.tsx +15 -2
- package/lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/StorageClassDropdown.tsx +70 -0
- package/lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.ts +10 -2
- package/lib/cim/components/Hypershift/hooks/useSupportedOCPVersions.ts +4 -2
- package/lib/cim/components/InfraEnv/EnvironmentErrors.tsx +9 -8
- package/lib/cim/components/InfraEnv/InfraEnvAgentTable.tsx +0 -2
- package/lib/cim/components/InfraEnv/InfraEnvFormPage.tsx +1 -1
- package/lib/cim/components/helpers/status.ts +12 -13
- package/lib/cim/components/helpers/toAssisted.ts +3 -13
- package/lib/cim/components/helpers/versions.test.ts +21 -18
- package/lib/cim/components/helpers/versions.ts +7 -3
- package/lib/cim/components/index.ts +0 -1
- package/lib/cim/components/modals/CimConfiguration/CimStorageMissingAlert.tsx +4 -1
- package/lib/cim/components/modals/MassDeleteAgentModal.tsx +3 -14
- package/lib/cim/hooks/index.tsx +1 -0
- package/lib/cim/hooks/useStorageClasses.tsx +15 -0
- package/lib/cim/index.ts +0 -1
- package/lib/common/api/assisted-service/ClustersAPI.ts +8 -0
- package/lib/common/api/assisted-service/NewFeatureSupportLevelsAPI.ts +9 -4
- package/lib/common/components/clusterConfiguration/ControlPlaneNodesDropdown.tsx +5 -7
- package/lib/common/components/clusterConfiguration/DiscoveryImageConfigForm.tsx +3 -1
- package/lib/common/components/clusterConfiguration/DownloadIso.tsx +1 -1
- package/lib/common/components/clusterDetail/ConsoleModal.tsx +1 -1
- package/lib/common/components/clusterWizard/validationsInfoUtils.ts +16 -3
- package/lib/common/components/index.ts +1 -1
- package/lib/common/components/operators/operatorSpecs.tsx +0 -16
- package/lib/common/components/ui/formik/PullSecretField.tsx +5 -2
- package/lib/common/components/ui/formik/SelectFieldWithSearch.tsx +3 -0
- package/lib/common/config/docs_links.ts +5 -4
- package/lib/common/types/clusters.ts +1 -1
- package/lib/common/utils.ts +3 -0
- package/lib/ocm/components/AddHosts/types.ts +6 -3
- package/lib/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.tsx +2 -2
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.tsx +2 -2
- package/lib/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.tsx +1 -1
- package/lib/ocm/components/clusterDetail/ClusterInstallationError.tsx +1 -1
- package/lib/ocm/components/clusterDetail/ProgressBarAlerts.tsx +1 -1
- package/lib/ocm/components/clusterWizard/ClusterWizardContext.tsx +5 -0
- package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +9 -0
- package/lib/ocm/components/clusterWizard/NewClusterWizard.tsx +3 -0
- package/lib/ocm/components/clusterWizard/constants.ts +1 -0
- package/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx +31 -52
- package/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx +173 -0
- package/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx +9 -7
- package/lib/ocm/components/clusterWizard/wizardTransition.ts +4 -0
- package/lib/ocm/components/featureSupportLevels/index.ts +0 -1
- package/lib/ocm/services/ClustersService.ts +5 -0
- package/package.json +5 -5
- package/build/@types/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.d.ts +0 -9
- package/build/@types/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.d.ts.map +0 -1
- package/build/@types/cim/components/featureSupportLevels/featureStateUtils.d.ts +0 -6
- package/build/@types/cim/components/featureSupportLevels/featureStateUtils.d.ts.map +0 -1
- package/build/@types/cim/components/featureSupportLevels/index.d.ts +0 -2
- package/build/@types/cim/components/featureSupportLevels/index.d.ts.map +0 -1
- package/build/@types/cim/config/constants.d.ts +0 -16
- package/build/@types/cim/config/constants.d.ts.map +0 -1
- package/build/@types/common/components/featureSupportLevels/FeatureSupportLevelBadge.d.ts +0 -9
- package/build/@types/common/components/featureSupportLevels/FeatureSupportLevelBadge.d.ts.map +0 -1
- package/build/@types/common/components/featureSupportLevels/FeatureSupportLevelContext.d.ts +0 -22
- package/build/@types/common/components/featureSupportLevels/FeatureSupportLevelContext.d.ts.map +0 -1
- package/build/@types/common/components/featureSupportLevels/index.d.ts +0 -3
- package/build/@types/common/components/featureSupportLevels/index.d.ts.map +0 -1
- package/build/@types/common/components/featureSupportLevels/types.d.ts +0 -8
- package/build/@types/common/components/featureSupportLevels/types.d.ts.map +0 -1
- package/build/cjs/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.js +0 -82
- package/build/cjs/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.js.map +0 -1
- package/build/cjs/cim/components/featureSupportLevels/featureStateUtils.js +0 -45
- package/build/cjs/cim/components/featureSupportLevels/featureStateUtils.js.map +0 -1
- package/build/cjs/cim/components/featureSupportLevels/index.js +0 -7
- package/build/cjs/cim/components/featureSupportLevels/index.js.map +0 -1
- package/build/cjs/cim/config/constants.js +0 -272
- package/build/cjs/cim/config/constants.js.map +0 -1
- package/build/cjs/common/components/featureSupportLevels/FeatureSupportLevelBadge.js +0 -26
- package/build/cjs/common/components/featureSupportLevels/FeatureSupportLevelBadge.js.map +0 -1
- package/build/cjs/common/components/featureSupportLevels/FeatureSupportLevelContext.js +0 -21
- package/build/cjs/common/components/featureSupportLevels/FeatureSupportLevelContext.js.map +0 -1
- package/build/cjs/common/components/featureSupportLevels/index.js +0 -8
- package/build/cjs/common/components/featureSupportLevels/index.js.map +0 -1
- package/build/cjs/common/components/featureSupportLevels/types.js +0 -3
- package/build/cjs/common/components/featureSupportLevels/types.js.map +0 -1
- package/lib/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.tsx +0 -136
- package/lib/cim/components/featureSupportLevels/featureStateUtils.tsx +0 -61
- package/lib/cim/components/featureSupportLevels/index.ts +0 -1
- package/lib/cim/config/constants.ts +0 -285
- package/lib/common/components/featureSupportLevels/FeatureSupportLevelBadge.tsx +0 -37
- package/lib/common/components/featureSupportLevels/FeatureSupportLevelContext.tsx +0 -49
- package/lib/common/components/featureSupportLevels/index.ts +0 -2
- package/lib/common/components/featureSupportLevels/types.ts +0 -12
|
@@ -1,285 +0,0 @@
|
|
|
1
|
-
import { SupportLevel } from '@openshift-assisted/types/assisted-installer-service';
|
|
2
|
-
import { FeatureId } from '../../common';
|
|
3
|
-
|
|
4
|
-
type FeatureConfig = {
|
|
5
|
-
featureId: FeatureId;
|
|
6
|
-
supportLevel: SupportLevel;
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
type FeaturesConfig = {
|
|
10
|
-
openshiftVersion: string;
|
|
11
|
-
features: FeatureConfig[];
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
type FeatureSupportLevelsConfig = {
|
|
15
|
-
supportLevels: FeaturesConfig[];
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
// source: https://github.com/openshift/assisted-service/blob/master/internal/featuresupport/support_levels_list.go
|
|
19
|
-
export const featureSupportLevelsACM: FeatureSupportLevelsConfig = {
|
|
20
|
-
supportLevels: [
|
|
21
|
-
{
|
|
22
|
-
features: [
|
|
23
|
-
{
|
|
24
|
-
featureId: 'VIP_AUTO_ALLOC',
|
|
25
|
-
supportLevel: 'dev-preview',
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
featureId: 'SNO',
|
|
29
|
-
supportLevel: 'unsupported',
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
featureId: 'ARM64_ARCHITECTURE',
|
|
33
|
-
supportLevel: 'unsupported',
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
featureId: 'ARM64_ARCHITECTURE_WITH_CLUSTER_MANAGED_NETWORKING',
|
|
37
|
-
supportLevel: 'unsupported',
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
featureId: 'SINGLE_NODE_EXPANSION',
|
|
41
|
-
supportLevel: 'unsupported',
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
featureId: 'LVM',
|
|
45
|
-
supportLevel: 'unsupported',
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
featureId: 'DUAL_STACK_NETWORKING',
|
|
49
|
-
supportLevel: 'unsupported',
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
featureId: 'MULTIARCH_RELEASE_IMAGE',
|
|
53
|
-
supportLevel: 'unsupported',
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
featureId: 'NUTANIX_INTEGRATION',
|
|
57
|
-
supportLevel: 'unsupported',
|
|
58
|
-
},
|
|
59
|
-
],
|
|
60
|
-
openshiftVersion: '4.6',
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
features: [
|
|
64
|
-
{
|
|
65
|
-
featureId: 'DUAL_STACK_NETWORKING',
|
|
66
|
-
supportLevel: 'unsupported',
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
featureId: 'MULTIARCH_RELEASE_IMAGE',
|
|
70
|
-
supportLevel: 'unsupported',
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
featureId: 'NUTANIX_INTEGRATION',
|
|
74
|
-
supportLevel: 'unsupported',
|
|
75
|
-
},
|
|
76
|
-
],
|
|
77
|
-
openshiftVersion: '4.7',
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
features: [
|
|
81
|
-
{
|
|
82
|
-
featureId: 'DUAL_STACK_NETWORKING',
|
|
83
|
-
supportLevel: 'supported',
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
featureId: 'VIP_AUTO_ALLOC',
|
|
87
|
-
supportLevel: 'dev-preview',
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
featureId: 'SNO',
|
|
91
|
-
supportLevel: 'dev-preview',
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
featureId: 'ARM64_ARCHITECTURE',
|
|
95
|
-
supportLevel: 'unsupported',
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
featureId: 'ARM64_ARCHITECTURE_WITH_CLUSTER_MANAGED_NETWORKING',
|
|
99
|
-
supportLevel: 'unsupported',
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
featureId: 'SINGLE_NODE_EXPANSION',
|
|
103
|
-
supportLevel: 'unsupported',
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
featureId: 'LVM',
|
|
107
|
-
supportLevel: 'unsupported',
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
featureId: 'MULTIARCH_RELEASE_IMAGE',
|
|
111
|
-
supportLevel: 'unsupported',
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
featureId: 'NUTANIX_INTEGRATION',
|
|
115
|
-
supportLevel: 'unsupported',
|
|
116
|
-
},
|
|
117
|
-
],
|
|
118
|
-
openshiftVersion: '4.8',
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
features: [
|
|
122
|
-
{
|
|
123
|
-
featureId: 'SNO',
|
|
124
|
-
supportLevel: 'supported',
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
featureId: 'DUAL_STACK_NETWORKING',
|
|
128
|
-
supportLevel: 'supported',
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
featureId: 'VIP_AUTO_ALLOC',
|
|
132
|
-
supportLevel: 'dev-preview',
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
featureId: 'ARM64_ARCHITECTURE',
|
|
136
|
-
supportLevel: 'unsupported',
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
featureId: 'ARM64_ARCHITECTURE_WITH_CLUSTER_MANAGED_NETWORKING',
|
|
140
|
-
supportLevel: 'unsupported',
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
featureId: 'SINGLE_NODE_EXPANSION',
|
|
144
|
-
supportLevel: 'unsupported',
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
featureId: 'LVM',
|
|
148
|
-
supportLevel: 'unsupported',
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
featureId: 'MULTIARCH_RELEASE_IMAGE',
|
|
152
|
-
supportLevel: 'unsupported',
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
featureId: 'NUTANIX_INTEGRATION',
|
|
156
|
-
supportLevel: 'unsupported',
|
|
157
|
-
},
|
|
158
|
-
],
|
|
159
|
-
openshiftVersion: '4.9',
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
features: [
|
|
163
|
-
{
|
|
164
|
-
featureId: 'SNO',
|
|
165
|
-
supportLevel: 'supported',
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
featureId: 'ARM64_ARCHITECTURE',
|
|
169
|
-
supportLevel: 'supported',
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
featureId: 'DUAL_STACK_NETWORKING',
|
|
173
|
-
supportLevel: 'supported',
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
featureId: 'VIP_AUTO_ALLOC',
|
|
177
|
-
supportLevel: 'dev-preview',
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
featureId: 'ARM64_ARCHITECTURE_WITH_CLUSTER_MANAGED_NETWORKING',
|
|
181
|
-
supportLevel: 'unsupported',
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
featureId: 'SINGLE_NODE_EXPANSION',
|
|
185
|
-
supportLevel: 'unsupported',
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
featureId: 'LVM',
|
|
189
|
-
supportLevel: 'unsupported',
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
featureId: 'MULTIARCH_RELEASE_IMAGE',
|
|
193
|
-
supportLevel: 'unsupported',
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
featureId: 'NUTANIX_INTEGRATION',
|
|
197
|
-
supportLevel: 'unsupported',
|
|
198
|
-
},
|
|
199
|
-
],
|
|
200
|
-
openshiftVersion: '4.10',
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
features: [
|
|
204
|
-
{
|
|
205
|
-
featureId: 'SNO',
|
|
206
|
-
supportLevel: 'supported',
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
featureId: 'ARM64_ARCHITECTURE',
|
|
210
|
-
supportLevel: 'supported',
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
featureId: 'ARM64_ARCHITECTURE_WITH_CLUSTER_MANAGED_NETWORKING',
|
|
214
|
-
supportLevel: 'supported',
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
featureId: 'SINGLE_NODE_EXPANSION',
|
|
218
|
-
supportLevel: 'supported',
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
featureId: 'DUAL_STACK_NETWORKING',
|
|
222
|
-
supportLevel: 'supported',
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
featureId: 'MULTIARCH_RELEASE_IMAGE',
|
|
226
|
-
supportLevel: 'tech-preview',
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
featureId: 'VIP_AUTO_ALLOC',
|
|
230
|
-
supportLevel: 'dev-preview',
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
featureId: 'LVM',
|
|
234
|
-
supportLevel: 'dev-preview',
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
featureId: 'NUTANIX_INTEGRATION',
|
|
238
|
-
supportLevel: 'dev-preview',
|
|
239
|
-
},
|
|
240
|
-
],
|
|
241
|
-
openshiftVersion: '4.11',
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
features: [
|
|
245
|
-
{
|
|
246
|
-
featureId: 'SNO',
|
|
247
|
-
supportLevel: 'supported',
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
featureId: 'ARM64_ARCHITECTURE',
|
|
251
|
-
supportLevel: 'supported',
|
|
252
|
-
},
|
|
253
|
-
{
|
|
254
|
-
featureId: 'ARM64_ARCHITECTURE_WITH_CLUSTER_MANAGED_NETWORKING',
|
|
255
|
-
supportLevel: 'supported',
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
featureId: 'SINGLE_NODE_EXPANSION',
|
|
259
|
-
supportLevel: 'supported',
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
featureId: 'LVM',
|
|
263
|
-
supportLevel: 'supported',
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
featureId: 'DUAL_STACK_NETWORKING',
|
|
267
|
-
supportLevel: 'supported',
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
featureId: 'NUTANIX_INTEGRATION',
|
|
271
|
-
supportLevel: 'supported',
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
featureId: 'MULTIARCH_RELEASE_IMAGE',
|
|
275
|
-
supportLevel: 'tech-preview',
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
featureId: 'VIP_AUTO_ALLOC',
|
|
279
|
-
supportLevel: 'dev-preview',
|
|
280
|
-
},
|
|
281
|
-
],
|
|
282
|
-
openshiftVersion: '4.12',
|
|
283
|
-
},
|
|
284
|
-
],
|
|
285
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { SupportLevel } from '@openshift-assisted/types/assisted-installer-service';
|
|
3
|
-
import { FeatureId, isPreviewSupportLevel } from '../../types';
|
|
4
|
-
import { TechnologyPreview } from '../ui/TechnologyPreview';
|
|
5
|
-
import { DeveloperPreview } from '../ui/DeveloperPreview';
|
|
6
|
-
import { useFeatureSupportLevel } from './FeatureSupportLevelContext';
|
|
7
|
-
|
|
8
|
-
export type SupportLevelBadgeProps = {
|
|
9
|
-
featureId: FeatureId;
|
|
10
|
-
openshiftVersion: string | undefined;
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
const FeatureSupportLevelBadge: React.FC<SupportLevelBadgeProps> = ({
|
|
14
|
-
featureId,
|
|
15
|
-
openshiftVersion,
|
|
16
|
-
}) => {
|
|
17
|
-
const featureSupportLevelData = useFeatureSupportLevel();
|
|
18
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
19
|
-
const supportLevel: SupportLevel | undefined = React.useMemo(() => {
|
|
20
|
-
if (!openshiftVersion) {
|
|
21
|
-
return undefined;
|
|
22
|
-
}
|
|
23
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
24
|
-
return featureSupportLevelData.getFeatureSupportLevel(openshiftVersion, featureId);
|
|
25
|
-
}, [openshiftVersion, featureId, featureSupportLevelData]);
|
|
26
|
-
if (!isPreviewSupportLevel(supportLevel)) {
|
|
27
|
-
return null;
|
|
28
|
-
}
|
|
29
|
-
const testId = `${featureId}-support-level`;
|
|
30
|
-
return supportLevel === 'tech-preview' ? (
|
|
31
|
-
<TechnologyPreview testId={testId} />
|
|
32
|
-
) : (
|
|
33
|
-
<DeveloperPreview testId={testId} />
|
|
34
|
-
);
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
export default FeatureSupportLevelBadge;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TFunction } from 'i18next';
|
|
3
|
-
|
|
4
|
-
import { CpuArchitecture, FeatureId, FeatureIdToSupportLevel } from '../../types';
|
|
5
|
-
import { useTranslation } from '../../hooks/use-translation-wrapper';
|
|
6
|
-
import { SupportLevel } from '@openshift-assisted/types/assisted-installer-service';
|
|
7
|
-
|
|
8
|
-
export type ActiveFeatureConfiguration = {
|
|
9
|
-
underlyingCpuArchitecture: CpuArchitecture;
|
|
10
|
-
hasStaticIpNetworking: boolean;
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export type FeatureSupportLevelData = {
|
|
14
|
-
getVersionSupportLevelsMap(version: string): FeatureIdToSupportLevel | undefined;
|
|
15
|
-
getFeatureSupportLevel(version: string, featureId: FeatureId): SupportLevel | undefined;
|
|
16
|
-
isFeatureDisabled(version: string, featureId: FeatureId): boolean;
|
|
17
|
-
getFeatureDisabledReason(
|
|
18
|
-
version: string,
|
|
19
|
-
featureId: FeatureId,
|
|
20
|
-
t?: TFunction,
|
|
21
|
-
): string | undefined;
|
|
22
|
-
isFeatureSupported(version: string, featureId: FeatureId): boolean;
|
|
23
|
-
activeFeatureConfiguration?: ActiveFeatureConfiguration;
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
const FeatureSupportLevelContext = React.createContext<FeatureSupportLevelData | null>(null);
|
|
27
|
-
|
|
28
|
-
export const FeatureSupportLevelContextProvider: React.FC<{
|
|
29
|
-
children: React.ReactNode;
|
|
30
|
-
value: FeatureSupportLevelData;
|
|
31
|
-
}> = ({ value, children }) => {
|
|
32
|
-
return (
|
|
33
|
-
<FeatureSupportLevelContext.Provider value={value}>
|
|
34
|
-
{children}
|
|
35
|
-
</FeatureSupportLevelContext.Provider>
|
|
36
|
-
);
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
export const useFeatureSupportLevel = () => {
|
|
40
|
-
const context = React.useContext(FeatureSupportLevelContext);
|
|
41
|
-
|
|
42
|
-
const { t } = useTranslation();
|
|
43
|
-
if (!context) {
|
|
44
|
-
throw new Error(
|
|
45
|
-
t('ai:useFeatureSupportLevel must be used within FeatureSupportLevelContextProvider.'),
|
|
46
|
-
);
|
|
47
|
-
}
|
|
48
|
-
return context;
|
|
49
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ArchitectureSupportLevelMap,
|
|
3
|
-
NewFeatureSupportLevelMap,
|
|
4
|
-
} from '../newFeatureSupportLevels/types';
|
|
5
|
-
|
|
6
|
-
export interface ArchitecturesSupportsLevel {
|
|
7
|
-
architectures: ArchitectureSupportLevelMap;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export interface FeaturesSupportsLevel {
|
|
11
|
-
features: NewFeatureSupportLevelMap;
|
|
12
|
-
}
|