Service - Sell Offer Standard: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
No edit summary
Line 54: Line 54:
sellofferId: {
sellofferId: {
identifier: true, //(random uuid)
identifier: true, //(random uuid)
},
productId: {
idempotent: true,
},
},
sellOfferHandlerServiceNameTag: {
sellOfferHandlerServiceNameTag: {
idempotent: true, //(random uuid)
idempotent: true,
},
},
},
},

Revision as of 12:15, 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"
}


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