0884cd0ff0
* Implemented new object model * Implemented spec validation * Old DSL parser was deleted * All code is replaced by new workbook spec * Also tests are fixed * events -> triggers * Unit tests Implements: blueprint mistral-dsl-model Partially implements: blueprint mistral-dsl-validation Partially implements: blueprint mistral-rename-event-to-trigger Change-Id: I782b7983ddc724375229587f467c55ad9341478b
37 lines
763 B
YAML
37 lines
763 B
YAML
Services:
|
|
MyAMQP:
|
|
type: OSLO_RPC
|
|
parameters:
|
|
host: localhost
|
|
port: 5672
|
|
userid: guest
|
|
password: guest
|
|
|
|
actions:
|
|
send-message:
|
|
parameters:
|
|
exchange: myExchange
|
|
type: fanout
|
|
virtual_host: /
|
|
queue_name: myClientQueue
|
|
task-parameters:
|
|
flavor_id:
|
|
optional: false
|
|
image_id:
|
|
optional: false
|
|
|
|
|
|
Workflow:
|
|
tasks:
|
|
send-messages:
|
|
action: MyAMQP:send-message
|
|
parameters:
|
|
routing_key: my_key
|
|
message: MyMessage
|
|
|
|
triggers:
|
|
backup-vm:
|
|
type: periodic
|
|
tasks: send-messages
|
|
parameters:
|
|
cron-pattern: 1 0 * * * |