@Test public void upcheck() { assertThat(resource.upCheck()).isEqualTo("I'm up!"); }
@GET @Produces(MediaType.TEXT_PLAIN) @ApiResponses({@ApiResponse(code = 200, message = UPCHECK_RESPONSE)}) @ApiOperation(value = "Check if local P2PRestApp Node is up") public String upCheck() { LOGGER.info("GET upcheck"); return UPCHECK_RESPONSE; }
UpCheckResource { @GET @Produces(MediaType.TEXT_PLAIN) @ApiResponses({@ApiResponse(code = 200, message = UPCHECK_RESPONSE)}) @ApiOperation(value = "Check if local P2PRestApp Node is up") public String upCheck() { LOGGER.info("GET upcheck"); return UPCHECK_RESPONSE; } }
UpCheckResource { @GET @Produces(MediaType.TEXT_PLAIN) @ApiResponses({@ApiResponse(code = 200, message = UPCHECK_RESPONSE)}) @ApiOperation(value = "Check if local P2PRestApp Node is up") public String upCheck() { LOGGER.info("GET upcheck"); return UPCHECK_RESPONSE; }  }
UpCheckResource { @GET @Produces(MediaType.TEXT_PLAIN) @ApiResponses({@ApiResponse(code = 200, message = UPCHECK_RESPONSE)}) @ApiOperation(value = "Check if local P2PRestApp Node is up") public String upCheck() { LOGGER.info("GET upcheck"); return UPCHECK_RESPONSE; }  @GET @Produces(MediaType.TEXT_PLAIN) @ApiResponses({@ApiResponse(code = 200, message = UPCHECK_RESPONSE)}) @ApiOperation(value = "Check if local P2PRestApp Node is up") String upCheck(); }
UpCheckResource { @GET @Produces(MediaType.TEXT_PLAIN) @ApiResponses({@ApiResponse(code = 200, message = UPCHECK_RESPONSE)}) @ApiOperation(value = "Check if local P2PRestApp Node is up") public String upCheck() { LOGGER.info("GET upcheck"); return UPCHECK_RESPONSE; }  @GET @Produces(MediaType.TEXT_PLAIN) @ApiResponses({@ApiResponse(code = 200, message = UPCHECK_RESPONSE)}) @ApiOperation(value = "Check if local P2PRestApp Node is up") String upCheck();  }