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




intg/src/main/java/org/apache/atlas/model/discovery/AtlasSearchResult.java
Lines 252 (patched)
<https://reviews.apache.org/r/58163/#comment244458>

    - is it necessary to specify both attributeName and attributeQualifiedName?
    - since this class doesn't capture all search details (like typeName, 
classificatioName, search-text), consider renaming this to 
AtlasAttributeFilterParams



repository/src/main/java/org/apache/atlas/discovery/AtlasDiscoveryService.java
Lines 66 (patched)
<https://reviews.apache.org/r/58163/#comment244460>

    searchUsingAttribute() method seems to duplicate the functionality of 
searchUsingBasicQuery(). If yes, consider deleting searchUsingAttribute().



repository/src/main/java/org/apache/atlas/discovery/EntityDiscoveryService.java
Lines 238 (patched)
<https://reviews.apache.org/r/58163/#comment244461>

    Consider moving the call to ret.setQueryType() to outside this while() loop 
- after line #195.



webapp/src/main/java/org/apache/atlas/web/rest/DiscoveryREST.java
Lines 187 (patched)
<https://reviews.apache.org/r/58163/#comment244472>

    instead of a new REST endpoint '/attribute', consider enhancing '/basic' to 
support arguments 'attrName' and 'attrValue'.


- Madhan Neethiraj


On April 3, 2017, 10:26 p.m., Sarath Subramanian wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/58163/
> -----------------------------------------------------------
> 
> (Updated April 3, 2017, 10:26 p.m.)
> 
> 
> Review request for atlas, Apoorv Naik, Ashutosh Mestry, Madhan Neethiraj, and 
> Suma Shivaprasad.
> 
> 
> Bugs: ATLAS-1710
>     https://issues.apache.org/jira/browse/ATLAS-1710
> 
> 
> Repository: atlas
> 
> 
> Description
> -------
> 
> Implement the entity-lookup API
> 
> 
> Diffs
> -----
> 
>   intg/src/main/java/org/apache/atlas/model/discovery/AtlasSearchResult.java 
> bf1c80e8 
>   
> repository/src/main/java/org/apache/atlas/discovery/AtlasDiscoveryService.java
>  1044aaa8 
>   
> repository/src/main/java/org/apache/atlas/discovery/EntityDiscoveryService.java
>  571ce6ea 
>   webapp/src/main/java/org/apache/atlas/web/rest/DiscoveryREST.java 61f98475 
> 
> 
> Diff: https://reviews.apache.org/r/58163/diff/1/
> 
> 
> Testing
> -------
> 
> All UTs and ITs passed:
> 
> mvn clean install
> 
> 
> Thanks,
> 
> Sarath Subramanian
> 
>

Reply via email to