mirror of
https://github.com/google/nomulus
synced 2026-09-06 16:17:13 +00:00
Remove the beam parameter in RDE staging action (#1684)
The parameter was used to force a RDE beam run, which is no longer necessary, now that the mapreduce pipeline is deleted.
This commit is contained in:
@@ -42,7 +42,6 @@ public abstract class RdeModule {
|
||||
public static final String PARAM_WATERMARK = "watermark";
|
||||
public static final String PARAM_WATERMARKS = "watermarks";
|
||||
public static final String PARAM_MANUAL = "manual";
|
||||
public static final String PARAM_BEAM = "beam";
|
||||
public static final String PARAM_DIRECTORY = "directory";
|
||||
public static final String PARAM_MODE = "mode";
|
||||
public static final String PARAM_REVISION = "revision";
|
||||
@@ -70,12 +69,6 @@ public abstract class RdeModule {
|
||||
return extractBooleanParameter(req, PARAM_MANUAL);
|
||||
}
|
||||
|
||||
@Provides
|
||||
@Parameter(PARAM_BEAM)
|
||||
static boolean provideBeam(HttpServletRequest req) {
|
||||
return extractBooleanParameter(req, PARAM_BEAM);
|
||||
}
|
||||
|
||||
@Provides
|
||||
@Parameter(PARAM_DIRECTORY)
|
||||
static Optional<String> provideDirectory(HttpServletRequest req) {
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
package google.registry.tools;
|
||||
|
||||
import static google.registry.model.tld.Registries.assertTldsExist;
|
||||
import static google.registry.rde.RdeModule.PARAM_BEAM;
|
||||
import static google.registry.rde.RdeModule.PARAM_DIRECTORY;
|
||||
import static google.registry.rde.RdeModule.PARAM_LENIENT;
|
||||
import static google.registry.rde.RdeModule.PARAM_MANUAL;
|
||||
@@ -71,13 +70,6 @@ final class GenerateEscrowDepositCommand implements CommandWithRemoteApi {
|
||||
+ "XML deposit files.")
|
||||
private boolean lenient = false;
|
||||
|
||||
@Parameter(
|
||||
names = {"-b", "--beam"},
|
||||
description =
|
||||
"Whether to explicitly launch the beam pipeline instead of letting the action decide"
|
||||
+ " which one to run.")
|
||||
private boolean beam = false;
|
||||
|
||||
@Parameter(
|
||||
names = {"-r", "--revision"},
|
||||
description = "Revision number. Use >0 for resends.")
|
||||
@@ -119,7 +111,6 @@ final class GenerateEscrowDepositCommand implements CommandWithRemoteApi {
|
||||
.put(PARAM_MODE, mode.toString())
|
||||
.put(PARAM_DIRECTORY, outdir)
|
||||
.put(PARAM_LENIENT, Boolean.toString(lenient))
|
||||
.put(PARAM_BEAM, Boolean.toString(beam))
|
||||
.put(PARAM_TLDS, tlds.stream().collect(Collectors.joining(",")))
|
||||
.put(
|
||||
PARAM_WATERMARKS,
|
||||
|
||||
Reference in New Issue
Block a user