Repository: atlas
Updated Branches:
  refs/heads/branch-1.0 1d87b6dad -> cb7823110


ATLAS-2726: updated migration-import to add __name property to classification 
edges

Signed-off-by: Madhan Neethiraj <[email protected]>
(cherry picked from commit 69ea3348670e4f1710dc3661fa24ba072ac272ba)


Project: http://git-wip-us.apache.org/repos/asf/atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/cb782311
Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/cb782311
Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/cb782311

Branch: refs/heads/branch-1.0
Commit: cb7823110175a5531263a60600edaa7246cb8946
Parents: 1d87b6d
Author: Ashutosh Mestry <[email protected]>
Authored: Tue May 29 20:51:47 2018 -0700
Committer: Madhan Neethiraj <[email protected]>
Committed: Tue May 29 23:17:41 2018 -0700

----------------------------------------------------------------------
 .../repository/graphdb/janus/migration/ElementProcessors.java      | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/atlas/blob/cb782311/graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/migration/ElementProcessors.java
----------------------------------------------------------------------
diff --git 
a/graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/migration/ElementProcessors.java
 
b/graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/migration/ElementProcessors.java
index 3d6b744..4017aaa 100644
--- 
a/graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/migration/ElementProcessors.java
+++ 
b/graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/migration/ElementProcessors.java
@@ -34,6 +34,7 @@ import java.util.UUID;
 
 import static 
org.apache.atlas.repository.Constants.ATTRIBUTE_INDEX_PROPERTY_KEY;
 import static org.apache.atlas.repository.Constants.ATTRIBUTE_KEY_PROPERTY_KEY;
+import static 
org.apache.atlas.repository.Constants.CLASSIFICATION_EDGE_NAME_PROPERTY_KEY;
 import static org.apache.atlas.repository.Constants.CLASSIFICATION_ENTITY_GUID;
 import static 
org.apache.atlas.repository.Constants.CLASSIFICATION_VERTEX_PROPAGATE_KEY;
 import static org.apache.atlas.repository.Constants.ENTITY_TYPE_PROPERTY_KEY;
@@ -312,6 +313,7 @@ public class ElementProcessors {
                 if (StringUtils.isNotEmpty(inTypeName)) {
                     if (inTypeName.equals(label)) {
                         props.put(ENTITY_TYPE_PROPERTY_KEY, inTypeName);
+                        props.put(CLASSIFICATION_EDGE_NAME_PROPERTY_KEY, 
inTypeName);
 
                         addEntityGuidToTrait(in, out);
 

Reply via email to