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

chaitali borole commented on ATLAS-2902:
----------------------------------------

Hi,

API has the provision for sorting if you pass parameters manually through JSON.

POST : [http://localhost:21000/api/atlas/v2/search/basic]

JSON:

{
 "excludeDeletedEntities": true,
 "includeSubClassifications": true,
 "includeSubTypes": true,
 "includeClassificationAttributes": true,
 "entityFilters": null,
 "tagFilters": null,
 "attributes": null,
 "query": "",
 "limit": 25,
 "offset": 0,
 "typeName": "__ExportImportAuditEntry",
 "classification": null,
 "termName": null,
 "sortBy":"operationStartTime",
 "sortOrder":"DESCENDING"
}

You get a sorted output with respect to "operationStartTime"  after passing 
this.

> Export & Import Process: Audit Logs Are Not Ordered
> ---------------------------------------------------
>
>                 Key: ATLAS-2902
>                 URL: https://issues.apache.org/jira/browse/ATLAS-2902
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Ashutosh Mestry
>            Assignee: Sridhar
>            Priority: Major
>
> Export-Import audit, are not ordered based on _operationStartTime_.



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

Reply via email to