amichair commented on PR #2444:
URL: https://github.com/apache/james-project/pull/2444#issuecomment-2405193229

   I liked your idea, and it did take some work... I went for a webadmin 
export/import (seems more future-proof and intuitive to move jsons around 
instead of custom cli format parsing). Had to do some webadmin rearranging 
since mappings serialization wasn't fully implemented. Note that it's currently 
implemented as 'addMappings' rather than 'setMapping' (i.e. doesn't erase all 
existing mappings), I figured it's safer and more useful, though for the 
purposes of this migration it doesn't matter (the table is empty). Updated the 
instructions too. Didn't update the REST api docs with the new route, dunno 
when/how to do it, or maybe it can remain undocumented other than this 
migration ;-)
   
   I added a few local tests, but didn't yet test the whole procedure for real 
- I'm assuming the table will get recreated when dropped but haven't tried it 
yet.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org
For additional commands, e-mail: notifications-h...@james.apache.org

Reply via email to