Service - Catalog Standard
Revision as of 02:11, 7 March 2021 by Sven the Barbarian (talk | contribs) (→Standard Config Table Per Service)
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: "CatalogServiceTag"
configKey: "CatalogServiceTag"
configValue: xxx // this own services CatalogServiceTag, eg "CatalogStandard"
}
{
configTag: "CategoryManagerServiceName"
configKey: {eg: "CatalogTreeServiceName"}
configValue: {eg: "CatalogTreeStandard"}
}
{
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:
- 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.