Service - Catalog Standard: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
No edit summary
Line 15: Line 15:
<syntaxhighlight lang="JavaScript">
<syntaxhighlight lang="JavaScript">
{
{
configTag: "CatalogServiceTag"
configTag: "CatalogServiceNameTag"
configKey: "CatalogServiceTag"
configKey: "CatalogServiceNameTag"
configValue: xxx // this own services CatalogServiceTag, eg "CatalogStandard"
configValue: xxx // this own services CatalogServiceTag, eg "CatalogStandard"
}
}
Line 24: Line 24:
{
{
configTag: "CategoryManagerServiceName"
configTag: "CategoryManagerServiceName"
configKey: {eg: "CatalogTreeServiceName"}
configKey: "CategoryManagerServiceName"
configValue: {eg: "CatalogTreeStandard"}
configValue: xxx // eg: "CatalogManager"
}
}
</syntaxhighlight>
</syntaxhighlight>

Revision as of 02:14, 7 March 2021

Overview

Handler service for the standard catalog type.

Repository

https://bitbucket.org/stb_working/catalog-standard/src/master/

DynamoDB tables

Standard Config Table Per Service

Configuration tags

{
	configTag: "CatalogServiceNameTag"
	configKey: "CatalogServiceNameTag"
	configValue: xxx // this own services CatalogServiceTag, eg "CatalogStandard"
}
{
	configTag: "CategoryManagerServiceName"
	configKey: "CategoryManagerServiceName"
	configValue: xxx // eg: "CatalogManager"
}
{
	configTag: "CategoryTreeServiceName"
	configKey: xxx // serviceNameTag, eg: "CategoryTreeStandard", this is what is saved in each catalog record
	configValue: {
		serviceName: xxx // eg: "CategoryTreeStandard", this is the actual deployed service name}
	}
}
{
	configTag: "TranslationsServiceName"
	configKey: "TranslationsServiceName"
	configValue: xxx // eg: "Translations"
}

Neptune graph database

Service - Catalog Graph

Vertices

catalog

vertexId: catalog_{catalogId}

Properties:

  1. filter
    stringified object containing default search result filter
  2. requiredData
    stringified object containing default search result requiredData
  3. searchType
    product|variant|variantProduct
  4. categoryTreeServiceName
    eg: "CategoryTreeStandard"

Service - Translations Graph

Vertices

catalogName

vertexId: catalogName_{catalogId}

Ideas

  • One filter that will normally be on, but could be removed, is to only show items that have available quantity, this will tie into the locationtreenodeid.

Working documents

Catalog Standard