Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dataplatform
atlas
Commits
ab7c8cd5
Commit
ab7c8cd5
authored
Jun 26, 2019
by
anshulpathak
Committed by
Nixon Rodrigues
Jun 26, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-3307 :- UT fix to add Tag propagation property which is not configured for all tags #59
parent
f82e42f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ClassificationPropagationTest.java
...ository/tagpropagation/ClassificationPropagationTest.java
+3
-3
No files found.
repository/src/test/java/org/apache/atlas/repository/tagpropagation/ClassificationPropagationTest.java
View file @
ab7c8cd5
...
...
@@ -282,9 +282,9 @@ public class ClassificationPropagationTest {
AtlasEntity
employees_union_table
=
getEntity
(
EMPLOYEES_UNION_TABLE
);
AtlasClassification
tag1
=
new
AtlasClassification
(
"tag1"
);
tag1
.
setPropagate
(
true
);
tag1
.
setEntityGuid
(
hdfs_employees
.
getGuid
());
AtlasClassification
tag2
=
new
AtlasClassification
(
"tag2"
);
tag
1
.
setPropagate
(
true
);
tag2
.
setEntityGuid
(
employees2_table
.
getGuid
());
AtlasClassification
tag3
=
new
AtlasClassification
(
"tag3"
);
tag
1
.
setPropagate
(
true
);
tag3
.
setEntityGuid
(
employees_union_process
.
getGuid
());
AtlasClassification
tag4
=
new
AtlasClassification
(
"tag4"
);
tag
1
.
setPropagate
(
true
);
tag4
.
setEntityGuid
(
employees_union_table
.
getGuid
());
AtlasClassification
tag2
=
new
AtlasClassification
(
"tag2"
);
tag
2
.
setPropagate
(
true
);
tag2
.
setEntityGuid
(
employees2_table
.
getGuid
());
AtlasClassification
tag3
=
new
AtlasClassification
(
"tag3"
);
tag
3
.
setPropagate
(
true
);
tag3
.
setEntityGuid
(
employees_union_process
.
getGuid
());
AtlasClassification
tag4
=
new
AtlasClassification
(
"tag4"
);
tag
4
.
setPropagate
(
true
);
tag4
.
setEntityGuid
(
employees_union_table
.
getGuid
());
// add tag1 to hdfs_employees, tag2 to employees2, tag3 to process3, tag4 to employees_union
addClassification
(
hdfs_employees
,
tag1
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment