google-nomulus/java/google/registry/model
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
..
annotations Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
billing Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
common Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
contact Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
domain Begin migration away from ReferenceUnions 2016-10-14 17:52:01 -04:00
eppcommon Change all references to Domain Registry to Nomulus 2016-10-14 16:58:07 -04:00
eppinput Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
eppoutput Remove useless createdRepoId from logging 2016-10-14 16:58:07 -04:00
export Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
host Remove fulfilled TODO to backfill RDAP indexes 2016-10-14 16:58:07 -04:00
index Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
mark Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
ofy Change lrpTldStates to Interval 2016-10-14 16:58:07 -04:00
poll 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
rde Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
registrar Remove stale TODO on Javadoc for Registrar.PUBLICLY_VISIBLE_TYPES 2016-10-14 17:00:32 -04:00
registry Remove spurious @Nullable 2016-10-14 17:00:33 -04:00
reporting Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
server Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
smd 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
transfer Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
translators Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
AbstractFieldExposer.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
BackupGroupRoot.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
BUILD MOE strip compatible_with 2016-08-02 19:14:28 -04:00
Buildable.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
CreateAutoTimestamp.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
EntityClasses.java Rename LrpToken to LrpTokenEntity 2016-10-14 16:58:07 -04:00
EppResource.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
EppResourceUtils.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
generate_field_exposer.sh Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
generate_field_exposer_registry.sh Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
ImmutableObject.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
Jsonifiable.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
JsonMapBuilder.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
ModelUtils.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
package-info.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
RoidSuffixes.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
SchemaVersion.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
UpdateAutoTimestamp.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00