TemplateRest extends AbstractSLARest { @GET @Produces(MediaType.APPLICATION_XML) public Response getTemplates() { logger.debug("StartOf getTemplates - REQUEST for /templates"); TemplateHelper templateRestService = getTemplateHelper(); String serializedTemplate = null; try { serializedTemplate = templateRestService.getTemplates(); } catch (HelperException e) { logger.info("getTemplates exception:"+e.getMessage()); return buildResponse(e); } logger.debug("EndOf getTemplates"); return buildResponse(200, serializedTemplate); } TemplateRest(); @GET @Produces(MediaType.APPLICATION_XML) Response getTemplates(); @GET @Path("{id}") @Produces(MediaType.APPLICATION_XML) Response getTemplateByUuid(@PathParam("id") String templateId); @DELETE @Path("{uuid}") @Produces(MediaType.APPLICATION_XML) Response deleteTemplate(@PathParam("uuid") String uuid); @POST @Consumes(MediaType.APPLICATION_XML) @Produces(MediaType.APPLICATION_XML) Response createTemplate(@Context HttpHeaders hh,@Context UriInfo uriInfo, String payload); @PUT @Consumes(MediaType.APPLICATION_XML) @Produces(MediaType.APPLICATION_XML) Response updateTemplate(@Context HttpHeaders hh, String payload);  }
@Test public void testGetTemplates() { assert (true); }