Service - Sell Offer Manager: Difference between revisions
Jump to navigation
Jump to search
Line 40: | Line 40: | ||
{ | { | ||
translateIdsRequestId: xxx // fromType + '_' + fromResultId + '_' + toType | translateIdsRequestId: xxx // fromType + '_' + fromResultId + '_' + toType | ||
fromType | |||
fromResultId | |||
toType | |||
status: // "processing"|"complete" | status: // "processing"|"complete" | ||
request_hashes: [..] // string set of hashes of each request object, used for idempotence | request_hashes: [..] // string set of hashes of each request object, used for idempotence |
Revision as of 13:40, 4 July 2021
Overview
Each sell offer is handled by a Service - Sell Offer (handlers) service.
The Sell Offer Manager service handles shared orchestration of the Sell Offer Handler services.
Repository
https://bitbucket.org/izara-market-products/izara-market-products-sell-offer-manager/src/master/
DynamoDB tables
Standard Config Table Per Service
Configuration tags
{
configKey: "ProductsGraphServiceName"
configTag: "ProductsGraphServiceName"
configValue: xxx // eg: "ProductsGraph"
}
{
configKey: "SellOfferService"
configTag: xxx // sellOfferServiceNameTag, eg: "SellOfferStandard", this is what is saved in each catalog record
configValue: {
serviceName: xxx // eg: "SellOfferStandard", this is the actual deployed service name}
}
}
TranslateIdsRequest
Stores a record for any unique translateId request
{
translateIdsRequestId: xxx // fromType + '_' + fromResultId + '_' + toType
fromType
fromResultId
toType
status: // "processing"|"complete"
request_hashes: [..] // string set of hashes of each request object, used for idempotence
requests: [..] // array of request objects waiting a reply when this request is complete
}
- partition key: translateIdsRequestId
- sort key: {none}