title | issue |
---|---|
Improvement flow builder for BE |
NEXT-16555 |
- Changed namespace of
FlowActionDefinition
,FlowActionCollector
andFlowActionCollectorResponse
classes toShopware\Core\Content\Flow\Api
. - Changed namespace of
FlowIndexer
,FlowIndexingMessage
andFlowPayloadUpdater
classes toShopware\Core\Content\Flow\Indexing
. - Changed
SequenceTreeBuilder
class name toFlowBuilder
and moved toShopware\Core\Content\Flow\Dispatching
. - Changed namespace of
FlowDispatcher
,FlowExecutor
,FlowState
,FlowLoader
andAbstractFlowLoader
classes toShopware\Core\Content\Flow\Dispatching
. - Changed namespace of
AddCustomerTagAction
,AddOrderTagAction
,CallWebhookAction
,FlowAction
,FlowActionDefinition
,GenerateDocumentAction
,RemoveCustomerTagAction
,RemoveOrderTagAction
,SendMailAction
,SetOrderStateAction
,StopFlowAction
and `` classes toShopware\Core\Content\Flow\Dispatching\Action
. - Changed namespace of
Sequence
class toShopware\Core\Content\Flow\Dispatching\Struct
. - Changed
SequenceTree
class name toFlow
and moved toShopware\Core\Content\Flow\Dispatching\Struct
. - Removed
SequenceTreeCollection
class fromShopware\Core\Content\Flow\SequenceTree
. - Added
invalid
property toFlowEntity
andFlowDefinition
atShopware\Core\Content\Flow
. - Added
IfSequence
andActionSequence
classes atShopware\Core\Content\Flow\Dispatching\Struct
. - Added
ExecuteSequenceException
class atShopware\Core\Content\Flow\Exception
. - Changed flow actions api route from
/api/_info/actions.json
to/api/_info/flow-actions.json
. - Added
FlowEventAware
interface atShopware\Core\Framework\Event
.
- Added
aware
property toBusinessEventDefinition
class atShopware\Core\Framework\Event
. - Deprecated
mailAware
,logAware
andsalesChannelAware
properties inBusinessEventDefinition
class atShopware\Core\Framework\Event
.
- Before:
[
{
"name": "checkout.customer.before.login",
"class": "Shopware\\Core\\Checkout\\Customer\\Event\\CustomerBeforeLoginEvent",
"mailAware": false,
"logAware": false,
"data": {
"email": {
"type": "string"
}
},
"salesChannelAware": true,
"extensions": []
}
]
- After:
[
{
"name": "checkout.customer.before.login",
"class": "Shopware\\Core\\Checkout\\Customer\\Event\\CustomerBeforeLoginEvent",
"data": {
"email": {
"type": "string"
}
},
"aware": [
"Shopware\\Core\\Framework\\Event\\SalesChannelAware"
],
"extensions": []
}
]