Jan Jakes
370f4ee3ae
Add step type, step key, and updated timestamp to run logs
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
Jan Jakes
dd881d8b33
Extract logging logic to a service, make logs mutable
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
Jan Jakes
43c396220b
Move all of step handler args checks to top-level handler, improve readability
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
Jan Jakes
9cd871c32e
Remove unused step runner interface
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
Jan Jakes
e5550ffead
Add the possibility to schedule another run of the same step (progress)
...
[MAILPOET-5569]
2023-09-20 02:36:40 -07:00
Jan Jakes
5f088d2c35
Add step run number to step run args
...
[MAILPOET-5569]
2023-09-20 02:36:40 -07:00
Jan Jakes
e3da509f70
Move automation completion to step scheduler
...
[MAILPOET-5569]
2023-09-20 02:36:40 -07:00
Jan Jakes
b7ef250511
Refactor next step scheduling to a StepScheduler service
...
[MAILPOET-5569]
2023-09-20 02:36:40 -07:00
David Remer
8d5e9bd951
Get all subjectEntries into the StepArgs, not just the required ones
...
[MAILPOET-4934]
2023-05-15 08:19:19 +02:00
David Remer
b5a846327a
Remove SubjectTransformerHandler from StepHandler
...
All subjects are created and persisted during AutomationRun creation. Therefore, the required
subject must exist when searching for it in the StepHandler. This commit reverses the last
changes and updates the test.
[MAILPOET-4935]
2023-03-30 12:21:25 +02:00
David Remer
5328213d85
Introduce subject transformation
...
[MAILPOET-4935]
2023-03-30 12:21:25 +02:00
Jan Jakes
9063dc3079
Remove duplicities in naming
...
[MAILPOET-4793]
2022-11-14 12:14:35 +02:00
Jan Jakes
9d55d3f134
Use "automation" instead of "workflow"
...
[MAILPOET-4793]
2022-11-14 12:14:35 +02:00
Jan Jakes
c6d3573652
Save next step ID to workflow runs
...
[MAILPOET-4787]
2022-11-08 22:55:57 +02:00
Jan Jakes
af1e09f46f
Remove "inactive" status for now, use "draft" instead
...
[MAILPOET-4757]
2022-11-07 11:17:36 +02:00
David Remer
916080fa5a
Reset step runners to not interfer with other tests
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
c10f80457d
Use new getCountForWorkflow for performance
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
2c57251bae
Revert e8cfb2565
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
b74890137a
Set a deactivating Workflow to inactive once all runs are completed
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
7aa1a5f4ba
Enable setStatus to handle multiple WorkflowRuns at the same time
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
2620ef0b57
Do not handle workflow runs when workflow status is not active/deactivating
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
11384bbf6a
Fix bug where the type of $step was Data\Step instead of Integration\Step
...
[MAILPOET-4530]
2022-10-19 13:34:45 +02:00
Jan Jakes
7425c73d9e
Add error messages to action validation, use step validation 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
Jan Jakes
c9c98b403c
Fix possible undefined index access
...
[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
460cbd9e12
Construct and pass subject entries to step runners
...
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
John Oleksowicz
c828b7245d
Remove redundant step args from log
...
[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
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
57cf547a8a
Only expose log in post-step hook
...
The log has step ID and workflow run ID in case an integration needs to
retrieve them.
[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
ea9a410e70
Simplify condition
...
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
Jan Jakes
6d91251d6c
Update workflow execution control to the new format
...
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
David Remer
0d1b51c7ba
Query a workflow in a specific version in the StepHandler
...
The StepHandler must run a specific version of a workflow. Therefore, we need to
query this specific Workflow.
[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
Jan Jakes
fbd27afedf
Move step runner interface to the control namespace
...
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
Jan Jakes
ca308321fd
Rename step runner to handler (free the name to step runner interface)
...
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00