google-nomulus/java/google/registry/ui
mcilwain 6e74ba0587 Wrap ModulesService in new AppEngineServiceUtils
ModulesService does not provide a great API. Specifically, it doesn't have a
way to get the hostname for a specific service; you have to get the hostname for
a specific version as well. This is very rarely what we want, as we publish new
versions every week and don't expect old ones to hang around for very long, so
a task should execute against whatever the live version is, not whatever the
current version was back when the task was enqueued (especially because that
version might be deleted by now).

This new and improved wrapper API removes the confusion and plays better with
dependency injection to boot. We can also fold in other methods having to do
with App Engine services, whereas ModulesService was quite limited in scope.

This also has the side effect of fixing ResaveEntityAction, which is
currently broken because the tasks it's enqueuing to execute up to 30 days in
the future have the version hard-coded into the hostname, and we typically
delete old versions sooner than that.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=206173763
2018-08-10 13:44:25 -04:00
..
assets/images Delete all Braintree code 2018-07-14 01:37:03 -04:00
css Delete all Braintree code 2018-07-14 01:37:03 -04:00
epptmpl mv com/google/domain/registry google/registry 2016-05-13 18:55:08 -04:00
externs Delete all Braintree code 2018-07-14 01:37:03 -04:00
forms Use java-8 functionals in FormFields 2018-04-23 14:56:18 -04:00
html Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
js Delete all Braintree code 2018-07-14 01:37:03 -04:00
server Wrap ModulesService in new AppEngineServiceUtils 2018-08-10 13:44:25 -04:00
soy Fix mismatched parenthesis in domain.soy 2018-07-14 01:37:03 -04:00
BUILD Delete all Braintree code 2018-07-14 01:37:03 -04:00
compile_test.js Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
conformance_proto.txt mv com/google/domain/registry google/registry 2016-05-13 18:55:08 -04:00
ConsoleDebug.java Delete all Braintree code 2018-07-14 01:37:03 -04:00
globals.txt Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
package-info.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00