mirror of
https://github.com/google/nomulus.git
synced 2025-06-27 06:44:51 +02:00
Move restore from backend to tools
Move the "restoreCommitLogs" command from the backend module to the tools module so it's easier to access with nomulus. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=156768389
This commit is contained in:
parent
9ee9229456
commit
e6af34301d
7 changed files with 22 additions and 9 deletions
|
@ -20,7 +20,6 @@ import google.registry.backup.BackupModule;
|
|||
import google.registry.backup.CommitLogCheckpointAction;
|
||||
import google.registry.backup.DeleteOldCommitLogsAction;
|
||||
import google.registry.backup.ExportCommitLogDiffAction;
|
||||
import google.registry.backup.RestoreCommitLogsAction;
|
||||
import google.registry.batch.BatchModule;
|
||||
import google.registry.batch.DeleteContactsAndHostsAction;
|
||||
import google.registry.batch.DeleteProberDataAction;
|
||||
|
@ -127,7 +126,6 @@ interface BackendRequestComponent {
|
|||
RdeReporter rdeReporter();
|
||||
RefreshDnsAction refreshDnsAction();
|
||||
RefreshDnsOnHostRenameAction refreshDnsOnHostRenameAction();
|
||||
RestoreCommitLogsAction restoreCommitLogsAction();
|
||||
SyncGroupMembersAction syncGroupMembersAction();
|
||||
SyncRegistrarsSheetAction syncRegistrarsSheetAction();
|
||||
TldFanoutAction tldFanoutAction();
|
||||
|
|
|
@ -8,6 +8,7 @@ java_library(
|
|||
name = "tools",
|
||||
srcs = glob(["*.java"]),
|
||||
deps = [
|
||||
"//java/google/registry/backup",
|
||||
"//java/google/registry/config",
|
||||
"//java/google/registry/dns",
|
||||
"//java/google/registry/export",
|
||||
|
|
|
@ -16,6 +16,8 @@ package google.registry.module.tools;
|
|||
|
||||
import dagger.Module;
|
||||
import dagger.Subcomponent;
|
||||
import google.registry.backup.BackupModule;
|
||||
import google.registry.backup.RestoreCommitLogsAction;
|
||||
import google.registry.dns.DnsModule;
|
||||
import google.registry.export.PublishDetailReportAction;
|
||||
import google.registry.flows.EppToolAction;
|
||||
|
@ -50,6 +52,7 @@ import google.registry.tools.server.javascrap.RefreshAllDomainsAction;
|
|||
@RequestScope
|
||||
@Subcomponent(
|
||||
modules = {
|
||||
BackupModule.class,
|
||||
DnsModule.class,
|
||||
EppToolModule.class,
|
||||
LoadTestModule.class,
|
||||
|
@ -77,6 +80,7 @@ interface ToolsRequestComponent {
|
|||
PublishDetailReportAction publishDetailReportAction();
|
||||
RefreshAllDomainsAction refreshAllDomainsAction();
|
||||
ResaveAllEppResourcesAction resaveAllEppResourcesAction();
|
||||
RestoreCommitLogsAction restoreCommitLogsAction();
|
||||
UpdatePremiumListAction updatePremiumListAction();
|
||||
VerifyOteAction verifyOteAction();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue