mirror of
https://github.com/google/nomulus
synced 2026-09-03 22:57:09 +00:00
Open source GCP proxy
Dagger updated to 2.13, along with all its dependencies. Also allows us to have multiple config files for different environment (prod, sandbox, alpha, local, etc) and specify which one to use on the command line with a --env flag. Therefore the same binary can be used in all environments. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=176551289
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
# Description:
|
||||
# This package contains the code for the binary that proxies TCP traffic from
|
||||
# the GCE/GKE to AppEngine.
|
||||
|
||||
package(
|
||||
default_visibility = ["//java/google/registry:registry_project"],
|
||||
)
|
||||
|
||||
licenses(["notice"]) # Apache 2.0
|
||||
|
||||
java_library(
|
||||
name = "proxy",
|
||||
srcs = glob(["**/*.java"]),
|
||||
resources = glob([
|
||||
"resources/*",
|
||||
"config/*.yaml",
|
||||
]),
|
||||
deps = [
|
||||
"//java/google/registry/config",
|
||||
"//java/google/registry/monitoring/metrics",
|
||||
"//java/google/registry/monitoring/metrics/stackdriver",
|
||||
"//java/google/registry/util",
|
||||
"@com_beust_jcommander",
|
||||
"@com_google_api_client",
|
||||
"@com_google_apis_google_api_services_cloudkms",
|
||||
"@com_google_apis_google_api_services_monitoring",
|
||||
"@com_google_auto_value",
|
||||
"@com_google_code_findbugs_jsr305",
|
||||
"@com_google_dagger",
|
||||
"@com_google_guava",
|
||||
"@io_netty_buffer",
|
||||
"@io_netty_codec",
|
||||
"@io_netty_codec_http",
|
||||
"@io_netty_common",
|
||||
"@io_netty_handler",
|
||||
"@io_netty_transport",
|
||||
"@javax_inject",
|
||||
"@joda_time",
|
||||
"@org_bouncycastle_bcpkix_jdk15on",
|
||||
],
|
||||
)
|
||||
|
||||
java_binary(
|
||||
name = "proxy_server",
|
||||
main_class = "google.registry.proxy.ProxyServer",
|
||||
runtime_deps = [
|
||||
":proxy",
|
||||
"@io_netty_tcnative",
|
||||
],
|
||||
)
|
||||
Reference in New Issue
Block a user