Service - Product Manager: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(One intermediate revision by the same user not shown) | |||
Line 17: | Line 17: | ||
<syntaxhighlight lang="JavaScript"> | <syntaxhighlight lang="JavaScript"> | ||
{ | { | ||
configKey: " | configKey: "ProductGraphServiceName" | ||
configTag: " | configTag: "ProductGraphServiceName" | ||
configValue: xxx // eg: " | configValue: xxx // eg: "ProductGraph" | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 33: | Line 33: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== | == 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)