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
614415e0
Commit
614415e0
authored
6 years ago
by
Ashutosh Mestry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-2814: Fixed merge error.
parent
1eb99543
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
5 deletions
+16
-5
001-base_model_replication_attributes.json
...-Area0/patches/001-base_model_replication_attributes.json
+8
-2
AtlasServerService.java
...rg/apache/atlas/repository/impexp/AtlasServerService.java
+8
-3
No files found.
addons/models/0000-Area0/patches/001-base_model_replication_attributes.json
View file @
614415e0
...
...
@@ -13,7 +13,10 @@
"cardinality"
:
"SET"
,
"isIndexable"
:
false
,
"isOptional"
:
true
,
"isUnique"
:
false
"isUnique"
:
false
,
"options"
:
{
"isSoftReference"
:
"true"
}
},
{
"name"
:
"replicatedTo"
,
...
...
@@ -21,7 +24,10 @@
"cardinality"
:
"SET"
,
"isIndexable"
:
false
,
"isOptional"
:
true
,
"isUnique"
:
false
"isUnique"
:
false
,
"options"
:
{
"isSoftReference"
:
"true"
}
}
]
}
...
...
This diff is collapsed.
Click to expand it.
repository/src/main/java/org/apache/atlas/repository/impexp/AtlasServerService.java
View file @
614415e0
...
...
@@ -88,8 +88,13 @@ public class AtlasServerService {
}
@GraphTransaction
public
AtlasServer
save
(
AtlasServer
server
)
throws
AtlasBaseException
{
return
dataAccess
.
save
(
server
);
public
AtlasServer
save
(
AtlasServer
server
)
{
try
{
return
dataAccess
.
save
(
server
);
}
catch
(
AtlasBaseException
ex
)
{
return
server
;
}
}
@GraphTransaction
...
...
@@ -100,7 +105,7 @@ public class AtlasServerService {
AtlasObjectId
objectId
=
getObjectId
(
server
);
for
(
String
guid
:
entityGuids
)
{
AtlasEntity
.
AtlasEntityWithExtInfo
entityWithExtInfo
=
entityStore
.
getById
(
guid
);
AtlasEntity
.
AtlasEntityWithExtInfo
entityWithExtInfo
=
entityStore
.
getById
(
guid
,
false
);
updateAttribute
(
entityWithExtInfo
,
attributeName
,
objectId
);
}
}
...
...
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