mirror of
https://github.com/google/nomulus.git
synced 2025-08-18 07:24:05 +02: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:
parent
4fbf613955
commit
c5d09227c5
8 changed files with 68 additions and 121 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue