Service - Sell Offer Terms: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 58: Line 58:
<syntaxhighlight lang="JavaScript">
<syntaxhighlight lang="JavaScript">
{
{
relationshipType: "hasSellOfferTermLink",
relationshipType: "has_sellOfferTermLink",
}
}
{
{
relationshipType: "disabledSellOfferTermLink",
relationshipType: "disabled_sellOfferTermLink",
}
}
{
{
relationshipType: "isSellOfferTerm",
relationshipType: "is_sellOfferTerm",
}
}
{
{
relationshipType: "isSellOfferTermLabel",
relationshipType: "is_sellOfferTermLabel",
}
}
{
{
relationshipType: "hasSellOfferTermProperty",
relationshipType: "has_sellOfferTermProperty",
}
}
{
{
relationshipType: "disabledSellOfferTermProperty",
relationshipType: "disabled_sellOfferTermProperty",
}
}
{
{
relationshipType: "isSellOfferTermPropertyLabel",
relationshipType: "is_sellOfferTermPropertyLabel",
}
}
</syntaxhighlight>
</syntaxhighlight>

Revision as of 07:02, 16 August 2021

Overview

Manages SellOffer Terms and SellOfferTermLinks. SellOffer Terms can be shared by many Sell Offers, SellOfferTermLinks are used to create an attribute tree for one Sell Offer.

Repository

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

DynamoDB tables

Standard Config Table Per Service

Configuration tags

..

LogicalResults

Stores results for any requests to perform logical searches on media links

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

Graph database

Service - Products Graph

Nodes

{
	nodeLabel: "sellOfferTermLabel",
}
{
	nodeLabel: "sellOfferTerm",
}
{
	nodeLabel: "sellOfferTermLink",
}
{
	nodeLabel: "sellOfferTermPropertyLabel",
}
{
	nodeLabel: "sellOfferTermProperty",
}

Relationships

{
	relationshipType: "has_sellOfferTermLink",
}
{
	relationshipType: "disabled_sellOfferTermLink",
}
{
	relationshipType: "is_sellOfferTerm",
}
{
	relationshipType: "is_sellOfferTermLabel",
}
{
	relationshipType: "has_sellOfferTermProperty",
}
{
	relationshipType: "disabled_sellOfferTermProperty",
}
{
	relationshipType: "is_sellOfferTermPropertyLabel",
}

Basic node schemas

Schema comes from BasicNodeSchemaLib

  1. sellOfferTermLabel
  2. sellOfferTerm
  3. sellOfferTermPropertyLabel
  4. sellOfferTermProperty

Working documents

Sell Offer Terms