karl5252 / PlantPassportGenerator

MIT License
0 stars 0 forks source link

Add synchronisation with mongo DB #5

Open karl5252 opened 6 months ago

karl5252 commented 6 months ago

Add connector and synchronisation with mongo DB. User has to add service user in his mongo instance then via security create connection string that can be added to app. Then after CRUD operation should synchronise with database.

Indicator that synchronisation started, Indicator that synchronisation was finished, Indicator that synchronisation was a failure.

karl5252 commented 6 months ago

Scenario :user can add mongo DB Cloud Atlas connection and it is persistent. Given user has account in Mongo Cloud Atlas When user opens connection menu Then user can add connection to MCA And connection is saved

Scenario : user can request on demand cloud synchronisation

Given connection to mongo was made When user clicks on connection tab And can click " force update " Then forced synchronisation is performed And user can see connection indicator is green And cloud database is the point of truth

Scenario : user is informed that connection to mongo was severed or something went wrong

Given connection to mongo was made When user clicks on connection tab And click" force update " Then forced synchronisation is performed But there is a network problem And user can see connection indicator turning yellow

Scenario : user is informed that connection to mongo was severed or something went wrong multiple times

Given connection to mongo was made When user clicks on connection tab And click" force update " Then forced synchronisation is performed But there is a network problem And user can see connection indicator turning red