deb-mistral/mistral/tests/integration/contrib/demo.yaml
Sergey Murashov 6aff5394dc Add integration tests
Change-Id: I0873da3f0ddc73722f3d8506fde463da9d39cea9
2014-01-24 12:20:53 +04:00

58 lines
1.1 KiB
YAML

Services:
MyRest:
type: REST_API
parameters:
baseUrl: http://localhost:8988
actions:
task1:
parameters:
url: /tasks/task1
method: GET
task-parameters:
task2:
parameters:
url: /tasks/task2
method: GET
task-parameters:
task3:
parameters:
url: /tasks/task3
method: GET
task-parameters:
task4:
parameters:
url: /tasks/task4
method: GET
task-parameters:
Workflow:
tasks:
task1:
action: MyRest:task1
parameters:
task2:
dependsOn: [task1]
action: MyRest:task2
parameters:
task3:
dependsOn: [task1]
action: MyRest:task3
parameters:
task4:
dependsOn: [task2, task3]
action: MyRest:task4
parameters:
events:
task4:
type: periodic
tasks: task4
parameters:
cron-pattern: "*/1 * * * *"