Service - Product Manager: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
No edit summary
 
Line 33: Line 33:
</syntaxhighlight>
</syntaxhighlight>


== Products ==
== ProductRecord ==


Records which Handler manages each product
Records which Handler manages each product

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