google-nomulus/java/google/registry/model
mcilwain 8ac8ecf8f6 Rationalize OT&E client ID validation rules
This makes the validation rules much simpler, thus placing less cognitive load on the users of the console and nomulus tool.  The changes are:

1. Don't allow hyphens. No real registrars use hyphens in their client IDs, and it's better to reserve these solely as the delimiter between the base client ID and the number representing the environment.
2. Allow the first character to be a number.  This has affected multiple real registrars, causing their OT&E and production client IDs to be different.  There's no reason for this restriction, as the only reason motivating it was that there are no TLDs that start with a number.  However, the OT&E TLDs are created only in sandbox and never have DNS syncing enabled, so this restriction is purposeless.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=229187198
2019-01-14 16:28:12 -05:00
..
annotations Clean up some code quality issues 2017-12-01 22:14:06 -05:00
billing Delete end-date sunrise, landrush, and sunrush phases 2019-01-10 16:23:35 -05:00
common Add the ability to setup OT&E from the web console 2019-01-02 11:56:59 -05:00
contact Fix @VisibleForTesting given the newly deployed enforcement 2019-01-10 16:23:35 -05:00
domain Delete end-date sunrise, landrush, and sunrush phases 2019-01-10 16:23:35 -05:00
eppcommon Delete end-date sunrise, landrush, and sunrush phases 2019-01-10 16:23:35 -05:00
eppinput Delete end-date sunrise, landrush, and sunrush phases 2019-01-10 16:23:35 -05:00
eppoutput Delete end-date sunrise, landrush, and sunrush phases 2019-01-10 16:23:35 -05:00
host Format some imports using fix_imports.py 2017-10-24 16:53:47 -04:00
index Define TestRule that manages cache use in tests 2019-01-11 11:50:33 -05:00
mark Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ofy Migrate away from VoidWorks 2018-06-27 15:28:52 -04:00
poll Delete end-date sunrise, landrush, and sunrush phases 2019-01-10 16:23:35 -05:00
pricing Delete end-date sunrise, landrush, and sunrush phases 2019-01-10 16:23:35 -05:00
rde Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
registrar Create OT&E entities directly, instead of calling sub-commands 2018-12-20 07:46:33 -05:00
registry Define TestRule that manages cache use in tests 2019-01-11 11:50:33 -05:00
reporting Delete end-date sunrise, landrush, and sunrush phases 2019-01-10 16:23:35 -05:00
server Use locking on async mapreduces 2018-08-10 13:44:25 -04:00
smd Replace FluentIterable with streams 2017-12-27 11:40:50 -05:00
tmch Fix checkState failing to trigger retrier's retry 2018-12-12 13:22:34 -05:00
transfer Clean up some code quality issues 2017-12-01 22:14:06 -05:00
translators Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
BackupGroupRoot.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
BUILD Clean up annotation imports in BUILD files 2018-06-27 15:28:53 -04:00
Buildable.java Clean up some code quality issues 2017-12-01 22:14:06 -05:00
CacheUtils.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
CreateAutoTimestamp.java Add create timestamp as field on AllocationToken entity 2018-01-19 14:25:28 -05:00
EntityClasses.java Delete end-date sunrise, landrush, and sunrush phases 2019-01-10 16:23:35 -05:00
EppResource.java Define TestRule that manages cache use in tests 2019-01-11 11:50:33 -05:00
EppResourceUtils.java Delete end-date sunrise, landrush, and sunrush phases 2019-01-10 16:23:35 -05:00
ImmutableObject.java Replace com.google.common.base.Function with java.util.function.Function 2017-12-27 11:08:55 -05:00
Jsonifiable.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
JsonMapBuilder.java Replace com.google.common.base.Function with java.util.function.Function 2017-12-27 11:08:55 -05:00
ModelUtils.java Replace FluentIterable with streams 2017-12-27 11:40:50 -05:00
OteAccountBuilder.java Rationalize OT&E client ID validation rules 2019-01-14 16:28:12 -05:00
OteStats.java Set short redemption/add/delete periods for all OT&E TLDs 2019-01-11 10:59:21 -05:00
package-info.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
ResourceTransferUtils.java Reverse dependency between /flows/ and /batch/ 2019-01-10 16:23:35 -05:00
SchemaVersion.java Run automatic Java 8 conversion over codebase 2017-10-10 12:09:41 -04:00
UpdateAutoTimestamp.java Add an auto update time field to the Cursor entity 2018-08-10 13:44:25 -04:00