Service - Media Manager: Difference between revisions
Jump to navigation
Jump to search
(Created page with "= Overview = Each media type is handled by a Service - Media (handlers) service. The Media Manager service handles shared orchestration of the Media Handler services. =...") |
No edit summary |
||
| Line 46: | Line 46: | ||
* partition key: mediaId | * partition key: mediaId | ||
* sort key: (none) | * sort key: (none) | ||
== [[Service - Media Graph]]== | |||
=== Nodes === | |||
<syntaxhighlight lang="JavaScript"> | |||
{ | |||
nodeLabel: "mediaProperty", | |||
schema: { | |||
identifier: true, | |||
restrictProperties: true, | |||
restrictRelationships: true, | |||
properties: { | |||
propertyId: { | |||
identifier: true, //(random uuid) | |||
}, | |||
mediaId: { | |||
immutable: true, | |||
}, | |||
}, | |||
} | |||
} | |||
</syntaxhighlight> | |||
<syntaxhighlight lang="JavaScript"> | |||
{ | |||
nodeLabel: "mediaPropertyName", | |||
schema: { | |||
identifier: true, | |||
restrictProperties: true, | |||
restrictRelationships: true, | |||
properties: { | |||
propertyId: { | |||
identifier: true, | |||
}, | |||
}, | |||
} | |||
} | |||
</syntaxhighlight> | |||
<syntaxhighlight lang="JavaScript"> | |||
{ | |||
nodeLabel: "mediaPropertyValue", | |||
schema: { | |||
identifier: true, | |||
restrictProperties: true, | |||
restrictRelationships: true, | |||
properties: { | |||
propertyId: { | |||
identifier: true, | |||
}, | |||
}, | |||
} | |||
} | |||
</syntaxhighlight> | |||
== Basic node schemas == | |||
mediaPropertyName | |||
* [[Service - Translations Graph]] | |||
mediaPropertyValue | |||
* [[Service - Translations Graph]] | |||
= Working documents = | = Working documents = | ||
Revision as of 13:07, 10 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)
Service - Media Graph
Nodes
{
nodeLabel: "mediaProperty",
schema: {
identifier: true,
restrictProperties: true,
restrictRelationships: true,
properties: {
propertyId: {
identifier: true, //(random uuid)
},
mediaId: {
immutable: true,
},
},
}
}
{
nodeLabel: "mediaPropertyName",
schema: {
identifier: true,
restrictProperties: true,
restrictRelationships: true,
properties: {
propertyId: {
identifier: true,
},
},
}
}
{
nodeLabel: "mediaPropertyValue",
schema: {
identifier: true,
restrictProperties: true,
restrictRelationships: true,
properties: {
propertyId: {
identifier: true,
},
},
}
}
Basic node schemas
mediaPropertyName
mediaPropertyValue