Commit Graph

41 Commits

Author SHA1 Message Date
Jan Jakes
b6ba15c6c3 Introduce step validation args, similarly to step run args
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
Jan Jakes
a2948efc46 Rename namespace with defs for 3rd-party integrations to "Integration"
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
David Remer
18c4257f1f Drop hasValues method
[MAILPOET-4673]
2022-10-12 10:24:58 +02:00
David Remer
05a052ec08 Remove extra line break
[MAILPOET-4673]
2022-10-12 10:24:58 +02:00
David Remer
52dcba8493 Introduce WorkflowStatistics entity
[MAILPOET-4673]
2022-10-12 10:24:58 +02:00
Jan Jakes
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
Jan Jakes
02aaba1ded Pass full step map to automation workflow so it can be validated
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
Jan Jakes
3c651c940b Add convenience by-class getter for payloads (& use it)
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
Jan Jakes
a35e925479 Add convenience by-class getter for subjects
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
Jan Jakes
68b5bab9cc Introduce step run args to simplify step run arguments
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
Jan Jakes
c28d8ad79c Introduce subject entry to carry subject & payload data
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
Jan Jakes
757f1dc01a Use subject data type for workflow runs, remove subject loading from storage
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
Jan Jakes
c30244b30f Introduce subject data type for storage
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
Jan Jakes
e3668a8187 Add constant for root step type
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
David Remer
1591700e71 Return created workflow with ID when using create-from-template endpoint
[MAILPOET-4533]
2022-09-15 08:08:07 +02:00
John Oleksowicz
7c3d3fbf12 Only allow storing scalar data
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
c828b7245d Remove redundant step args from log
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
d0f8d0f2bb Use native type hint
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
4687a8c515 Rename created_at to started_at
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
bf0f8a4dc5 Don't allow setting data that couldn't be retrieved
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
f126bdb2b9 Only allow a single error per log
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
3356bb855d Remove optional and unused user facing error message
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
8cbbe5aa6e Use Throwable instead of \Exception
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
2c2f15a562 Use completedAt timestamp for success and failures
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
6f8edfaec4 Make workflow run logs immutable
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
cdeea173b9 Add logging of workflow steps
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
Jan Jakes
1677cc2842 Save and load workflows in the new format, update API
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
Jan Jakes
fadbcaca5b Fix workflow run getter and from array construction
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
Jan Jakes
c601aaa3eb Autofix issues detected by CodeSniffer
[MAILPOET-4617]
2022-09-06 17:38:01 +02:00
David Remer
9a74dec86a Add trash status to Workflow
[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
David Remer
34d94edd3e Add author to Workflow
[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
David Remer
5bd994c01c Add activatedAt to workflow
[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
David Remer
baa4d369af Introduce template storage and rebuild create form template endpoint
[MAILPOET-4538]
2022-08-23 14:03:24 +02:00
David Remer
1140ee3129 Add WorkflowTemplate entity
[MAILPOET-4538]
2022-08-23 14:03:24 +02:00
David Remer
24849afb7a Make name a property of Step.args instead of Step
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
David Remer
d4bc448ac6 Add name property to Step
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
David Remer
7a0a6413d5 Update updatedAt when values are changed
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
David Remer
457d361ee9 Introduce Workflow::equals() and move decision to update a record to storage
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
David Remer
02489a61a6 Add version_id to WorkflowRun
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
David Remer
456417a467 Add version_id to Workflows
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
Jan Jakes
4aa323b612 Extract data-carrying classes to dedicated namespace
We need a separation of "Step" as an interface vs. "Step" as a serializable data structure.

[MAILPOET-4515]
2022-08-08 13:23:57 +02:00