mirror of
https://github.com/google/nomulus.git
synced 2025-05-18 02:09:35 +02:00
Export entity integrity alerts to BigQuery
This is part 2 of a longer series. Part 3 will add lots more tests, will add a cron entry, and will include an analysis script to run on BigQuery to detect the presence of two consecutive errors. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=120040267
This commit is contained in:
parent
f20b1d89a9
commit
4fbf613955
11 changed files with 784 additions and 161 deletions
|
@ -41,6 +41,8 @@ import com.google.domain.registry.util.NonFinalForTesting;
|
|||
import java.io.IOException;
|
||||
import java.util.Set;
|
||||
|
||||
import javax.inject.Inject;
|
||||
|
||||
/** Factory for creating {@link Bigquery} connections. */
|
||||
public class BigqueryFactory {
|
||||
|
||||
|
@ -57,6 +59,8 @@ public class BigqueryFactory {
|
|||
@VisibleForTesting
|
||||
Subfactory subfactory = new Subfactory();
|
||||
|
||||
@Inject public BigqueryFactory() {}
|
||||
|
||||
/** This class is broken out solely so that it can be mocked inside of tests. */
|
||||
static class Subfactory {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue