Service - Catalog Standard: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 55: Line 55:
</syntaxhighlight>
</syntaxhighlight>


= Neptune graph database =  
= Graph database =  


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


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


==== catalog ====
==== Label: Catalog ====


vertexId: catalog_{catalogId}
UniqueIdPropertyNames: catalogId


Properties:
Versioned data: Settings:


# searchType
# searchType
Line 78: Line 78:
== [[Service - Translations Graph]] ==
== [[Service - Translations Graph]] ==


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


==== catalogName ====
==== Label: CatalogName ====


vertexId: catalogName_{catalogId}
UniqueIdPropertyNames: catalogId


= Ideas =
= Ideas =

Revision as of 14:48, 16 May 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: "CatalogGraphServiceName"
	configKey: "CatalogGraphServiceName"
	configValue: xxx // eg: "CatalogGraph"
}
{
	configTag: "CatalogManagerServiceName"
	configKey: "CatalogManagerServiceName"
	configValue: xxx // eg: "CatalogManager"
}
{
	configTag: "TranslationsServiceName"
	configKey: "TranslationsServiceName"
	configValue: xxx // eg: "Translations"
}
{
	configTag: "CategoryTreeService"
	configKey: xxx // categoryTreeServiceNameTag, eg: "CategoryTreeStandard", this is what is saved in each catalog record
	configValue: {
		serviceName: xxx // eg: "CategoryTreeStandard", this is the actual deployed service name}
	}
}

Graph database

Service - Catalog Graph

Nodes

Label: Catalog

UniqueIdPropertyNames: catalogId

Versioned data: Settings:

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

Service - Translations Graph

Nodes

Label: CatalogName

UniqueIdPropertyNames: 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