google-nomulus/java/google/registry/request
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
..
auth Clean up annotation imports in BUILD files 2018-06-27 15:28:53 -04:00
lock Use locking on async mapreduces 2018-08-10 13:44:25 -04:00
Action.java Clean up some code quality issues 2017-12-01 22:14:06 -05:00
Actions.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
BUILD Clean up annotation imports in BUILD files 2018-06-27 15:28:53 -04:00
FullServletPath.java Derive RDAP link paths from the received query 2017-11-07 17:24:20 -05:00
Header.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
HttpException.java Migrate to Flogger (green) 2018-05-30 12:18:54 -04:00
JsonActionRunner.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
JsonPayload.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
JsonResponse.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
Modules.java Wrap ModulesService in new AppEngineServiceUtils 2018-08-10 13:44:25 -04:00
package-info.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
Parameter.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ParameterMap.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
Payload.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RequestComponentBuilder.java Remove Builder type param on RequestComponentBuilder/RequestHandler 2017-02-27 11:12:07 -05:00
RequestHandler.java Migrate to Flogger (green) 2018-05-30 12:18:54 -04:00
RequestLogId.java Add tool to check if other requests are still running 2017-09-12 15:51:50 -04:00
RequestMethod.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RequestModule.java Add next page navigation for RDAP nameserver searches 2017-12-27 10:44:05 -05:00
RequestParameters.java Remove transition code for set of parameter refactoring 2018-07-14 01:37:03 -04:00
RequestPath.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RequestScope.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RequestUrl.java Add next page navigation for RDAP nameserver searches 2017-12-27 10:44:05 -05:00
Response.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ResponseImpl.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
Route.java Replace com.google.common.base.Function with java.util.function.Function 2017-12-27 11:08:55 -05:00
Router.java Replace com.google.common.base.Function with java.util.function.Function 2017-12-27 11:08:55 -05:00
RouterDisplayHelper.java Run automatic Java 8 conversion over codebase 2017-10-10 12:09:41 -04:00