google-nomulus/java/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
..
annotations Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
billing Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -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
eppcommon Use Immutable types for static final fields 2017-03-07 13:50:53 -05: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 Use Immutable types for static final fields 2017-03-07 13:50:53 -05:00
mark Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ofy Save bloom filters for premium list entries 2017-02-17 12:15:02 -05:00
poll Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
pricing Return all applicable reserved list entries associated with a label 2017-03-13 11:22:56 -04:00
rde Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
registrar Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -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 Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
transfer Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
translators Save bloom filters for premium list entries 2017-02-17 12:15:02 -05:00
BackupGroupRoot.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
BUILD Create *InfoData objects instead of reusing *Resource objects 2017-01-12 14:11:51 -05:00
Buildable.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
CacheUtils.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
CreateAutoTimestamp.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
EntityClasses.java Add Cloud KMS based secret storage 2017-02-17 12:22:12 -05:00
EppResource.java Remove the ofy().load() inside of HostResource.cloneProjectedAtTime 2017-03-13 11:22:55 -04:00
EppResourceUtils.java Remove the ofy().load() inside of HostResource.cloneProjectedAtTime 2017-03-13 11:22:55 -04:00
ImmutableObject.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
Jsonifiable.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
JsonMapBuilder.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ModelUtils.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
package-info.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
SchemaVersion.java Replace deprecated "assignableFrom" with Guava 20 "subtypeOf" 2017-02-02 16:51:43 -05:00
UpdateAutoTimestamp.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00