atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashutosh Mestry <>
Subject Re: Review Request 60857: ATLAS-1950: Import API: Improvement: Specify Supertypes in Import Transforms
Date Fri, 14 Jul 2017 18:00:03 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated July 14, 2017, 6 p.m.)

Review request for atlas, Ayub Pathan and Madhan Neethiraj.


Updates include:
- Updated request with issue id.

Summary (updated)

ATLAS-1950: Import API: Improvement: Specify Supertypes in Import Transforms

Bugs: ATLAS-1950

Repository: atlas


Existing import transforms expects that the user specify each type and attribute name that
needs to be transformed. This may cause large number of transform enumerating individual types
to be specified. Specifying individual transforms may be tedious and perhaps error prone.

This feature improves on that case by allowing user to specify super types. That way the sub
types of that type will automatically get the transform(s) applied.

User can now specify transforms like:

    "options": {
        "transforms": "{ \"Asset\": { \"qualifiedName\": [ \"replace:@cl1:@cl2\" ] } }"

At runtime, the subtypes of this type are enumerated. The attribute and tranform map of the
super type are now associated with all the sub-types.


  repository/src/main/java/org/apache/atlas/repository/impexp/ 92217178

  repository/src/main/java/org/apache/atlas/repository/impexp/ 63e53c50

  repository/src/test/java/org/apache/atlas/repository/impexp/ de8e7ef3



**Unit tests**
Unit test verifying this behavior were added.

**Functional tests**
Regular imports were run.


Ashutosh Mestry

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