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

Review request for atlas, Ashutosh Mestry, keval bhatt, Mandar Ambawane, mayank 
jain, Nixon Rodrigues, Pinal Shah, and Sidharth Mishra.


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


Repository: atlas


Description
-------

- updated AtlasStruct.getAttribute() to handle namespace attributes of format 
<namespaceName>.<attributeName>. With this change, basic-search handles 
namespace-attributes just as regular entity attributes are handled
- updated IdentifierHelper to handle namespace attributes of format 
<namespaceName>.<attributeName>, so that namespace attributes can be used in 
DSL searches


Diffs
-----

  intg/src/main/java/org/apache/atlas/type/AtlasClassificationType.java 
1518bbca8 
  intg/src/main/java/org/apache/atlas/type/AtlasEntityType.java 7594153aa 
  intg/src/main/java/org/apache/atlas/type/AtlasStructType.java 6bd3a1181 
  repository/src/main/java/org/apache/atlas/query/IdentifierHelper.java 
801ec029a 
  repository/src/main/java/org/apache/atlas/query/RegistryBasedLookup.java 
2878a74af 
  
repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasEntityStoreV2.java
 f511e2fc3 
  
repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java
 113325d5d 
  
repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphRetriever.java
 55c1cacf4 
  
repository/src/test/java/org/apache/atlas/repository/store/graph/v2/AtlasNamespaceDefStoreV2Test.java
 1d6534e3c 


Diff: https://reviews.apache.org/r/72117/diff/1/


Testing
-------

- created 2 namespaces, testNamespace1 and testNamespace2, having atttributes 
nsAttr1 and nsAttr2 assigned to entity-types hive_table, hbase_table, hdfs_path
- verified that basic-search handles namespace attributes of format 
<namespaceName>.<attributeName> (like testNamespace1.nsAttr1) and returns 
entities having specified value
- verified that DSL-search handles namespace attributes similarly


Thanks,

Madhan Neethiraj

Reply via email to