Service - Product Standard

From Izara Wiki
Jump to navigation Jump to search

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: "ProductGraphServiceName"
	configKey: "ProductGraphServiceName"
	configValue: xxx // eg: "ProductGraph"
}
{
	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 productId
}
  • 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: {
				immutable: true,
			},
		},
	}
}

Basic node schemas

product

Service - Media Graph

Working documents

Product Standard