Revision 61775
Added by Konstantina Galouni over 2 years ago
GlobalVars.java | ||
---|---|---|
8 | 8 |
public class GlobalVars { |
9 | 9 |
public static Date date = new Date(); |
10 | 10 |
private Date buildDate; |
11 |
private String version; |
|
11 | 12 |
|
12 | 13 |
public String getBuildDate() { |
13 | 14 |
if(buildDate == null) { |
... | ... | |
19 | 20 |
public void setBuildDate(Date buildDate) { |
20 | 21 |
this.buildDate = buildDate; |
21 | 22 |
} |
23 |
|
|
24 |
public String getVersion() { |
|
25 |
return version; |
|
26 |
} |
|
27 |
|
|
28 |
public void setVersion(String version) { |
|
29 |
this.version = version; |
|
30 |
} |
|
22 | 31 |
} |
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).