webknossos icon indicating copy to clipboard operation
webknossos copied to clipboard

WIP: make organization name its id, drop the mongo id

Open fm3 opened this issue 2 years ago • 0 comments

URL of deployed dev instance (used for testing):

  • https://___.webknossos.xyz

Steps to test:

  • abc

TODOs:

  • [x] update in sql schema
  • [x] update in scala code
  • [x] the mongoid is used as key in loki?
  • [x] update in routes
  • [x] update in proto
  • [x] update in frontend
  • [x] checks on name in sql and create organization code (allow [A-Za-z0-9\-_. ]+ in sql)
  • [x] test around
  • [ ] sql migration
  • [ ] do analytics events need to be migrated? in postgres only? or externally? can those from old webknossoses still be ingested?
  • [ ] bump api version, provide adapters
  • [ ] todos
  • [ ] change worker job arguments from organization_name to organization_id (maybe follow-up for easier rollbacks of this pr)

Issues:

  • fixes #7689

(Please delete unneeded items, merge only when none are left open)

  • [ ] Updated changelog
  • [ ] Updated migration guide if applicable
  • [ ] Updated documentation if applicable
  • [ ] Adapted wk-libs python client if relevant API parts change
  • [ ] Removed dev-only changes like prints and application.conf edits
  • [ ] Considered common edge cases
  • [ ] Needs datastore update after deployment

fm3 avatar Oct 15 '23 18:10 fm3