@RequestMapping( value = "/build/projectVersion", method = RequestMethod.GET, produces = {MediaType.APPLICATION_JSON_VALUE}) public String getBuildInfoProjectVersion() { return info.getBuild().getProjectVersion(); }
@RequestMapping( value = "/build", method = RequestMethod.GET, produces = {MediaType.APPLICATION_JSON_VALUE}) public BuildInfo getBuildInfo() { return info.getBuild(); }
@RequestMapping( value = "/system/os", method = RequestMethod.GET, produces = {MediaType.APPLICATION_JSON_VALUE}) public String getOsInfo() { return info.getSystem().getOsNameAndVersion(); }
@RequestMapping( value = "/system/packages", method = RequestMethod.GET, produces = {MediaType.APPLICATION_JSON_VALUE}) public String getInstalledPackages() { return info.getSystem().getInstalledPackages(); }
@RequestMapping( value = "/system/java", method = RequestMethod.GET, produces = {MediaType.APPLICATION_JSON_VALUE}) public String getJavaVersion() { return info.getSystem().getJavaSpecificationVersion(); }
@RequestMapping( value = "/system", method = RequestMethod.GET, produces = {MediaType.APPLICATION_JSON_VALUE}) public SystemInfo getSystemInfo() { return info.getSystem(); }