Service - Category Standard: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 12: Line 12:


=== Configuration tags ===
=== Configuration tags ===
<syntaxhighlight lang="JavaScript">
{
configTag: "CategoryServiceNameTag"
configKey: "CategoryServiceNameTag"
configValue: xxx // this own services CategoryServiceNameTag, eg "CategoryStandard"
}
</syntaxhighlight>


<syntaxhighlight lang="JavaScript">
<syntaxhighlight lang="JavaScript">
Line 28: Line 36:
}
}
</syntaxhighlight>
</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 =

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