public Response getModuleChecksums() {
List<String> types = new ArrayList<String>();
types.add("server");
types.add("common");
RunnerChecksums checksums = RunnerChecksums.generate(types,
uriInfo.getBaseUriBuilder());
/* Write the XML encoding to a writer and return it */
StringWriter sw = new StringWriter();
try {
checksums.encode(sw);
ResponseBuilder rb = Response.ok(sw.toString());
return rb.build();
} catch (javax.xml.bind.JAXBException excp) {
/* Log an error and return an error response */
logger.log(Level.WARNING, "[ASSET] Unable to encode checksums", excp);