atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Madhan Neethiraj <mad...@apache.org>
Subject Re: Review Request 61088: [ATLAS-1988]: Implement REST API to search for related entities
Date Wed, 26 Jul 2017 07:37:08 GMT

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


Ship it!




Ship It!

- Madhan Neethiraj


On July 25, 2017, 7:51 p.m., Sarath Subramanian wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/61088/
> -----------------------------------------------------------
> 
> (Updated July 25, 2017, 7:51 p.m.)
> 
> 
> Review request for atlas, keval bhatt and Madhan Neethiraj.
> 
> 
> Bugs: ATLAS-1988
>     https://issues.apache.org/jira/browse/ATLAS-1988
> 
> 
> Repository: atlas
> 
> 
> Description
> -------
> 
> Add a new endpoint (v2/search/relationship) in DiscoveryREST to search for related entities.
> 
> Parameters:
> [ guid, attributeName, sortBy, sortOrder limit, offset ]
> 
> Related entities search on hive_db:
> http://localhost:21000/api/atlas/v2/search/relationship?guid=<db_guid>&attributeName=__hive_table.db&sortBy=name&sortOrder=ASCENDING&limit=25&offset=0
> http://localhost:21000/api/atlas/v2/search/relationship?guid=<db_guid>&attributeName=__hive_table.db&sortBy=qualifiedName&sortOrder=ASCENDING&limit=25&offset=0
> 
> Related entities search on hive_table:
> http://localhost:21000/api/atlas/v2/search/relationship?guid=<table_guid>&attributeName=columns&sortBy=name&sortOrder=ASCENDING&limit=25&offset=0
> http://localhost:21000/api/atlas/v2/search/relationship?guid=<table_guid>&attributeName=db&sortBy=name&sortOrder=ASCENDING&limit=25&offset=0
> http://localhost:21000/api/atlas/v2/search/relationship?guid=<table_guid>&attributeName=sd&sortBy=qualifiedName&sortOrder=ASCENDING&limit=25&offset=0
> 
> Related entities search on hive_column:
> http://localhost:21000/api/atlas/v2/search/relationship?guid=<column_guid>&attributeName=table&sortBy=qualifiedName&sortOrder=ASCENDING&limit=25&offset=0
> 
> 
> Diffs
> -----
> 
>   intg/src/main/java/org/apache/atlas/AtlasErrorCode.java d723b2a9 
>   intg/src/main/java/org/apache/atlas/SortOrder.java PRE-CREATION 
>   intg/src/main/java/org/apache/atlas/model/discovery/AtlasSearchResult.java 58274403

>   repository/src/main/java/org/apache/atlas/discovery/AtlasDiscoveryService.java 764b548f

>   repository/src/main/java/org/apache/atlas/discovery/EntityDiscoveryService.java b183c72a

>   repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphRetriever.java
b8e0227c 
>   repository/src/main/java/org/apache/atlas/util/AtlasGremlin2QueryProvider.java 1bf03464

>   repository/src/main/java/org/apache/atlas/util/AtlasGremlinQueryProvider.java 8481a4f6

>   webapp/src/main/java/org/apache/atlas/web/rest/DiscoveryREST.java efab72a3 
>   webapp/src/test/java/org/apache/atlas/notification/NotificationHookConsumerKafkaTest.java
eb37fa82 
> 
> 
> Diff: https://reviews.apache.org/r/61088/diff/5/
> 
> 
> Testing
> -------
> 
> mvn clean package suceeded.
> 
> 
> Thanks,
> 
> Sarath Subramanian
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message