Remove "policies" keyword from test resources

Depends-On: I25e0d048222b6b7b1f3ffb3a9cf5029b7e6bcf45
Change-Id: I1bd4c15f0990f5d2d879855770763e8b19d2561d
This commit is contained in:
Renat Akhmerov 2015-04-17 17:04:32 +06:00
parent c0fe5c63ad
commit 3a4c1ff8f3
3 changed files with 8 additions and 5 deletions

View File

@ -3,9 +3,11 @@ version: '2.0'
name: wb name: wb
tags: [tag] tags: [tag]
workflows: workflows:
wf1: wf1:
type: direct type: direct
tasks: tasks:
hello: hello:
action: std.echo output="Hello" action: std.echo output="Hello"

View File

@ -10,7 +10,6 @@ wf:
action: std.echo output="Hello" action: std.echo output="Hello"
publish: publish:
result: <% $.hello %> result: <% $.hello %>
policies:
wait-after: 1 wait-after: 1
on-success: on-success:
- task2 - task2

View File

@ -3,10 +3,10 @@ version: '2.0'
wf: wf:
type: direct type: direct
tasks: tasks:
hello: hello:
action: std.echo output="Hello" action: std.echo output="Hello"
policies:
wait-before: 5 wait-before: 5
publish: publish:
result: <% $.hello %> result: <% $.hello %>
@ -16,11 +16,13 @@ wf1:
tags: [tag] tags: [tag]
input: input:
- farewell - farewell
tasks: tasks:
addressee: addressee:
action: std.echo output="John" action: std.echo output="John"
publish: publish:
name: <% $.addressee %> name: <% $.addressee %>
goodbye: goodbye:
action: std.echo output="<% $.farewell %>, <% $.name %>" action: std.echo output="<% $.farewell %>, <% $.name %>"
requires: [addressee] requires: [addressee]