Service - Sell Offer Terms: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 58: | Line 58: | ||
<syntaxhighlight lang="JavaScript"> | <syntaxhighlight lang="JavaScript"> | ||
{ | { | ||
relationshipType: " | relationshipType: "has_sellOfferTermLink", | ||
} | } | ||
{ | { | ||
relationshipType: " | relationshipType: "disabled_sellOfferTermLink", | ||
} | } | ||
{ | { | ||
relationshipType: " | relationshipType: "is_sellOfferTerm", | ||
} | } | ||
{ | { | ||
relationshipType: " | relationshipType: "is_sellOfferTermLabel", | ||
} | } | ||
{ | { | ||
relationshipType: " | relationshipType: "has_sellOfferTermProperty", | ||
} | } | ||
{ | { | ||
relationshipType: " | relationshipType: "disabled_sellOfferTermProperty", | ||
} | } | ||
{ | { | ||
relationshipType: " | 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",
}
- see DataSchemaLib
Relationships
{
relationshipType: "has_sellOfferTermLink",
}
{
relationshipType: "disabled_sellOfferTermLink",
}
{
relationshipType: "is_sellOfferTerm",
}
{
relationshipType: "is_sellOfferTermLabel",
}
{
relationshipType: "has_sellOfferTermProperty",
}
{
relationshipType: "disabled_sellOfferTermProperty",
}
{
relationshipType: "is_sellOfferTermPropertyLabel",
}
- see DataSchemaLib
Basic node schemas
Schema comes from BasicNodeSchemaLib
- sellOfferTermLabel
- sellOfferTerm
- sellOfferTermPropertyLabel
- sellOfferTermProperty