Service - Category Standard: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user not shown)
Line 5: Line 5:
= Repository =
= Repository =


https://bitbucket.org/stb_vit/category-standard/src/master/
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>


== Category ==
<syntaxhighlight lang="JavaScript">
{
configTag: "CatalogGraphServiceName"
configKey: "CatalogGraphServiceName"
configValue: xxx // eg: "CatalogGraph"
}
</syntaxhighlight>


=== Fields ===
<syntaxhighlight lang="JavaScript">
{
configTag: "TranslationsServiceName"
configKey: "TranslationsServiceName""
configValue: xxx // eg: "Translations"
}
</syntaxhighlight>


; categoryId
= Graph database =
: (partition key)
 
== [[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

Working documents

Category Standard