atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sarath Subramanian <sar...@apache.org>
Subject Re: Review Request 68743: ATLAS-2875: Implement clear attribute value transformer for Atlas Entity Transformer
Date Thu, 20 Sep 2018 18:21:06 GMT

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

(Updated Sept. 20, 2018, 11:21 a.m.)


Review request for atlas, Apoorv Naik, Ashutosh Mestry, Madhan Neethiraj, and Nixon Rodrigues.


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


Repository: atlas


Description
-------

curl -X POST -u admin:admin -H "Content-Type: multipart/form-data" -F request=@importTransformer.json
-F data=@/root/exportData.zip http://localhost:21000/api/atlas/admin/import


importTransformer1.json
-----------------------
{
  "options": {
    "transformers": "["{\"conditions\":null, \"action\":{\"__entity.replicatedTo\":\"CLEAR:\",\"__entity.replicatedFrom\":\"CLEAR:\"}}"]",
  }
}


importTransformer2.json
-----------------------
{
  "options": {
    "transformers": "["{\"conditions\":null, \"action\":{\"replicatedTo\":\"CLEAR:\",\"replicatedFrom\":\"CLEAR:\"}}"]",
  }
}


Diffs (updated)
-----

  intg/src/main/java/org/apache/atlas/entitytransform/Action.java ca5f3a8c8 
  intg/src/main/java/org/apache/atlas/entitytransform/BaseEntityHandler.java c1f286933 
  intg/src/main/java/org/apache/atlas/entitytransform/Condition.java d44f57509 
  intg/src/test/java/org/apache/atlas/entitytransform/TransformationHandlerTest.java 69fba1eaf



Diff: https://reviews.apache.org/r/68743/diff/2/

Changes: https://reviews.apache.org/r/68743/diff/1-2/


Testing
-------

TransformationHandlerTest.testEntityClearAttributesActionWithNoCondition()
TransformationHandlerTest.testEntityClearAttributesActionWithNoTypeNameAndNoCondition()


Thanks,

Sarath Subramanian


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