Service - Product Standard: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 36: | Line 36: | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== LogicalResults == | |||
Stores results for any requests to perform logical searches on product data | |||
<syntaxhighlight lang="JavaScript"> | |||
{ | |||
resultId: xxx // eg: filterMainId for a single logical element | |||
dataId: xxx // one prodictId | |||
} | |||
</syntaxhighlight> | |||
* partition key: resultId | |||
* sort key: dataId | |||
= Graph database = | = Graph database = |
Revision as of 12:45, 4 July 2021
Overview
Handler service for the standard product type.
Repository
https://bitbucket.org/izara-market-products/izara-market-products-product-standard/src/master/
DynamoDB tables
Standard Config Table Per Service
Configuration tags
{
configTag: "ProductHandlerServiceNameTag"
configKey: "ProductHandlerServiceNameTag"
configValue: xxx // this own services ServiceNameTag, eg "ProductStandard"
}
{
configTag: "ProductsGraphServiceName"
configKey: "ProductsGraphServiceName"
configValue: xxx // eg: "ProductsGraph"
}
{
configTag: "ProductManagerServiceName"
configKey: "ProductManagerServiceName"
configValue: xxx // eg: "ProductManager"
}
LogicalResults
Stores results for any requests to perform logical searches on product data
{
resultId: xxx // eg: filterMainId for a single logical element
dataId: xxx // one prodictId
}
- partition key: resultId
- sort key: dataId
Graph database
Service - Products Graph
Nodes
{
nodeLabel: "product",
schema: {
identifier: true,
restrictProperties: true,
restrictRelationships: true,
properties: {
productId: {
identifier: true, //(random uuid)
},
productHandlerServiceNameTag: {
idempotent: true,
},
},
}
}