mirror of
https://github.com/google/nomulus.git
synced 2025-05-16 01:17:14 +02:00
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
35 lines
949 B
Text
35 lines
949 B
Text
package(
|
|
default_testonly = 1,
|
|
default_visibility = ["//java/google/registry:registry_project"],
|
|
)
|
|
|
|
licenses(["notice"]) # Apache 2.0
|
|
|
|
java_library(
|
|
name = "pubapi",
|
|
srcs = glob(["*.java"]),
|
|
resources = glob(["testdata/*"]),
|
|
runtime_deps = [
|
|
# TODO(b/19332643): Remove this dependency when Modules is lazy.
|
|
"@com_google_appengine_api_1_0_sdk//:testonly",
|
|
],
|
|
deps = [
|
|
"//java/google/registry/module/pubapi",
|
|
"//java/google/registry/request",
|
|
"//javatests/google/registry/testing",
|
|
"@com_google_guava",
|
|
"@com_google_truth",
|
|
"@com_google_truth_extensions_truth_java8_extension",
|
|
"@javax_servlet_api",
|
|
"@junit",
|
|
"@org_mockito_all",
|
|
],
|
|
)
|
|
|
|
load("//java/com/google/testing/builddefs:GenTestRules.bzl", "GenTestRules")
|
|
|
|
GenTestRules(
|
|
name = "GeneratedTestRules",
|
|
test_files = glob(["*Test.java"]),
|
|
deps = [":pubapi"],
|
|
)
|