Service - Product Manager: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
(Created page with "= Overview = Each product is handled by a Service - Product (handlers) service. The Product Manager service handles shared orchestration of the Product Handler services....")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
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>
Line 25: Line 25:
<syntaxhighlight lang="JavaScript">
<syntaxhighlight lang="JavaScript">
{
{
configKey: "ProductService"
configKey: "ProductHandlerService"
configTag: xxx // productServiceNameTag, eg: "ProductStandard", this is what is saved in each catalog record
configTag: xxx // productHandlerServiceNameTag, eg: "ProductStandard", this is what is saved in each catalog record
configValue: {
configValue: {
serviceName: xxx // eg: "ProductStandard", this is the actual deployed service name}
serviceName: xxx // eg: "ProductStandard", this is the actual deployed service name}
Line 32: Line 32:
}
}
</syntaxhighlight>
</syntaxhighlight>
== ProductRecord ==
Records which Handler manages each product
<syntaxhighlight lang="JavaScript">
{
productId
productHandlerServiceNameTag
}
</syntaxhighlight>
* partition key: productId
* sort key: (none)


= Working documents =
= Working documents =

Latest revision as of 12:38, 4 February 2022

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}
	}
}

ProductRecord

Records which Handler manages each product

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

Working documents

Product Manager