Service - Product Standard: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
Line 15: Line 15:
<syntaxhighlight lang="JavaScript">
<syntaxhighlight lang="JavaScript">
{
{
configTag: "ProductServiceNameTag"
configTag: "ProductHandlerServiceNameTag"
configKey: "ProductServiceNameTag"
configKey: "ProductHandlerServiceNameTag"
configValue: xxx // this own services ServiceNameTag, eg "ProductStandard"
configValue: xxx // this own services ServiceNameTag, eg "ProductStandard"
}
}
Line 36: Line 36:
}
}
</syntaxhighlight>
</syntaxhighlight>


= Graph database =  
= Graph database =  

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

Graph database

Service - Products Graph

Nodes

{
	nodeLabel: "product",
	schema: {
		identifier: true,
		restrictProperties: true,
		restrictRelationships: true,
		properties: {
			productId: {
				identifier: true, //(random uuid)
			},
		},
	}
}

Working documents

Product Standard