atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sarath Subramanian <sar...@apache.org>
Subject Review Request 61247: [ATLAS-1984]: Use AtlasRelatedObjectId to refer to relationship attributes during entity create/update
Date Mon, 31 Jul 2017 03:36:06 GMT

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

Review request for atlas, David Radley and Madhan Neethiraj.


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


Repository: atlas


Description
-------

AtlasObjectId is used to refer to entity attributes referring to another entity.
hive_table.columns => List<AtlasObjectId>
hive_table.db => AtlasObjectId
Change this to use AtlasRelatedObjectId with the following structure:
class AtlasRelatedObjectId
{ String relationshipGuid; String displayText; AtlasStruct relationshipAttributes; }


Diffs
-----

  intg/src/main/java/org/apache/atlas/model/instance/AtlasRelationship.java 41883713 
  intg/src/main/java/org/apache/atlas/type/AtlasStructType.java 277d0fa2 
  intg/src/main/java/org/apache/atlas/type/AtlasTypeUtil.java 3f395419 
  repository/src/main/java/org/apache/atlas/repository/graph/GraphHelper.java c47a89e6 
  repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphMapper.java
b8fd70e5 


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


Testing
-------

Tested using POSTMAN REST client

mvn clean package - In Progress


Thanks,

Sarath Subramanian


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