mirror of
https://github.com/google/nomulus.git
synced 2025-05-22 04:09:46 +02:00
Add "pubapi" App Engine service for check API, WHOIS, and RDAP
The migration plan is as follows: 1. This CL, which adds the new "pubapi" service that serves the check API, WHOIS, and RDAP. 2a. Update our public facing sites to switch over to use the new service. 2b. (either order) Rewrite the check API to remove dependencies on flows. 3. ... eventually, once the frontend service is no longer being hit by this traffic, remove its handling of these public endpoints. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=197716346
This commit is contained in:
parent
a5abb05761
commit
ac500652ac
22 changed files with 865 additions and 0 deletions
43
java/google/registry/module/pubapi/BUILD
Normal file
43
java/google/registry/module/pubapi/BUILD
Normal file
|
@ -0,0 +1,43 @@
|
|||
package(
|
||||
default_visibility = ["//java/google/registry:registry_project"],
|
||||
)
|
||||
|
||||
licenses(["notice"]) # Apache 2.0
|
||||
|
||||
java_library(
|
||||
name = "pubapi",
|
||||
srcs = glob(["*.java"]),
|
||||
deps = [
|
||||
"//java/google/registry/config",
|
||||
"//java/google/registry/dns",
|
||||
"//java/google/registry/flows",
|
||||
"//java/google/registry/keyring/api",
|
||||
"//java/google/registry/keyring/kms",
|
||||
"//java/google/registry/monitoring/whitebox",
|
||||
"//java/google/registry/rdap",
|
||||
"//java/google/registry/request",
|
||||
"//java/google/registry/request:modules",
|
||||
"//java/google/registry/request/auth",
|
||||
"//java/google/registry/util",
|
||||
"//java/google/registry/whois",
|
||||
"@com_google_appengine_api_1_0_sdk",
|
||||
"@com_google_code_findbugs_jsr305",
|
||||
"@com_google_dagger",
|
||||
"@com_google_guava",
|
||||
"@com_google_monitoring_client_metrics",
|
||||
"@javax_servlet_api",
|
||||
"@org_bouncycastle_bcpkix_jdk15on",
|
||||
],
|
||||
)
|
||||
|
||||
# This rule is used so bazel can generate "frontend_jar_deploy.jar" (which
|
||||
# contains transitive dependencies) for deployment to App Engine. It MUST
|
||||
# explicitly depend upon upon anything loaded at runtime, e.g. old servlets
|
||||
# referenced by the module's web.xml file, that isn't statically linked above.
|
||||
java_binary(
|
||||
name = "pubapi_jar",
|
||||
create_executable = 0,
|
||||
runtime_deps = [
|
||||
":pubapi",
|
||||
],
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue