Service - Sell Offer Manager: Difference between revisions
Jump to navigation
Jump to search
Line 45: | Line 45: | ||
toType | toType | ||
status: // "processing"|"complete" | status: // "processing"|"complete" | ||
requests: [..] // array of request objects waiting a reply when this request is complete | requests: [..] // array of request objects waiting a reply when this request is complete | ||
} | } |
Revision as of 13:48, 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
fromResultTable
toType
status: // "processing"|"complete"
requests: [..] // array of request objects waiting a reply when this request is complete
}
- partition key: translateIdsRequestId
- sort key: {none}