8 December 2021
Messages/SubscriptionsGraphQL
AWS EventBridge is now supported as a Subscription destination. Configuring EventBridge as a destination allows your serverless event bus to receive message from commercetools Composable Commerce and forward them to a variety of targets based on forwarding rules. Please find more information in our tutorial.
- [API] Added EventBridge destination.
- [GraphQL API] Added the following types to the GraphQL schema:
EventBridgeDestination
,EventBridgeDestinationInput
,SetCartLineItemSupplyChannel
. - [GraphQL API] Changed the
SearchIndexingConfiguration
type:- Added the
categoriesDisabledForInternalTest
field to theSearchIndexingConfiguration
type.
- Added the
- [GraphQL API] Changed the
CartUpdateAction
type:- Input field
setLineItemSupplyChannel
was added toCartUpdateAction
type
- Input field
- [GraphQL API] Changed the
MyCartUpdateAction
type:- Input field
setLineItemSupplyChannel
was added toMyCartUpdateAction
type
- Input field
- [GraphQL API] Changed the
SetStagedOrderReturnInfo
type:SetStagedOrderReturnInfo.items
default value changed from none to[]
- [GraphQL API] Changed the
DestinationInput
type:- Input field
EventBridge
was added toDestinationInput
type
- Input field
- [GraphQL API] Changed the
ProductProjection
type:- Removed the
key
field from theProductProjection
type.
- Removed the
- [GraphQL API] Changed the
SetOrderReturnInfo
type:SetOrderReturnInfo.items
default value changed from none to[]
The following changes were introduced in terms of GraphQL SDL:
extend type SearchIndexingConfiguration {
categoriesDisabledForInternalTest: Boolean
}
extend input CartUpdateAction {
setLineItemSupplyChannel: SetCartLineItemSupplyChannel
}
extend input MyCartUpdateAction {
setLineItemSupplyChannel: SetCartLineItemSupplyChannel
}
extend input DestinationInput {
EventBridge: EventBridgeDestinationInput
}
type EventBridgeDestination implements Destination {
source: String!
region: String!
accountId: String!
type: String!
}
input EventBridgeDestinationInput {
region: String!
accountId: String!
}
input SetCartLineItemSupplyChannel {
lineItemId: String!
supplyChannel: ResourceIdentifierInput
}