CLDR-15656 refactor DB stuff out of UserRegistry
CLDR-15656 refactor DB stuff out of UserRegistry
- DBUserRegistry for 'normal' db use, and a MemoryUserRegistry (in the test tree) for testing
- remove the isLocaleAliased() mechanism, since //ldml/alias has been obsolete for a long time
CLDR-15656
- [ ] This PR completes the ticket.
Notice: the branch changed across the force-push!
- tools/cldr-apps/src/test/java/org/unicode/cldr/unittest/web/TestSTFactory.java is different
~ Your Friendly Jira-GitHub PR Checker Bot
Notice: the branch changed across the force-push!
- tools/cldr-apps/src/main/java/org/unicode/cldr/web/api/Summary.java is no longer changed in the branch
- tools/cldr-apps/src/main/java/org/unicode/cldr/web/api/VoteAPIHelper.java is no longer changed in the branch
- tools/cldr-apps/src/main/java/org/unicode/cldr/web/DBUserRegistry.java is different
- tools/cldr-apps/src/main/java/org/unicode/cldr/web/MemoryUserRegistry.java is no longer changed in the branch
- tools/cldr-apps/src/main/java/org/unicode/cldr/web/STFactory.java is no longer changed in the branch
- tools/cldr-apps/src/main/java/org/unicode/cldr/web/SurveyAjax.java is no longer changed in the branch
- tools/cldr-apps/src/main/java/org/unicode/cldr/web/SurveyMain.java is different
- tools/cldr-apps/src/main/java/org/unicode/cldr/web/UserRegistry.java is different
- tools/cldr-apps/src/main/java/org/unicode/cldr/web/WebContext.java is no longer changed in the branch
- tools/cldr-apps/src/test/java/org/unicode/cldr/web/MemoryUserRegistry.java is now changed in the branch
~ Your Friendly Jira-GitHub PR Checker Bot
massive conflicts now - will have to pick this up again another time
@btangmu As you can imagine, this PR from may 2022 is more than a little bit bit-rotten…
but I think it is a worthwhile effort, so I'm going to start on redoing it. The basic process is to make UserRegistry abstract, with the SQL stuff in a subclass, and an in-memory version for testing use.
Anyway. WIP on https://github.com/srl295/cldr/tree/wip/cldr-15656/refactor-userreg and eventually I'll update this PR.