mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-23 17:30:35 +00:00
Fixes the index not found issue on data insight page in case workflow is not run or created (#8770)
* Endpoint should be more specific, causes issue in case we have enitities containing login, config etc in name * Endpoint should be more specific, causes issue in case we have enitities containing login, config etc in name * Change GET APIs to PUT apis #8687 * change request type for registration * Data Insight Index should be created on the server start, if not exist * checkstyle fix Co-authored-by: Ashish Gupta <ashish@getcollate.io>
This commit is contained in:
parent
964cc4e0a5
commit
2e04ff24f9
@ -64,7 +64,13 @@ public class ElasticSearchIndexDefinition {
|
||||
TEAM_SEARCH_INDEX("team_search_index", "/elasticsearch/team_index_mapping.json"),
|
||||
GLOSSARY_SEARCH_INDEX("glossary_search_index", "/elasticsearch/glossary_index_mapping.json"),
|
||||
MLMODEL_SEARCH_INDEX("mlmodel_search_index", "/elasticsearch/mlmodel_index_mapping.json"),
|
||||
TAG_SEARCH_INDEX("tag_search_index", "/elasticsearch/tag_index_mapping.json");
|
||||
TAG_SEARCH_INDEX("tag_search_index", "/elasticsearch/tag_index_mapping.json"),
|
||||
ENTITY_REPORT_DATA_INDEX("entity_report_data_index", "/elasticsearch/entity_report_data_index.json"),
|
||||
WEB_ANALYTIC_ENTITY_VIEW_REPORT_DATA_INDEX(
|
||||
"web_analytic_entity_view_report_data_index", "/elasticsearch/web_analytic_entity_view_report_data_index.json"),
|
||||
WEB_ANALYTIC_USER_ACTIVITY_REPORT_DATA_INDEX(
|
||||
"web_analytic_user_activity_report_data_index",
|
||||
"/elasticsearch/web_analytic_user_activity_report_data_index.json");
|
||||
|
||||
public final String indexName;
|
||||
public final String indexMappingFile;
|
||||
|
@ -0,0 +1,46 @@
|
||||
{
|
||||
"mappings": {
|
||||
"properties": {
|
||||
"timestamp": {
|
||||
"type": "date"
|
||||
},
|
||||
"reportDataType": {
|
||||
"type": "keyword"
|
||||
},
|
||||
"data": {
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "text"
|
||||
},
|
||||
"team": {
|
||||
"type": "keyword"
|
||||
},
|
||||
"entityTier": {
|
||||
"type": "keyword"
|
||||
},
|
||||
"entityType": {
|
||||
"type": "keyword"
|
||||
},
|
||||
"organization": {
|
||||
"type": "text"
|
||||
},
|
||||
"hasOwner": {
|
||||
"type": "integer"
|
||||
},
|
||||
"missingOwner": {
|
||||
"type": "integer"
|
||||
},
|
||||
"missingDescriptions": {
|
||||
"type": "integer"
|
||||
},
|
||||
"completedDescriptions": {
|
||||
"type": "integer"
|
||||
},
|
||||
"entityCount": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
{
|
||||
"mappings": {
|
||||
"properties": {
|
||||
"timestamp": {
|
||||
"type": "date"
|
||||
},
|
||||
"reportDataType": {
|
||||
"type": "keyword"
|
||||
},
|
||||
"data": {
|
||||
"properties": {
|
||||
"entityType": {
|
||||
"type": "keyword"
|
||||
},
|
||||
"entityTier": {
|
||||
"type": "keyword"
|
||||
},
|
||||
"entityFqn": {
|
||||
"type": "keyword"
|
||||
},
|
||||
"owner": {
|
||||
"type": "keyword"
|
||||
},
|
||||
"ownerId": {
|
||||
"type": "text"
|
||||
},
|
||||
"views": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
{
|
||||
"mappings": {
|
||||
"properties": {
|
||||
"timestamp": {
|
||||
"type": "date"
|
||||
},
|
||||
"reportDataType": {
|
||||
"type": "keyword"
|
||||
},
|
||||
"data": {
|
||||
"properties": {
|
||||
"userName": {
|
||||
"type": "keyword"
|
||||
},
|
||||
"userId": {
|
||||
"type": "text"
|
||||
},
|
||||
"team": {
|
||||
"type": "keyword"
|
||||
},
|
||||
"totalSessions": {
|
||||
"type": "integer"
|
||||
},
|
||||
"totalSessionDuration": {
|
||||
"type": "double"
|
||||
},
|
||||
"totalPageView": {
|
||||
"type": "integer"
|
||||
},
|
||||
"lastSession": {
|
||||
"type": "long"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user