Class TestkitClusterMessagingResource

java.lang.Object
com.atlassian.crowd.plugins.testkit.rest.TestkitClusterMessagingResource

@Singleton @Named @Path("/messaging") @Produces("application/json") @Consumes("application/json") public class TestkitClusterMessagingResource extends Object
  • Constructor Details

  • Method Details

    • viewStoredMessages

      @Path("/view") @GET public javax.ws.rs.core.Response viewStoredMessages() throws IOException
      Throws:
      IOException
    • viewAllRawMessages

      @Path("/raw") @GET public javax.ws.rs.core.Response viewAllRawMessages() throws IOException
      Throws:
      IOException
    • reset

      @Path("/reset") @POST public javax.ws.rs.core.Response reset()
    • publish

      @Path("/publish/{channel}/{message}") @POST public javax.ws.rs.core.Response publish(@PathParam("channel") String channel, @PathParam("message") String message)
    • listenOnChannel

      @Path("/listen/{channel}") @POST public javax.ws.rs.core.Response listenOnChannel(@PathParam("channel") String channel)
    • changeSchedulerState

      @Path("/state/{value}") @POST public javax.ws.rs.core.Response changeSchedulerState(@PathParam("value") String state)
    • reapOldMessages

      @Path("/reap/{offset}") @POST public javax.ws.rs.core.Response reapOldMessages(@PathParam("offset") long offset)