public class FlowConfigsV2Resource extends com.linkedin.restli.server.resources.ComplexKeyResourceTemplate<FlowId,FlowStatusId,FlowConfig>
| Modifier and Type | Field and Description |
|---|---|
static String |
FLOW_CONFIG_GENERATOR_INJECT_NAME |
static FlowConfigsResourceHandler |
global_flowConfigsResourceHandler |
| Constructor and Description |
|---|
FlowConfigsV2Resource() |
| Modifier and Type | Method and Description |
|---|---|
com.linkedin.restli.server.CreateResponse |
create(FlowConfig flowConfig)
Create a flow configuration that the service will forward to execution instances for execution
|
com.linkedin.restli.server.UpdateResponse |
delete(com.linkedin.restli.common.ComplexResourceKey<FlowId,FlowStatusId> key)
Delete a configured flow.
|
FlowConfig |
get(com.linkedin.restli.common.ComplexResourceKey<FlowId,FlowStatusId> key)
Retrieve the flow configuration with the given key
|
com.linkedin.restli.server.UpdateResponse |
update(com.linkedin.restli.common.ComplexResourceKey<FlowId,FlowStatusId> key,
FlowConfig flowConfig)
Update the flow configuration with the specified key.
|
batchCreate, batchDelete, batchGet, batchUpdate, batchUpdate, getAll, updategetContext, setContextpublic static final String FLOW_CONFIG_GENERATOR_INJECT_NAME
public static FlowConfigsResourceHandler global_flowConfigsResourceHandler
public FlowConfig get(com.linkedin.restli.common.ComplexResourceKey<FlowId,FlowStatusId> key)
get in interface com.linkedin.restli.server.resources.CollectionResource<com.linkedin.restli.common.ComplexResourceKey<FlowId,FlowStatusId>,FlowConfig>get in class com.linkedin.restli.server.resources.ComplexKeyResourceTemplate<FlowId,FlowStatusId,FlowConfig>key - flow config id key containing group name and flow nameFlowConfig with flow configurationpublic com.linkedin.restli.server.CreateResponse create(FlowConfig flowConfig)
create in interface com.linkedin.restli.server.resources.CollectionResource<com.linkedin.restli.common.ComplexResourceKey<FlowId,FlowStatusId>,FlowConfig>create in class com.linkedin.restli.server.resources.ComplexKeyResourceTemplate<FlowId,FlowStatusId,FlowConfig>flowConfig - flow configurationCreateResponsepublic com.linkedin.restli.server.UpdateResponse update(com.linkedin.restli.common.ComplexResourceKey<FlowId,FlowStatusId> key, FlowConfig flowConfig)
update in interface com.linkedin.restli.server.resources.CollectionResource<com.linkedin.restli.common.ComplexResourceKey<FlowId,FlowStatusId>,FlowConfig>update in class com.linkedin.restli.server.resources.ComplexKeyResourceTemplate<FlowId,FlowStatusId,FlowConfig>key - composite key containing group name and flow name that identifies the flow to updateflowConfig - new flow configurationUpdateResponsepublic com.linkedin.restli.server.UpdateResponse delete(com.linkedin.restli.common.ComplexResourceKey<FlowId,FlowStatusId> key)
delete in interface com.linkedin.restli.server.resources.CollectionResource<com.linkedin.restli.common.ComplexResourceKey<FlowId,FlowStatusId>,FlowConfig>delete in class com.linkedin.restli.server.resources.ComplexKeyResourceTemplate<FlowId,FlowStatusId,FlowConfig>key - composite key containing flow group and flow name that identifies the flow to remove from the flow catalogUpdateResponse