@burke @harsha89 @cintiadr I created a talk post for it and also posted it on IRC.
While testing continues, I’d like to start working on the Atlas module. According to my understanding, this is how things should work:
- The module sends a POST request to the server, containing a uuid, which is the module’s id.
- If this id isn’t found in some “module” table, we will store this id in the table.
- If there are no errors, the server will indicate it, the module starts running, and the server session is now in “module mode”.
- Any marker created from within this module mode will also have an auth entry with the module’s id as the token.
Some questions I have are:
- How do we know that the POST containing the uuid actually comes from a module?
- If multiple sites were created in module mode in the same openmrs instance, do we update all these sites with the same data?