Revision 61777
Added by Konstantina Galouni over 2 years ago
AdminToolsCheckDeployController.java | ||
---|---|---|
73 | 73 |
if(globalVars.getBuildDate() != null) { |
74 | 74 |
response.put("Date of build", globalVars.getBuildDate()); |
75 | 75 |
} |
76 |
if(globalVars.getVersion() != null) { |
|
77 |
response.put("Version", globalVars.getVersion()); |
|
78 |
} |
|
76 | 79 |
|
77 | 80 |
return response; |
78 | 81 |
} |
Also available in: Unified diff
[Trunk | Admin Tools Service]:
1. pom.xml:
a. Updated version of "uoa-admin-tools-library" from 1.0.1 to 1.0.2
b. Added <repositories> tag with http://maven.research-infrastructures.eu/nexus/content/repositories/dnet45-releases url for released libraries.
2. GlobalVars.java: Added field "version" (version of project in pom).
3. AdminToolsCheckDeployController.java: Expose globalBars.version in /health_check/advanced.
4. admintools.properties: Added admintool.globalVars.version=
version
(initialized by pom version).