ProviderRest extends AbstractSLARest { @POST @Consumes(MediaType.APPLICATION_XML) @Produces(MediaType.APPLICATION_XML) public Response createProvider(@Context HttpHeaders hh,@Context UriInfo uriInfo, String payload) throws IOException, JAXBException { logger.debug("StartOf createProvider - REQUEST Insert /providers"); ProviderHelper providerRestService = getProviderHelper(); String location; try { location = providerRestService.createProvider( hh, uriInfo.getAbsolutePath().toString(), payload); } catch (HelperException e) { logger.info("createProvider exception", e); return buildResponse(e); } logger.debug("EndOf createProvider"); return buildResponsePOST( HttpStatus.CREATED, printMessage(HttpStatus.CREATED, "The createProvider has been stored successfully in the SLA Repository Database"), location); } ProviderRest(); @GET @Produces(MediaType.APPLICATION_XML) Response getProviders(); @GET @Path("{uuid}") @Produces(MediaType.APPLICATION_XML) Response getProviderByUuid(@PathParam("uuid") String provider_uuid); @POST @Consumes(MediaType.APPLICATION_XML) @Produces(MediaType.APPLICATION_XML) Response createProvider(@Context HttpHeaders hh,@Context UriInfo uriInfo, String payload);  }
@Test public void createProvider() { assert(true); }