@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,272 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.featureSupportLevelsACM = void 0;
|
|
4
|
-
// source: https://github.com/openshift/assisted-service/blob/master/internal/featuresupport/support_levels_list.go
|
|
5
|
-
exports.featureSupportLevelsACM = {
|
|
6
|
-
supportLevels: [
|
|
7
|
-
{
|
|
8
|
-
features: [
|
|
9
|
-
{
|
|
10
|
-
featureId: 'VIP_AUTO_ALLOC',
|
|
11
|
-
supportLevel: 'dev-preview',
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
featureId: 'SNO',
|
|
15
|
-
supportLevel: 'unsupported',
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
featureId: 'ARM64_ARCHITECTURE',
|
|
19
|
-
supportLevel: 'unsupported',
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
featureId: 'ARM64_ARCHITECTURE_WITH_CLUSTER_MANAGED_NETWORKING',
|
|
23
|
-
supportLevel: 'unsupported',
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
featureId: 'SINGLE_NODE_EXPANSION',
|
|
27
|
-
supportLevel: 'unsupported',
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
featureId: 'LVM',
|
|
31
|
-
supportLevel: 'unsupported',
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
featureId: 'DUAL_STACK_NETWORKING',
|
|
35
|
-
supportLevel: 'unsupported',
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
featureId: 'MULTIARCH_RELEASE_IMAGE',
|
|
39
|
-
supportLevel: 'unsupported',
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
featureId: 'NUTANIX_INTEGRATION',
|
|
43
|
-
supportLevel: 'unsupported',
|
|
44
|
-
},
|
|
45
|
-
],
|
|
46
|
-
openshiftVersion: '4.6',
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
features: [
|
|
50
|
-
{
|
|
51
|
-
featureId: 'DUAL_STACK_NETWORKING',
|
|
52
|
-
supportLevel: 'unsupported',
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
featureId: 'MULTIARCH_RELEASE_IMAGE',
|
|
56
|
-
supportLevel: 'unsupported',
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
featureId: 'NUTANIX_INTEGRATION',
|
|
60
|
-
supportLevel: 'unsupported',
|
|
61
|
-
},
|
|
62
|
-
],
|
|
63
|
-
openshiftVersion: '4.7',
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
features: [
|
|
67
|
-
{
|
|
68
|
-
featureId: 'DUAL_STACK_NETWORKING',
|
|
69
|
-
supportLevel: 'supported',
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
featureId: 'VIP_AUTO_ALLOC',
|
|
73
|
-
supportLevel: 'dev-preview',
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
featureId: 'SNO',
|
|
77
|
-
supportLevel: 'dev-preview',
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
featureId: 'ARM64_ARCHITECTURE',
|
|
81
|
-
supportLevel: 'unsupported',
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
featureId: 'ARM64_ARCHITECTURE_WITH_CLUSTER_MANAGED_NETWORKING',
|
|
85
|
-
supportLevel: 'unsupported',
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
featureId: 'SINGLE_NODE_EXPANSION',
|
|
89
|
-
supportLevel: 'unsupported',
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
featureId: 'LVM',
|
|
93
|
-
supportLevel: 'unsupported',
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
featureId: 'MULTIARCH_RELEASE_IMAGE',
|
|
97
|
-
supportLevel: 'unsupported',
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
featureId: 'NUTANIX_INTEGRATION',
|
|
101
|
-
supportLevel: 'unsupported',
|
|
102
|
-
},
|
|
103
|
-
],
|
|
104
|
-
openshiftVersion: '4.8',
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
features: [
|
|
108
|
-
{
|
|
109
|
-
featureId: 'SNO',
|
|
110
|
-
supportLevel: 'supported',
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
featureId: 'DUAL_STACK_NETWORKING',
|
|
114
|
-
supportLevel: 'supported',
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
featureId: 'VIP_AUTO_ALLOC',
|
|
118
|
-
supportLevel: 'dev-preview',
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
featureId: 'ARM64_ARCHITECTURE',
|
|
122
|
-
supportLevel: 'unsupported',
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
featureId: 'ARM64_ARCHITECTURE_WITH_CLUSTER_MANAGED_NETWORKING',
|
|
126
|
-
supportLevel: 'unsupported',
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
featureId: 'SINGLE_NODE_EXPANSION',
|
|
130
|
-
supportLevel: 'unsupported',
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
featureId: 'LVM',
|
|
134
|
-
supportLevel: 'unsupported',
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
featureId: 'MULTIARCH_RELEASE_IMAGE',
|
|
138
|
-
supportLevel: 'unsupported',
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
featureId: 'NUTANIX_INTEGRATION',
|
|
142
|
-
supportLevel: 'unsupported',
|
|
143
|
-
},
|
|
144
|
-
],
|
|
145
|
-
openshiftVersion: '4.9',
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
features: [
|
|
149
|
-
{
|
|
150
|
-
featureId: 'SNO',
|
|
151
|
-
supportLevel: 'supported',
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
featureId: 'ARM64_ARCHITECTURE',
|
|
155
|
-
supportLevel: 'supported',
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
featureId: 'DUAL_STACK_NETWORKING',
|
|
159
|
-
supportLevel: 'supported',
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
featureId: 'VIP_AUTO_ALLOC',
|
|
163
|
-
supportLevel: 'dev-preview',
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
featureId: 'ARM64_ARCHITECTURE_WITH_CLUSTER_MANAGED_NETWORKING',
|
|
167
|
-
supportLevel: 'unsupported',
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
featureId: 'SINGLE_NODE_EXPANSION',
|
|
171
|
-
supportLevel: 'unsupported',
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
featureId: 'LVM',
|
|
175
|
-
supportLevel: 'unsupported',
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
featureId: 'MULTIARCH_RELEASE_IMAGE',
|
|
179
|
-
supportLevel: 'unsupported',
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
featureId: 'NUTANIX_INTEGRATION',
|
|
183
|
-
supportLevel: 'unsupported',
|
|
184
|
-
},
|
|
185
|
-
],
|
|
186
|
-
openshiftVersion: '4.10',
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
features: [
|
|
190
|
-
{
|
|
191
|
-
featureId: 'SNO',
|
|
192
|
-
supportLevel: 'supported',
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
featureId: 'ARM64_ARCHITECTURE',
|
|
196
|
-
supportLevel: 'supported',
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
featureId: 'ARM64_ARCHITECTURE_WITH_CLUSTER_MANAGED_NETWORKING',
|
|
200
|
-
supportLevel: 'supported',
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
featureId: 'SINGLE_NODE_EXPANSION',
|
|
204
|
-
supportLevel: 'supported',
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
featureId: 'DUAL_STACK_NETWORKING',
|
|
208
|
-
supportLevel: 'supported',
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
featureId: 'MULTIARCH_RELEASE_IMAGE',
|
|
212
|
-
supportLevel: 'tech-preview',
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
featureId: 'VIP_AUTO_ALLOC',
|
|
216
|
-
supportLevel: 'dev-preview',
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
featureId: 'LVM',
|
|
220
|
-
supportLevel: 'dev-preview',
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
featureId: 'NUTANIX_INTEGRATION',
|
|
224
|
-
supportLevel: 'dev-preview',
|
|
225
|
-
},
|
|
226
|
-
],
|
|
227
|
-
openshiftVersion: '4.11',
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
features: [
|
|
231
|
-
{
|
|
232
|
-
featureId: 'SNO',
|
|
233
|
-
supportLevel: 'supported',
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
featureId: 'ARM64_ARCHITECTURE',
|
|
237
|
-
supportLevel: 'supported',
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
featureId: 'ARM64_ARCHITECTURE_WITH_CLUSTER_MANAGED_NETWORKING',
|
|
241
|
-
supportLevel: 'supported',
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
featureId: 'SINGLE_NODE_EXPANSION',
|
|
245
|
-
supportLevel: 'supported',
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
featureId: 'LVM',
|
|
249
|
-
supportLevel: 'supported',
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
featureId: 'DUAL_STACK_NETWORKING',
|
|
253
|
-
supportLevel: 'supported',
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
featureId: 'NUTANIX_INTEGRATION',
|
|
257
|
-
supportLevel: 'supported',
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
featureId: 'MULTIARCH_RELEASE_IMAGE',
|
|
261
|
-
supportLevel: 'tech-preview',
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
featureId: 'VIP_AUTO_ALLOC',
|
|
265
|
-
supportLevel: 'dev-preview',
|
|
266
|
-
},
|
|
267
|
-
],
|
|
268
|
-
openshiftVersion: '4.12',
|
|
269
|
-
},
|
|
270
|
-
],
|
|
271
|
-
};
|
|
272
|
-
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../lib/cim/config/constants.ts"],"names":[],"mappings":";;;AAiBA,mHAAmH;AACtG,QAAA,uBAAuB,GAA+B;IACjE,aAAa,EAAE;QACb;YACE,QAAQ,EAAE;gBACR;oBACE,SAAS,EAAE,gBAAgB;oBAC3B,YAAY,EAAE,aAAa;iBAC5B;gBACD;oBACE,SAAS,EAAE,KAAK;oBAChB,YAAY,EAAE,aAAa;iBAC5B;gBACD;oBACE,SAAS,EAAE,oBAAoB;oBAC/B,YAAY,EAAE,aAAa;iBAC5B;gBACD;oBACE,SAAS,EAAE,oDAAoD;oBAC/D,YAAY,EAAE,aAAa;iBAC5B;gBACD;oBACE,SAAS,EAAE,uBAAuB;oBAClC,YAAY,EAAE,aAAa;iBAC5B;gBACD;oBACE,SAAS,EAAE,KAAK;oBAChB,YAAY,EAAE,aAAa;iBAC5B;gBACD;oBACE,SAAS,EAAE,uBAAuB;oBAClC,YAAY,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AAE,MAAM;SACzB;KACF;CACF,CAAC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
const react_1 = tslib_1.__importDefault(require("react"));
|
|
5
|
-
const types_1 = require("../../types");
|
|
6
|
-
const TechnologyPreview_1 = require("../ui/TechnologyPreview");
|
|
7
|
-
const DeveloperPreview_1 = require("../ui/DeveloperPreview");
|
|
8
|
-
const FeatureSupportLevelContext_1 = require("./FeatureSupportLevelContext");
|
|
9
|
-
const FeatureSupportLevelBadge = ({ featureId, openshiftVersion, }) => {
|
|
10
|
-
const featureSupportLevelData = (0, FeatureSupportLevelContext_1.useFeatureSupportLevel)();
|
|
11
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
12
|
-
const supportLevel = react_1.default.useMemo(() => {
|
|
13
|
-
if (!openshiftVersion) {
|
|
14
|
-
return undefined;
|
|
15
|
-
}
|
|
16
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
17
|
-
return featureSupportLevelData.getFeatureSupportLevel(openshiftVersion, featureId);
|
|
18
|
-
}, [openshiftVersion, featureId, featureSupportLevelData]);
|
|
19
|
-
if (!(0, types_1.isPreviewSupportLevel)(supportLevel)) {
|
|
20
|
-
return null;
|
|
21
|
-
}
|
|
22
|
-
const testId = `${featureId}-support-level`;
|
|
23
|
-
return supportLevel === 'tech-preview' ? (react_1.default.createElement(TechnologyPreview_1.TechnologyPreview, { testId: testId })) : (react_1.default.createElement(DeveloperPreview_1.DeveloperPreview, { testId: testId }));
|
|
24
|
-
};
|
|
25
|
-
exports.default = FeatureSupportLevelBadge;
|
|
26
|
-
//# sourceMappingURL=FeatureSupportLevelBadge.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FeatureSupportLevelBadge.js","sourceRoot":"","sources":["../../../../../lib/common/components/featureSupportLevels/FeatureSupportLevelBadge.tsx"],"names":[],"mappings":";;;AAAA,0DAA0B;AAE1B,uCAA+D;AAC/D,+DAA4D;AAC5D,6DAA0D;AAC1D,6EAAsE;AAOtE,MAAM,wBAAwB,GAAqC,CAAC,EAClE,SAAS,EACT,gBAAgB,GACjB,EAAE,EAAE;IACH,MAAM,uBAAuB,GAAG,IAAA,mDAAsB,GAAE,CAAC;IACzD,mEAAmE;IACnE,MAAM,YAAY,GAA6B,eAAK,CAAC,OAAO,CAAC,GAAG,EAAE;QAChE,IAAI,CAAC,gBAAgB,EAAE,CAAC;YACtB,OAAO,SAAS,CAAC;QACnB,CAAC;QACD,+DAA+D;QAC/D,OAAO,uBAAuB,CAAC,sBAAsB,CAAC,gBAAgB,EAAE,SAAS,CAAC,CAAC;IACrF,CAAC,EAAE,CAAC,gBAAgB,EAAE,SAAS,EAAE,uBAAuB,CAAC,CAAC,CAAC;IAC3D,IAAI,CAAC,IAAA,6BAAqB,EAAC,YAAY,CAAC,EAAE,CAAC;QACzC,OAAO,IAAI,CAAC;IACd,CAAC;IACD,MAAM,MAAM,GAAG,GAAG,SAAS,gBAAgB,CAAC;IAC5C,OAAO,YAAY,KAAK,cAAc,CAAC,CAAC,CAAC,CACvC,8BAAC,qCAAiB,IAAC,MAAM,EAAE,MAAM,GAAI,CACtC,CAAC,CAAC,CAAC,CACF,8BAAC,mCAAgB,IAAC,MAAM,EAAE,MAAM,GAAI,CACrC,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,wBAAwB,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.useFeatureSupportLevel = exports.FeatureSupportLevelContextProvider = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
|
-
const use_translation_wrapper_1 = require("../../hooks/use-translation-wrapper");
|
|
7
|
-
const FeatureSupportLevelContext = react_1.default.createContext(null);
|
|
8
|
-
const FeatureSupportLevelContextProvider = ({ value, children }) => {
|
|
9
|
-
return (react_1.default.createElement(FeatureSupportLevelContext.Provider, { value: value }, children));
|
|
10
|
-
};
|
|
11
|
-
exports.FeatureSupportLevelContextProvider = FeatureSupportLevelContextProvider;
|
|
12
|
-
const useFeatureSupportLevel = () => {
|
|
13
|
-
const context = react_1.default.useContext(FeatureSupportLevelContext);
|
|
14
|
-
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
15
|
-
if (!context) {
|
|
16
|
-
throw new Error(t('ai:useFeatureSupportLevel must be used within FeatureSupportLevelContextProvider.'));
|
|
17
|
-
}
|
|
18
|
-
return context;
|
|
19
|
-
};
|
|
20
|
-
exports.useFeatureSupportLevel = useFeatureSupportLevel;
|
|
21
|
-
//# sourceMappingURL=FeatureSupportLevelContext.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FeatureSupportLevelContext.js","sourceRoot":"","sources":["../../../../../lib/common/components/featureSupportLevels/FeatureSupportLevelContext.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAI1B,iFAAqE;AAqBrE,MAAM,0BAA0B,GAAG,eAAK,CAAC,aAAa,CAAiC,IAAI,CAAC,CAAC;AAEtF,MAAM,kCAAkC,GAG1C,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC3B,OAAO,CACL,8BAAC,0BAA0B,CAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,IAC9C,QAAQ,CAC2B,CACvC,CAAC;AACJ,CAAC,CAAC;AATW,QAAA,kCAAkC,sCAS7C;AAEK,MAAM,sBAAsB,GAAG,GAAG,EAAE;IACzC,MAAM,OAAO,GAAG,eAAK,CAAC,UAAU,CAAC,0BAA0B,CAAC,CAAC;IAE7D,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,MAAM,IAAI,KAAK,CACb,CAAC,CAAC,mFAAmF,CAAC,CACvF,CAAC;IACJ,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC;AAVW,QAAA,sBAAsB,0BAUjC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FeatureSupportLevelBadge = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
var FeatureSupportLevelBadge_1 = require("./FeatureSupportLevelBadge");
|
|
6
|
-
Object.defineProperty(exports, "FeatureSupportLevelBadge", { enumerable: true, get: function () { return tslib_1.__importDefault(FeatureSupportLevelBadge_1).default; } });
|
|
7
|
-
tslib_1.__exportStar(require("./FeatureSupportLevelContext"), exports);
|
|
8
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/common/components/featureSupportLevels/index.ts"],"names":[],"mappings":";;;;AAAA,uEAAiF;AAAxE,6JAAA,OAAO,OAA4B;AAC5C,uEAA6C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../lib/common/components/featureSupportLevels/types.ts"],"names":[],"mappings":""}
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
import React, { PropsWithChildren } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
FeatureSupportLevelsMap,
|
|
4
|
-
FeatureIdToSupportLevel,
|
|
5
|
-
FeatureId,
|
|
6
|
-
FeatureSupportLevelContextProvider,
|
|
7
|
-
FeatureSupportLevelData,
|
|
8
|
-
} from '../../../common';
|
|
9
|
-
import { ClusterImageSetK8sResource } from '../../types';
|
|
10
|
-
import { featureSupportLevelsACM } from '../../config/constants';
|
|
11
|
-
import { getFeatureDisabledReason, isFeatureSupported } from './featureStateUtils';
|
|
12
|
-
import { getOCPVersions, getVersionFromClusterImageSet } from '../helpers';
|
|
13
|
-
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
14
|
-
import { SupportLevel } from '@openshift-assisted/types/assisted-installer-service';
|
|
15
|
-
import { getMajorMinorVersion } from '../../../common/utils';
|
|
16
|
-
|
|
17
|
-
export type ACMFeatureSupportLevelProvider = PropsWithChildren<{
|
|
18
|
-
clusterImages: ClusterImageSetK8sResource[];
|
|
19
|
-
isEditClusterFlow?: boolean;
|
|
20
|
-
}>;
|
|
21
|
-
const getFeatureSupportLevelsMap = (): FeatureSupportLevelsMap => {
|
|
22
|
-
try {
|
|
23
|
-
const featureSupportLevelsMap: FeatureSupportLevelsMap = {};
|
|
24
|
-
featureSupportLevelsACM.supportLevels.forEach((feature) => {
|
|
25
|
-
const featureIdParams: FeatureIdToSupportLevel = {};
|
|
26
|
-
const featureProps = feature.features;
|
|
27
|
-
featureProps.forEach((ops) => {
|
|
28
|
-
featureIdParams[ops.featureId] = ops.supportLevel;
|
|
29
|
-
});
|
|
30
|
-
featureSupportLevelsMap[feature.openshiftVersion] = featureIdParams;
|
|
31
|
-
});
|
|
32
|
-
return featureSupportLevelsMap;
|
|
33
|
-
} catch (err) {
|
|
34
|
-
// console.error(err);
|
|
35
|
-
return {};
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
export const ACMFeatureSupportLevelProvider: React.FC<ACMFeatureSupportLevelProvider> = ({
|
|
40
|
-
children,
|
|
41
|
-
clusterImages,
|
|
42
|
-
isEditClusterFlow = false,
|
|
43
|
-
}) => {
|
|
44
|
-
const { t } = useTranslation();
|
|
45
|
-
|
|
46
|
-
const supportLevelData: FeatureSupportLevelsMap = React.useMemo<FeatureSupportLevelsMap>(() => {
|
|
47
|
-
return getFeatureSupportLevelsMap();
|
|
48
|
-
}, []);
|
|
49
|
-
const ocpVersions = getOCPVersions(clusterImages);
|
|
50
|
-
|
|
51
|
-
const getNormalizedVersion = React.useCallback(
|
|
52
|
-
(versionName: string) => {
|
|
53
|
-
const clusterImage = clusterImages.find(
|
|
54
|
-
(clusterImageSet) => clusterImageSet.metadata?.name === versionName,
|
|
55
|
-
);
|
|
56
|
-
const version = getVersionFromClusterImageSet(clusterImage);
|
|
57
|
-
return getMajorMinorVersion(version);
|
|
58
|
-
},
|
|
59
|
-
[clusterImages],
|
|
60
|
-
);
|
|
61
|
-
|
|
62
|
-
const getVersionSupportLevelsMap: FeatureSupportLevelData['getVersionSupportLevelsMap'] =
|
|
63
|
-
React.useCallback(
|
|
64
|
-
(versionName: string): FeatureIdToSupportLevel | undefined => {
|
|
65
|
-
const normalized = getNormalizedVersion(versionName);
|
|
66
|
-
return normalized
|
|
67
|
-
? supportLevelData[normalized]
|
|
68
|
-
: {
|
|
69
|
-
/* empty FeatureIdToSupportLevel */
|
|
70
|
-
};
|
|
71
|
-
},
|
|
72
|
-
[supportLevelData, getNormalizedVersion],
|
|
73
|
-
);
|
|
74
|
-
|
|
75
|
-
// TODO(mlibra): Following callbacks can be reused with the OCM flow, just based on providing an application-specific map
|
|
76
|
-
const getFeatureSupportLevel: FeatureSupportLevelData['getFeatureSupportLevel'] =
|
|
77
|
-
React.useCallback(
|
|
78
|
-
(versionName: string, featureId: FeatureId): SupportLevel | undefined => {
|
|
79
|
-
const versionSupportLevelData = getVersionSupportLevelsMap(versionName);
|
|
80
|
-
return versionSupportLevelData ? versionSupportLevelData[featureId] : undefined;
|
|
81
|
-
},
|
|
82
|
-
[getVersionSupportLevelsMap],
|
|
83
|
-
);
|
|
84
|
-
|
|
85
|
-
const isFeatureSupportedCallback = React.useCallback(
|
|
86
|
-
(versionName: string, featureId: FeatureId) => {
|
|
87
|
-
const supportLevel = getFeatureSupportLevel(versionName, featureId);
|
|
88
|
-
return isFeatureSupported(supportLevel);
|
|
89
|
-
},
|
|
90
|
-
[getFeatureSupportLevel],
|
|
91
|
-
);
|
|
92
|
-
|
|
93
|
-
const getDisabledReasonCallback = React.useCallback(
|
|
94
|
-
(versionName: string, featureId: FeatureId) => {
|
|
95
|
-
const isSupported = isFeatureSupportedCallback(versionName, featureId);
|
|
96
|
-
return getFeatureDisabledReason(
|
|
97
|
-
featureId,
|
|
98
|
-
isEditClusterFlow,
|
|
99
|
-
versionName,
|
|
100
|
-
ocpVersions,
|
|
101
|
-
isSupported,
|
|
102
|
-
t,
|
|
103
|
-
);
|
|
104
|
-
},
|
|
105
|
-
[isFeatureSupportedCallback, t, ocpVersions, isEditClusterFlow],
|
|
106
|
-
);
|
|
107
|
-
|
|
108
|
-
const isFeatureDisabled = React.useCallback(
|
|
109
|
-
(version: string, featureId: FeatureId) => !!getDisabledReasonCallback(version, featureId),
|
|
110
|
-
[getDisabledReasonCallback],
|
|
111
|
-
);
|
|
112
|
-
|
|
113
|
-
const providerValue = React.useMemo<FeatureSupportLevelData>(() => {
|
|
114
|
-
return {
|
|
115
|
-
getVersionSupportLevelsMap,
|
|
116
|
-
getFeatureSupportLevel,
|
|
117
|
-
isFeatureDisabled,
|
|
118
|
-
getFeatureDisabledReason: getDisabledReasonCallback,
|
|
119
|
-
isFeatureSupported: isFeatureSupportedCallback,
|
|
120
|
-
};
|
|
121
|
-
}, [
|
|
122
|
-
getVersionSupportLevelsMap,
|
|
123
|
-
getFeatureSupportLevel,
|
|
124
|
-
isFeatureDisabled,
|
|
125
|
-
getDisabledReasonCallback,
|
|
126
|
-
isFeatureSupportedCallback,
|
|
127
|
-
]);
|
|
128
|
-
|
|
129
|
-
return (
|
|
130
|
-
<FeatureSupportLevelContextProvider value={providerValue}>
|
|
131
|
-
{children}
|
|
132
|
-
</FeatureSupportLevelContextProvider>
|
|
133
|
-
);
|
|
134
|
-
};
|
|
135
|
-
|
|
136
|
-
export default ACMFeatureSupportLevelProvider;
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { FeatureId, OpenshiftVersionOptionType } from '../../../common/types';
|
|
2
|
-
import { TFunction } from 'i18next';
|
|
3
|
-
import { SupportLevel } from '@openshift-assisted/types/assisted-installer-service';
|
|
4
|
-
|
|
5
|
-
const getClusterExistsReason = (t: TFunction) =>
|
|
6
|
-
t('ai:This option is not editable after the draft cluster is created');
|
|
7
|
-
|
|
8
|
-
const getSNODisabledReason = (clusterExists: boolean, isSupported: boolean, t: TFunction) => {
|
|
9
|
-
if (clusterExists) {
|
|
10
|
-
return getClusterExistsReason(t);
|
|
11
|
-
}
|
|
12
|
-
if (!isSupported) {
|
|
13
|
-
return t('ai:Single-Node OpenShift is not supported in this OpenShift version');
|
|
14
|
-
}
|
|
15
|
-
return undefined;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
const getArmDisabledReason = (
|
|
19
|
-
clusterExists: boolean,
|
|
20
|
-
versionName: string,
|
|
21
|
-
versionOptions: OpenshiftVersionOptionType[],
|
|
22
|
-
isSupported: boolean,
|
|
23
|
-
t: TFunction,
|
|
24
|
-
) => {
|
|
25
|
-
if (clusterExists) {
|
|
26
|
-
return getClusterExistsReason(t);
|
|
27
|
-
}
|
|
28
|
-
if (!isSupported) {
|
|
29
|
-
return t('ai:arm64 is not supported in this OpenShift version');
|
|
30
|
-
}
|
|
31
|
-
// TODO(jtomasek): versionOptions derived from clusterimagesets need to include cpuArchitectures array to correctly determine this
|
|
32
|
-
// if (!isArmSupportedByTheImage(versionName, versionOptions)) {
|
|
33
|
-
// return t('ai:Selected image does not support arm64');
|
|
34
|
-
// }
|
|
35
|
-
return undefined;
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
export const getFeatureDisabledReason = (
|
|
39
|
-
featureId: FeatureId,
|
|
40
|
-
clusterExists: boolean,
|
|
41
|
-
versionName: string,
|
|
42
|
-
versionOptions: OpenshiftVersionOptionType[],
|
|
43
|
-
isSupported: boolean,
|
|
44
|
-
t: TFunction,
|
|
45
|
-
): string | undefined => {
|
|
46
|
-
switch (featureId) {
|
|
47
|
-
case 'SNO': {
|
|
48
|
-
return getSNODisabledReason(clusterExists, isSupported, t);
|
|
49
|
-
}
|
|
50
|
-
case 'ARM64_ARCHITECTURE': {
|
|
51
|
-
return getArmDisabledReason(clusterExists, versionName, versionOptions, isSupported, t);
|
|
52
|
-
}
|
|
53
|
-
default: {
|
|
54
|
-
return undefined;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
export const isFeatureSupported = (supportLevel: SupportLevel | undefined) => {
|
|
60
|
-
return supportLevel !== 'unsupported';
|
|
61
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as ACMFeatureSupportLevelProvider } from './ACMFeatureSupportLevelProvider';
|