diff --git a/openmetadata-service/src/main/java/org/openmetadata/service/search/elasticsearch/ElasticSearchClient.java b/openmetadata-service/src/main/java/org/openmetadata/service/search/elasticsearch/ElasticSearchClient.java index 86a7e7b2eaf..b14440b1e47 100644 --- a/openmetadata-service/src/main/java/org/openmetadata/service/search/elasticsearch/ElasticSearchClient.java +++ b/openmetadata-service/src/main/java/org/openmetadata/service/search/elasticsearch/ElasticSearchClient.java @@ -895,8 +895,7 @@ public class ElasticSearchClient implements SearchClient { AggregationBuilders.terms("service.displayName.keyword") .field("service.displayName.keyword") .size(MAX_AGGREGATE_SIZE)) - .aggregation( - AggregationBuilders.terms("entityType.keyword").field("entityType.keyword").size(MAX_AGGREGATE_SIZE)) + .aggregation(AggregationBuilders.terms("entityType").field("entityType").size(MAX_AGGREGATE_SIZE)) .aggregation(AggregationBuilders.terms("tier.tagFQN").field("tier.tagFQN").size(MAX_AGGREGATE_SIZE)) .aggregation( AggregationBuilders.terms(OWNER_DISPLAY_NAME_KEYWORD) diff --git a/openmetadata-service/src/main/java/org/openmetadata/service/search/opensearch/OpenSearchClient.java b/openmetadata-service/src/main/java/org/openmetadata/service/search/opensearch/OpenSearchClient.java index 21173bdd39c..14ddeb5246d 100644 --- a/openmetadata-service/src/main/java/org/openmetadata/service/search/opensearch/OpenSearchClient.java +++ b/openmetadata-service/src/main/java/org/openmetadata/service/search/opensearch/OpenSearchClient.java @@ -883,8 +883,7 @@ public class OpenSearchClient implements SearchClient { AggregationBuilders.terms("service.displayName.keyword") .field("service.displayName.keyword") .size(MAX_AGGREGATE_SIZE)) - .aggregation( - AggregationBuilders.terms("entityType.keyword").field("entityType.keyword").size(MAX_AGGREGATE_SIZE)) + .aggregation(AggregationBuilders.terms("entityType").field("entityType").size(MAX_AGGREGATE_SIZE)) .aggregation(AggregationBuilders.terms("tier.tagFQN").field("tier.tagFQN").size(MAX_AGGREGATE_SIZE)) .aggregation( AggregationBuilders.terms(OWNER_DISPLAY_NAME_KEYWORD) diff --git a/openmetadata-service/src/main/resources/elasticsearch/en/glossary_term_index_mapping.json b/openmetadata-service/src/main/resources/elasticsearch/en/glossary_term_index_mapping.json index 208c45d1976..be0f2c40d86 100644 --- a/openmetadata-service/src/main/resources/elasticsearch/en/glossary_term_index_mapping.json +++ b/openmetadata-service/src/main/resources/elasticsearch/en/glossary_term_index_mapping.json @@ -417,6 +417,9 @@ "status": { "type": "text" }, + "entityType": { + "type": "keyword" + }, "suggest": { "type": "completion", "contexts": [ diff --git a/openmetadata-service/src/main/resources/elasticsearch/en/metadata_service_index_mapping.json b/openmetadata-service/src/main/resources/elasticsearch/en/metadata_service_index_mapping.json index a7996d75e25..3506fe5c300 100644 --- a/openmetadata-service/src/main/resources/elasticsearch/en/metadata_service_index_mapping.json +++ b/openmetadata-service/src/main/resources/elasticsearch/en/metadata_service_index_mapping.json @@ -201,6 +201,9 @@ }, "provider" : { "type": "text" + }, + "entityType": { + "type": "keyword" } } } diff --git a/openmetadata-service/src/main/resources/elasticsearch/en/tag_index_mapping.json b/openmetadata-service/src/main/resources/elasticsearch/en/tag_index_mapping.json index 3c8dcb0dba5..c2ff5334fe7 100644 --- a/openmetadata-service/src/main/resources/elasticsearch/en/tag_index_mapping.json +++ b/openmetadata-service/src/main/resources/elasticsearch/en/tag_index_mapping.json @@ -100,6 +100,9 @@ "disabled": { "type": "text" }, + "entityType": { + "type": "keyword" + }, "classification": { "properties": { "id": { diff --git a/openmetadata-service/src/main/resources/elasticsearch/jp/glossary_term_index_mapping.json b/openmetadata-service/src/main/resources/elasticsearch/jp/glossary_term_index_mapping.json index cf77f40c037..4f7cf92a9f3 100644 --- a/openmetadata-service/src/main/resources/elasticsearch/jp/glossary_term_index_mapping.json +++ b/openmetadata-service/src/main/resources/elasticsearch/jp/glossary_term_index_mapping.json @@ -396,6 +396,9 @@ "status": { "type": "text" }, + "entityType": { + "type": "keyword" + }, "suggest": { "type": "completion", "contexts": [ diff --git a/openmetadata-service/src/main/resources/elasticsearch/jp/metadata_service_index_mapping.json b/openmetadata-service/src/main/resources/elasticsearch/jp/metadata_service_index_mapping.json index 191198da8e2..5166ffd0eb5 100644 --- a/openmetadata-service/src/main/resources/elasticsearch/jp/metadata_service_index_mapping.json +++ b/openmetadata-service/src/main/resources/elasticsearch/jp/metadata_service_index_mapping.json @@ -211,6 +211,9 @@ }, "provider" : { "type": "text" + }, + "entityType": { + "type": "keyword" } } } diff --git a/openmetadata-service/src/main/resources/elasticsearch/jp/tag_index_mapping.json b/openmetadata-service/src/main/resources/elasticsearch/jp/tag_index_mapping.json index e2de31d7291..5c54c0043e1 100644 --- a/openmetadata-service/src/main/resources/elasticsearch/jp/tag_index_mapping.json +++ b/openmetadata-service/src/main/resources/elasticsearch/jp/tag_index_mapping.json @@ -145,6 +145,9 @@ "path": "deleted" } ] + }, + "entityType": { + "type": "keyword" } } } diff --git a/openmetadata-service/src/main/resources/elasticsearch/zh/glossary_term_index_mapping.json b/openmetadata-service/src/main/resources/elasticsearch/zh/glossary_term_index_mapping.json index 7ea9d73fef4..da93bd6be21 100644 --- a/openmetadata-service/src/main/resources/elasticsearch/zh/glossary_term_index_mapping.json +++ b/openmetadata-service/src/main/resources/elasticsearch/zh/glossary_term_index_mapping.json @@ -324,6 +324,9 @@ "usageCount": { "type": "integer" }, + "entityType": { + "type": "keyword" + }, "tags": { "properties": { "tagFQN": { diff --git a/openmetadata-service/src/main/resources/elasticsearch/zh/metadata_service_index_mapping.json b/openmetadata-service/src/main/resources/elasticsearch/zh/metadata_service_index_mapping.json index bb5bf424a61..c0aa1215515 100644 --- a/openmetadata-service/src/main/resources/elasticsearch/zh/metadata_service_index_mapping.json +++ b/openmetadata-service/src/main/resources/elasticsearch/zh/metadata_service_index_mapping.json @@ -188,6 +188,9 @@ }, "provider" : { "type": "text" + }, + "entityType": { + "type": "keyword" } } } diff --git a/openmetadata-service/src/main/resources/elasticsearch/zh/tag_index_mapping.json b/openmetadata-service/src/main/resources/elasticsearch/zh/tag_index_mapping.json index 03a867b2950..a6042b03f93 100644 --- a/openmetadata-service/src/main/resources/elasticsearch/zh/tag_index_mapping.json +++ b/openmetadata-service/src/main/resources/elasticsearch/zh/tag_index_mapping.json @@ -143,6 +143,9 @@ "path": "deleted" } ] + }, + "entityType": { + "type": "keyword" } } } diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Assets/AssetsSelectionModal/AssetSelectionModal.tsx b/openmetadata-ui/src/main/resources/ui/src/components/Assets/AssetsSelectionModal/AssetSelectionModal.tsx index 4d69048f861..98086122cd8 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/Assets/AssetsSelectionModal/AssetSelectionModal.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/Assets/AssetsSelectionModal/AssetSelectionModal.tsx @@ -363,11 +363,13 @@ export const AssetSelectionModal = ({ searchText: search, page: pageNumber + 1, index: activeFilter, + updatedQueryFilter, }); } }, [ pageNumber, + updatedQueryFilter, activeFilter, search, totalCount, diff --git a/openmetadata-ui/src/main/resources/ui/src/constants/AdvancedSearch.constants.ts b/openmetadata-ui/src/main/resources/ui/src/constants/AdvancedSearch.constants.ts index 503c13a63d2..87d17825754 100644 --- a/openmetadata-ui/src/main/resources/ui/src/constants/AdvancedSearch.constants.ts +++ b/openmetadata-ui/src/main/resources/ui/src/constants/AdvancedSearch.constants.ts @@ -172,6 +172,45 @@ export const DATA_PRODUCT_DROPDOWN_ITEMS = [ ]; export const DOMAIN_DATAPRODUCT_DROPDOWN_ITEMS = [ + { + label: t('label.entity-type-plural', { + entity: t('label.entity'), + }) as string, + key: 'entityType', + }, + { + label: t('label.owner'), + key: 'owner.displayName.keyword', + }, + { + label: t('label.tag'), + key: 'tags.tagFQN', + }, + { + label: t('label.tier'), + key: 'tier.tagFQN', + }, + { + label: t('label.service'), + key: 'service.displayName.keyword', + }, + { + label: t('label.service-type'), + key: 'serviceType', + }, +]; + +export const GLOSSARY_ASSETS_DROPDOWN_ITEMS = [ + { + label: t('label.entity-type-plural', { + entity: t('label.entity'), + }) as string, + key: 'entityType', + }, + { + label: t('label.domain'), + key: 'domain.displayName.keyword', + }, { label: t('label.owner'), key: 'owner.displayName.keyword', diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/de-de.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/de-de.json index 50eb76d36dd..a28c729f621 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/de-de.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/de-de.json @@ -1364,9 +1364,9 @@ "find-in-table": "In Tabelle suchen", "fosters-collaboration-among-producers-and-consumers": "Setzen Sie Unternehmensziele und KPIs, um die Datenkultur Ihres Unternehmens proaktiv voranzutreiben. Fördern Sie eine Kultur kontinuierlicher Verbesserung mit rechtzeitigen Berichten zur Überwachung der Datenqualität.", "get-started-with-open-metadata": "Erste Schritte mit OpenMetadata", - "glossary-tag-assignement-help-message": "You can either remove this assets or remove conflicting tag from the asset and try again adding tags!", + "glossary-tag-assignement-help-message": "You can either remove these assets or remove the conflicting tags from the assets, and try adding the tags again.", "glossary-tag-update-description": "This action will apply the tag to all Assets linked to the Glossary Term", - "glossary-tag-update-modal-title": "Validation failed for following assets", + "glossary-tag-update-modal-title": "Validation failed for the following data assets", "glossary-term-description": "Jeder Begriff im Glossar hat eine eindeutige Definition. Neben der Definition des Standardbegriffs für ein Konzept können auch Synonyme sowie verwandte Begriffe (z. B. übergeordnete und untergeordnete Begriffe) angegeben werden. Es können Referenzen zu den Assets hinzugefügt werden, die sich auf die Begriffe beziehen. Neue Begriffe können dem Glossar hinzugefügt oder aktualisiert werden. Die Glossarbegriffe können von bestimmten Benutzern überprüft werden, die die Begriffe akzeptieren oder ablehnen können.", "glossary-term-status": "Glossary Term was {{status}}.", "go-back-to-login-page": "Zurück zur Anmeldeseite", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/en-us.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/en-us.json index d34f55a3a73..9d876f11be3 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/en-us.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/en-us.json @@ -1364,9 +1364,9 @@ "find-in-table": "Find in table", "fosters-collaboration-among-producers-and-consumers": "Set organizational goals and KPIs to proactively drive the data culture of your company. Foster a culture of continuous improvement with timely reports to monitor data health.", "get-started-with-open-metadata": "Get started with OpenMetadata", - "glossary-tag-assignement-help-message": "You can either remove this assets or remove conflicting tag from the asset and try again adding tags!", + "glossary-tag-assignement-help-message": "You can either remove these assets or remove the conflicting tags from the assets, and try adding the tags again.", "glossary-tag-update-description": "This action will apply the tag to all Assets linked to the Glossary Term", - "glossary-tag-update-modal-title": "Validation failed for following assets", + "glossary-tag-update-modal-title": "Validation failed for the following data assets", "glossary-term-description": "Every term in the glossary has a unique definition. Along with defining the standard term for a concept, the synonyms as well as related terms (for e.g., parent and child terms) can be specified. References can be added to the assets related to the terms. New terms can be added or updated to the Glossary. The glossary terms can be reviewed by certain users, who can accept or reject the terms.", "glossary-term-status": "Glossary Term was {{status}}.", "go-back-to-login-page": "Go back to Login page", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/es-es.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/es-es.json index 7a2e5a889ee..9bdfc70e7de 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/es-es.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/es-es.json @@ -1364,9 +1364,9 @@ "find-in-table": "Buscar en la tabla", "fosters-collaboration-among-producers-and-consumers": "Fomenta la colaboración entre los productores y consumidores de datos.", "get-started-with-open-metadata": "Empezar con OpenMetadata", - "glossary-tag-assignement-help-message": "You can either remove this assets or remove conflicting tag from the asset and try again adding tags!", + "glossary-tag-assignement-help-message": "You can either remove these assets or remove the conflicting tags from the assets, and try adding the tags again.", "glossary-tag-update-description": "This action will apply the tag to all Assets linked to the Glossary Term", - "glossary-tag-update-modal-title": "Validation failed for following assets", + "glossary-tag-update-modal-title": "Validation failed for the following data assets", "glossary-term-description": "Cada término en el glosario tiene una definición única. Además de definir el término estándar para un concepto, se pueden especificar sinónimos y términos relacionados (por ejemplo, términos padre e hijo). Se pueden agregar referencias a los activos relacionados con los términos. Se pueden agregar o actualizar nuevos términos al glosario. Los términos del glosario pueden ser revisados por ciertos usuarios, quienes pueden aceptar o rechazar los términos.", "glossary-term-status": "Glossary Term was {{status}}.", "go-back-to-login-page": "Volver a la página de inicio de sesión", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/fr-fr.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/fr-fr.json index 3fbc2d9bb39..6a30bc17f56 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/fr-fr.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/fr-fr.json @@ -1364,9 +1364,9 @@ "find-in-table": "Trouver dans la table", "fosters-collaboration-among-producers-and-consumers": "Encouragez la collaborations entre les consommateurs et producteurs de données", "get-started-with-open-metadata": "Commencez votre Journée avec OpenMetadata", - "glossary-tag-assignement-help-message": "You can either remove this assets or remove conflicting tag from the asset and try again adding tags!", + "glossary-tag-assignement-help-message": "You can either remove these assets or remove the conflicting tags from the assets, and try adding the tags again.", "glossary-tag-update-description": "This action will apply the tag to all Assets linked to the Glossary Term", - "glossary-tag-update-modal-title": "Validation failed for following assets", + "glossary-tag-update-modal-title": "Validation failed for the following data assets", "glossary-term-description": "Chaque terme du glossaire a une définition unique. En plus de définir le terme standard pour un concept, les synonymes ainsi que les termes associés (par exemple, les termes parent et enfant) peuvent être spécifiés. Des références peuvent être ajoutées aux actifs liés aux termes. De nouveaux termes peuvent être ajoutés ou mis à jour dans le glossaire. Les termes du glossaire peuvent être examinés par certains utilisateurs, qui peuvent accepter ou rejeter les termes.", "glossary-term-status": "Glossary Term was {{status}}.", "go-back-to-login-page": "Retour à la page d'accueil", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/ja-jp.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/ja-jp.json index a4907d30b05..e986fd52159 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/ja-jp.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/ja-jp.json @@ -1364,9 +1364,9 @@ "find-in-table": "テーブルで探す", "fosters-collaboration-among-producers-and-consumers": "Fosters collaboration among the producers and consumers of data.", "get-started-with-open-metadata": "Get started with OpenMetadata", - "glossary-tag-assignement-help-message": "You can either remove this assets or remove conflicting tag from the asset and try again adding tags!", + "glossary-tag-assignement-help-message": "You can either remove these assets or remove the conflicting tags from the assets, and try adding the tags again.", "glossary-tag-update-description": "This action will apply the tag to all Assets linked to the Glossary Term", - "glossary-tag-update-modal-title": "Validation failed for following assets", + "glossary-tag-update-modal-title": "Validation failed for the following data assets", "glossary-term-description": "Every term in the glossary has a unique definition. Along with defining the standard term for a concept, the synonyms as well as related terms (for e.g., parent and child terms) can be specified. References can be added to the assets related to the terms. New terms can be added or updated to the Glossary. The glossary terms can be reviewed by certain users, who can accept or reject the terms.", "glossary-term-status": "Glossary Term was {{status}}.", "go-back-to-login-page": "ログインページに戻る", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/pt-br.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/pt-br.json index a62d030fccb..ac21aa266ca 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/pt-br.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/pt-br.json @@ -1364,9 +1364,9 @@ "find-in-table": "Encontrar na tabela", "fosters-collaboration-among-producers-and-consumers": "Estabeleça metas organizacionais e KPIs para impulsionar proativamente a cultura de dados da sua empresa. Fomente uma cultura de melhoria contínua com relatórios oportunos para monitorar a saúde dos dados.", "get-started-with-open-metadata": "Comece com o OpenMetadata", - "glossary-tag-assignement-help-message": "You can either remove this assets or remove conflicting tag from the asset and try again adding tags!", + "glossary-tag-assignement-help-message": "You can either remove these assets or remove the conflicting tags from the assets, and try adding the tags again.", "glossary-tag-update-description": "This action will apply the tag to all Assets linked to the Glossary Term", - "glossary-tag-update-modal-title": "Validation failed for following assets", + "glossary-tag-update-modal-title": "Validation failed for the following data assets", "glossary-term-description": "Cada termo no glossário tem uma definição única. Além de definir o termo padrão para um conceito, os sinônimos e termos relacionados (por exemplo, termos pai e filho) podem ser especificados. Referências podem ser adicionadas aos ativos relacionados aos termos. Novos termos podem ser adicionados ou atualizados no Glossário. Os termos do glossário podem ser revisados por certos usuários, que podem aceitar ou rejeitar os termos.", "glossary-term-status": "Termo do Glossário foi {{status}}.", "go-back-to-login-page": "Voltar para a página de Login", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/ru-ru.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/ru-ru.json index c5f016ba5b6..7dbd7f63d90 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/ru-ru.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/ru-ru.json @@ -1364,9 +1364,9 @@ "find-in-table": "Найти в таблице", "fosters-collaboration-among-producers-and-consumers": "Способствует сотрудничеству между производителями и потребителями данных.", "get-started-with-open-metadata": "Начните работу с OpenMetadata", - "glossary-tag-assignement-help-message": "You can either remove this assets or remove conflicting tag from the asset and try again adding tags!", + "glossary-tag-assignement-help-message": "You can either remove these assets or remove the conflicting tags from the assets, and try adding the tags again.", "glossary-tag-update-description": "This action will apply the tag to all Assets linked to the Glossary Term", - "glossary-tag-update-modal-title": "Validation failed for following assets", + "glossary-tag-update-modal-title": "Validation failed for the following data assets", "glossary-term-description": "Каждый термин в глоссарии имеет уникальное определение. Наряду с определением стандартного термина для понятия можно указать синонимы, а также связанные термины (например, родительские и дочерние термины). Ссылки могут быть добавлены к объектам данных, связанным с терминами. Новые термины могут быть добавлены или обновлены в Глоссарий. Термины глоссария могут быть просмотрены определенными пользователями, которые могут принять или отклонить термины.", "glossary-term-status": "Glossary Term was {{status}}.", "go-back-to-login-page": "Вернуться на страницу входа", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/zh-cn.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/zh-cn.json index 3ff1c2cbf8e..c95b46bcc6f 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/zh-cn.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/zh-cn.json @@ -1364,9 +1364,9 @@ "find-in-table": "在数据表中查找", "fosters-collaboration-among-producers-and-consumers": "促进数据生产者和使用者之间的合作", "get-started-with-open-metadata": "开始使用 OpenMetadata", - "glossary-tag-assignement-help-message": "You can either remove this assets or remove conflicting tag from the asset and try again adding tags!", + "glossary-tag-assignement-help-message": "You can either remove these assets or remove the conflicting tags from the assets, and try adding the tags again.", "glossary-tag-update-description": "This action will apply the tag to all Assets linked to the Glossary Term", - "glossary-tag-update-modal-title": "Validation failed for following assets", + "glossary-tag-update-modal-title": "Validation failed for the following data assets", "glossary-term-description": "术语库中的每个术语都有一个唯一的定义。除了为概念定义标准术语之外,还可以指定同义词以及相关术语(例如,父项和子项)。可以向与术语相关的资产添加引用。可以向术语库添加或更新新术语。某些用户可以审查术语,并接受或拒绝这些术语。", "glossary-term-status": "Glossary Term was {{status}}.", "go-back-to-login-page": "返回登录页面", diff --git a/openmetadata-ui/src/main/resources/ui/src/utils/AdvancedSearchUtils.tsx b/openmetadata-ui/src/main/resources/ui/src/utils/AdvancedSearchUtils.tsx index 639b3f07119..1d0483f1043 100644 --- a/openmetadata-ui/src/main/resources/ui/src/utils/AdvancedSearchUtils.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/utils/AdvancedSearchUtils.tsx @@ -27,6 +27,7 @@ import { DASHBOARD_DROPDOWN_ITEMS, DATA_PRODUCT_DROPDOWN_ITEMS, DOMAIN_DATAPRODUCT_DROPDOWN_ITEMS, + GLOSSARY_ASSETS_DROPDOWN_ITEMS, GLOSSARY_DROPDOWN_ITEMS, PIPELINE_DROPDOWN_ITEMS, SEARCH_INDEX_DROPDOWN_ITEMS, @@ -97,6 +98,7 @@ export const getAssetsPageQuickFilters = (type: AssetsOfEntity) => { return [...DOMAIN_DATAPRODUCT_DROPDOWN_ITEMS]; case AssetsOfEntity.GLOSSARY: + return [...GLOSSARY_ASSETS_DROPDOWN_ITEMS]; default: return [...COMMON_DROPDOWN_ITEMS]; }