Service - Category Standard: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
No edit summary
 
(3 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 29: Line 37:
</syntaxhighlight>
</syntaxhighlight>


= Neptune graph database =  
= Graph database =  


== [[Service - Catalog Graph]]==
== [[Service - Catalog Graph]]==


=== Vertices ===
=== Nodes ===


==== category ====
==== category ====


vertexId: category_{categoryId}
One categoryId, is never edited or removed from the graph.


Properties: (none)
* NodeIdentifierLabels: category_
* NodeIdentifierProperties: categoryId


== [[Service - Translations Graph]] ==
== [[Service - Translations Graph]] ==


=== Vertices ===
=== Nodes ===


==== categoryName ====
==== CategoryName ====


vertexId: categoryName_{categoryId}
* 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