Service - Product Manager: Difference between revisions
Jump to navigation
Jump to search
Line 32: | Line 32: | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== Products == | |||
Records which Handler manages each product | |||
<syntaxhighlight lang="JavaScript"> | |||
{ | |||
productId | |||
productHandlerServiceNameTag | |||
} | |||
</syntaxhighlight> | |||
* partition key: productId | |||
* sort key: (none) | |||
= Working documents = | = Working documents = |
Revision as of 13:59, 5 July 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: "ProductsGraphServiceName"
configTag: "ProductsGraphServiceName"
configValue: xxx // eg: "ProductsGraph"
}
{
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)