Service - Category Standard: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 15: Line 15:
<syntaxhighlight lang="JavaScript">
<syntaxhighlight lang="JavaScript">
{
{
configTag: "TranslationsServiceName"
configTag: "CategoryServiceNameTag"
configKey: "TranslationsServiceName""
configKey: "CategoryServiceNameTag"
configValue: xxx // eg: "Translations"
configValue: xxx // this own services CategoryServiceNameTag, eg "CategoryStandard"
}
}
</syntaxhighlight>
</syntaxhighlight>
Line 28: Line 28:
}
}
</syntaxhighlight>
</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 =

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