@openshift-assisted/ui-lib 2.9.5-cim → 2.9.6-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/types.d.ts +2 -3
- package/build/@types/cim/components/ClusterDeployment/types.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/AddHostDropdown.d.ts +1 -1
- package/build/@types/cim/components/InfraEnv/AddHostDropdown.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/types.d.ts +3 -1
- package/build/@types/cim/components/InfraEnv/types.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/toAssisted.d.ts.map +1 -1
- package/build/@types/cim/components/modals/AddBmcHostModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/AddBmcHostYamlModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/ProvisioningConfigErrorAlert.d.ts +5 -0
- package/build/@types/cim/components/modals/ProvisioningConfigErrorAlert.d.ts.map +1 -0
- package/build/@types/cim/components/modals/types.d.ts +2 -0
- package/build/@types/cim/components/modals/types.d.ts.map +1 -1
- package/build/@types/common/api/axiosClient.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/ReviewValidations.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/types.d.ts +1 -0
- package/build/@types/common/components/clusterWizard/types.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/validationsInfoUtils.d.ts +4 -0
- package/build/@types/common/components/clusterWizard/validationsInfoUtils.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/SingleNodeCheckbox.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/validationSchemas.d.ts +0 -1
- package/build/@types/common/components/ui/formik/validationSchemas.d.ts.map +1 -1
- package/build/@types/common/config/constants.d.ts.map +1 -1
- package/build/@types/common/features/featureGate.d.ts +1 -2
- package/build/@types/common/features/featureGate.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 +6 -0
- package/build/@types/ocm/components/Routes.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/DiscoveryImageForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmBaseDomainField.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmSingleNodeCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsForm.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/CnvHostRequirements.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.d.ts +13 -4
- package/build/@types/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/platformIntegration/constants.d.ts +3 -0
- package/build/@types/ocm/components/clusterConfiguration/platformIntegration/constants.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/YamlView/MacIpMapping.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/AssistedInstallerDetailCard.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/CustomManifestStep.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsStep.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/StaticIp.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/AssistedInstallerHeader.d.ts +2 -0
- package/build/@types/ocm/components/clusters/AssistedInstallerHeader.d.ts.map +1 -0
- package/build/@types/ocm/components/clusters/ClusterPage.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/Clusters.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/ClustersTable.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/NewClusterPage.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/clusterPolling.d.ts +1 -1
- package/build/@types/ocm/components/clusters/clusterPolling.d.ts.map +1 -1
- package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/use-hosts-table.d.ts.map +1 -1
- package/build/@types/ocm/components/index.d.ts +1 -1
- package/build/@types/ocm/index.d.ts +0 -1
- package/build/@types/ocm/index.d.ts.map +1 -1
- package/build/@types/ocm/store/hooks.d.ts +5 -1
- package/build/@types/ocm/store/hooks.d.ts.map +1 -1
- package/build/@types/ocm/store/index.d.ts +5 -36
- package/build/@types/ocm/store/index.d.ts.map +1 -1
- package/build/@types/ocm/{selectors/clusters.d.ts → store/slices/clusters/selectors.d.ts} +15 -11
- package/build/@types/ocm/store/slices/clusters/selectors.d.ts.map +1 -0
- package/build/@types/ocm/{reducers/clusters/clustersSlice.d.ts → store/slices/clusters/slice.d.ts} +4 -4
- package/build/@types/ocm/store/slices/clusters/slice.d.ts.map +1 -0
- package/build/@types/ocm/store/slices/current-cluster/selectors.d.ts +14 -0
- package/build/@types/ocm/store/slices/current-cluster/selectors.d.ts.map +1 -0
- package/build/@types/ocm/{reducers/clusters/currentClusterSlice.d.ts → store/slices/current-cluster/slice.d.ts} +5 -5
- package/build/@types/ocm/store/slices/current-cluster/slice.d.ts.map +1 -0
- package/build/@types/ocm/store/slices/feature-flags/selectors.d.ts +9 -0
- package/build/@types/ocm/store/slices/feature-flags/selectors.d.ts.map +1 -0
- package/build/@types/ocm/store/slices/feature-flags/slice.d.ts +7 -0
- package/build/@types/ocm/store/slices/feature-flags/slice.d.ts.map +1 -0
- package/build/@types/ocm/store/slices/{infraEnvs → infra-envs}/selectors.d.ts +4 -3
- package/build/@types/ocm/store/slices/infra-envs/selectors.d.ts.map +1 -0
- package/build/@types/ocm/store/slices/infra-envs/slice.d.ts.map +1 -0
- package/build/@types/ocm/store/slices/infra-envs/thunks.d.ts.map +1 -0
- package/build/@types/ocm/store/store-day1.d.ts +32 -0
- package/build/@types/ocm/store/store-day1.d.ts.map +1 -0
- package/build/@types/ocm/store/store-day2.d.ts +10 -0
- package/build/@types/ocm/store/store-day2.d.ts.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/wizardTransition.js +9 -0
- package/build/cjs/cim/components/ClusterDeployment/wizardTransition.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/AddHostDropdown.js +23 -10
- package/build/cjs/cim/components/InfraEnv/AddHostDropdown.js.map +1 -1
- package/build/cjs/cim/components/helpers/toAssisted.js +2 -1
- package/build/cjs/cim/components/helpers/toAssisted.js.map +1 -1
- package/build/cjs/cim/components/modals/AddBmcHostModal.js +3 -1
- package/build/cjs/cim/components/modals/AddBmcHostModal.js.map +1 -1
- package/build/cjs/cim/components/modals/AddBmcHostYamlModal.js +3 -1
- package/build/cjs/cim/components/modals/AddBmcHostYamlModal.js.map +1 -1
- package/build/cjs/cim/components/modals/ProvisioningConfigErrorAlert.js +16 -0
- package/build/cjs/cim/components/modals/ProvisioningConfigErrorAlert.js.map +1 -0
- package/build/cjs/common/api/axiosClient.js +2 -4
- package/build/cjs/common/api/axiosClient.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/ReviewValidations.js +11 -3
- package/build/cjs/common/components/clusterWizard/ReviewValidations.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/NetworkTypeControlGroup.js +2 -2
- package/build/cjs/common/components/clusterWizard/networkingSteps/NetworkTypeControlGroup.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/validationsInfoUtils.js.map +1 -1
- package/build/cjs/common/components/ui/formik/SingleNodeCheckbox.js +1 -3
- package/build/cjs/common/components/ui/formik/SingleNodeCheckbox.js.map +1 -1
- package/build/cjs/common/components/ui/formik/validationSchemas.js +8 -16
- package/build/cjs/common/components/ui/formik/validationSchemas.js.map +1 -1
- package/build/cjs/common/config/constants.js +1 -3
- package/build/cjs/common/config/constants.js.map +1 -1
- package/build/cjs/common/features/featureGate.js +1 -11
- package/build/cjs/common/features/featureGate.js.map +1 -1
- package/build/cjs/common/utils.js +1 -1
- package/build/cjs/common/utils.js.map +1 -1
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTab.js +9 -5
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTab.js.map +1 -1
- package/build/cjs/ocm/components/Routes.js +29 -0
- package/build/cjs/ocm/components/Routes.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageForm.js +4 -4
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/HostInventory.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/HostInventory.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmBaseDomainField.js +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmBaseDomainField.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +2 -4
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmSingleNodeCheckbox.js +1 -2
- package/build/cjs/ocm/components/clusterConfiguration/OcmSingleNodeCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsForm.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js +4 -4
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/CnvHostRequirements.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/CnvHostRequirements.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js +61 -17
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/constants.js +8 -1
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/constants.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewStep.js +3 -3
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewStep.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 +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/MacIpMapping.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/MacIpMapping.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js +4 -4
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.js +2 -2
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/CancelInstallationModal.js +2 -2
- package/build/cjs/ocm/components/clusterDetail/CancelInstallationModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterDetail.js +2 -2
- package/build/cjs/ocm/components/clusterDetail/ClusterDetail.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js +2 -2
- package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +4 -4
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js +4 -2
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/CustomManifestStep.js +1 -1
- package/build/cjs/ocm/components/clusterWizard/CustomManifestStep.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/HostDiscovery.js +4 -4
- package/build/cjs/ocm/components/clusterWizard/HostDiscovery.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/Operators.js +3 -3
- package/build/cjs/ocm/components/clusterWizard/Operators.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js +4 -9
- package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/StaticIp.js +1 -1
- package/build/cjs/ocm/components/clusterWizard/StaticIp.js.map +1 -1
- package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js +18 -0
- package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js.map +1 -0
- package/build/cjs/ocm/components/clusters/ClusterPage.js +4 -9
- package/build/cjs/ocm/components/clusters/ClusterPage.js.map +1 -1
- package/build/cjs/ocm/components/clusters/Clusters.js +8 -8
- package/build/cjs/ocm/components/clusters/Clusters.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClustersListToolbar.js +6 -6
- package/build/cjs/ocm/components/clusters/ClustersListToolbar.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClustersTable.js +2 -2
- package/build/cjs/ocm/components/clusters/ClustersTable.js.map +1 -1
- package/build/cjs/ocm/components/clusters/NewClusterPage.js +2 -2
- package/build/cjs/ocm/components/clusters/NewClusterPage.js.map +1 -1
- package/build/cjs/ocm/components/clusters/clusterPolling.js +11 -11
- package/build/cjs/ocm/components/clusters/clusterPolling.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js +20 -8
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.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/use-hosts-table.js +20 -20
- package/build/cjs/ocm/components/hosts/use-hosts-table.js.map +1 -1
- package/build/cjs/ocm/components/hosts/utils.js +2 -2
- package/build/cjs/ocm/components/hosts/utils.js.map +1 -1
- package/build/cjs/ocm/components/index.js +1 -1
- package/build/cjs/ocm/components/ui/OcmFormFields.js +1 -1
- package/build/cjs/ocm/components/ui/OcmFormFields.js.map +1 -1
- package/build/cjs/ocm/hooks/useSetClusterPermissions.js +2 -2
- package/build/cjs/ocm/hooks/useSetClusterPermissions.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/store/hooks.js +3 -1
- package/build/cjs/ocm/store/hooks.js.map +1 -1
- package/build/cjs/ocm/store/index.js +10 -19
- package/build/cjs/ocm/store/index.js.map +1 -1
- package/build/cjs/ocm/{selectors/clusters.js → store/slices/clusters/selectors.js} +4 -4
- package/build/cjs/ocm/store/slices/clusters/selectors.js.map +1 -0
- package/build/cjs/ocm/{reducers/clusters/clustersSlice.js → store/slices/clusters/slice.js} +8 -7
- package/build/cjs/ocm/store/slices/clusters/slice.js.map +1 -0
- package/build/cjs/ocm/{selectors/currentCluster.js → store/slices/current-cluster/selectors.js} +1 -1
- package/build/cjs/ocm/store/slices/current-cluster/selectors.js.map +1 -0
- package/build/cjs/ocm/{reducers/clusters/currentClusterSlice.js → store/slices/current-cluster/slice.js} +12 -13
- package/build/cjs/ocm/store/slices/current-cluster/slice.js.map +1 -0
- package/build/cjs/ocm/store/slices/feature-flags/selectors.js +11 -0
- package/build/cjs/ocm/store/slices/feature-flags/selectors.js.map +1 -0
- package/build/cjs/ocm/store/slices/feature-flags/slice.js +16 -0
- package/build/cjs/ocm/store/slices/feature-flags/slice.js.map +1 -0
- package/build/cjs/ocm/store/slices/infra-envs/selectors.js.map +1 -0
- package/build/cjs/ocm/store/slices/infra-envs/slice.js.map +1 -0
- package/build/cjs/ocm/store/slices/infra-envs/thunks.js.map +1 -0
- package/build/cjs/ocm/store/store-day1.js +24 -0
- package/build/cjs/ocm/store/store-day1.js.map +1 -0
- package/build/cjs/ocm/store/store-day2.js +20 -0
- package/build/cjs/ocm/store/store-day2.js.map +1 -0
- package/lib/cim/components/ClusterDeployment/types.ts +2 -3
- package/lib/cim/components/ClusterDeployment/wizardTransition.ts +10 -0
- package/lib/cim/components/InfraEnv/AddHostDropdown.tsx +45 -18
- package/lib/cim/components/InfraEnv/types.ts +4 -1
- package/lib/cim/components/helpers/toAssisted.ts +3 -0
- package/lib/cim/components/modals/AddBmcHostModal.tsx +3 -0
- package/lib/cim/components/modals/AddBmcHostYamlModal.tsx +3 -0
- package/lib/cim/components/modals/ProvisioningConfigErrorAlert.tsx +18 -0
- package/lib/cim/components/modals/types.ts +2 -0
- package/lib/common/api/axiosClient.ts +2 -3
- package/lib/common/components/clusterWizard/ReviewValidations.tsx +12 -1
- package/lib/common/components/clusterWizard/networkingSteps/NetworkTypeControlGroup.tsx +2 -2
- package/lib/common/components/clusterWizard/types.ts +1 -0
- package/lib/common/components/clusterWizard/validationsInfoUtils.ts +9 -0
- package/lib/common/components/ui/formik/SingleNodeCheckbox.tsx +1 -3
- package/lib/common/components/ui/formik/validationSchemas.test.ts +4 -22
- package/lib/common/components/ui/formik/validationSchemas.ts +13 -22
- package/lib/common/config/constants.ts +1 -3
- package/lib/common/features/featureGate.tsx +1 -19
- package/lib/common/utils.ts +2 -2
- package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTab.tsx +16 -11
- package/lib/ocm/components/Routes.tsx +34 -0
- package/lib/ocm/components/clusterConfiguration/DiscoveryImageForm.tsx +5 -1
- package/lib/ocm/components/clusterConfiguration/HostInventory.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/OcmBaseDomainField.tsx +0 -2
- package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +6 -10
- package/lib/ocm/components/clusterConfiguration/OcmSingleNodeCheckbox.tsx +2 -3
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsForm.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx +5 -2
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/operators/CnvHostRequirements.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.tsx +134 -35
- package/lib/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.tsx +10 -8
- package/lib/ocm/components/clusterConfiguration/platformIntegration/constants.tsx +8 -0
- package/lib/ocm/components/clusterConfiguration/review/ReviewStep.tsx +2 -2
- package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.tsx +3 -3
- package/lib/ocm/components/clusterConfiguration/staticIp/components/YamlView/MacIpMapping.tsx +1 -1
- package/lib/ocm/components/clusterDetail/AssistedInstallerDetailCard.tsx +6 -4
- package/lib/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.tsx +3 -3
- package/lib/ocm/components/clusterDetail/CancelInstallationModal.tsx +1 -1
- package/lib/ocm/components/clusterDetail/ClusterDetail.tsx +1 -1
- package/lib/ocm/components/clusterDetail/ResetClusterModal.tsx +1 -1
- package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +1 -1
- package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +5 -3
- package/lib/ocm/components/clusterWizard/CustomManifestStep.tsx +1 -1
- package/lib/ocm/components/clusterWizard/HostDiscovery.tsx +2 -2
- package/lib/ocm/components/clusterWizard/Operators.tsx +1 -1
- package/lib/ocm/components/clusterWizard/OperatorsStep.tsx +6 -19
- package/lib/ocm/components/clusterWizard/StaticIp.tsx +1 -1
- package/lib/ocm/components/clusters/AssistedInstallerHeader.tsx +25 -0
- package/lib/ocm/components/clusters/ClusterPage.tsx +4 -28
- package/lib/ocm/components/clusters/Clusters.tsx +9 -11
- package/lib/ocm/components/clusters/ClustersListToolbar.tsx +5 -5
- package/lib/ocm/components/clusters/ClustersTable.tsx +4 -1
- package/lib/ocm/components/clusters/NewClusterPage.tsx +3 -6
- package/lib/ocm/components/clusters/clusterPolling.ts +7 -7
- package/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +21 -7
- package/lib/ocm/components/hosts/HostsDiscoveryTable.tsx +1 -1
- package/lib/ocm/components/hosts/use-hosts-table.tsx +5 -2
- package/lib/ocm/components/hosts/utils.ts +1 -1
- package/lib/ocm/components/index.ts +1 -1
- package/lib/ocm/components/ui/OcmFormFields.tsx +1 -1
- package/lib/ocm/hooks/useSetClusterPermissions.ts +1 -1
- package/lib/ocm/index.ts +0 -1
- package/lib/ocm/store/hooks.ts +6 -2
- package/lib/ocm/store/index.ts +5 -23
- package/lib/ocm/{selectors/clusters.tsx → store/slices/clusters/selectors.tsx} +10 -12
- package/lib/ocm/{reducers/clusters/clustersSlice.ts → store/slices/clusters/slice.ts} +6 -5
- package/lib/ocm/{selectors/currentCluster.ts → store/slices/current-cluster/selectors.ts} +7 -7
- package/lib/ocm/{reducers/clusters/currentClusterSlice.ts → store/slices/current-cluster/slice.ts} +10 -8
- package/lib/ocm/store/slices/feature-flags/selectors.ts +13 -0
- package/lib/ocm/store/slices/feature-flags/slice.ts +15 -0
- package/lib/ocm/store/slices/{infraEnvs → infra-envs}/selectors.ts +3 -3
- package/lib/ocm/store/slices/{infraEnvs → infra-envs}/thunks.ts +3 -3
- package/lib/ocm/store/store-day1.ts +23 -0
- package/lib/ocm/store/store-day2.ts +19 -0
- package/package.json +3 -3
- package/build/@types/ocm/components/Router.d.ts +0 -9
- package/build/@types/ocm/components/Router.d.ts.map +0 -1
- package/build/@types/ocm/hooks/useOracleDropdownItemState.d.ts +0 -10
- package/build/@types/ocm/hooks/useOracleDropdownItemState.d.ts.map +0 -1
- package/build/@types/ocm/reducers/clusters/clustersSlice.d.ts.map +0 -1
- package/build/@types/ocm/reducers/clusters/currentClusterSlice.d.ts.map +0 -1
- package/build/@types/ocm/reducers/clusters/index.d.ts +0 -3
- package/build/@types/ocm/reducers/clusters/index.d.ts.map +0 -1
- package/build/@types/ocm/selectors/clusters.d.ts.map +0 -1
- package/build/@types/ocm/selectors/currentCluster.d.ts +0 -14
- package/build/@types/ocm/selectors/currentCluster.d.ts.map +0 -1
- package/build/@types/ocm/selectors/index.d.ts +0 -3
- package/build/@types/ocm/selectors/index.d.ts.map +0 -1
- package/build/@types/ocm/store/slices/infraEnvs/selectors.d.ts.map +0 -1
- package/build/@types/ocm/store/slices/infraEnvs/slice.d.ts.map +0 -1
- package/build/@types/ocm/store/slices/infraEnvs/thunks.d.ts.map +0 -1
- package/build/cjs/ocm/components/Router.js +0 -25
- package/build/cjs/ocm/components/Router.js.map +0 -1
- package/build/cjs/ocm/hooks/useOracleDropdownItemState.js +0 -30
- package/build/cjs/ocm/hooks/useOracleDropdownItemState.js.map +0 -1
- package/build/cjs/ocm/reducers/clusters/clustersSlice.js.map +0 -1
- package/build/cjs/ocm/reducers/clusters/currentClusterSlice.js.map +0 -1
- package/build/cjs/ocm/reducers/clusters/index.js +0 -6
- package/build/cjs/ocm/reducers/clusters/index.js.map +0 -1
- package/build/cjs/ocm/selectors/clusters.js.map +0 -1
- package/build/cjs/ocm/selectors/currentCluster.js.map +0 -1
- package/build/cjs/ocm/selectors/index.js +0 -6
- package/build/cjs/ocm/selectors/index.js.map +0 -1
- package/build/cjs/ocm/store/slices/infraEnvs/selectors.js.map +0 -1
- package/build/cjs/ocm/store/slices/infraEnvs/slice.js.map +0 -1
- package/build/cjs/ocm/store/slices/infraEnvs/thunks.js.map +0 -1
- package/lib/ocm/components/Router.tsx +0 -29
- package/lib/ocm/hooks/useOracleDropdownItemState.ts +0 -45
- package/lib/ocm/reducers/clusters/index.ts +0 -2
- package/lib/ocm/selectors/index.ts +0 -2
- /package/build/@types/ocm/store/slices/{infraEnvs → infra-envs}/slice.d.ts +0 -0
- /package/build/@types/ocm/store/slices/{infraEnvs → infra-envs}/thunks.d.ts +0 -0
- /package/build/cjs/ocm/store/slices/{infraEnvs → infra-envs}/selectors.js +0 -0
- /package/build/cjs/ocm/store/slices/{infraEnvs → infra-envs}/slice.js +0 -0
- /package/build/cjs/ocm/store/slices/{infraEnvs → infra-envs}/thunks.js +0 -0
- /package/lib/ocm/store/slices/{infraEnvs → infra-envs}/slice.ts +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useDispatch } from 'react-redux';
|
|
2
2
|
import { AssistedInstallerOCMPermissionTypesListType } from '../../common';
|
|
3
3
|
import { ExtendedCluster, getBasePermissions, ocmPermissionsToAIPermissions } from '../config';
|
|
4
|
-
import { updateClusterPermissions } from '../
|
|
4
|
+
import { updateClusterPermissions } from '../store/slices/current-cluster/slice';
|
|
5
5
|
import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
|
|
6
6
|
|
|
7
7
|
export default function useSetClusterPermissions() {
|
package/lib/ocm/index.ts
CHANGED
package/lib/ocm/store/hooks.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { useDispatch, useSelector } from 'react-redux';
|
|
2
|
+
import type { TypedUseSelectorHook } from 'react-redux';
|
|
3
|
+
import type { DispatchDay1, RootStateDay1 } from './store-day1';
|
|
4
|
+
import type { DispatchDay2, RootStateDay2 } from './store-day2';
|
|
3
5
|
|
|
4
6
|
export const useDispatchDay1: () => DispatchDay1 = useDispatch;
|
|
7
|
+
export const useSelectorDay1: TypedUseSelectorHook<RootStateDay1> = useSelector;
|
|
5
8
|
export const useDispatchDay2: () => DispatchDay2 = useDispatch;
|
|
9
|
+
export const useSelectorDay2: TypedUseSelectorHook<RootStateDay2> = useSelector;
|
package/lib/ocm/store/index.ts
CHANGED
|
@@ -1,23 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export const store = configureStore({
|
|
7
|
-
reducer: {
|
|
8
|
-
clusters: clustersReducer,
|
|
9
|
-
currentCluster: currentClusterReducer,
|
|
10
|
-
infraEnvs: infraEnvsReducer,
|
|
11
|
-
},
|
|
12
|
-
preloadedState: {},
|
|
13
|
-
});
|
|
14
|
-
export type RootState = ReturnType<typeof store.getState>;
|
|
15
|
-
export type DispatchDay1 = (typeof store)['dispatch'];
|
|
16
|
-
|
|
17
|
-
export const storeDay2 = configureStore({
|
|
18
|
-
reducer: {
|
|
19
|
-
infraEnvs: infraEnvsReducer,
|
|
20
|
-
},
|
|
21
|
-
});
|
|
22
|
-
export type RootStateDay2 = ReturnType<typeof storeDay2.getState>;
|
|
23
|
-
export type DispatchDay2 = (typeof storeDay2)['dispatch'];
|
|
1
|
+
export { storeDay1 } from './store-day1';
|
|
2
|
+
export { storeDay2 } from './store-day2';
|
|
3
|
+
export type { RootStateDay1, DispatchDay1 } from './store-day1';
|
|
4
|
+
export type { RootStateDay2, DispatchDay2 } from './store-day2';
|
|
5
|
+
export { useSelectorDay1, useSelectorDay2, useDispatchDay1, useDispatchDay2 } from './hooks';
|
|
@@ -1,27 +1,25 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createSelector } from '@reduxjs/toolkit';
|
|
3
|
-
import { IRow, IRowData } from '@patternfly/react-table';
|
|
3
|
+
import type { IRow, IRowData } from '@patternfly/react-table';
|
|
4
4
|
import { Link } from 'react-router-dom';
|
|
5
|
-
import { TFunction } from 'i18next';
|
|
6
|
-
|
|
5
|
+
import type { TFunction } from 'i18next';
|
|
7
6
|
import {
|
|
8
7
|
DASH,
|
|
9
8
|
getDateTimeCell,
|
|
10
9
|
getEnabledHostCount,
|
|
11
10
|
getOpenshiftVersionText,
|
|
12
11
|
getTotalHostCount,
|
|
13
|
-
ClusterTableRows,
|
|
14
12
|
HostsCount,
|
|
15
|
-
HumanizedSortable,
|
|
16
13
|
ResourceUIState,
|
|
17
|
-
} from '
|
|
18
|
-
import
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
14
|
+
} from '../../../../common';
|
|
15
|
+
import type { ClusterTableRows, HumanizedSortable } from '../../../../common';
|
|
16
|
+
import ClusterStatus, { getClusterStatusText } from '../../../components/clusters/ClusterStatus';
|
|
17
|
+
import { routeBasePath } from '../../../config';
|
|
18
|
+
import { RootStateDay1 } from '../../store-day1';
|
|
19
|
+
import type { Cluster } from '@openshift-assisted/types/assisted-installer-service';
|
|
22
20
|
|
|
23
|
-
const selectClusters = (state:
|
|
24
|
-
const clustersUIState = (state:
|
|
21
|
+
const selectClusters = (state: RootStateDay1) => state.clusters.data;
|
|
22
|
+
const clustersUIState = (state: RootStateDay1) => state.clusters.uiState;
|
|
25
23
|
|
|
26
24
|
export const selectClustersUIState = createSelector(
|
|
27
25
|
[selectClusters, clustersUIState],
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
AnyAction,
|
|
7
7
|
Dispatch,
|
|
8
8
|
} from '@reduxjs/toolkit';
|
|
9
|
-
import { ResourceUIState } from '
|
|
10
|
-
import { ClustersAPI } from '
|
|
11
|
-
import { handleApiError, isInOcm } from '
|
|
9
|
+
import { ResourceUIState } from '../../../../common';
|
|
10
|
+
import { ClustersAPI } from '../../../services/apis';
|
|
11
|
+
import { handleApiError, isInOcm } from '../../../api';
|
|
12
12
|
import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
|
|
13
13
|
|
|
14
14
|
export const fetchClustersAsync = createAsyncThunk<Cluster[] | void>(
|
|
@@ -60,5 +60,6 @@ export const clustersSlice = createSlice({
|
|
|
60
60
|
},
|
|
61
61
|
});
|
|
62
62
|
|
|
63
|
-
|
|
64
|
-
export
|
|
63
|
+
const { actions, reducer } = clustersSlice;
|
|
64
|
+
export const { deleteCluster } = actions;
|
|
65
|
+
export const clustersReducer = reducer;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { AssistedInstallerPermissionTypesListType } from '
|
|
2
|
-
import {
|
|
1
|
+
import { AssistedInstallerPermissionTypesListType } from '../../../../common';
|
|
2
|
+
import { RootStateDay1 } from '../../store-day1';
|
|
3
3
|
|
|
4
|
-
export const selectCurrentClusterState = (state:
|
|
5
|
-
export const selectCurrentCluster = (state:
|
|
6
|
-
export const selectCurrentClusterUIState = (state:
|
|
7
|
-
export const selectIsCurrentClusterSNO = (state:
|
|
4
|
+
export const selectCurrentClusterState = (state: RootStateDay1) => state.currentCluster;
|
|
5
|
+
export const selectCurrentCluster = (state: RootStateDay1) => state.currentCluster.data;
|
|
6
|
+
export const selectCurrentClusterUIState = (state: RootStateDay1) => state.currentCluster.uiState;
|
|
7
|
+
export const selectIsCurrentClusterSNO = (state: RootStateDay1) =>
|
|
8
8
|
state.currentCluster.data?.highAvailabilityMode === 'None';
|
|
9
9
|
export const selectCurrentClusterPermissionsState = (
|
|
10
|
-
state:
|
|
10
|
+
state: RootStateDay1,
|
|
11
11
|
): AssistedInstallerPermissionTypesListType => {
|
|
12
12
|
if (state.currentCluster) {
|
|
13
13
|
return state.currentCluster.permissions;
|
package/lib/ocm/{reducers/clusters/currentClusterSlice.ts → store/slices/current-cluster/slice.ts}
RENAMED
|
@@ -9,15 +9,16 @@ import {
|
|
|
9
9
|
PayloadAction,
|
|
10
10
|
ThunkDispatch,
|
|
11
11
|
} from '@reduxjs/toolkit';
|
|
12
|
-
import {
|
|
12
|
+
import { Cluster, Host } from '@openshift-assisted/types/assisted-installer-service';
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
AssistedInstallerPermissionTypesListType,
|
|
15
|
+
FETCH_ABORTED_ERROR_CODE,
|
|
15
16
|
getApiErrorCode,
|
|
17
|
+
getApiErrorMessage,
|
|
16
18
|
handleApiError,
|
|
17
|
-
|
|
18
|
-
} from '
|
|
19
|
-
import
|
|
20
|
-
import { Cluster, Host } from '@openshift-assisted/types/assisted-installer-service';
|
|
19
|
+
ResourceUIState,
|
|
20
|
+
} from '../../../../common';
|
|
21
|
+
import ClustersService from '../../../services/ClustersService';
|
|
21
22
|
|
|
22
23
|
export type FetchErrorType = {
|
|
23
24
|
code: string | number;
|
|
@@ -140,6 +141,7 @@ export const currentClusterSlice = createSlice({
|
|
|
140
141
|
},
|
|
141
142
|
});
|
|
142
143
|
|
|
144
|
+
const { actions, reducer } = currentClusterSlice;
|
|
143
145
|
export const {
|
|
144
146
|
updateCluster,
|
|
145
147
|
updateClusterBase,
|
|
@@ -149,5 +151,5 @@ export const {
|
|
|
149
151
|
forceReload,
|
|
150
152
|
cancelForceReload,
|
|
151
153
|
updateClusterPermissions,
|
|
152
|
-
} =
|
|
153
|
-
export
|
|
154
|
+
} = actions;
|
|
155
|
+
export const currentClusterReducer = reducer;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { createSelector } from '@reduxjs/toolkit';
|
|
2
|
+
import { AssistedInstallerFeatureType } from '../../../../common';
|
|
3
|
+
import { RootStateDay1 } from '../../store-day1';
|
|
4
|
+
|
|
5
|
+
export const selectFeatureFlagsSlice = (state: RootStateDay1) => state.featureFlags;
|
|
6
|
+
|
|
7
|
+
export const isFeatureEnabled = createSelector(
|
|
8
|
+
[selectFeatureFlagsSlice, (_, feature: AssistedInstallerFeatureType) => feature],
|
|
9
|
+
(featureFlags, feature) => {
|
|
10
|
+
// Configured via Unleash in the OCM
|
|
11
|
+
return !!featureFlags[feature];
|
|
12
|
+
},
|
|
13
|
+
);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { createSlice, PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { FeatureListType } from '../../../../common';
|
|
3
|
+
|
|
4
|
+
const featureFlagsSlice = createSlice({
|
|
5
|
+
name: 'featureFlags',
|
|
6
|
+
initialState: {} as FeatureListType,
|
|
7
|
+
reducers: {
|
|
8
|
+
setFeatureFlags: (state, action: PayloadAction<FeatureListType>) => {
|
|
9
|
+
return Object.assign(state, action.payload);
|
|
10
|
+
},
|
|
11
|
+
},
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
export const featureFlagsActions = featureFlagsSlice.actions;
|
|
15
|
+
export const featureFlagsReducer = featureFlagsSlice.reducer;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { createSelector } from '@reduxjs/toolkit';
|
|
2
|
-
import type {
|
|
2
|
+
import type { RootStateDay1 } from '../../store-day1';
|
|
3
3
|
import type { CpuArchitecture } from '../../../../common';
|
|
4
4
|
|
|
5
|
-
export const selectInfraEnvsSlice = (state:
|
|
5
|
+
export const selectInfraEnvsSlice = (state: RootStateDay1) => state.infraEnvs;
|
|
6
6
|
export const selectInfraEnvByCpuArchitecture = createSelector(
|
|
7
|
-
[selectInfraEnvsSlice, (_:
|
|
7
|
+
[selectInfraEnvsSlice, (_: RootStateDay1, cpuArchitecture: CpuArchitecture) => cpuArchitecture],
|
|
8
8
|
(infraEnvs, cpuArchitecture) =>
|
|
9
9
|
infraEnvs.find((infraEnv) => infraEnv.cpuArchitecture === cpuArchitecture),
|
|
10
10
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createAsyncThunk } from '@reduxjs/toolkit';
|
|
2
2
|
import { CpuArchitecture, WithRequired } from '../../../../common';
|
|
3
3
|
import { InfraEnvsAPI } from '../../../services/apis';
|
|
4
|
-
import {
|
|
4
|
+
import { RootStateDay1 } from '../../store-day1';
|
|
5
5
|
import { selectInfraEnvByCpuArchitecture } from './selectors';
|
|
6
6
|
import {
|
|
7
7
|
Cluster,
|
|
@@ -28,7 +28,7 @@ export const createInfraEnv = createAsyncThunk(
|
|
|
28
28
|
);
|
|
29
29
|
|
|
30
30
|
export const removeAllInfraEnvs = createAsyncThunk('infraEnvs/removeAll', async (_, thunkAPI) => {
|
|
31
|
-
const state = thunkAPI.getState() as
|
|
31
|
+
const state = thunkAPI.getState() as RootStateDay1;
|
|
32
32
|
const infraEnvIds = state.infraEnvs.map((infraEnv) => infraEnv.id);
|
|
33
33
|
const promises = [];
|
|
34
34
|
for (const infraEnvId of infraEnvIds) {
|
|
@@ -49,7 +49,7 @@ export const updateInfraEnv = createAsyncThunk(
|
|
|
49
49
|
export const getImageUrl = createAsyncThunk(
|
|
50
50
|
'infraEnvs/getImageUrl',
|
|
51
51
|
async (cpuArchitecture: CpuArchitecture, thunkAPI) => {
|
|
52
|
-
const state = thunkAPI.getState() as
|
|
52
|
+
const state = thunkAPI.getState() as RootStateDay1;
|
|
53
53
|
// In OCM there is no late-binding, therefore every cluster created through the UI
|
|
54
54
|
// will have at least one infra-env bound to it and its cpuArchitecture initialized
|
|
55
55
|
// by default (to x86_64).
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { configureStore } from '@reduxjs/toolkit';
|
|
2
|
+
import { clustersReducer } from './slices/clusters/slice';
|
|
3
|
+
import { currentClusterReducer } from './slices/current-cluster/slice';
|
|
4
|
+
import { infraEnvsReducer } from './slices/infra-envs/slice';
|
|
5
|
+
import { featureFlagsReducer } from './slices/feature-flags/slice';
|
|
6
|
+
import { STANDALONE_DEPLOYMENT_ENABLED_FEATURES } from '../../common';
|
|
7
|
+
|
|
8
|
+
export const storeDay1 = configureStore({
|
|
9
|
+
devTools: {
|
|
10
|
+
name: 'Assisted Installer - Day 1',
|
|
11
|
+
},
|
|
12
|
+
reducer: {
|
|
13
|
+
clusters: clustersReducer,
|
|
14
|
+
currentCluster: currentClusterReducer,
|
|
15
|
+
infraEnvs: infraEnvsReducer,
|
|
16
|
+
featureFlags: featureFlagsReducer,
|
|
17
|
+
},
|
|
18
|
+
preloadedState: {
|
|
19
|
+
featureFlags: STANDALONE_DEPLOYMENT_ENABLED_FEATURES,
|
|
20
|
+
},
|
|
21
|
+
});
|
|
22
|
+
export type RootStateDay1 = ReturnType<typeof storeDay1.getState>;
|
|
23
|
+
export type DispatchDay1 = typeof storeDay1.dispatch;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { configureStore } from '@reduxjs/toolkit';
|
|
2
|
+
import { infraEnvsReducer } from './slices/infra-envs/slice';
|
|
3
|
+
import { featureFlagsReducer } from './slices/feature-flags/slice';
|
|
4
|
+
import { STANDALONE_DEPLOYMENT_ENABLED_FEATURES } from '../../common';
|
|
5
|
+
|
|
6
|
+
export const storeDay2 = configureStore({
|
|
7
|
+
devTools: {
|
|
8
|
+
name: 'Assisted Installer - Day 2',
|
|
9
|
+
},
|
|
10
|
+
reducer: {
|
|
11
|
+
infraEnvs: infraEnvsReducer,
|
|
12
|
+
featureFlags: featureFlagsReducer,
|
|
13
|
+
},
|
|
14
|
+
preloadedState: {
|
|
15
|
+
featureFlags: STANDALONE_DEPLOYMENT_ENABLED_FEATURES,
|
|
16
|
+
},
|
|
17
|
+
});
|
|
18
|
+
export type RootStateDay2 = ReturnType<typeof storeDay2.getState>;
|
|
19
|
+
export type DispatchDay2 = typeof storeDay2.dispatch;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {
|
|
3
|
-
"@openshift-assisted/locales": "2.9.
|
|
4
|
-
"@openshift-assisted/types": "2.9.
|
|
3
|
+
"@openshift-assisted/locales": "2.9.6-cim",
|
|
4
|
+
"@openshift-assisted/types": "2.9.6-cim",
|
|
5
5
|
"axios-case-converter": "^0.11.1",
|
|
6
6
|
"camel-case": "^4.1.2",
|
|
7
7
|
"cidr-tools": "^4.3.0",
|
|
@@ -128,5 +128,5 @@
|
|
|
128
128
|
]
|
|
129
129
|
}
|
|
130
130
|
},
|
|
131
|
-
"version": "2.9.
|
|
131
|
+
"version": "2.9.6-cim"
|
|
132
132
|
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { FeatureListType } from '../../common';
|
|
3
|
-
export declare const AssistedUiRouter: React.FC<{
|
|
4
|
-
allEnabledFeatures: FeatureListType;
|
|
5
|
-
}>;
|
|
6
|
-
export declare const Router: React.FC<{
|
|
7
|
-
features: FeatureListType;
|
|
8
|
-
}>;
|
|
9
|
-
//# sourceMappingURL=Router.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Router.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/components/Router.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAA8B,eAAe,EAAE,MAAM,cAAc,CAAC;AAI3E,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,kBAAkB,EAAE,eAAe,CAAA;CAAE,CAM9E,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,eAAe,CAAA;CAAE,CAW1D,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { NewFeatureSupportLevelMap } from '../../common/components/newFeatureSupportLevels';
|
|
2
|
-
export declare const FEATURE_ID = "EXTERNAL_PLATFORM_OCI";
|
|
3
|
-
export interface OracleDropdownItemState {
|
|
4
|
-
readonly featureId: string;
|
|
5
|
-
readonly isSupported: boolean;
|
|
6
|
-
readonly isDisabled: boolean;
|
|
7
|
-
readonly disabledReason?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const useOracleDropdownItemState: (hasExistentCluster: boolean, featureSupportLevelData: NewFeatureSupportLevelMap | null, cpuArchitecture: string) => OracleDropdownItemState | null;
|
|
10
|
-
//# sourceMappingURL=useOracleDropdownItemState.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useOracleDropdownItemState.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/hooks/useOracleDropdownItemState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,iDAAiD,CAAC;AAGjG,eAAO,MAAM,UAAU,0BAA0B,CAAC;AAElD,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC;IAC9B,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC;IAC7B,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;CAClC;AAED,eAAO,MAAM,0BAA0B,uBACjB,OAAO,2BACF,yBAAyB,GAAG,IAAI,mBACxC,MAAM,KACtB,uBAAuB,GAAG,IA4B5B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"clustersSlice.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/reducers/clusters/clustersSlice.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,aAAa,EACb,aAAa,EACb,SAAS,EACT,QAAQ,EACT,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAGlD,OAAO,EAAE,OAAO,EAAE,MAAM,sDAAsD,CAAC;AAE/E,eAAO,MAAM,kBAAkB;;;;;;;;;EAU9B,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACxB,IAAI,EAAE,OAAO,EAAE,CAAC;IAChB,OAAO,EAAE,eAAe,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,aAAa,CAAC,kBAAkB,EAAE,SAAS,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC;AAIlG,eAAO,MAAM,aAAa;oGAIS,cAAc,OAAO,CAAC,IAAI,CAAC,CAAC;;iBAXpD,eAAe;;cAiCxB,CAAC;AAEH,eAAO,MAAQ,aAAa,uFAA0B,CAAC;;AACvD,wBAAqC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"currentClusterSlice.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/reducers/clusters/currentClusterSlice.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,SAAS,EAGT,QAAQ,EACR,aAAa,EACb,aAAa,EACd,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,wCAAwC,EAAE,eAAe,E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],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"clusters.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/selectors/clusters.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAQ,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAEzD,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,OAAO,EAML,gBAAgB,EAEhB,iBAAiB,EACjB,eAAe,EAChB,MAAM,cAAc,CAAC;AAItB,OAAO,EAAE,OAAO,EAAE,MAAM,sDAAsD,CAAC;AAK/E,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;CAMjC,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AA0DF,eAAO,MAAM,yBAAyB,YAAa,QAAQ,sBACjB,CAAC;AAE3C,eAAO,MAAM,sBAAsB,MAAO,SAAS;;;;;;;;;;;;;;;;;CAKlD,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;CAE9B,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { AssistedInstallerPermissionTypesListType } from '../../common';
|
|
2
|
-
import { RootState } from '../store';
|
|
3
|
-
export declare const selectCurrentClusterState: (state: RootState) => {
|
|
4
|
-
data?: import("@openshift-assisted/types/./assisted-installer-service").Cluster | undefined;
|
|
5
|
-
uiState: import("../../common").ResourceUIState;
|
|
6
|
-
isReloadScheduled: number;
|
|
7
|
-
permissions: AssistedInstallerPermissionTypesListType;
|
|
8
|
-
errorDetail?: import("../reducers/clusters").FetchErrorType | undefined;
|
|
9
|
-
};
|
|
10
|
-
export declare const selectCurrentCluster: (state: RootState) => import("@openshift-assisted/types/./assisted-installer-service").Cluster | undefined;
|
|
11
|
-
export declare const selectCurrentClusterUIState: (state: RootState) => import("../../common").ResourceUIState;
|
|
12
|
-
export declare const selectIsCurrentClusterSNO: (state: RootState) => boolean;
|
|
13
|
-
export declare const selectCurrentClusterPermissionsState: (state: RootState) => AssistedInstallerPermissionTypesListType;
|
|
14
|
-
//# sourceMappingURL=currentCluster.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"currentCluster.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/selectors/currentCluster.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wCAAwC,EAAE,MAAM,cAAc,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,yBAAyB,UAAW,SAAS;;;;;;CAAyB,CAAC;AACpF,eAAO,MAAM,oBAAoB,UAAW,SAAS,yFAA8B,CAAC;AACpF,eAAO,MAAM,2BAA2B,UAAW,SAAS,2CAAiC,CAAC;AAC9F,eAAO,MAAM,yBAAyB,UAAW,SAAS,YACE,CAAC;AAC7D,eAAO,MAAM,oCAAoC,UACxC,SAAS,KACf,wCAMF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/selectors/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/store/slices/infraEnvs/selectors.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D,eAAO,MAAM,oBAAoB,UAAW,SAAS,gFAAoB,CAAC;AAC1E,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;CAI3C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/store/slices/infraEnvs/slice.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAWrF,eAAO,MAAM,gBAAgB,gEAAyB,CAAC;AACvD,eAAO,MAAM,gBAAgB,gEAAyB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"thunks.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/store/slices/infraEnvs/thunks.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAInE,OAAO,EAEL,QAAQ,EACR,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,sDAAsD,CAAC;AAE9D,eAAO,MAAM,wBAAwB;;;;;;;;;EAMpC,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;;;EAO1B,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;EAQ7B,CAAC;AAEH,eAAO,MAAM,cAAc;gBAE8C,QAAQ,CAAC,IAAI,CAAC;;;;;;;;;;EAKtF,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;EAWvB,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Router = exports.AssistedUiRouter = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
|
-
const react_redux_1 = require("react-redux");
|
|
7
|
-
const react_router_dom_1 = require("react-router-dom");
|
|
8
|
-
const clusters_1 = require("./clusters");
|
|
9
|
-
const store_1 = require("../store");
|
|
10
|
-
const common_1 = require("../../common");
|
|
11
|
-
const config_1 = require("../config");
|
|
12
|
-
const ui_1 = require("./ui");
|
|
13
|
-
const AssistedUiRouter = ({ allEnabledFeatures, }) => (react_1.default.createElement(react_redux_1.Provider, { store: store_1.store },
|
|
14
|
-
react_1.default.createElement(exports.Router, { features: allEnabledFeatures })));
|
|
15
|
-
exports.AssistedUiRouter = AssistedUiRouter;
|
|
16
|
-
const Router = ({ features, children }) => (react_1.default.createElement(common_1.FeatureGateContextProvider, { features: features },
|
|
17
|
-
react_1.default.createElement(ui_1.AssistedUILibVersion, null),
|
|
18
|
-
react_1.default.createElement(react_router_dom_1.Switch, null,
|
|
19
|
-
react_1.default.createElement(react_router_dom_1.Route, { path: `${config_1.routeBasePath}/clusters/~new`, component: clusters_1.NewClusterPage }),
|
|
20
|
-
react_1.default.createElement(react_router_dom_1.Route, { path: `${config_1.routeBasePath}/clusters/:clusterId`, component: clusters_1.ClusterPage }),
|
|
21
|
-
react_1.default.createElement(react_router_dom_1.Route, { path: `${config_1.routeBasePath}/clusters`, component: clusters_1.Clusters }),
|
|
22
|
-
children,
|
|
23
|
-
react_1.default.createElement(react_router_dom_1.Redirect, { to: `${config_1.routeBasePath}/clusters` }))));
|
|
24
|
-
exports.Router = Router;
|
|
25
|
-
//# sourceMappingURL=Router.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Router.js","sourceRoot":"","sources":["../../../../lib/ocm/components/Router.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,6CAAuC;AACvC,uDAA2D;AAC3D,yCAAmE;AACnE,oCAAiC;AACjC,yCAA2E;AAC3E,sCAA0C;AAC1C,6BAA4C;AAErC,MAAM,gBAAgB,GAAsD,CAAC,EAClF,kBAAkB,GACnB,EAAE,EAAE,CAAC,CACJ,8BAAC,sBAAQ,IAAC,KAAK,EAAE,aAAK;IACpB,8BAAC,cAAM,IAAC,QAAQ,EAAE,kBAAkB,GAAI,CAC/B,CACZ,CAAC;AANW,QAAA,gBAAgB,oBAM3B;AAEK,MAAM,MAAM,GAA4C,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CACzF,8BAAC,mCAA0B,IAAC,QAAQ,EAAE,QAAQ;IAC5C,8BAAC,yBAAoB,OAAG;IACxB,8BAAC,yBAAM;QACL,8BAAC,wBAAK,IAAC,IAAI,EAAE,GAAG,sBAAa,gBAAgB,EAAE,SAAS,EAAE,yBAAc,GAAI;QAC5E,8BAAC,wBAAK,IAAC,IAAI,EAAE,GAAG,sBAAa,sBAAsB,EAAE,SAAS,EAAE,sBAAW,GAAI;QAC/E,8BAAC,wBAAK,IAAC,IAAI,EAAE,GAAG,sBAAa,WAAW,EAAE,SAAS,EAAE,mBAAQ,GAAI;QAChE,QAAQ;QACT,8BAAC,2BAAQ,IAAC,EAAE,EAAE,GAAG,sBAAa,WAAW,GAAI,CACtC,CACkB,CAC9B,CAAC;AAXW,QAAA,MAAM,UAWjB"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.useOracleDropdownItemState = exports.FEATURE_ID = void 0;
|
|
4
|
-
const NewFeatureSupportLevelContext_1 = require("../../common/components/newFeatureSupportLevels/NewFeatureSupportLevelContext");
|
|
5
|
-
const featureStateUtils_1 = require("../components/featureSupportLevels/featureStateUtils");
|
|
6
|
-
exports.FEATURE_ID = 'EXTERNAL_PLATFORM_OCI';
|
|
7
|
-
const useOracleDropdownItemState = (hasExistentCluster, featureSupportLevelData, cpuArchitecture) => {
|
|
8
|
-
const featureSupportLevelContext = (0, NewFeatureSupportLevelContext_1.useNewFeatureSupportLevel)();
|
|
9
|
-
if (!featureSupportLevelData) {
|
|
10
|
-
return null;
|
|
11
|
-
}
|
|
12
|
-
const isSupported = featureSupportLevelData
|
|
13
|
-
? featureSupportLevelContext.isFeatureSupported(exports.FEATURE_ID, featureSupportLevelData)
|
|
14
|
-
: false;
|
|
15
|
-
let disabledReason;
|
|
16
|
-
if (hasExistentCluster) {
|
|
17
|
-
disabledReason = featureStateUtils_1.clusterExistsReason;
|
|
18
|
-
}
|
|
19
|
-
else if (!isSupported) {
|
|
20
|
-
disabledReason = featureSupportLevelContext.getFeatureDisabledReason(exports.FEATURE_ID, undefined, cpuArchitecture);
|
|
21
|
-
}
|
|
22
|
-
return {
|
|
23
|
-
featureId: exports.FEATURE_ID,
|
|
24
|
-
isSupported,
|
|
25
|
-
isDisabled: disabledReason !== undefined,
|
|
26
|
-
disabledReason,
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
exports.useOracleDropdownItemState = useOracleDropdownItemState;
|
|
30
|
-
//# sourceMappingURL=useOracleDropdownItemState.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useOracleDropdownItemState.js","sourceRoot":"","sources":["../../../../lib/ocm/hooks/useOracleDropdownItemState.ts"],"names":[],"mappings":";;;AACA,iIAA0H;AAC1H,4FAAoH;AACvG,QAAA,UAAU,GAAG,uBAAuB,CAAC;AAS3C,MAAM,0BAA0B,GAAG,CACxC,kBAA2B,EAC3B,uBAAyD,EACzD,eAAuB,EACS,EAAE;IAClC,MAAM,0BAA0B,GAAG,IAAA,yDAAyB,GAAE,CAAC;IAC/D,IAAI,CAAC,uBAAuB,EAAE;QAC5B,OAAO,IAAI,CAAC;KACb;IAED,MAAM,WAAW,GAAG,uBAAuB;QACzC,CAAC,CAAC,0BAA0B,CAAC,kBAAkB,CAAC,kBAAU,EAAE,uBAAuB,CAAC;QACpF,CAAC,CAAC,KAAK,CAAC;IAEV,IAAI,cAAkC,CAAC;IAEvC,IAAI,kBAAkB,EAAE;QACtB,cAAc,GAAG,uCAAqB,CAAC;KACxC;SAAM,IAAI,CAAC,WAAW,EAAE;QACvB,cAAc,GAAG,0BAA0B,CAAC,wBAAwB,CAClE,kBAAU,EACV,SAAS,EACT,eAAe,CAChB,CAAC;KACH;IAED,OAAO;QACL,SAAS,EAAE,kBAAU;QACrB,WAAW;QACX,UAAU,EAAE,cAAc,KAAK,S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AAC,MAAM,IAC/B;QACJ,CAAC,CAAC;aACD,OAAO,CAAC,yBAAiB,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE;YACrD,MAAM,KAAK,GAAG,MAAM,CAAC,OAAyB,CAAC;YAC/C,IAAI,KAAK,CAAC,IAAI,KAAK,8BAAwB,IAAI,CAAC,CAAC,KAAK,CAAC,IAAI,EAAE;gBAC3D,4GAA4G;gBAC5G,+EAA+E;gBAC/E,uCACK,KAAK,KACR,OAAO,EAAE,wBAAe,CAAC,MAAM,IAC/B;aACH;YACD,uCACK,KAAK,KACR,OAAO,EAAE,wBAAe,CAAC,aAAa,EACtC,WAAW,EAAE,KAAK,IAClB;QACJ,CAAC,CAAC,CAAC;IACP,CAAC;CACF,CAAC,CAAC;AAEU,KAST,2BAAmB,CAAC,OAAO,EAR7B,qBAAa,qBACb,yBAAiB,yBACjB,kBAAU,kBACV,4BAAoB,4BACpB,oBAAY,oBACZ,mBAAW,mBACX,yBAAiB,yBACjB,gCAAwB,+BACM;AAChC,kBAAe,2BAAmB,CAAC,OAAO,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./clustersSlice"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./currentClusterSlice"), exports);
|
|
6
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/ocm/reducers/clusters/index.ts"],"names":[],"mappings":";;;AAAA,0DAAgC;AAChC,gEAAsC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"clusters.js","sourceRoot":"","sources":["../../../../lib/ocm/selectors/clusters.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,8CAAkD;AAElD,uDAA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OAAO,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;KACzC;IACD,oFAAoF;IACpF,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,CAAC;AACjC,CAAC,CAAC;AARW,QAAA,oCAAoC,wCAQ/C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/ocm/selectors/index.ts"],"names":[],"mappings":";;;AAAA,2DAAiC;AACjC,qDAA2B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"selectors.js","sourceRoot":"","sources":["../../../../../../lib/ocm/store/slices/infraEnvs/selectors.ts"],"names":[],"mappings":";;;AAAA,8CAAkD;AAI3C,MAAM,oBAAoB,GAAG,CAAC,KAAgB,EAAE,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC;AAA7D,QAAA,oBAAoB,wBAAyC;AAC7D,QAAA,+BAA+B,GAAG,IAAA,wBAAc,EAC3D,CAAC,4BAAoB,EAAE,CAAC,CAAY,EAAE,eAAgC,EAAE,EAAE,CAAC,eAAe,CAAC,EAC3F,CAAC,SAAS,EAAE,eAAe,EAAE,EAAE,CAC7B,SAAS,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,eAAe,KAAK,eAAe,CAAC,CAC7E,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"slice.js","sourceRoot":"","sources":["../../../../../../lib/ocm/store/slices/infraEnvs/slice.ts"],"names":[],"mappings":";;;AACA,8CAA+C;AAE/C,wFAAwF;AACxF,kCAAkC;AAClC,MAAM,cAAc,GAAG,IAAA,qBAAW,EAAC;IACjC,IAAI,EAAE,WAAW;IACjB,YAAY,EAAE,EAAgB;IAC9B,QAAQ,EAAE,EAAE;CACb,CAAC,CAAC;AAEU,QAAA,gBAAgB,GAAG,cAAc,CAAC,OAAO,CAAC;AAC1C,QAAA,gBAAgB,GAAG,cAAc,CAAC,OA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GAAG,IAAA,0BAAgB,EAC5C,kBAAkB,EAClB,CAAO,EAAgF,EAAE,EAAE;QAApF,EAAE,UAAU,OAAoE,EAA/D,MAAM,sBAAvB,cAAyB,CAAF;IAC5B,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,MAAM,mBAAY,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;IACzE,wGAAwG;IACxG,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAA,CACF,CAAC;AAEW,QAAA,WAAW,GAAG,IAAA,0BAAgB,EACzC,uBAAuB,EACvB,CAAO,eAAgC,EAAE,QAAQ,EAAE,EAAE;IACnD,MAAM,KAAK,GAAG,QAAQ,CAAC,QAAQ,EAAe,CAAC;IAC/C,kFAAkF;IAClF,mFAAmF;IACnF,0BAA0B;IAC1B,MAAM,QAAQ,GAAG,IAAA,2CAA+B,EAAC,KAAK,EAAE,eAAe,CAAa,CAAC;IACrF,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,MAAM,mBAAY,CAAC,WAAW,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;IAC3E,OAAO,YAAY,CAAC;AACtB,CAAC,CAAA,CACF,CAAC"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Provider } from 'react-redux';
|
|
3
|
-
import { Switch, Route, Redirect } from 'react-router-dom';
|
|
4
|
-
import { Clusters, ClusterPage, NewClusterPage } from './clusters';
|
|
5
|
-
import { store } from '../store';
|
|
6
|
-
import { FeatureGateContextProvider, FeatureListType } from '../../common';
|
|
7
|
-
import { routeBasePath } from '../config';
|
|
8
|
-
import { AssistedUILibVersion } from './ui';
|
|
9
|
-
|
|
10
|
-
export const AssistedUiRouter: React.FC<{ allEnabledFeatures: FeatureListType }> = ({
|
|
11
|
-
allEnabledFeatures,
|
|
12
|
-
}) => (
|
|
13
|
-
<Provider store={store}>
|
|
14
|
-
<Router features={allEnabledFeatures} />
|
|
15
|
-
</Provider>
|
|
16
|
-
);
|
|
17
|
-
|
|
18
|
-
export const Router: React.FC<{ features: FeatureListType }> = ({ features, children }) => (
|
|
19
|
-
<FeatureGateContextProvider features={features}>
|
|
20
|
-
<AssistedUILibVersion />
|
|
21
|
-
<Switch>
|
|
22
|
-
<Route path={`${routeBasePath}/clusters/~new`} component={NewClusterPage} />
|
|
23
|
-
<Route path={`${routeBasePath}/clusters/:clusterId`} component={ClusterPage} />
|
|
24
|
-
<Route path={`${routeBasePath}/clusters`} component={Clusters} />
|
|
25
|
-
{children}
|
|
26
|
-
<Redirect to={`${routeBasePath}/clusters`} />
|
|
27
|
-
</Switch>
|
|
28
|
-
</FeatureGateContextProvider>
|
|
29
|
-
);
|