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
f31a7c63
Commit
f31a7c63
authored
6 years ago
by
nixonrodrigues
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-2857:Fix Atlas release version in /api/atlas/version API.
parent
96f2c299
master
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
AdminResource.java
...in/java/org/apache/atlas/web/resources/AdminResource.java
+1
-0
atlas-buildinfo.properties
webapp/src/main/resources/atlas-buildinfo.properties
+1
-1
No files found.
webapp/src/main/java/org/apache/atlas/web/resources/AdminResource.java
View file @
f31a7c63
...
...
@@ -187,6 +187,7 @@ public class AdminResource {
Map
<
String
,
Object
>
response
=
new
HashMap
<
String
,
Object
>();
response
.
put
(
"Version"
,
configProperties
.
getString
(
"build.version"
,
"UNKNOWN"
));
response
.
put
(
"Revision"
,
configProperties
.
getString
(
"vc.revision"
,
"UNKNOWN"
));
response
.
put
(
"Name"
,
configProperties
.
getString
(
"project.name"
,
"apache-atlas"
));
response
.
put
(
"Description"
,
configProperties
.
getString
(
"project.description"
,
"Metadata Management and Data Governance Platform over Hadoop"
));
...
...
This diff is collapsed.
Click to expand it.
webapp/src/main/resources/atlas-buildinfo.properties
View file @
f31a7c63
...
...
@@ -22,7 +22,7 @@ project.description=${pom.parent.description}
build.user
=
${user.name}
build.epoch
=
${timestamp}
project.version
=
${pom.version}
build.version
=
${pom.version}
-r${buildNumber}
build.version
=
${pom.version}
vc.revision
=
${buildNumber}
vc.source.url
=
${scm.connection}
######################
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