Commit Graph

24 Commits

Author SHA1 Message Date
99879d83f6 Simplify condition for full step validation
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
a82896e794 Collect all step error types instead of terminating on the first one
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
04ca19296b Add rule for step order validation
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
a052cdcceb Allow custom validation for all step types
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
9d8cb02006 Add valid step rule for custom step validation
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
6638707282 Add validation rule identifiers to exceptions and responses
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
9da204489d Collect step args validation errors
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
68c51c0f5c Convert WorkflowStepValidator to node-visitor-based rules
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
881dbfbe08 Fix root step args schema definition
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
f4b3f9bf86 Explicitly handle optional workflow ID and version ID, fix missing ID for new workflows
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
1f37be5ef3 Run full step validation only for active workflows
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
76d2d40198 Add missing exception message
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
c58a5a4308 Add workflow step arg schema validation
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
282c987d4f Require root step by workflow schema
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
e220b70c78 Add workflow validator service with workflow graph validation rules
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
a3ea91adae Add no split rule for workflow validation
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
65927cc281 Add no join rule for workflow validation
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
cafe2ed8a7 Add no cycle rule for workflow validation
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
a3797b976a Add triggers under root rule for workflow validation
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
325418e826 Add no duplicate edges rule for workflow validation
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
11a711e42c Add consisten steps map rule for workflow validation
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
0aa4cd4863 Add no unreachable steps rule for workflow validation
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
e472c00b1c Implerment depth-first pre-order workflow graph walker with plug-in node visitors
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
8590cb1409 Rename automation "Validators" namespace to a more universal "Validation"
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00