google-nomulus/javatests/google/registry/model
jianglai ebcdae7361 Return all applicable reserved list entries associated with a label
Instead of only returning the most severe one, return all applicable ones. This is because the reserved list has grown to a list of types that are not strictly comparable but orthogonal to each other. We can no longer depend on the fact that the most severe type incorporates all properties of those beneath it. Therefore returning all of them and treat them one by one in the calling site is the correct behavior.

Due to constraint imposed in eppcom.xsd, during domain checks the response can only contain a reservation reason of fewer than 32 characters, therefore we are returning the message for the type with highest severity, in case of multiple reservation types for a label.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=149776106
2017-03-13 11:22:56 -04:00
..
billing Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
common Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
contact Remove the ofy().load() inside of HostResource.cloneProjectedAtTime 2017-03-13 11:22:55 -04:00
domain Remove the ofy().load() inside of HostResource.cloneProjectedAtTime 2017-03-13 11:22:55 -04:00
eppinput Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
eppoutput Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
export Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
host Remove the ofy().load() inside of HostResource.cloneProjectedAtTime 2017-03-13 11:22:55 -04:00
index Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
mark Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ofy Add @VirtualEntity checking to Ofy's deleteWithoutBackup() 2017-02-08 17:31:07 -05:00
poll Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
rde Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
registrar Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
registry Return all applicable reserved list entries associated with a label 2017-03-13 11:22:56 -04:00
reporting Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
server Rewrite ServerSecret caching and accessor logic 2017-03-07 13:30:18 -05:00
smd Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
tmch Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
transfer Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
translators Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
BUILD Add MOE equivalence for sync on 2016-12-19 2017-01-09 11:59:04 -05:00
CreateAutoTimestampTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EntityClassesTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EntityTestCase.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
EppResourceUtilsTest.java Remove the ofy().load() inside of HostResource.cloneProjectedAtTime 2017-03-13 11:22:55 -04:00
ImmutableObjectTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ModelUtilsTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ResourceCommandTestCase.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
schema.txt Add Cloud KMS based secret storage 2017-02-17 12:22:12 -05:00
SchemaVersionTest.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
UpdateAutoTimestampTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00