@Test public final void testGetWorkerFamilyStatus() { get(WORKER_FAMILY_URI + ID_FAMILY_URI) .then().statusCode(Status.NOT_IMPLEMENTED.getStatusCode()); }
@Path("/{id_family}") @GET @Produces(MediaType.APPLICATION_JSON) public Response getWorkerFamilyStatus(@Context HttpHeaders headers, @PathParam("id_family") String idFamily) { final Status status = Status.NOT_IMPLEMENTED; return Response.status(status).entity(getErrorEntity(status)).build(); }
ProcessDistributorResource { @Path("/{id_family}") @GET @Produces(MediaType.APPLICATION_JSON) public Response getWorkerFamilyStatus(@Context HttpHeaders headers, @PathParam("id_family") String idFamily) { final Status status = Status.NOT_IMPLEMENTED; return Response.status(status).entity(getErrorEntity(status)).build(); } }
ProcessDistributorResource { @Path("/{id_family}") @GET @Produces(MediaType.APPLICATION_JSON) public Response getWorkerFamilyStatus(@Context HttpHeaders headers, @PathParam("id_family") String idFamily) { final Status status = Status.NOT_IMPLEMENTED; return Response.status(status).entity(getErrorEntity(status)).build(); } ProcessDistributorResource(IWorkerManager workerManager); }
ProcessDistributorResource { @Path("/{id_family}") @GET @Produces(MediaType.APPLICATION_JSON) public Response getWorkerFamilyStatus(@Context HttpHeaders headers, @PathParam("id_family") String idFamily) { final Status status = Status.NOT_IMPLEMENTED; return Response.status(status).entity(getErrorEntity(status)).build(); } ProcessDistributorResource(IWorkerManager workerManager); @GET @Produces(MediaType.APPLICATION_JSON) Response getWorkerFamilies(@Context HttpHeaders headers); @PUT @Produces(MediaType.APPLICATION_JSON) @Consumes(MediaType.APPLICATION_JSON) Response putWorkerFamilies(@Context HttpHeaders headers, JsonNode query); @Path("/{id_family}") @GET @Produces(MediaType.APPLICATION_JSON) Response getWorkerFamilyStatus(@Context HttpHeaders headers, @PathParam("id_family") String idFamily); @Path("/{id_family}") @POST @Produces(MediaType.APPLICATION_JSON) @Consumes(MediaType.APPLICATION_JSON) Response createWorkerFamily(@Context HttpHeaders headers, @PathParam("id_family") String idFamily,
        JsonNode query); @Path("/{id_family}") @PUT @Produces(MediaType.APPLICATION_JSON) @Consumes(MediaType.APPLICATION_JSON) Response updateWorkerFamily(@Context HttpHeaders headers, @PathParam("id_family") String idFamily,
        JsonNode query); @Path("/{id_family}") @DELETE @Produces(MediaType.APPLICATION_JSON) @Consumes(MediaType.APPLICATION_JSON) Response deleteWorkerFamily(@Context HttpHeaders headers, @PathParam("id_family") String idFamily,
        JsonNode query); @Path("/{id_family}/workers") @GET @Produces(MediaType.APPLICATION_JSON) Response getFamilyWorkersList(@Context HttpHeaders headers, @PathParam("id_family") String idFamily); @Path("/{id_family}/workers") @DELETE @Produces(MediaType.APPLICATION_JSON) @Consumes(MediaType.APPLICATION_JSON) Response deleteFamilyWorkers(@Context HttpHeaders headers, @PathParam("id_family") String idFamily,
        JsonNode query); @Path("/{id_family}/workers/{id_worker}") @GET @Produces(MediaType.APPLICATION_JSON) Response getWorkerStatus(@Context HttpHeaders headers, @PathParam("id_family") String idFamily,
        @PathParam("id_worker") String idWorker); @Path("/{id_family}/workers/{id_worker}") @POST @Produces(MediaType.APPLICATION_JSON) @Consumes(MediaType.APPLICATION_JSON) Response registerWorker(@Context HttpHeaders headers, @PathParam("id_family") String idFamily,
        @PathParam("id_worker") String idWorker, WorkerBean workerInformation); @Path("/{id_family}/workers/{id_worker}") @PUT @Produces(MediaType.APPLICATION_JSON) @Consumes(MediaType.APPLICATION_JSON) Response updateWorker(@Context HttpHeaders headers, @PathParam("id_family") String idFamily,
        @PathParam("id_worker") String idWorker, JsonNode query); @Path("/{id_family}/workers/{id_worker}") @DELETE @Produces(MediaType.APPLICATION_JSON) Response unregisterWorker(@Context HttpHeaders headers, @PathParam("id_family") String idFamily,
        @PathParam("id_worker") String idWorker); }
ProcessDistributorResource { @Path("/{id_family}") @GET @Produces(MediaType.APPLICATION_JSON) public Response getWorkerFamilyStatus(@Context HttpHeaders headers, @PathParam("id_family") String idFamily) { final Status status = Status.NOT_IMPLEMENTED; return Response.status(status).entity(getErrorEntity(status)).build(); } ProcessDistributorResource(IWorkerManager workerManager); @GET @Produces(MediaType.APPLICATION_JSON) Response getWorkerFamilies(@Context HttpHeaders headers); @PUT @Produces(MediaType.APPLICATION_JSON) @Consumes(MediaType.APPLICATION_JSON) Response putWorkerFamilies(@Context HttpHeaders headers, JsonNode query); @Path("/{id_family}") @GET @Produces(MediaType.APPLICATION_JSON) Response getWorkerFamilyStatus(@Context HttpHeaders headers, @PathParam("id_family") String idFamily); @Path("/{id_family}") @POST @Produces(MediaType.APPLICATION_JSON) @Consumes(MediaType.APPLICATION_JSON) Response createWorkerFamily(@Context HttpHeaders headers, @PathParam("id_family") String idFamily,
        JsonNode query); @Path("/{id_family}") @PUT @Produces(MediaType.APPLICATION_JSON) @Consumes(MediaType.APPLICATION_JSON) Response updateWorkerFamily(@Context HttpHeaders headers, @PathParam("id_family") String idFamily,
        JsonNode query); @Path("/{id_family}") @DELETE @Produces(MediaType.APPLICATION_JSON) @Consumes(MediaType.APPLICATION_JSON) Response deleteWorkerFamily(@Context HttpHeaders headers, @PathParam("id_family") String idFamily,
        JsonNode query); @Path("/{id_family}/workers") @GET @Produces(MediaType.APPLICATION_JSON) Response getFamilyWorkersList(@Context HttpHeaders headers, @PathParam("id_family") String idFamily); @Path("/{id_family}/workers") @DELETE @Produces(MediaType.APPLICATION_JSON) @Consumes(MediaType.APPLICATION_JSON) Response deleteFamilyWorkers(@Context HttpHeaders headers, @PathParam("id_family") String idFamily,
        JsonNode query); @Path("/{id_family}/workers/{id_worker}") @GET @Produces(MediaType.APPLICATION_JSON) Response getWorkerStatus(@Context HttpHeaders headers, @PathParam("id_family") String idFamily,
        @PathParam("id_worker") String idWorker); @Path("/{id_family}/workers/{id_worker}") @POST @Produces(MediaType.APPLICATION_JSON) @Consumes(MediaType.APPLICATION_JSON) Response registerWorker(@Context HttpHeaders headers, @PathParam("id_family") String idFamily,
        @PathParam("id_worker") String idWorker, WorkerBean workerInformation); @Path("/{id_family}/workers/{id_worker}") @PUT @Produces(MediaType.APPLICATION_JSON) @Consumes(MediaType.APPLICATION_JSON) Response updateWorker(@Context HttpHeaders headers, @PathParam("id_family") String idFamily,
        @PathParam("id_worker") String idWorker, JsonNode query); @Path("/{id_family}/workers/{id_worker}") @DELETE @Produces(MediaType.APPLICATION_JSON) Response unregisterWorker(@Context HttpHeaders headers, @PathParam("id_family") String idFamily,
        @PathParam("id_worker") String idWorker);  }