Bases: object
Asynchronous call of RPC method.
Does not block the thread, just send invoking data to the RPC server and immediately returns nothing.
Synchronous call of RPC method.
Blocks the thread and wait for method result.
Bases: mistral.engine.base.Engine
RPC Engine client.
Bases: object
RPC Engine server.
Receives RPC calls to communicate action result to engine.
Parameters: |
|
---|---|
Returns: | Action execution. |
Receives calls over RPC to pause workflows on engine.
Parameters: |
|
---|---|
Returns: | Workflow execution. |
Receives calls over RPC to rerun workflows on engine.
Parameters: |
|
---|---|
Returns: | Workflow execution. |
Receives calls over RPC to resume workflows on engine.
Parameters: |
|
---|---|
Returns: | Workflow execution. |
Receives calls over RPC to rollback workflows on engine.
Parameters: | rpc_ctx – RPC request context. |
---|---|
Returns: | Workflow execution. |
Receives calls over RPC to start actions on engine.
Parameters: |
|
---|---|
Returns: | Action execution. |
Receives calls over RPC to start workflows on engine.
Parameters: |
|
---|---|
Returns: | Workflow execution. |
Receives calls over RPC to stop workflows on engine.
Sets execution state to SUCCESS or ERROR. No more tasks will be scheduled. Running tasks won’t be killed, but their results will be ignored.
Parameters: |
|
---|---|
Returns: | Workflow execution. |
Bases: mistral.engine.base.EventEngine
RPC EventEngine client.
Bases: object
RPC EventEngine server.
Bases: mistral.engine.base.Executor
RPC Executor client.
Sends a request to run action to executor.
Parameters: |
|
---|---|
Returns: | Action result. |
Bases: object
RPC Executor server.
Receives calls over RPC to run action on executor.
Parameters: |
|
---|---|
Returns: | Action result. |