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
c746a050
Commit
c746a050
authored
7 years ago
by
Ashutosh Mestry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-2330: Updated to address unit test failure. Root cause: Change in behavior in AtlasJson.
parent
a7f3e1ad
master
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
ZipSource.java
...in/java/org/apache/atlas/repository/impexp/ZipSource.java
+7
-1
No files found.
repository/src/main/java/org/apache/atlas/repository/impexp/ZipSource.java
View file @
c746a050
...
...
@@ -135,12 +135,18 @@ public class ZipSource implements EntityImportStream {
}
private
<
T
>
T
convertFromJson
(
Class
<
T
>
clazz
,
String
jsonData
)
throws
AtlasBaseException
{
T
t
;
try
{
return
AtlasType
.
fromJson
(
jsonData
,
clazz
);
t
=
AtlasType
.
fromJson
(
jsonData
,
clazz
);
if
(
t
==
null
)
{
throw
new
AtlasBaseException
(
"Error converting file to JSON."
);
}
}
catch
(
Exception
e
)
{
throw
new
AtlasBaseException
(
"Error converting file to JSON."
,
e
);
}
return
t
;
}
private
String
getFromCache
(
String
entryName
)
{
...
...
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