Service - Media Link: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 54: | Line 54: | ||
mediaId: { | mediaId: { | ||
immutable: true, | immutable: true, | ||
}, | }, | ||
mediaHandlerServiceNameTag: { | mediaHandlerServiceNameTag: { |
Revision as of 00:55, 20 August 2021
Overview
Manages Media Links, links might attach to many subject node types, eg Product, Sell Offer, Product Attribute, Sell Offer Term,..
Repository
https://bitbucket.org/izara-core-media/izara-core-media-media-link/src/master/
DynamoDB tables
Standard Config Table Per Service
Configuration tags
{
configKey: "MediaGraphServiceName"
configTag: "MediaGraphServiceName"
configValue: xxx // eg: "MediaGraph"
}
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 mediaLinkId
}
- partition key: resultId
- sort key: dataId
Graph database
Service - Media Graph
Nodes
{
nodeLabel: "mediaLink",
schema: {
identifier: true,
restrictProperties: true,
restrictRelationships: true,
properties: {
mediaLinkId: {
identifier: true, // create unique id from request details
},
mediaId: {
immutable: true,
},
mediaHandlerServiceNameTag: {
immutable: true,
},
},
}
}
{
nodeLabel: "mediaLinkPropertyLabel",
}
{
nodeLabel: "mediaLinkProperty",
}
- see DataSchemaLib
Relationships
{
relationshipType: "has_mediaLinkProperty",
}
{
relationshipType: "disabled_mediaLinkProperty",
}
{
relationshipType: "is_mediaLinkPropertyLabel",
}
- see DataSchemaLib
Basic node schemas
Schema comes from BasicNodeSchemaLib
- mediaLinkPropertyLabel
- mediaLinkProperty