google-nomulus/java/google/registry/flows
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
..
annotations Make FlowRunner log ICANN activity report field name 2017-03-27 13:32:57 -04:00
async Wrap ModulesService in new AppEngineServiceUtils 2018-08-10 13:44:25 -04:00
contact Restrict contact info commands to owning registrars 2018-06-18 17:36:42 -04:00
custom Remove unnecessary generic type arguments 2017-11-21 18:17:31 -05:00
domain Properly handle NAME_COLLISION domains in start-date sunrise 2018-08-10 13:44:25 -04:00
exceptions Allow domain transfers with 0 period and in auto-renew grace period 2017-10-04 16:16:45 -04:00
host Clean up some code quality issues 2017-12-01 22:14:06 -05:00
picker Default missing type= argument to "registration" in launch:create EPP extension 2018-04-02 16:22:54 -04:00
poll Remove leniency on poll message ID format without years in them 2018-02-20 15:12:43 -05:00
session Migrate to Flogger (green) 2018-05-30 12:18:54 -04:00
soy Remove autoescape="strict" attributes from Soy templates. 2017-10-04 16:16:45 -04:00
BUILD Clean up annotation imports in BUILD files 2018-06-27 15:28:53 -04:00
CheckApiAction.java Start using non-EPP-flow-wrapping implementation in CheckAPI 2018-06-27 15:28:52 -04:00
CheckApiMetrics.java Add metrics for the new Check API 2018-06-18 17:44:04 -04:00
EppConsoleAction.java Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
EppController.java Migrate to Flogger (green) 2018-05-30 12:18:54 -04:00
EppException.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppMetrics.java Move metrics dependencies to artifacts under Maven groupId com.google.monitoring-client 2018-01-04 17:12:35 -05:00
EppRequestHandler.java Migrate to Flogger (green) 2018-05-30 12:18:54 -04:00
EppRequestSource.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppTlsAction.java Migrate to Flogger (green) 2018-05-30 12:18:54 -04:00
EppToolAction.java Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
EppXmlTransformer.java Migrate to Flogger (green) 2018-05-30 12:18:54 -04:00
ExtensionManager.java Migrate to Flogger (green) 2018-05-30 12:18:54 -04:00
Flow.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
FlowComponent.java Add extensibility framework for allocation tokens 2018-02-01 21:54:29 -05:00
FlowMetadata.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
FlowModule.java Add more absent clTrid unit tests 2018-06-27 15:28:52 -04:00
FlowReporter.java Remove redundant inputXml log in EPP flows 2018-06-18 17:56:15 -04:00
FlowRunner.java Migrate to Flogger (green) 2018-05-30 12:18:54 -04:00
FlowScope.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
FlowUtils.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GaeUserCredentials.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
HttpSessionMetadata.java Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
PasswordOnlyTransportCredentials.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ResourceFlowUtils.java Replace com.google.common.base.Predicate with java.util.function.Predicate 2017-12-27 11:21:28 -05:00
ServerTridProvider.java Clean up some code quality issues 2017-12-01 22:14:06 -05:00
ServerTridProviderImpl.java Refactor out creation of server TRIDs so they can be tested 2017-04-13 10:55:47 -04:00
ServerTridProviderModule.java Refactor out creation of server TRIDs so they can be tested 2017-04-13 10:55:47 -04:00
SessionMetadata.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
StatelessRequestSessionMetadata.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
TlsCredentials.java Migrate to Flogger (green) 2018-05-30 12:18:54 -04:00
TransactionalFlow.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
TransportCredentials.java Clean up some code quality issues 2017-12-01 22:14:06 -05:00