Service - Product Standard: Difference between revisions

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


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


= Working documents =
= Working documents =

Revision as of 11:39, 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: "ProductServiceNameTag"
	configKey: "ProductServiceNameTag"
	configValue: xxx // this own services ServiceNameTag, eg "ProductStandard"
}
{
	configTag: "ProductsGraphServiceName"
	configKey: "ProductsGraphServiceName"
	configValue: xxx // eg: "ProductsGraph"
}
{
	configTag: "ProductManagerServiceName"
	configKey: "ProductManagerServiceName"
	configValue: xxx // eg: "ProductManager"
}


Graph database

Service - Products Graph

Nodes

{
	nodeLabel: "product",
	schema: {
		identifier: true,
		restrictProperties: true,
		restrictRelationships: true,
		properties: {
			productId: {
				identifier: true,
			},
		},
	}
}

Working documents

Product Standard