Commit 3eada58
authored
Add build method to FuncSetTaskBuilder and integration test (#1170)
- Add build() method override to FuncSetTaskBuilder to properly return SetTask
- Add test dependencies (serverlessworkflow-impl-model and serverlessworkflow-impl-jackson) to pom.xml
- Add integration test 'set_with_map' to verify set task functionality with WorkflowApplication
- Remove unused import (auth) from FuncDSLTest
This change enables proper building of set tasks in the functional fluent API and validates
the functionality through an end-to-end test that creates a workflow, executes it, and
verifies the output.
Fixes #1155
Signed-off-by: Matheus Cruz <matheuscruz.dev@gmail.com>1 parent 99f8e6c commit 3eada58
File tree
3 files changed
+36
-1
lines changed- experimental/fluent/func
- src
- main/java/io/serverlessworkflow/fluent/func
- test/java/io/serverlessworkflow/fluent/func
3 files changed
+36
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
48 | 60 | | |
49 | 61 | | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
42 | 47 | | |
Lines changed: 19 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
| 44 | + | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
432 | 433 | | |
433 | 434 | | |
434 | 435 | | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
435 | 453 | | |
0 commit comments