msupply-foundation / open-msupply

Open mSupply represents our most recent advancement in the Logistics Management Information System (LMIS), expanding on more than two decades of development inherited from the well-established legacy of the original mSupply.
https://msupply.foundation/open-msupply/
Other
20 stars 12 forks source link

omSupply Central Server Transition Carry Over #2821

Open andreievg opened 6 months ago

andreievg commented 6 months ago

Carry over issue for: https://github.com/msupply-foundation/open-msupply/issues/2062

Related PRs:

Carry Over Tasks

Questions

  1. When we omSupply central server in production, we will need to make sure it's backed up, and backup would need to match mSupply backup ? Or do we just try to backup the data that's different to mSupply ?
  2. Should we allow omSupply remote sites to run without central server for now ? (since it's just central data and worst case the configuration would be missing ?)
  3. Where to put sync steps for omSupply central ?
  4. How do we determine is central server ? With env variable ? (also this: https://github.com/msupply-foundation/open-msupply/pull/2818#discussion_r1481981187)
  5. The idea to use change log, purely, would it scale ?
  6. What do feel about branching and fragmenting logic with is central server flag ? Do we split code base
  7. Mirror server for future ? (i don't think it should be needed, since omSupply central would be easily accessible via browser and wont' require much bandwidth)
  8. In order for all features for omSupply central to work, more information is required, which currently lives on original central server, do we sync it ? how ?
  9. In the future, what would happen with existing mSupply sites if we decide to bring existing mSupply data to omSupply central sync ? (also how do we version/migrate existing omSupply sites for this ?)
  10. Is current authentication modal ok for now ? (against original mSupply server)
  11. Way forward ? I think we have enough for assets btw
  12. Dashboard ?

Other thoughts

andreievg commented 5 months ago

Proxy vs port offset, would prefer Proxy

andreievg commented 5 months ago

Reduce branching logic in front end by always using central server api for some operations

andreievg commented 5 months ago

central and remote as different crates using base

andreievg commented 5 months ago

For, is this central server, from this comment https://github.com/msupply-foundation/open-msupply/pull/2819#issuecomment-1955364839