@Path(value="/system/pipelines/connections") @Consumes(value="application/json") @Produces(value="application/json") public class PipelineConnectionsResource extends RestResource implements PluginRestResource
configuration, userService| Constructor and Description |
|---|
PipelineConnectionsResource(PipelineStreamConnectionsService connectionsService,
PipelineService pipelineService,
StreamService streamService) |
| Modifier and Type | Method and Description |
|---|---|
PipelineConnections |
connectPipelines(@NotNull PipelineConnections connection) |
Set<PipelineConnections> |
connectStreams(@NotNull PipelineReverseConnections connection) |
Set<PipelineConnections> |
getAll() |
PipelineConnections |
getPipelinesForStream(String streamId) |
checkAnyPermission, checkPermission, checkPermission, getCurrentUser, getIndexSet, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint@Inject public PipelineConnectionsResource(PipelineStreamConnectionsService connectionsService, PipelineService pipelineService, StreamService streamService)
@POST @Path(value="/to_stream") public PipelineConnections connectPipelines(@NotNull @NotNull PipelineConnections connection) throws NotFoundException
NotFoundException@POST @Path(value="/to_pipeline") public Set<PipelineConnections> connectStreams(@NotNull @NotNull PipelineReverseConnections connection) throws NotFoundException
NotFoundException@GET
@Path(value="/{streamId}")
public PipelineConnections getPipelinesForStream(@PathParam(value="streamId")
String streamId)
throws NotFoundException
NotFoundException@GET public Set<PipelineConnections> getAll() throws NotFoundException
NotFoundExceptionCopyright © 2012–2021 Graylog, Inc.. All rights reserved.