EnforcementJobRest extends AbstractSLARest { @POST @Consumes(MediaType.APPLICATION_XML) @Produces(MediaType.APPLICATION_XML) public Response createEnforcementJob(@Context HttpHeaders hh, String payload){ logger.debug("StartOf createEnforcementJob - REQUEST Insert /enforcement"); EnforcementJobHelper enforcementJobService = getHelper(); String location; try { location = enforcementJobService.createEnforcementJob( hh, _uriInfo.getAbsolutePath().toString(), payload); } catch (HelperException e) { logger.info("createEnforcementJob exception", e); return buildResponse(e); } logger.debug("EndOf createEnforcementJob"); return buildResponsePOST( HttpStatus.CREATED, printMessage( HttpStatus.CREATED, "The enforcementJob has been stored successfully in the SLA Repository Database"), location); } EnforcementJobRest(); @GET @Produces(MediaType.APPLICATION_XML) Response getEnforcements(); @GET @Path("{agreementId}") @Produces(MediaType.APPLICATION_XML) Response getEnforcementJobByAgreementId(@PathParam("agreementId") String agreementId); @PUT @Path("{agreementId}/start") @Consumes(MediaType.APPLICATION_XML) @Produces(MediaType.APPLICATION_XML) Response startEnforcementJob(@PathParam("agreementId") String agreementId); @PUT @Path("{agreementId}/stop") @Consumes(MediaType.APPLICATION_XML) @Produces(MediaType.APPLICATION_XML) Response stopEnforcementJob(
            @PathParam("agreementId") String agreementId); @POST @Consumes(MediaType.APPLICATION_XML) @Produces(MediaType.APPLICATION_XML) Response createEnforcementJob(@Context HttpHeaders hh, String payload);  }
@Test public void createEnforcementJob() { assert (true); }