Service - Category Standard: Difference between revisions
Jump to navigation
Jump to search
(Created page with "= Overview = Handler service for the standard category type. = Repository = https://bitbucket.org/stb_vit/category/src/master/ = DynamoDB tables = == Standard Config Ta...") |
|||
(10 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
= Repository = | = Repository = | ||
https://bitbucket.org/ | https://bitbucket.org/stb_working/category-standard/src/master/ | ||
= DynamoDB tables = | = DynamoDB tables = | ||
Line 13: | Line 13: | ||
=== Configuration tags === | === Configuration tags === | ||
<syntaxhighlight lang="JavaScript"> | |||
{ | |||
configTag: "CategoryServiceNameTag" | |||
configKey: "CategoryServiceNameTag" | |||
configValue: xxx // this own services CategoryServiceNameTag, eg "CategoryStandard" | |||
} | |||
</syntaxhighlight> | |||
= | <syntaxhighlight lang="JavaScript"> | ||
{ | |||
configTag: "CatalogGraphServiceName" | |||
configKey: "CatalogGraphServiceName" | |||
configValue: xxx // eg: "CatalogGraph" | |||
} | |||
</syntaxhighlight> | |||
= | <syntaxhighlight lang="JavaScript"> | ||
{ | |||
configTag: "TranslationsServiceName" | |||
configKey: "TranslationsServiceName"" | |||
configValue: xxx // eg: "Translations" | |||
} | |||
</syntaxhighlight> | |||
= Graph database = | |||
: | |||
== [[Service - Catalog Graph]]== | |||
=== Nodes === | |||
==== category ==== | |||
One categoryId, is never edited or removed from the graph. | |||
* NodeIdentifierLabels: category_ | |||
* NodeIdentifierProperties: categoryId | |||
== [[Service - Translations Graph]] == | |||
=== Nodes === | |||
==== CategoryName ==== | |||
* NodeIdentifierLabels: categoryName | |||
* NodeIdentifierProperties: categoryId | |||
= Notes = | = Notes = | ||
.. currently data is stored in Yii/MySQL | .. currently data is stored in Yii/MySQL | ||
* categoryName translations are handled by [[Service - Translations]] and stored in [[Service - Translations Graph]] | |||
* any category settings are stored in [[Service - Catalog Graph]] | |||
= Working documents = | = Working documents = |
Latest revision as of 13:52, 26 June 2021
Overview
Handler service for the standard category type.
Repository
https://bitbucket.org/stb_working/category-standard/src/master/
DynamoDB tables
Standard Config Table Per Service
Configuration tags
{
configTag: "CategoryServiceNameTag"
configKey: "CategoryServiceNameTag"
configValue: xxx // this own services CategoryServiceNameTag, eg "CategoryStandard"
}
{
configTag: "CatalogGraphServiceName"
configKey: "CatalogGraphServiceName"
configValue: xxx // eg: "CatalogGraph"
}
{
configTag: "TranslationsServiceName"
configKey: "TranslationsServiceName""
configValue: xxx // eg: "Translations"
}
Graph database
Service - Catalog Graph
Nodes
category
One categoryId, is never edited or removed from the graph.
- NodeIdentifierLabels: category_
- NodeIdentifierProperties: categoryId
Service - Translations Graph
Nodes
CategoryName
- NodeIdentifierLabels: categoryName
- NodeIdentifierProperties: categoryId
Notes
.. currently data is stored in Yii/MySQL
- categoryName translations are handled by Service - Translations and stored in Service - Translations Graph
- any category settings are stored in Service - Catalog Graph