e003849ecf
Refactored engine to run as a standalone process. The engine is modified to use the RPC client/server design pattern from oslo.messaging. A new launch option is included to run the engine separately. The API server communicates with the engine via the RPC client. A pecan hook is used to pass a common client instance with appropriate transport configuration to the API. Change-Id: I9ca757aedad764fd38645a5b858800d69808bb95 Implements: blueprint mistral-engine-standalone-process
22 lines
390 B
YAML
22 lines
390 B
YAML
Namespaces:
|
|
MyRest:
|
|
actions:
|
|
my-action:
|
|
class: std.http
|
|
base-parameters:
|
|
url: http://localhost:8989/v1/workbooks
|
|
method: GET
|
|
output:
|
|
|
|
Workflow:
|
|
tasks:
|
|
my_task:
|
|
action: MyRest.my-action
|
|
|
|
# events:
|
|
# my_event:
|
|
# type: periodic
|
|
# tasks: my_task
|
|
# parameters:
|
|
# cron-pattern: "* * * * *"
|