mirror of
https://github.com/google/nomulus
synced 2026-07-31 12:32:50 +00:00
Refactor update snapshot view servlet into a Daggerized Action
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=120224051
This commit is contained in:
@@ -155,9 +155,9 @@ public class LoadSnapshotServlet extends HttpServlet {
|
||||
// well-known view in BigQuery to point at the newly loaded snapshot table for this kind.
|
||||
bigqueryPollEnqueuer.enqueuePollTask(
|
||||
jobRef,
|
||||
UpdateSnapshotViewServlet.createViewUpdateTask(
|
||||
UpdateSnapshotViewAction.createViewUpdateTask(
|
||||
ENVIRONMENT.config().getSnapshotsDataset(), tableId, kindName),
|
||||
QueueFactory.getQueue(UpdateSnapshotViewServlet.QUEUE));
|
||||
QueueFactory.getQueue(UpdateSnapshotViewAction.QUEUE));
|
||||
|
||||
builder.append(String.format(" - %s:%s\n", projectId, jobId));
|
||||
logger.infofmt("Submitted load job %s:%s", projectId, jobId);
|
||||
|
||||
Reference in New Issue
Block a user