mirror of
https://github.com/google/nomulus.git
synced 2025-05-02 13:07:50 +02:00
Certain flows need to launch batched jobs. Logically this would mean that flows depend on batch. However, the current state of dependency was the other way around, and the reason for that was ResourceFlowUtils.java that had in it some utility functions that weren't used in the flows and were needed in the batch jobs. This CL removes these utility functions from the /flows/ directory, letting us reverse the dependency edge between flows/ and batch/ Part of this was moving the flows/async/ code into batch/ - which also makes sense because flows/async/ just "enqueued" tasks that would then be run by actions in batch/ It makes sense that the code that enqueues the tasks and the code that dequeues the tasks sit in the same library. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=228698761
38 lines
1.2 KiB
Text
38 lines
1.2 KiB
Text
package(
|
|
default_visibility = ["//visibility:public"],
|
|
)
|
|
|
|
licenses(["notice"]) # Apache 2.0
|
|
|
|
java_library(
|
|
name = "batch",
|
|
srcs = glob(["*.java"]),
|
|
deps = [
|
|
"//java/google/registry/config",
|
|
"//java/google/registry/dns",
|
|
"//java/google/registry/mapreduce",
|
|
"//java/google/registry/mapreduce/inputs",
|
|
"//java/google/registry/model",
|
|
"//java/google/registry/pricing",
|
|
"//java/google/registry/request",
|
|
"//java/google/registry/request/auth",
|
|
"//java/google/registry/util",
|
|
"//third_party/objectify:objectify-v4_1",
|
|
"@com_google_appengine_api_1_0_sdk",
|
|
"@com_google_appengine_tools_appengine_gcs_client",
|
|
"@com_google_appengine_tools_appengine_mapreduce",
|
|
"@com_google_appengine_tools_appengine_pipeline",
|
|
"@com_google_auto_factory",
|
|
"@com_google_auto_value",
|
|
"@com_google_code_findbugs_jsr305",
|
|
"@com_google_dagger",
|
|
"@com_google_flogger",
|
|
"@com_google_flogger_system_backend",
|
|
"@com_google_guava",
|
|
"@com_google_http_client",
|
|
"@com_google_monitoring_client_metrics",
|
|
"@javax_servlet_api",
|
|
"@joda_time",
|
|
"@org_joda_money",
|
|
],
|
|
)
|