Commit Graph

29 Commits

Author SHA1 Message Date
John Oleksowicz
e7f766aedf Remove empty _afters
MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
f90e869402 Clean up after automations too
MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
cd0b795ac8 Extract customer creation/cleanup
This also ensures that cleanup always runs after all integration tests

MAILPOET-5145
2023-04-07 12:11:12 -05:00
David Remer
301a10b210 Move TestAction to Stubs
[MAILPOET-4935]
2023-03-30 12:21:25 +02:00
David Remer
c847f69e9d Remove unnecessary brackets
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
dd3b37aba8 Improve names for all meta methods
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
60541209ff Test full validation method in Automation
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
63141bca95 Test the automation comparison method
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
8cfb93a3b6 Add meta data to Automation
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
08c76a46af Fix Squiz.Classes.ClassFileName.NoMatch and related errors
[MAILPOET-4850]
2022-11-28 22:54:13 +03:00
David Remer
7db40b27b5 Fix errors automatically with phpcbf
[MAILPOET-4850]
2022-11-28 22:54:13 +03:00
Jan Jakes
7c5d239267 Fix and unify cleanup in automation tests
[MAILPOET-4788]
2022-11-14 12:35:29 +02:00
Jan Jakes
9d55d3f134 Use "automation" instead of "workflow"
[MAILPOET-4793]
2022-11-14 12:14:35 +02:00
David Remer
098aebfaf9 Add truncate() method to WorkflowRunLogStorage
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
1b70e6d494 Ensure workflows are active
[MAILPOET-4731]
2022-10-25 12:46:07 +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
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
fe3d719a13 Use step run args in existing actions
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
Jan Jakes
00e8c4f3e5 Make steps specify required/provided subject keys
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
John Oleksowicz
7c3d3fbf12 Only allow storing scalar data
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
61504d65c0 Update tests to be compatible with new storage format
[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
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
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
cdeea173b9 Add logging of workflow steps
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00