-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/62342/
-----------------------------------------------------------
Review request for atlas and Madhan Neethiraj.
Bugs: ATLAS-2136
https://issues.apache.org/jira/browse/ATLAS-2136
Repository: atlas
Description
-------
Currently audit and notification entityChangeListeners is using v1 API. This
needs to be migrated to start using v2 APIs. This is needed for notification of
tag propagation.
Also provide a new REST API to get audit events for an entity using v2 structure
Diffs
-----
client/src/main/java/org/apache/atlas/EntityAuditEventV2.java PRE-CREATION
intg/src/main/java/org/apache/atlas/AtlasErrorCode.java f529739d
notification/src/main/java/org/apache/atlas/notification/entity/EntityNotificationV2.java
PRE-CREATION
repository/src/main/java/org/apache/atlas/repository/audit/EntityAuditListenerV2.java
PRE-CREATION
repository/src/main/java/org/apache/atlas/repository/audit/EntityAuditRepository.java
9dc78350
repository/src/main/java/org/apache/atlas/repository/audit/HBaseBasedAuditRepository.java
5a5a2c10
repository/src/main/java/org/apache/atlas/repository/audit/InMemoryEntityAuditRepository.java
22d2a810
repository/src/main/java/org/apache/atlas/repository/audit/NoopEntityAuditRepository.java
c3826019
repository/src/main/java/org/apache/atlas/repository/store/graph/AtlasEntityStore.java
a4163f2e
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasEntityChangeNotifier.java
6423aeab
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasEntityStoreV1.java
dc6416a9
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphRetriever.java
f6aa7bbf
repository/src/test/java/org/apache/atlas/repository/impexp/ExportServiceTest.java
8eb7a510
repository/src/test/java/org/apache/atlas/repository/store/graph/v1/AtlasEntityStoreV1Test.java
62fad5b0
repository/src/test/java/org/apache/atlas/repository/store/graph/v1/AtlasRelationshipStoreV1Test.java
94cc5b93
server-api/src/main/java/org/apache/atlas/listener/EntityChangeListener.java
e05a7755
server-api/src/main/java/org/apache/atlas/listener/EntityChangeListenerV2.java
PRE-CREATION
webapp/src/main/java/org/apache/atlas/notification/EntityNotificationListenerV2.java
PRE-CREATION
webapp/src/main/java/org/apache/atlas/web/rest/EntityREST.java 0f6eeb11
Diff: https://reviews.apache.org/r/62342/diff/1/
Testing
-------
Validated HBase audit events and Kafka notification message for the following
operations:
1. Entity Create
2. Entity Update
3. Entity Delete
4. Add Classification
5. Delete Classification
6. Update Classification
Listeners were notified using v2 API structure
Thanks,
Sarath Subramanian