Closed flbulgarelli closed 6 years ago
This is not trivial so solve.
Since https://github.com/mumuki/mumukit-platform/pull/13 most of the user, organization and course logic is reused across all the apps. Moreover, office is deprecated, son there is no more a data duplication between it and laboratory.
There is no easy way of solving data duplication between classroom and laboratory - after all, classroom has just cache semantics now - and bibliotheca only stores a few data.
Thus, this is no more a real issue now.
Currently, user and organization information is duplicated across all applications, making migrations and sync hard, introducing a lot of messages and reducing maintainability - right diagram.
In order to make future migrations easier and have a single source of truth for users and organizations, we should keep it only in office, and expose a non-rest API with eventual caching for consuming it - left diagram -.