-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/73584/
-----------------------------------------------------------

(Updated Sept. 15, 2021, 4:03 p.m.)


Review request for atlas, Ashutosh Mestry, Jayendra Parab, and Sarath 
Subramanian.


Changes
-------

added UTs


Bugs: ATLAS-4422
    https://issues.apache.org/jira/browse/ATLAS-4422


Repository: atlas


Description
-------

**Improvement:** 

This will add a sorting functionality in quick search API and get the result 
list in Sorted manner.

**Note:** 

- Result will be sorted only when 'typeName' has a valid entity type name as a 
value.
- Only string attribute type (not TEXT) guarantees sorted results

**Example:** 

{ "query":"sales", 
"typeName":"Asset",
"sortBy":"__typeName",
"sortOrder":"ASCENDING" }


Diffs (updated)
-----

  
intg/src/main/java/org/apache/atlas/model/discovery/QuickSearchParameters.java 
9e5e9778a 
  
repository/src/main/java/org/apache/atlas/discovery/EntityDiscoveryService.java 
5b3b9486b 
  
repository/src/test/java/org/apache/atlas/discovery/AtlasDiscoveryServiceTest.java
 5e47295cb 
  webapp/src/main/java/org/apache/atlas/web/rest/DiscoveryREST.java e4c74a9d1 


Diff: https://reviews.apache.org/r/73584/diff/2/

Changes: https://reviews.apache.org/r/73584/diff/1-2/


Testing (updated)
-------

added Unit tests


Thanks,

Pinal Shah

Reply via email to