You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by nb...@apache.org on 2020/10/23 12:29:10 UTC

[atlas] 01/02: ATLAS-3935 Use Audit framework to capture audit entries for Import/Export operations #2

This is an automated email from the ASF dual-hosted git repository.

nbonte pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git

commit f959d84adf8108386f513b5bd1601a4ef73749ad
Author: Mandar Ambawane <ma...@freestoneinfotech.com>
AuthorDate: Wed Sep 23 20:02:19 2020 +0530

    ATLAS-3935 Use Audit framework to capture audit entries for Import/Export operations #2
    
    Signed-off-by: Nikhil P Bonte <nb...@apache.org>
---
 webapp/src/main/java/org/apache/atlas/web/resources/AdminResource.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/webapp/src/main/java/org/apache/atlas/web/resources/AdminResource.java b/webapp/src/main/java/org/apache/atlas/web/resources/AdminResource.java
index 3a6139f..59af513 100755
--- a/webapp/src/main/java/org/apache/atlas/web/resources/AdminResource.java
+++ b/webapp/src/main/java/org/apache/atlas/web/resources/AdminResource.java
@@ -468,8 +468,7 @@ public class AdminResource {
         }
 
         List<AtlasObjectId> objectIds = result.getExportResult().getRequest().getItemsToExport();
-        String params = String.join(",", result.getProcessedEntities());
-        auditImportExportOperations(objectIds, AuditOperation.IMPORT, params);
+        auditImportExportOperations(objectIds, AuditOperation.IMPORT, null);
 
         return result;
     }