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
6aaab221
Commit
6aaab221
authored
Mar 22, 2019
by
nikhilbonte
Committed by
Madhan Neethiraj
Mar 22, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-3075: Add tag propagation details in relationship notification message
Signed-off-by:
Madhan Neethiraj
<
madhan@apache.org
>
parent
d5f7cc46
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
AtlasRelationshipHeader.java
.../apache/atlas/model/instance/AtlasRelationshipHeader.java
+8
-9
No files found.
intg/src/main/java/org/apache/atlas/model/instance/AtlasRelationshipHeader.java
View file @
6aaab221
...
@@ -61,20 +61,15 @@ public class AtlasRelationshipHeader extends AtlasStruct implements Serializable
...
@@ -61,20 +61,15 @@ public class AtlasRelationshipHeader extends AtlasStruct implements Serializable
setGuid
(
guid
);
setGuid
(
guid
);
}
}
public
AtlasRelationshipHeader
(
String
typeName
,
String
guid
,
AtlasObjectId
end1
,
AtlasObjectId
end2
)
{
public
AtlasRelationshipHeader
(
String
typeName
,
String
guid
,
AtlasObjectId
end1
,
AtlasObjectId
end2
,
AtlasRelationshipDef
.
PropagateTags
propagateTags
)
{
this
(
typeName
,
guid
);
this
(
typeName
,
guid
);
this
.
propagateTags
=
propagateTags
;
setEnd1
(
end1
);
setEnd1
(
end1
);
setEnd2
(
end2
);
setEnd2
(
end2
);
}
}
public
AtlasRelationshipHeader
(
String
typeName
,
String
guid
,
AtlasObjectId
end1
,
AtlasObjectId
end2
,
AtlasEntity
.
Status
status
)
{
this
(
typeName
,
guid
,
end1
,
end2
);
setStatus
(
status
);
}
public
AtlasRelationshipHeader
(
AtlasRelationship
relationship
)
{
public
AtlasRelationshipHeader
(
AtlasRelationship
relationship
)
{
this
(
relationship
.
getTypeName
(),
relationship
.
getGuid
(),
relationship
.
getEnd1
(),
relationship
.
getEnd2
());
this
(
relationship
.
getTypeName
(),
relationship
.
getGuid
(),
relationship
.
getEnd1
(),
relationship
.
getEnd2
()
,
relationship
.
getPropagateTags
()
);
setLabel
(
relationship
.
getLabel
());
setLabel
(
relationship
.
getLabel
());
switch
(
relationship
.
getStatus
())
{
switch
(
relationship
.
getStatus
())
{
...
@@ -105,6 +100,10 @@ public class AtlasRelationshipHeader extends AtlasStruct implements Serializable
...
@@ -105,6 +100,10 @@ public class AtlasRelationshipHeader extends AtlasStruct implements Serializable
this
.
status
=
status
;
this
.
status
=
status
;
}
}
public
AtlasRelationshipDef
.
PropagateTags
getPropagateTags
()
{
return
propagateTags
;
}
public
void
setPropagateTags
(
AtlasRelationshipDef
.
PropagateTags
propagateTags
)
{
public
void
setPropagateTags
(
AtlasRelationshipDef
.
PropagateTags
propagateTags
)
{
this
.
propagateTags
=
propagateTags
;
this
.
propagateTags
=
propagateTags
;
}
}
...
@@ -167,7 +166,7 @@ public class AtlasRelationshipHeader extends AtlasStruct implements Serializable
...
@@ -167,7 +166,7 @@ public class AtlasRelationshipHeader extends AtlasStruct implements Serializable
@Override
@Override
public
int
hashCode
()
{
public
int
hashCode
()
{
return
Objects
.
hash
(
super
.
hashCode
(),
guid
,
status
);
return
Objects
.
hash
(
super
.
hashCode
(),
guid
,
status
,
label
,
propagateTags
,
end1
,
end2
);
}
}
@Override
@Override
...
...
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