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
42d801f7
Commit
42d801f7
authored
6 years ago
by
apoorvnaik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-2815 #2: Missing txn annotation and relationship attribute mapping
Change-Id: If22ef9eda4576b52661501245f862eacc607a3ed Signed-off-by:
apoorvnaik
<
apoorvnaik@apache.org
>
parent
e8a77780
master
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
AtlasEntityStoreV2.java
...e/atlas/repository/store/graph/v2/AtlasEntityStoreV2.java
+4
-0
EntityGraphRetriever.java
...atlas/repository/store/graph/v2/EntityGraphRetriever.java
+2
-0
No files found.
repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasEntityStoreV2.java
View file @
42d801f7
...
...
@@ -105,6 +105,7 @@ public class AtlasEntityStoreV2 implements AtlasEntityStore {
}
@Override
@GraphTransaction
public
AtlasEntityWithExtInfo
getById
(
final
String
guid
,
final
boolean
isMinExtInfo
)
throws
AtlasBaseException
{
if
(
LOG
.
isDebugEnabled
())
{
LOG
.
debug
(
"==> getById({}, {})"
,
guid
,
isMinExtInfo
);
...
...
@@ -126,6 +127,7 @@ public class AtlasEntityStoreV2 implements AtlasEntityStore {
}
@Override
@GraphTransaction
public
AtlasEntityHeader
getHeaderById
(
final
String
guid
)
throws
AtlasBaseException
{
if
(
LOG
.
isDebugEnabled
())
{
LOG
.
debug
(
"==> getHeaderById({})"
,
guid
);
...
...
@@ -147,6 +149,7 @@ public class AtlasEntityStoreV2 implements AtlasEntityStore {
}
@Override
@GraphTransaction
public
AtlasEntitiesWithExtInfo
getByIds
(
List
<
String
>
guids
)
throws
AtlasBaseException
{
return
getByIds
(
guids
,
false
);
}
...
...
@@ -170,6 +173,7 @@ public class AtlasEntityStoreV2 implements AtlasEntityStore {
}
@Override
@GraphTransaction
public
AtlasEntityWithExtInfo
getByUniqueAttributes
(
AtlasEntityType
entityType
,
Map
<
String
,
Object
>
uniqAttributes
)
throws
AtlasBaseException
{
return
getByUniqueAttributes
(
entityType
,
uniqAttributes
,
false
);
...
...
This diff is collapsed.
Click to expand it.
repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphRetriever.java
View file @
42d801f7
...
...
@@ -381,6 +381,8 @@ public final class EntityGraphRetriever {
mapAttributes
(
entityVertex
,
entity
,
entityExtInfo
,
isMinExtInfo
);
mapRelationshipAttributes
(
entityVertex
,
entity
);
mapClassifications
(
entityVertex
,
entity
);
}
...
...
This diff is collapsed.
Click to expand it.
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