Service - Table Config: Difference between revisions
Jump to navigation
Jump to search
(Created page with "= Overview = Manages configuration for presentation tables created by users and used in different areas of the project. = Repository = https://bitbucket.org/izara-core-shared/izara-core-shared-table-config = DynamoDB tables = == Standard Config Table Per Service == === Configuration tags === <syntaxhighlight lang="JavaScript"> { configKey: "xx", configTag: "xx", configValue: "xx", }, </syntaxhighlight> == TableConfigMain == <syntaxhighlight lang="JavaScri...") |
|||
Line 27: | Line 27: | ||
tableConfigId: "xx", // {useCase}_{random uuid} | tableConfigId: "xx", // {useCase}_{random uuid} | ||
tableConfig: "xx", // json encoded object of configuration | tableConfig: "xx", // json encoded object of configuration | ||
tableConfigName: "yy", // user specified name of the config | |||
userId: "xx" | userId: "xx" | ||
} | } |
Latest revision as of 08:43, 17 March 2023
Overview
Manages configuration for presentation tables created by users and used in different areas of the project.
Repository
https://bitbucket.org/izara-core-shared/izara-core-shared-table-config
DynamoDB tables
Standard Config Table Per Service
Configuration tags
{
configKey: "xx",
configTag: "xx",
configValue: "xx",
},
TableConfigMain
{
tableConfigId: "xx", // {useCase}_{random uuid}
tableConfig: "xx", // json encoded object of configuration
tableConfigName: "yy", // user specified name of the config
userId: "xx"
}
- partition key: tableConfigId
- sort key: {none}
- save tableConfig according to useCase, not yet applied but could sub areas of the project into different use cases, handled by the same Table Config service
UsersTableConfigs
{
userId: "xx" // user who owns the tableConfig
tableConfigId: "xx",
}
- partition key: userId
- sort key: tableConfigId