diff --git a/openmetadata-service/src/main/resources/json/data/EntityObservabilityFilterDescriptor.json b/openmetadata-service/src/main/resources/json/data/EntityObservabilityFilterDescriptor.json index 64d4287e1c3..e5104f19b6e 100644 --- a/openmetadata-service/src/main/resources/json/data/EntityObservabilityFilterDescriptor.json +++ b/openmetadata-service/src/main/resources/json/data/EntityObservabilityFilterDescriptor.json @@ -5,8 +5,8 @@ { "name": "filterByFqn", "fullyQualifiedName": "eventSubscription.filterByFqn", - "displayName": "Filter By Table Name", - "description" : "Filter A Change Event By Table Name", + "displayName": "Table Name", + "description" : "Event Filtering By Table Name", "effect" : "include", "condition": "matchAnyEntityFqn(${fqnList})", "arguments": [ @@ -17,8 +17,8 @@ { "name": "filterByDomain", "fullyQualifiedName": "eventSubscription.filterByDomain", - "displayName": "Filter By Domain", - "description" : "Filter An Change Event By Domain a Entity Belongs To", + "displayName": "Domain", + "description" : "Event Filtering By Domain a Entity Belongs To", "effect" : "include", "condition": "matchAnyDomain(${domainList})", "arguments": [ @@ -29,8 +29,8 @@ { "name": "filterByOwner", "fullyQualifiedName": "eventSubscription.filterByOwner", - "displayName": "Filter By Owner Name", - "description" : "Filter A Change Event By Owner Name of Asset", + "displayName": "Owner Name", + "description" : "Event Filtering By Owner Name of Asset", "effect" : "include", "condition": "matchAnyOwnerName(${ownerNameList})", "arguments": [ @@ -66,8 +66,8 @@ { "name": "filterByFqn", "fullyQualifiedName": "eventSubscription.filterByFqn", - "displayName": "Filter By Topic Name", - "description" : "Filter A Change Event By Topic Name", + "displayName": "Topic Name", + "description" : "Event Filtering By Topic Name", "effect" : "include", "condition": "matchAnyEntityFqn(${fqnList})", "arguments": [ @@ -78,8 +78,8 @@ { "name": "filterByDomain", "fullyQualifiedName": "eventSubscription.filterByDomain", - "displayName": "Filter By Domain", - "description" : "Filter An Change Event By Domain a Entity Belongs To", + "displayName": "Domain", + "description" : "Event Filtering By Domain a Entity Belongs To", "effect" : "include", "condition": "matchAnyDomain(${domainList})", "arguments": [ @@ -90,8 +90,8 @@ { "name": "filterByOwner", "fullyQualifiedName": "eventSubscription.filterByOwner", - "displayName": "Filter By Owner Name", - "description" : "Filter A Change Event By Owner Name of Asset", + "displayName": "Owner Name", + "description" : "Event Filtering By Owner Name of Asset", "effect" : "include", "condition": "matchAnyOwnerName(${ownerNameList})", "arguments": [ @@ -118,8 +118,8 @@ { "name": "filterByFqn", "fullyQualifiedName": "eventSubscription.filterByFqn", - "displayName": "Filter By Container Name", - "description" : "Filter A Change Event By Container Name", + "displayName": "Container Name", + "description" : "Event Filtering By Container Name", "effect" : "include", "condition": "matchAnyEntityFqn(${fqnList})", "arguments": [ @@ -130,8 +130,8 @@ { "name": "filterByDomain", "fullyQualifiedName": "eventSubscription.filterByDomain", - "displayName": "Filter By Domain", - "description" : "Filter An Change Event By Domain a Entity Belongs To", + "displayName": "Domain", + "description" : "Event Filtering By Domain a Entity Belongs To", "effect" : "include", "condition": "matchAnyDomain(${domainList})", "arguments": [ @@ -142,8 +142,8 @@ { "name": "filterByOwner", "fullyQualifiedName": "eventSubscription.filterByOwner", - "displayName": "Filter By Owner Name", - "description" : "Filter A Change Event By Owner Name of Asset", + "displayName": "Owner Name", + "description" : "Event Filtering By Owner Name of Asset", "effect" : "include", "condition": "matchAnyOwnerName(${ownerNameList})", "arguments": [ @@ -170,8 +170,8 @@ { "name": "filterByFqn", "fullyQualifiedName": "eventSubscription.filterByFqn", - "displayName": "Filter By Pipeline Name", - "description" : "Filter A Change Event By Pipeline Name", + "displayName": "Pipeline Name", + "description" : "Event Filtering By Pipeline Name", "effect" : "include", "condition": "matchAnyEntityFqn(${fqnList})", "arguments": [ @@ -182,8 +182,8 @@ { "name": "filterByDomain", "fullyQualifiedName": "eventSubscription.filterByDomain", - "displayName": "Filter By Domain", - "description" : "Filter An Change Event By Domain a Entity Belongs To", + "displayName": "Domain", + "description" : "Event Filtering By Domain a Entity Belongs To", "effect" : "include", "condition": "matchAnyDomain(${domainList})", "arguments": [ @@ -194,8 +194,8 @@ { "name": "filterByOwner", "fullyQualifiedName": "eventSubscription.filterByOwner", - "displayName": "Filter By Owner Name", - "description" : "Filter A Change Event By Owner Name of Asset", + "displayName": "Owner Name", + "description" : "Event Filtering By Owner Name of Asset", "effect" : "include", "condition": "matchAnyOwnerName(${ownerNameList})", "arguments": [ @@ -205,15 +205,6 @@ } ], "supportedActions" : [ - { - "name": "GetPipelineSchemaChanges", - "fullyQualifiedName": "eventSubscription.filterBySchemaChange", - "displayName": "Get Schema Changes", - "description" : "Get Updates for Schema Changes", - "effect" : "include", - "condition": "matchAnyFieldChange({'sourceUrl','pipelineLocation'})", - "inputType": "none" - }, { "name": "GetPipelineStatusUpdates", "fullyQualifiedName": "eventSubscription.GetPipelineStatusUpdates", @@ -234,8 +225,8 @@ { "name": "filterByFqn", "fullyQualifiedName": "eventSubscription.filterByFqn", - "displayName": "Filter By Test Case Name", - "description" : "Filter A Change Event By Test Case Name", + "displayName": "Test Case Name", + "description" : "Event By Test Case Name", "effect" : "include", "condition": "matchAnyEntityFqn(${fqnList})", "arguments": [ @@ -246,8 +237,8 @@ { "name": "filterByDomain", "fullyQualifiedName": "eventSubscription.filterByDomain", - "displayName": "Filter By Domain", - "description" : "Filter An Change Event By Domain a Entity Belongs To", + "displayName": "Domain", + "description" : "Event Filtering By Domain a Entity Belongs To", "effect" : "include", "condition": "matchAnyDomain(${domainList})", "arguments": [ @@ -258,8 +249,8 @@ { "name": "filterByOwner", "fullyQualifiedName": "eventSubscription.filterByOwner", - "displayName": "Filter By Owner Name", - "description" : "Filter A Change Event By Owner Name of Asset", + "displayName": "Owner Name", + "description" : "Event Filtering By Owner Name of Asset", "effect" : "include", "condition": "matchAnyOwnerName(${ownerNameList})", "arguments": [ @@ -270,8 +261,8 @@ { "name": "filterByTableNameTestCaseBelongsTo", "fullyQualifiedName": "eventSubscription.filterByTableNameTestCaseBelongsTo", - "displayName": "Filter By Table Name", - "description" : "Filter A Change Event By Pipeline Name", + "displayName": "Table Name A Test Case Belongs To", + "description" : "Event Filtering By Table Name A Test Case Belongs To", "effect" : "include", "condition": "filterByTableNameTestCaseBelongsTo(${tableNameList})", "arguments": [ @@ -310,8 +301,8 @@ { "name": "filterByFqn", "fullyQualifiedName": "eventSubscription.filterByFqn", - "displayName": "Filter By Test Suite Name", - "description" : "Filter By Test Suite Name", + "displayName": "Test Suite Name", + "description" : "Event Filtering By Test Suite Name", "effect" : "include", "condition": "matchAnyEntityFqn(${fqnList})", "arguments": [ @@ -322,8 +313,8 @@ { "name": "filterByOwner", "fullyQualifiedName": "eventSubscription.filterByOwner", - "displayName": "Filter By Owner Name", - "description" : "Filter A Change Event By Owner Name of Asset", + "displayName": "Owner Name", + "description" : "Event Filtering By Owner Name of Asset", "effect" : "include", "condition": "matchAnyOwnerName(${ownerNameList})", "arguments": [ @@ -331,23 +322,11 @@ ], "inputType": "runtime" }, - { - "name": "filterByTableNameTestCaseBelongsTo", - "fullyQualifiedName": "eventSubscription.filterByTableNameTestCaseBelongsTo", - "displayName": "Filter By Table Name For A Test Suite", - "description" : "Filter A Change Event By Pipeline Name", - "effect" : "include", - "condition": "matchByTableNameTestCaseBelongsTo(${tableNameList})", - "arguments": [ - "tableNameList" - ], - "inputType": "runtime" - }, { "name": "filterByDomain", "fullyQualifiedName": "eventSubscription.filterByDomain", - "displayName": "Filter By Domain", - "description" : "Filter An Change Event By Domain a Entity Belongs To", + "displayName": "Domain", + "description" : "Event Filtering By Domain a Entity Belongs To", "effect" : "include", "condition": "matchAnyDomain(${domainList})", "arguments": [ @@ -378,19 +357,6 @@ "testStatusList" ], "inputType": "runtime" - }, - { - "name": "GetTestCaseAdditionOrDeletionToSuite", - "fullyQualifiedName": "eventSubscription.GetTestCaseAdditionOrDeletionToSuite", - "displayName": "Get Test Case Addition Or Deletion To Suite Updates", - "description" : "Get Status Updates when a Test Case is added or deleted to a Test Suite", - "effect" : "include", - "condition": "getTestCaseAdditionOrDeletionToSuite(${testSuiteList}, ${opList})", - "arguments": [ - "testSuiteList", - "opList" - ], - "inputType": "runtime" } ] } diff --git a/openmetadata-service/src/main/resources/json/data/FilterFunctionsDescriptor.json b/openmetadata-service/src/main/resources/json/data/FilterFunctionsDescriptor.json index e1786ee903f..a7d75853796 100644 --- a/openmetadata-service/src/main/resources/json/data/FilterFunctionsDescriptor.json +++ b/openmetadata-service/src/main/resources/json/data/FilterFunctionsDescriptor.json @@ -2,8 +2,8 @@ { "name": "filterBySource", "fullyQualifiedName": "eventSubscription.filterBySource", - "displayName": "Filter By Source of Change Event", - "description" : "Filter By Source of Change Event", + "displayName": "Source of Change Event", + "description" : "Event Filtering By Source of Change Event", "effect" : "include", "condition": "matchAnySource(${sourceList})", "arguments": [ @@ -14,8 +14,8 @@ { "name": "filterByOwnerName", "fullyQualifiedName": "eventSubscription.filterByOwnerName", - "displayName": "Filter By Owner", - "description" : "Filter By Owner of the Asset", + "displayName": "Owner", + "description" : "Event Filtering By Owner of the Asset", "effect" : "include", "condition": "matchAnyOwnerName(${ownerNameList})", "arguments": [ @@ -26,8 +26,8 @@ { "name": "filterByFqn", "fullyQualifiedName": "eventSubscription.filterByFqn", - "displayName": "Filter By Entity FQN", - "description" : "Filter A Change Event By Entity FQN", + "displayName": "Entity FQN", + "description" : "Event Filtering By Entity FQN", "effect" : "include", "condition": "matchAnyEntityFqn(${fqnList})", "arguments": [ @@ -38,8 +38,8 @@ { "name": "filterByEntityId", "fullyQualifiedName": "eventSubscription.filterByEntityId", - "displayName": "Filter By Entity Id", - "description" : "Filter A Change Event By Entity Id", + "displayName": "Entity Id", + "description" : "Event Filtering By Entity Id", "effect" : "include", "condition": "matchAnyEntityId(${entityIdList})", "arguments": [ @@ -50,8 +50,8 @@ { "name": "filterByEventType", "fullyQualifiedName": "eventSubscription.filterByEventType", - "displayName": "Filter By Event Type", - "description" : "Filter By Type of Event like entityCreated, entityUpdated, etc.", + "displayName": "Event Type", + "description" : "Event Filtering by Event Type like entityCreated, entityUpdated, etc.", "effect" : "include", "condition": "matchAnyEventType(${eventTypeList})", "arguments": [ @@ -62,8 +62,8 @@ { "name": "filterByUpdaterName", "fullyQualifiedName": "eventSubscription.filterByUpdaterName", - "displayName": "Filter By Update Name", - "description" : "Filter An Change Event if the Entity is Updated By Any of the Users", + "displayName": "Updater Name", + "description" : "Event Filtering by Updaters Name", "effect" : "include", "condition": "matchUpdatedBy(${updateByUserList})", "arguments": [ @@ -74,8 +74,8 @@ { "name": "filterByFieldChange", "fullyQualifiedName": "eventSubscription.filterByFieldChange", - "displayName": "Filter By Field Change", - "description" : "Filter By a specific field change", + "displayName": "Field Change", + "description" : "Event Filtering By a specific field change", "effect" : "include", "condition": "matchAnyFieldChange(${fieldChangeList})", "arguments": [ @@ -86,8 +86,8 @@ { "name": "filterByDomain", "fullyQualifiedName": "eventSubscription.filterByDomain", - "displayName": "Filter By Domain", - "description" : "Filter An Change Event By Domain a Entity Belongs To", + "displayName": "Domain", + "description" : "Event Filtering By Domain a Entity Belongs To", "effect" : "include", "condition": "matchAnyDomain(${domainList})", "arguments": [ @@ -98,8 +98,8 @@ { "name": "filterByMentionedName", "fullyQualifiedName": "eventSubscription.filterByMentionedName", - "displayName": "Filter By Mentioned Users", - "description" : "Filter An Conversation User Mentioned", + "displayName": "Mentioned Users", + "description" : "Event Filtering An Conversation User Mentioned", "effect" : "include", "condition": "matchConversationUser(${userList})", "arguments": [ @@ -110,10 +110,10 @@ { "name": "filterByGeneralMetadataEvents", "fullyQualifiedName": "eventSubscription.filterByGeneralMetadataEvents", - "displayName": "Filter By General Metadata Events", - "description" : "Filter By General MetadataEvents", + "displayName": "General Metadata Events", + "description" : "Event Filtering By General MetadataEvents", "effect" : "include", - "condition": "matchAnyFieldChange('description', 'tags')", + "condition": "matchAnyFieldChange({'description', 'tags'})", "inputType": "none" } ] \ No newline at end of file