Service - Variant Standard: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
No edit summary
Line 44: Line 44:
=== Nodes ===
=== Nodes ===


==== variant ====
<syntaxhighlight lang="JavaScript">
 
{
Is an origin/home/top-level node, one per variant.
nodeLabel: "variant",
 
schema: {
* NodeIdentifierLabels: variant
identifier: true,
* NodeIdentifierProperties: variantId (random uuid)
restrictProperties: true,
 
restrictRelationships: true,
Properties:
properties: {
 
variantId: {
# ..
identifier: true,
},
},
}
}
</syntaxhighlight>


= Working documents =
= Working documents =

Revision as of 11:40, 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: "VariantServiceNameTag"
	configKey: "VariantServiceNameTag"
	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,
			},
		},
	}
}

Working documents

Variant Standard