Repository: atlas
Updated Branches:
  refs/heads/master 6c49542b8 -> d55405955


ATLAS-2567: Updated DSL Search result to include classification list in 
AtlasSearchResult.

Signed-off-by: Ashutosh Mestry <ames...@hortonworks.com>


Project: http://git-wip-us.apache.org/repos/asf/atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/d5540595
Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/d5540595
Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/d5540595

Branch: refs/heads/master
Commit: d55405955d58417c263d964238c79c981d7fa9fe
Parents: 6c49542
Author: Ashutosh Mestry <ames...@hortonworks.com>
Authored: Tue Apr 17 10:03:51 2018 -0700
Committer: Ashutosh Mestry <ames...@hortonworks.com>
Committed: Wed Apr 18 13:36:58 2018 -0700

----------------------------------------------------------------------
 .../java/org/apache/atlas/discovery/EntityDiscoveryService.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/atlas/blob/d5540595/repository/src/main/java/org/apache/atlas/discovery/EntityDiscoveryService.java
----------------------------------------------------------------------
diff --git 
a/repository/src/main/java/org/apache/atlas/discovery/EntityDiscoveryService.java
 
b/repository/src/main/java/org/apache/atlas/discovery/EntityDiscoveryService.java
index 411d9b4..e443d9d 100644
--- 
a/repository/src/main/java/org/apache/atlas/discovery/EntityDiscoveryService.java
+++ 
b/repository/src/main/java/org/apache/atlas/discovery/EntityDiscoveryService.java
@@ -136,7 +136,7 @@ public class EntityDiscoveryService implements 
AtlasDiscoveryService {
             if (firstElement instanceof AtlasVertex) {
                 for (Object element : queryResult) {
                     if (element instanceof AtlasVertex) {
-                        
ret.addEntity(entityRetriever.toAtlasEntityHeader((AtlasVertex)element));
+                        
ret.addEntity(entityRetriever.toAtlasEntityHeaderWithClassifications((AtlasVertex)element));
                     } else {
                         LOG.warn("searchUsingDslQuery({}): expected an 
AtlasVertex; found unexpected entry in result {}", dslQuery, element);
                     }

Reply via email to