def.yaml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. name: test
  2. components:
  3. - type: seq
  4. name: seq-flow
  5. build_params:
  6. components:
  7. - type: println
  8. name: seq-flow-node
  9. run_params:
  10. content: seq-flow-node
  11. - type: println
  12. name: pipeline-node
  13. run_params:
  14. content: pipeline-node
  15. - type: if
  16. name: if-flow
  17. build_params:
  18. condition:
  19. type: seq
  20. name: condition_flow
  21. build_params:
  22. components:
  23. - type: bool
  24. name: bool
  25. run_params:
  26. op: pass
  27. value: true
  28. condition_true:
  29. type: seq
  30. name: true-flow
  31. build_params:
  32. components:
  33. - type: println
  34. name: if-node-true
  35. run_params:
  36. content: if-node-true
  37. condition_false:
  38. type: println
  39. name: if-node-false
  40. run_params:
  41. content: if-node-false
  42. - type: loop
  43. name: loop-flow
  44. build_params:
  45. condition:
  46. type: bool
  47. name: condition-node
  48. run_params:
  49. op: rand
  50. sub:
  51. type: seq
  52. name: sub-flow
  53. build_params:
  54. components:
  55. - type: println
  56. name: loop-sub-node
  57. run_params:
  58. content: loop-sub-node
  59. - type: range
  60. name: range-flow
  61. build_params:
  62. values:
  63. - range first
  64. - range second
  65. sub:
  66. type: println
  67. name: range-sub-node
  68. run_params:
  69. content: range-sub-node
  70. - type: bi
  71. name: bi-flow
  72. build_params:
  73. components:
  74. - type: println
  75. name: bi-flow-node
  76. run_params:
  77. content: bi-flow-node
  78. run_params:
  79. is_bi: true
  80. left_params: left
  81. right_params: right