mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-30 20:06:19 +00:00
Ingestion Bot Fix + AcitvityFeedAlerts Update (#9475)
This commit is contained in:
parent
20fa7b10fa
commit
517da06ece
@ -72,6 +72,8 @@ public class ChangeEventHandler implements EventHandler {
|
|||||||
if (changeEvent == null) {
|
if (changeEvent == null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
// Always set the Change Event Username as context Principal, the one creating the CE
|
||||||
|
changeEvent.setUserName(loggedInUserName);
|
||||||
LOG.info(
|
LOG.info(
|
||||||
"Recording change event {}:{}:{}:{}",
|
"Recording change event {}:{}:{}:{}",
|
||||||
changeEvent.getTimestamp(),
|
changeEvent.getTimestamp(),
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
},
|
},
|
||||||
"filteringRules": [
|
"filteringRules": [
|
||||||
{
|
{
|
||||||
"name": "DisableIngestionActivityFeedData",
|
"name": "matchUpdatedBy",
|
||||||
"effect": "exclude",
|
"effect": "exclude",
|
||||||
"condition": "matchUpdatedBy('ingestion-bot')"
|
"condition": "matchUpdatedBy('ingestion-bot')"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "DisableUsageSummaryFromActivityFeed",
|
"name": "matchAnyFieldChange",
|
||||||
"effect": "exclude",
|
"effect": "exclude",
|
||||||
"condition": "matchAnyFieldChange('usageSummary')"
|
"condition": "matchAnyFieldChange('usageSummary')"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user