Service - Menu Config

From Izara Wiki
Revision as of 10:11, 19 March 2023 by Sven the Barbarian (talk | contribs) (Created page with "= Overview = Manages configuration for site menus created by users and used in different areas of the project. = Repository = https://bitbucket.org/izara-core-shared/izara-core-shared-menu-config = DynamoDB tables = == Standard Config Table Per Service == === Configuration tags === <syntaxhighlight lang="JavaScript"> { configKey: "xx", configTag: "xx", configValue: "xx", }, </syntaxhighlight> == MenuConfigMain == <syntaxhighlight lang="JavaScript"> { men...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

Manages configuration for site menus created by users and used in different areas of the project.

Repository

https://bitbucket.org/izara-core-shared/izara-core-shared-menu-config

DynamoDB tables

Standard Config Table Per Service

Configuration tags

{
	configKey: "xx",
	configTag: "xx",
	configValue: "xx",
},

MenuConfigMain

{
	menuConfigId: "xx", // {useCase}_{random uuid}
	menuConfig: "xx", // json encoded object of configuration
	menuConfigName: "yy", // user specified name of the config
	userId: "xx"
}
  • partition key: menuConfigId
  • sort key: {none}
  • save menuConfig according to useCase, not yet applied but could sub areas of the project into different use cases, handled by the same Menu Config service

UsersMenuConfigs

{
	userId: "xx" // user who owns the tableConfig
	menuConfigId: "xx",
}
  • partition key: userId
  • sort key: menuConfigId

Working documents

Menu Config