mirror of
https://github.com/google/nomulus.git
synced 2025-05-02 13:07:50 +02:00
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 |
||
---|---|---|
.. | ||
BigQueryMetric.java | ||
BigQueryMetricsEnqueuer.java | ||
BUILD | ||
CheckApiMetric.java | ||
EppMetric.java | ||
MetricsExportAction.java | ||
package-info.java | ||
StackdriverModule.java | ||
WhiteboxModule.java |