mirror of
https://github.com/google/nomulus.git
synced 2025-05-28 13:51:15 +02:00
Move ICANN activity report BigQuery SQL code to opensource repo
This migrates the IcannReportQueryBuilder part of the internal ICANN reporting script into the opensource repository, as a new module under the package google.registry.reporting. It correspondingly moves the golden activity SQL query test to the opensource repo, since that test only applies to this part of the script anyway (note that the actual golden SQL contents is unchanged by the move). Tested: confirmed that the newly moved test passes (and that it also fails when expected as well), and ran the internal icann reporting script locally to verify that both activity and transaction reporting results are unaffected by the move. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127580326
This commit is contained in:
parent
2714e07f06
commit
b9d1a4362f
4 changed files with 723 additions and 0 deletions
18
python/google/registry/reporting/BUILD
Normal file
18
python/google/registry/reporting/BUILD
Normal file
|
@ -0,0 +1,18 @@
|
|||
package(default_visibility = ["//java/google/registry:registry_project"])
|
||||
|
||||
licenses(["notice"]) # Apache 2.0
|
||||
|
||||
|
||||
py_library(
|
||||
name = "icann_report_query_builder",
|
||||
srcs = ["icann_report_query_builder.py"],
|
||||
deps = ["//python:python_directory_import"],
|
||||
)
|
||||
|
||||
py_test(
|
||||
name = "icann_report_query_builder_test",
|
||||
size = "small",
|
||||
srcs = ["icann_report_query_builder_test.py"],
|
||||
data = ["testdata/golden_activity_query.sql"],
|
||||
deps = [":icann_report_query_builder"],
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue