From 3a4c1ff8f30ba01f602e4c9aec2d404fca5e0bc2 Mon Sep 17 00:00:00 2001 From: Renat Akhmerov Date: Fri, 17 Apr 2015 17:04:32 +0600 Subject: [PATCH] Remove "policies" keyword from test resources Depends-On: I25e0d048222b6b7b1f3ffb3a9cf5029b7e6bcf45 Change-Id: I1bd4c15f0990f5d2d879855770763e8b19d2561d --- functionaltests/resources/v2/wb_with_tags_v2.yaml | 4 +++- functionaltests/resources/v2/wf_delay_v2.yaml | 3 +-- functionaltests/resources/v2/wf_v2.yaml | 6 ++++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/functionaltests/resources/v2/wb_with_tags_v2.yaml b/functionaltests/resources/v2/wb_with_tags_v2.yaml index 8f301e48..8cc66a08 100644 --- a/functionaltests/resources/v2/wb_with_tags_v2.yaml +++ b/functionaltests/resources/v2/wb_with_tags_v2.yaml @@ -3,11 +3,13 @@ version: '2.0' name: wb tags: [tag] + workflows: wf1: type: direct + tasks: hello: action: std.echo output="Hello" publish: - result: <% $.hello %> + result: <% $.hello %> diff --git a/functionaltests/resources/v2/wf_delay_v2.yaml b/functionaltests/resources/v2/wf_delay_v2.yaml index 0949a64a..7eb23c0d 100644 --- a/functionaltests/resources/v2/wf_delay_v2.yaml +++ b/functionaltests/resources/v2/wf_delay_v2.yaml @@ -10,8 +10,7 @@ wf: action: std.echo output="Hello" publish: result: <% $.hello %> - policies: - wait-after: 1 + wait-after: 1 on-success: - task2 diff --git a/functionaltests/resources/v2/wf_v2.yaml b/functionaltests/resources/v2/wf_v2.yaml index 91caa632..95d7f3d4 100644 --- a/functionaltests/resources/v2/wf_v2.yaml +++ b/functionaltests/resources/v2/wf_v2.yaml @@ -3,11 +3,11 @@ version: '2.0' wf: type: direct + tasks: hello: action: std.echo output="Hello" - policies: - wait-before: 5 + wait-before: 5 publish: result: <% $.hello %> @@ -16,11 +16,13 @@ wf1: tags: [tag] input: - farewell + tasks: addressee: action: std.echo output="John" publish: name: <% $.addressee %> + goodbye: action: std.echo output="<% $.farewell %>, <% $.name %>" requires: [addressee]