Service - Sell Offer Manager: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
Line 42: Line 42:
fromType
fromType
fromResultId
fromResultId
fromResultTable
toType
toType
status: // "processing"|"complete"
status: // "processing"|"complete"

Revision as of 13:42, 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"
	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}

Working documents

Sell Offer Manager