- Provide a Full-Mongo distribution
- Provide cloud management for Attachments (Files)
- Provide ferretDB Compantibility to be full Open-Source
- (Optional) provides hooks for encryption mechanisms
### Remove 'sqlite' from
- platform/DB which contains all unique and indexed field. This DB should be distributed among servers
- userLocalDir map userId / userName
- userAccountStorage contains password and password history
Task is completed when a script to migrate is provided and settings to activate.
- test B2I7 is failing when testing
storage
withfull-mongo
as indexes for passowrd is not yet created. Runjust test-full-mongo storage
to reproduce
- GridFS
- S3
- Add instructions on how to move / copy previous user data
- Add instructions on how to remove previous configurations associated with user files
- For docker version of open-pryv.io.
- default config to be hardcoded in container
- Custom value saved in mongoDB, with connection parameters given by
env
- platform:
LOGS=info node components/storage/src/migrations/switchSqliteMongo/platformDB.js --config configs/api.yml
- userStorage:
LOGS=info node components/storage/src/migrations/switchSqliteMongo/userAccountStorage.js --config configs/api.yml
- usersIndex:
LOGS=info node components/storage/src/migrations/switchSqliteMongo/usersIndex.js --config configs/api.yml
- Platform:
storagePlatform:engine = 'mongodb'
- userStorage:
storageUserAccount:engine = 'mongodb'
- storageUserIndex:
storageUserIndex:engine = 'mongodb'
- B2I7 storage test is failing after migrations test because indexes are lost. But runs fine idenpendently.
27/03/2024 - Made a MongoDB version of platform/DB
- migrated in a sperated db:
pryv-node-platform
as it should behave differntly that user-based DB (pryv-node
). - Collections are:
keyValueIndexed
andkeyValueUnique
27/03/2024 - Made a MongoDB verion of userStorage
- migrated to in
pryv-node
in collectionspasswords
&stores-key-value
28/03/2024 - Made a MongoDB verion of userIndex
- migrated to in
pryv-node
in collectionid4name