Service - Sell Offer Standard: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
Line 37: Line 37:
</syntaxhighlight>
</syntaxhighlight>


== LogicalResults ==
Stores results for any requests to perform logical searches on sell offer data
<syntaxhighlight lang="JavaScript">
{
resultId: xxx // eg: filterMainId for a single logical element
dataId: xxx // one sellofferId
}
</syntaxhighlight>
* partition key: resultId
* sort key: dataId


= Graph database =  
= Graph database =  

Revision as of 12:45, 4 July 2021

Overview

Handler service for the standard sell offer type.

Repository

https://bitbucket.org/izara-market-products/izara-market-products-sell-offer-standard/src/master/

DynamoDB tables

Standard Config Table Per Service

Configuration tags

{
	configTag: "SellOfferHandlerServiceNameTag"
	configKey: "SellOfferHandlerServiceNameTag"
	configValue: xxx // this own services ServiceNameTag, eg "SellOfferStandard"
}
{
	configTag: "ProductsGraphServiceName"
	configKey: "ProductsGraphServiceName"
	configValue: xxx // eg: "ProductsGraph"
}
{
	configTag: "SellOfferManagerServiceName"
	configKey: "SellOfferManagerServiceName"
	configValue: xxx // eg: "SellOfferManager"
}

LogicalResults

Stores results for any requests to perform logical searches on sell offer data

{
	resultId: xxx // eg: filterMainId for a single logical element
	dataId: xxx // one sellofferId
}
  • partition key: resultId
  • sort key: dataId

Graph database

Service - Products Graph

Nodes

{
	nodeLabel: "selloffer",
	schema: {
		identifier: true,
		restrictProperties: true,
		restrictRelationships: true,
		properties: {
			sellofferId: {
				identifier: true, //(random uuid)
			},
			productId: {
				idempotent: true,
			},
			sellOfferHandlerServiceNameTag: {
				idempotent: true,
			},
		},
	}
}

Working documents

Sell Offer Standard