Revision 61775
Added by Konstantina Galouni over 2 years ago
OrcidServiceCheckDeployController.java | ||
---|---|---|
102 | 102 |
if(globalVars.getBuildDate() != null) { |
103 | 103 |
response.put("Date of build", globalVars.getBuildDate()); |
104 | 104 |
} |
105 |
if(globalVars.getVersion() != null) { |
|
106 |
response.put("Version", globalVars.getVersion()); |
|
107 |
} |
|
105 | 108 |
return response; |
106 | 109 |
} |
107 | 110 |
} |
Also available in: Unified diff
[Trunk | Orcid Service]:
1. pom.xml: Updated version of "uoa-authorization-library" from 1.0.0 to 2.0.1.
2. GlobalVars.java: Added field "version" (version of project in pom).
3. OrcidServiceCheckDeployController.java: Expose globalBars.version in /health_check/advanced.
4. orcidservice.properties: Added orcidservice.globalVars.version=
version
(initialized by pom version).