Project

General

Profile

« Previous | Next » 

Revision 61777

[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).

View differences:

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