[
https://issues.apache.org/jira/browse/ATLAS-4034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17240827#comment-17240827
]
ASF subversion and git services commented on ATLAS-4034:
--------------------------------------------------------
Commit 090df1637319e842d0869da128c5cf0f46d06a7f in atlas's branch
refs/heads/branch-2.0 from Mandar Ambawane
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=090df16 ]
ATLAS-4034: Export operation audit with result count 0 for empty exports is
inconsistent.
ATLAS-4041: Operation status info of IMPORT/EXPORT operation in the Admin
import/export audits
Signed-off-by: nixonrodrigues <[email protected]>
(cherry picked from commit 7779388fb000122fc1ddd29c9f6c36f57b41f5b1)
> Export operation audit with result count 0 for empty exports is inconsistent
> ----------------------------------------------------------------------------
>
> Key: ATLAS-4034
> URL: https://issues.apache.org/jira/browse/ATLAS-4034
> Project: Atlas
> Issue Type: Bug
> Components: atlas-core
> Reporter: Dharshana M Krishnamoorthy
> Assignee: Mandar Ambawane
> Priority: Major
> Attachments: ATLAS-4034-ATLAS-4041.patch
>
>
> Export operation creates an audit with *count 0* for the following request:
> {code:java}
> {
> "itemsToExport": [
>
> ]
> }
> {code}
> But the following input does not create any audit entry : Please note the
> *{}* in the *itemsToExport* array
> {code:java}
> {
> "itemsToExport": [
> {}
> ]
> }
> {code}
> We need to keep the result consistent. Either create entry for the later with
> result count 0 or do not create an entry for the former
--
This message was sent by Atlassian Jira
(v8.3.4#803005)