google-nomulus/javatests/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
..
billing Delete remnants of registrar-level credits 2018-06-27 15:28:52 -04:00
common Add an auto update time field to the Cursor entity 2018-08-10 13:44:25 -04:00
contact Make loadByForeignKey() and related methods return Optional 2018-12-14 11:24:49 -05:00
domain Delete end-date sunrise, landrush, and sunrush phases 2019-01-10 16:23:35 -05:00
eppcommon Refactor EppXmlTransformer to be in the model/ package 2018-12-12 13:22:34 -05:00
eppinput Refactor EppXmlTransformer to be in the model/ package 2018-12-12 13:22:34 -05:00
eppoutput Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
host Make loadByForeignKey() and related methods return Optional 2018-12-14 11:24:49 -05:00
index Define TestRule that manages cache use in tests 2019-01-11 11:50:33 -05:00
mark Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
ofy Migrate away from VoidWorks 2018-06-27 15:28:52 -04:00
poll Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
rde Migrate away from VoidWorks 2018-06-27 15:28:52 -04:00
registrar Restore global config after tests 2019-01-10 16:23:35 -05:00
registry Define TestRule that manages cache use in tests 2019-01-11 11:50:33 -05:00
reporting Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
server Define TestRule that manages cache use in tests 2019-01-11 11:50:33 -05:00
smd Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
testdata Delete end-date sunrise, landrush, and sunrush phases 2019-01-10 16:23:35 -05:00
tmch Explicitly set the shard size when saving the claims list 2018-10-22 19:13:11 -04:00
transfer Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
translators Refactor EppXmlTransformer to be in the model/ package 2018-12-12 13:22:34 -05:00
BUILD Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
CreateAutoTimestampTest.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
EntityClassesTest.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
EntityTestCase.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
EppResourceTest.java Define TestRule that manages cache use in tests 2019-01-11 11:50:33 -05:00
EppResourceUtilsTest.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
ImmutableObjectTest.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
ModelUtilsTest.java Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
OteAccountBuilderTest.java Rationalize OT&E client ID validation rules 2019-01-14 16:28:12 -05:00
OteStatsTest.java Set short redemption/add/delete periods for all OT&E TLDs 2019-01-11 10:59:21 -05:00
OteStatsTestHelper.java Set short redemption/add/delete periods for all OT&E TLDs 2019-01-11 10:59:21 -05:00
ResourceCommandTestCase.java Refactor EppXmlTransformer to be in the model/ package 2018-12-12 13:22:34 -05:00
SchemaVersionTest.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
UpdateAutoTimestampTest.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00