Best Pictures For Instagram Stories

Story Writing Worksheet

musical notes drawing at getdrawings free download

:
Social Media Services Post
[Fix Fast Cash BSN Credit Card] Adding test with fixed collection (Product Sale Template)
* [Fix What Is Blog Post Writing] Adding test with fixed collection Signed-off-by: Francisco Javier Tirado Sarti <ftirados@ibm.com> * [Fix Formal Insta Story Template] Update example after schema fix Signed-off-by: Francisco Javier Tirado Sarti <ftirados@ibm.com> --------- Signed-off-by: Francisco Javier Tirado Sarti <ftirados@ibm.com>
1 parent Contact Page Sample commit e71ed38

Musical notes drawing at getdrawings free download 5 files changed Picture For Blog Post Paper

Lines changed: 32 additions & 6 deletions

Hair Oil Business Cards Story Writing Worksheet

fluent/spec/src/main/java/io/serverlessworkflow/fluent/spec/ForEachTaskBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
*/
1616
package io.serverlessworkflow.fluent.spec;
1717

18+
import io.serverlessworkflow.api.types.ForIn;
1819
import io.serverlessworkflow.api.types.ForTask;
1920
import io.serverlessworkflow.api.types.ForTaskConfiguration;
20-
import io.serverlessworkflow.api.types.In;
2121
import io.serverlessworkflow.api.types.TaskItem;
2222
import io.serverlessworkflow.fluent.spec.spi.ForEachTaskFluent;
2323
import java.util.List;
@@ -50,7 +50,7 @@ public ForEachTaskBuilder<T> each(String each) {
5050
}
5151

5252
public ForEachTaskBuilder<T> in(String in) {
53-
this.forTaskConfiguration.setIn(new In().withForInExpression(in));
53+
this.forTaskConfiguration.setIn(new ForIn().withForInExpression(in));
5454
return this;
5555
}
5656

impl/core/src/main/java/io/serverlessworkflow/impl/executors/ForExecutor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
*/
1616
package io.serverlessworkflow.impl.executors;
1717

18+
import io.serverlessworkflow.api.types.ForIn;
1819
import io.serverlessworkflow.api.types.ForTask;
19-
import io.serverlessworkflow.api.types.In;
2020
import io.serverlessworkflow.impl.TaskContext;
2121
import io.serverlessworkflow.impl.WorkflowContext;
2222
import io.serverlessworkflow.impl.WorkflowDefinition;
@@ -51,7 +51,7 @@ protected Optional<WorkflowPredicate> buildWhileFilter() {
5151
}
5252

5353
protected WorkflowValueResolver<Collection<?>> buildCollectionFilter() {
54-
In in = task.getFor().getIn();
54+
ForIn in = task.getFor().getIn();
5555
return application
5656
.expressionFactory()
5757
.resolveCollection(

impl/test/src/test/java/io/serverlessworkflow/impl/test/WorkflowDefinitionTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ private static Stream<Arguments> provideParameters() {
8080
Map.of("input", Arrays.asList(1, 2, 3)),
8181
o -> assertThat(o).isEqualTo(6),
8282
c -> assertThat(c).isEqualTo(Map.of("incr", Arrays.asList(2, 3, 4)))),
83+
args(
84+
"workflows-samples/for-sum-fixed.yaml",
85+
Map.of(),
86+
o -> assertThat(o).isEqualTo(6),
87+
c -> assertThat(c).isEqualTo(Map.of("incr", Arrays.asList(2, 3, 4)))),
8388
args(
8489
"workflows-samples/switch-then-loop.yaml",
8590
Map.of("count", 1),
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
document:
2+
dsl: '1.0.0-alpha5'
3+
namespace: test
4+
name: for-sum-fixed-example
5+
version: '0.1.0'
6+
do:
7+
- sumAll:
8+
for:
9+
each: number
10+
in:
11+
- 1
12+
- 2
13+
- 3
14+
do:
15+
- accumulate:
16+
set:
17+
counter: ${.counter+$number}
18+
export:
19+
as: if .incr==null then {incr:[$number+1]} else .incr+=[$number+1] end
20+
output:
21+
as: .counter
22+

types/src/main/resources/schema/workflow.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -711,9 +711,8 @@ $defs:
711711
description: A runtime expression used to get the collection to enumerate.
712712
- type: array
713713
title: ForInInlineArray
714-
description: An inline array of objects to enumerate.
714+
description: An inline array to enumerate.
715715
items:
716-
type: object
717716
description: An item in the inline collection.
718717
at:
719718
type: string

Agile Product Road Map Example Story Writing Worksheet

Comments
 (0)