Class SupportBundleClusterResource

java.lang.Object
org.graylog2.shared.rest.resources.RestResource
org.graylog2.shared.rest.resources.ProxiedResource
org.graylog2.rest.resources.system.debug.bundle.SupportBundleClusterResource

@RequiresAuthentication @Path("/cluster/debug/support") @Produces("application/json") public class SupportBundleClusterResource extends ProxiedResource
  • Constructor Details

    • SupportBundleClusterResource

      @Inject public SupportBundleClusterResource(NodeService nodeService, RemoteInterfaceProvider remoteInterfaceProvider, @Context javax.ws.rs.core.HttpHeaders httpHeaders, @Named("proxiedRequestsExecutorService") ExecutorService executorService)
  • Method Details

    • getClusterManifest

      @GET @Path("/manifest") @RequiresPermissions("supportbundle:read") public Map<String,ProxiedResource.CallResult<SupportBundleNodeManifest>> getClusterManifest()
    • buildBundle

      @POST @Path("/bundle/build") @RequiresPermissions("supportbundle:create") @Timed public void buildBundle(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse)
    • listBundles

      @GET @Path("/bundle/list") @RequiresPermissions("supportbundle:read") public List<BundleFile> listBundles() throws IOException
      Throws:
      IOException
    • download

      @GET @Path("/bundle/download/{filename}") @RequiresPermissions("supportbundle:read") @Produces("application/octet-stream") public javax.ws.rs.core.Response download(@PathParam("filename") String filename) throws IOException
      Throws:
      IOException
    • delete

      @DELETE @Path("/bundle/{filename}") @RequiresPermissions("supportbundle:create") public javax.ws.rs.core.Response delete(@PathParam("filename") String filename) throws IOException
      Throws:
      IOException