You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by ni...@apache.org on 2020/01/21 09:03:39 UTC

[atlas] branch branch-2.0 updated: ATLAS-3589 Unable to search typeDefs of category 'Namespace'

This is an automated email from the ASF dual-hosted git repository.

nixon pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/atlas.git


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new 248058b  ATLAS-3589 Unable to search typeDefs of category 'Namespace'
248058b is described below

commit 248058bba440aab7e008f85f729713fc8c917e43
Author: Mandar Ambawane <ma...@freestoneinfotech.com>
AuthorDate: Thu Jan 16 17:18:07 2020 +0530

    ATLAS-3589 Unable to search typeDefs of category 'Namespace'
    
    Signed-off-by: nixonrodrigues <ni...@apache.org>
---
 .../src/main/java/org/apache/atlas/repository/util/FilterUtil.java      | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/repository/src/main/java/org/apache/atlas/repository/util/FilterUtil.java b/repository/src/main/java/org/apache/atlas/repository/util/FilterUtil.java
index 5b16dda..df27b0c 100644
--- a/repository/src/main/java/org/apache/atlas/repository/util/FilterUtil.java
+++ b/repository/src/main/java/org/apache/atlas/repository/util/FilterUtil.java
@@ -154,6 +154,8 @@ public class FilterUtil {
                             return atlasType.getTypeCategory() == TypeCategory.ENUM;
                         case "RELATIONSHIP":
                             return atlasType.getTypeCategory() == TypeCategory.RELATIONSHIP;
+                        case "NAMESPACE":
+                            return atlasType.getTypeCategory() == TypeCategory.NAMESPACE;
                         default:
                             // This shouldn't have happened
                             return false;