mirror of
https://github.com/google/nomulus.git
synced 2025-05-17 17:59:41 +02:00
Add escrow file import validation logic
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=129116064
This commit is contained in:
parent
f9636b6cea
commit
d3d33ccfdc
11 changed files with 956 additions and 33 deletions
|
@ -314,6 +314,15 @@ public final class ConfigModule {
|
|||
return projectId + "-rde";
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the Google Cloud Storage bucket for importing escrow files.
|
||||
*/
|
||||
@Provides
|
||||
@Config("rdeImportBucket")
|
||||
public String provideRdeImportBucket(@Config("projectId") String projectId) {
|
||||
return projectId + "-rde-import";
|
||||
}
|
||||
|
||||
/**
|
||||
* Size of Ghostryde buffer in bytes for each layer in the pipeline.
|
||||
*
|
||||
|
|
|
@ -98,11 +98,6 @@ public final class ProductionRegistryConfigExample implements RegistryConfig {
|
|||
return getProjectId() + "-zonefiles";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getEscrowFileImportBucket() {
|
||||
return getProjectId() + "-escrow-import";
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean getTmchCaTestingMode() {
|
||||
switch (environment) {
|
||||
|
|
|
@ -89,11 +89,6 @@ public interface RegistryConfig {
|
|||
*/
|
||||
public String getZoneFilesBucket();
|
||||
|
||||
/**
|
||||
* Returns the Google Cloud Storage bucket for importing escrow files.
|
||||
*/
|
||||
public String getEscrowFileImportBucket();
|
||||
|
||||
/**
|
||||
* Returns {@code true} if TMCH certificate authority should be in testing mode.
|
||||
*
|
||||
|
|
|
@ -65,11 +65,6 @@ public class TestRegistryConfig implements RegistryConfig {
|
|||
return getProjectId() + "-zonefiles";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getEscrowFileImportBucket() {
|
||||
return getProjectId() + "-escrow-import";
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean getTmchCaTestingMode() {
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue