Service - Product Manager: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
Line 17: Line 17:
<syntaxhighlight lang="JavaScript">
<syntaxhighlight lang="JavaScript">
{
{
configKey: "ProductsGraphServiceName"
configKey: "ProductGraphServiceName"
configTag: "ProductsGraphServiceName"
configTag: "ProductGraphServiceName"
configValue: xxx // eg: "ProductsGraph"
configValue: xxx // eg: "ProductGraph"
}
}
</syntaxhighlight>
</syntaxhighlight>

Revision as of 10:23, 28 August 2021

Overview

Each product is handled by a Service - Product (handlers) service.

The Product Manager service handles shared orchestration of the Product Handler services.

Repository

https://bitbucket.org/izara-market-products/izara-market-products-product-manager/src/master/

DynamoDB tables

Standard Config Table Per Service

Configuration tags

{
	configKey: "ProductGraphServiceName"
	configTag: "ProductGraphServiceName"
	configValue: xxx // eg: "ProductGraph"
}
{
	configKey: "ProductHandlerService"
	configTag: xxx // productHandlerServiceNameTag, eg: "ProductStandard", this is what is saved in each catalog record
	configValue: {
		serviceName: xxx // eg: "ProductStandard", this is the actual deployed service name}
	}
}

Products

Records which Handler manages each product

{
	productId
	productHandlerServiceNameTag
}
  • partition key: productId
  • sort key: (none)

Working documents

Product Manager