Service - Media Manager: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 56: | Line 56: | ||
{ | { | ||
nodeLabel: "mediaPropertyLabel", | nodeLabel: "mediaPropertyLabel", | ||
} | } | ||
{ | { | ||
nodeLabel: "mediaProperty", | nodeLabel: "mediaProperty", | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
* see [[NPM module - Izara Core - Property Node|DataSchemaLib]] | |||
=== Relationships === | === Relationships === | ||
| Line 92: | Line 67: | ||
<syntaxhighlight lang="JavaScript"> | <syntaxhighlight lang="JavaScript"> | ||
{ | { | ||
relationshipType: " | relationshipType: "has_mediaProperty", | ||
} | } | ||
{ | { | ||
relationshipType: " | relationshipType: "disabled_mediaProperty", | ||
} | } | ||
{ | { | ||
relationshipType: " | relationshipType: "is_mediaPropertyLabel", | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
* | * see [[NPM module - Izara Core - Property Node|DataSchemaLib]] | ||
== Basic node schemas == | == Basic node schemas == | ||
Schema comes from [[NPM module - Izara Core - Property Node|BasicNodeSchemaLib]] | |||
mediaProperty | # mediaPropertyLabel | ||
* [[Service - Translations Graph]] | #* [[Service - Translations Graph]] | ||
# mediaProperty | |||
#* [[Service - Translations Graph]] | |||
= Working documents = | = Working documents = | ||
Revision as of 11:44, 17 August 2021
Overview
Each media type is handled by a Service - Media (handlers) service.
The Media Manager service handles shared orchestration of the Media Handler services.
Repository
https://bitbucket.org/izara-core-media/izara-core-media-media-manager/src/master/
DynamoDB tables
Standard Config Table Per Service
Configuration tags
{
configKey: "MediaGraphServiceName"
configTag: "MediaGraphServiceName"
configValue: xxx // eg: "MediaGraph"
}
{
configKey: "MediaHandlerService"
configTag: xxx // mediaHandlerServiceNameTag, eg: "MediaStandard", this is what is saved in each media node
configValue: {
serviceName: xxx // eg: "ImageStandard", this is the actual deployed service name}
}
}
Media
Records which Handler manages each media element
{
mediaId
mediaHandlerServiceNameTag
}
- partition key: mediaId
- sort key: (none)
Graph database
Service - Media Graph
Nodes
{
nodeLabel: "mediaPropertyLabel",
}
{
nodeLabel: "mediaProperty",
}
- see DataSchemaLib
Relationships
{
relationshipType: "has_mediaProperty",
}
{
relationshipType: "disabled_mediaProperty",
}
{
relationshipType: "is_mediaPropertyLabel",
}
- see DataSchemaLib
Basic node schemas
Schema comes from BasicNodeSchemaLib
- mediaPropertyLabel
- mediaProperty