diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Ingestion/Ingestion.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/Ingestion/Ingestion.component.tsx index 38b94aee13d..5372fd6d269 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/Ingestion/Ingestion.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/Ingestion/Ingestion.component.tsx @@ -19,6 +19,7 @@ import React, { useCallback, useEffect, useMemo, useState } from 'react'; import { useTranslation } from 'react-i18next'; import ErrorPlaceHolderIngestion from '../../components/common/error-with-placeholder/ErrorPlaceHolderIngestion'; import { IngestionPipeline } from '../../generated/entity/services/ingestionPipelines/ingestionPipeline'; +import { getEncodedFqn } from '../../utils/StringsUtils'; import { showErrorToast } from '../../utils/ToastUtils'; import Searchbar from '../common/searchbar/Searchbar'; import EntityDeleteModal from '../Modals/EntityDeleteModal/EntityDeleteModal'; @@ -85,7 +86,10 @@ const Ingestion: React.FC = ({ const fetchIngestionPipelinesPermission = async () => { try { const promises = ingestionList.map((item) => - getEntityPermissionByFqn(ResourceEntity.INGESTION_PIPELINE, item.name) + getEntityPermissionByFqn( + ResourceEntity.INGESTION_PIPELINE, + getEncodedFqn(item.name) + ) ); const response = await Promise.allSettled(promises); diff --git a/openmetadata-ui/src/main/resources/ui/src/utils/ApplicationSchemas/SearchIndexingApplication.json b/openmetadata-ui/src/main/resources/ui/src/utils/ApplicationSchemas/SearchIndexingApplication.json index d608b63f4e1..cc0c603ab60 100644 --- a/openmetadata-ui/src/main/resources/ui/src/utils/ApplicationSchemas/SearchIndexingApplication.json +++ b/openmetadata-ui/src/main/resources/ui/src/utils/ApplicationSchemas/SearchIndexingApplication.json @@ -41,6 +41,8 @@ "dashboardService", "pipelineService", "mlmodelService", + "storageService", + "metadataService", "searchService", "entityReportData", "webAnalyticEntityViewReportData", @@ -75,6 +77,8 @@ "dashboardService", "pipelineService", "mlmodelService", + "storageService", + "metadataService", "searchService", "entityReportData", "webAnalyticEntityViewReportData", diff --git a/openmetadata-ui/src/main/resources/ui/src/utils/TableUtils.tsx b/openmetadata-ui/src/main/resources/ui/src/utils/TableUtils.tsx index 719ef04b1cd..3c10ab7e9f4 100644 --- a/openmetadata-ui/src/main/resources/ui/src/utils/TableUtils.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/utils/TableUtils.tsx @@ -321,26 +321,31 @@ export const getEntityIcon = (indexType: string) => { switch (indexType) { case SearchIndex.TOPIC: case EntityType.TOPIC: + case EntityType.MESSAGING_SERVICE: case SearchIndex.MESSAGING_SERVICE: return ; case SearchIndex.DASHBOARD: case EntityType.DASHBOARD: + case EntityType.DASHBOARD_SERVICE: case SearchIndex.DASHBOARD_SERVICE: return ; case SearchIndex.MLMODEL: case EntityType.MLMODEL: + case EntityType.MLMODEL_SERVICE: case SearchIndex.ML_MODEL_SERVICE: return ; case SearchIndex.PIPELINE: case EntityType.PIPELINE: + case EntityType.PIPELINE_SERVICE: case SearchIndex.PIPELINE_SERVICE: return ; case SearchIndex.CONTAINER: case EntityType.CONTAINER: + case EntityType.STORAGE_SERVICE: case SearchIndex.STORAGE_SERVICE: return ;