Service - Variant Standard: Difference between revisions
Jump to navigation
Jump to search
(→Nodes) |
No edit summary |
||
Line 15: | Line 15: | ||
<syntaxhighlight lang="JavaScript"> | <syntaxhighlight lang="JavaScript"> | ||
{ | { | ||
configTag: " | configTag: "VariantHandlerServiceNameTag" | ||
configKey: " | configKey: "VariantHandlerServiceNameTag" | ||
configValue: xxx // this own services ServiceNameTag, eg "VariantStandard" | configValue: xxx // this own services ServiceNameTag, eg "VariantStandard" | ||
} | } | ||
Line 54: | Line 54: | ||
variantId: { | variantId: { | ||
identifier: true, //(random uuid) | identifier: true, //(random uuid) | ||
}, | |||
VariantHandlerServiceNameTag: { | |||
idempotent: true, | |||
}, | }, | ||
}, | }, |
Revision as of 11:57, 4 July 2021
Overview
Handler service for the standard variant type.
Repository
https://bitbucket.org/izara-market-products/izara-market-products-variant-standard/src/master/
DynamoDB tables
Standard Config Table Per Service
Configuration tags
{
configTag: "VariantHandlerServiceNameTag"
configKey: "VariantHandlerServiceNameTag"
configValue: xxx // this own services ServiceNameTag, eg "VariantStandard"
}
{
configTag: "ProductsGraphServiceName"
configKey: "ProductsGraphServiceName"
configValue: xxx // eg: "ProductsGraph"
}
{
configTag: "VariantManagerServiceName"
configKey: "VariantManagerServiceName"
configValue: xxx // eg: "ProductManager"
}
Graph database
Service - Products Graph
Nodes
{
nodeLabel: "variant",
schema: {
identifier: true,
restrictProperties: true,
restrictRelationships: true,
properties: {
variantId: {
identifier: true, //(random uuid)
},
VariantHandlerServiceNameTag: {
idempotent: true,
},
},
}
}