kalayciburak opened a new pull request, #768:
URL: https://github.com/apache/atlas/pull/768
## Summary
- `atlas.notification.consumer.preprocess.entity.type.ignore.pattern` drops
`ENTITY_CREATE_V2` for matching types, but partial updates and deletes of the
same type were still applied.
- A partial update of an ignored type then failed later as an unknown
typename (for example `trino_table`).
- Reuse `GenericEntityPreprocessor` and skip the store call when the type
and qualified name match, for V2 partial update/delete and the V1 equivalents.
## Test plan
- [x] `JAVA_HOME=17 mvn -pl webapp -DskipEnunciate=true
-Dtest=SerialEntityProcessorIgnoreTest -Dsurefire.failIfNoSpecifiedTests=false
test`
- Before the fix: ignored partial update called `updateEntity`; ignored
delete called `deleteByUniqueAttributes`
- After the fix: 4 tests, 0 failures
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]