[ 
https://issues.apache.org/jira/browse/ATLAS-4092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17263919#comment-17263919
 ] 

ASF subversion and git services commented on ATLAS-4092:
--------------------------------------------------------

Commit 9a407456019b54957ac5e3269a104bebcf18c0c0 in atlas's branch 
refs/heads/branch-2.0 from Mandar Ambawane
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=9a40745 ]

ATLAS-4092 Remove unused attributes and add right attributes to the atlas admin 
audit api

Signed-off-by: Nikhil Bonte <nbo...@apache.org>
(cherry picked from commit 8045c7841216974cafa8b04aa14fbd5aa893ba55)


> Remove unused attributes and add right attributes to the atlas admin audit api
> ------------------------------------------------------------------------------
>
>                 Key: ATLAS-4092
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4092
>             Project: Atlas
>          Issue Type: Improvement
>            Reporter: Mandar Ambawane
>            Assignee: Mandar Ambawane
>            Priority: Major
>         Attachments: ATLAS-4092.patch
>
>
> {code:java|title=Sample payload:}
> {
>   "currentPage": "page",
>   "pageSize": "per_page",
>   "totalPages": "total_pages",
>   "totalRecords": "total_entries",
>   "sortKey": "sort_by",
>   "order": "order",
>   "directions": {
>     "1": "desc",
>     "-1": "asc"
>   },
>   "auditFilters": {
>     "condition": "AND",
>     "criterion": [
>       {
>         "attributeName": "operation",
>         "operator": "eq",
>         "attributeValue": "TYPE_DEF_CREATE"
>       }
>     ]
>   },
>   "limit": 25,
>   "offset": 0
> }
> {code}
> Here the following attributes do not work:
> {code}
> "sortKey": "sort_by",
> "order": "order",
> {code}
> Instead the following works
> {code}
> "sortBy" : "startTime",
> "sortOrder" : "DESCENDING",
> {code}
> sortKey and order has to be removed and sortBy and sortOrder has to be added



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to