Service - Catalog Standard: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 15: | Line 15: | ||
<syntaxhighlight lang="JavaScript"> | <syntaxhighlight lang="JavaScript"> | ||
{ | { | ||
configTag: " | configTag: "CategoryManagerServiceName" | ||
configKey: {eg: "CatalogTreeServiceName"} | configKey: {eg: "CatalogTreeServiceName"} | ||
configValue: {eg: "CatalogTreeStandard"} | configValue: {eg: "CatalogTreeStandard"} | ||
} | |||
</syntaxhighlight> | |||
<syntaxhighlight lang="JavaScript"> | |||
{ | |||
configTag: "CategoryTreeServiceName" | |||
configKey: {CategoryTreeServiceTag, eg: "CategoryTreeStandard", this is what is saved in each catalog record} | |||
configValue: {eg: "CategoryTreeStandard" - this is the actual deployed service name} | |||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 02:03, 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: "CategoryManagerServiceName"
configKey: {eg: "CatalogTreeServiceName"}
configValue: {eg: "CatalogTreeStandard"}
}
{
configTag: "CategoryTreeServiceName"
configKey: {CategoryTreeServiceTag, eg: "CategoryTreeStandard", this is what is saved in each catalog record}
configValue: {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:
- filter
- stringified object containing default search result filter
- requiredData
- stringified object containing default search result requiredData
- searchType
- product|variant|variantProduct
- 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.