Revision 61776
Added by Konstantina Galouni over 2 years ago
MonitorServiceCheckDeployController.java | ||
---|---|---|
66 | 66 |
if(globalVars.getBuildDate() != null) { |
67 | 67 |
response.put("Date of build", globalVars.getBuildDate()); |
68 | 68 |
} |
69 |
if(globalVars.getVersion() != null) { |
|
70 |
response.put("Version", globalVars.getVersion()); |
|
71 |
} |
|
69 | 72 |
|
70 | 73 |
return response; |
71 | 74 |
} |
Also available in: Unified diff
[Trunk | Monitor Service]:
1. pom.xml: Updated version of "uoa-admin-tools-library" from 1.0.1 to 1.0.2, "uoa-authorization-library" from 1.0.0 to 2.0.1, "uoa-notification-service" from 1.0.0 to 1.0.2.
2. GlobalVars.java: Added field "version" (version of project in pom).
3. MonitorServiceCheckDeployController.java: Expose globalBars.version in /health_check/advanced.
4. monitorservice.properties: Added monitorservice.globalVars.version=
version
(initialized by pom version).