feat: add mechanism for determining if a user should use the primary or secondary items database (#700)

* feat(domain-core): introduce new role for users transitioning to new mechanisms

* feat: add mechanism for determining if a user should use the primary or secondary items database

* fix: add transition mode enabled switch in docker entrypoint

* fix(syncing-server): mapping roles from middleware

* fix: mongodb item repository binding

* fix: item backups service binding

* fix: passing transition mode enabled variable to docker setup
This commit is contained in:
Karol Sójko
2023-08-18 16:45:10 +02:00
committed by GitHub
parent e00d9d2ca0
commit 302b624504
58 changed files with 1041 additions and 414 deletions

View File

@@ -66,6 +66,9 @@ fi
if [ -z "$SECONDARY_DB_ENABLED" ]; then
export SECONDARY_DB_ENABLED=false
fi
if [ -z "$TRANSITION_MODE_ENABLED" ]; then
export TRANSITION_MODE_ENABLED=false
fi
export DB_MIGRATIONS_PATH="dist/migrations/*.js"
#########