google-nomulus/javatests/google/registry
mcilwain 861fd60d2c Begin migration away from ReferenceUnions
It is important to get at least this one commit in before the public Nomulus
release so that none of our public users will have to go through this data
migration (although we will have to).

The migration strategy is as follows:

1. Dual-write to non-ReferenceUnion fields in addition to the current
ReferenceUnion fields in use, and add new indexes (this commit). Deploy.
2. Run the ResaveAllEppResourcesAction backfill [].
3. Switch all code over to using the new fields. Dual-write is still in effect,
except it is now copying over the values of the new fields to the old
fields. Switch over all BigQuery reporting scripts to use the new
fields. Deploy.
4. Remove all of the old code and indexes. Deploy.
5. (Optional, at our leisure) Re-run the ResaveAllEppResourcesAction backfill
[] to delete the old obsolete fields.

Note that this migration strategy is rollback-safe at every step -- new data is
not read until it has already been written out in the previous step, and old
data is not removed immediately following a step in which it was still being
read, so the previous step is safe to roll back to.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=136196988
2016-10-14 17:52:01 -04:00
..
backup Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
batch Clean up billing MR work 2016-10-14 17:47:46 -04:00
bigquery Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
builddefs Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
config Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
cron Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
dns Migrate writeLockTimeout field out of DnsQueue 2016-10-14 17:00:33 -04:00
export Clean up and consolidate some unused queues 2016-10-14 17:37:21 -04:00
flows Use Dagger to @Inject DnsQueue everywhere that is feasible 2016-10-14 16:58:07 -04:00
groups Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
mapreduce/inputs Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
model Begin migration away from ReferenceUnions 2016-10-14 17:52:01 -04:00
module Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
monitoring Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
pricing Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
rdap Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
rde Fix a few incorrect mentions of Nomulus 2016-10-14 17:00:32 -04:00
request Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
security Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
server Change all references to Domain Registry to Nomulus 2016-10-14 16:58:07 -04:00
storage/drive Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
testing Clean up and consolidate some unused queues 2016-10-14 17:37:21 -04:00
tldconfig/idn Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
tmch Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
tools Remove deprecated Reason.ERROR in test 2016-10-14 17:00:33 -04:00
ui Genericize "Contact Us" page 2016-10-14 17:41:55 -04:00
util Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
whois Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
xjc Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
xml Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00