title | issue |
---|---|
Update FlowExecutor to dispatch Webhook event |
NEXT-19012 |
- Added string field
url
intoShopware\Core\Framework\App\Aggregate\FlowAction\AppFlowActionDefinition
- Added property
url
intoShopware\Core\Framework\App\Aggregate\FlowAction\AppFlowActionEntity
- Added event
Shopware\Core\Framework\App\Event\AppFlowActionEvent
- Added function
updateAppFlowActionWebhooks
intoShopware\Core\Framework\App\Lifecycle\Persister\WebhookPersister
- Added function
updateWebhooksFromArray
intoShopware\Core\Framework\App\Lifecycle\Persister\WebhookPersister
- Added exception
Shopware\Core\Framework\App\Exception\InvalidAppFlowActionVariableException
- Added class
Shopware\Core\Framework\App\FlowAction\AppFlowActionProvider
- Changed function
updateApp
inShopware\Core\Framework\App\Lifecycle\AppLifecycle
to update webhook when update app - Changed function
getSubscribedEvents
inShopware\Core\Content\Flow\Indexing\FlowIndexer
. - Added property
appFlowActionId
intoShopware\Core\Content\Flow\Dispatching\Struct\ActionSequence
- Added parameter
appFlowActionId
into methodShopware\Core\Content\Flow\Dispatching\Struct\Sequence::createAction()
- Changed method
executeAction
inShopware\Core\Content\Flow\Dispatching\FlowExecutor
to dispatcher correct event. - Changed method
update
inShopware\Core\Content\Flow\Indexing\FlowPayloadUpdater
to addapp_flow_action_id
value to payload of flow.