mirror of
https://github.com/google/nomulus.git
synced 2025-05-08 15:58:21 +02:00
Remove deprecated DNS subsystem
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=212987308
This commit is contained in:
parent
5e2831b562
commit
a9944b8ce0
7 changed files with 281 additions and 1 deletions
|
@ -157,6 +157,75 @@ zip_file(
|
|||
],
|
||||
)
|
||||
|
||||
################################################################################
|
||||
# DOMAIN REGISTRY :: QUALITY ASSURANCE ENVIRONMENT
|
||||
#
|
||||
# QA is an environment for automated integration testing and manual acceptance testing.
|
||||
|
||||
registry_ear_file(
|
||||
name = "registry_qa_ear",
|
||||
out = "registry_qa.ear",
|
||||
configs = {
|
||||
"env/common/META-INF/appengine-application.xml": "META-INF/appengine-application.xml",
|
||||
"env/common/META-INF/application.xml": "META-INF/application.xml",
|
||||
},
|
||||
wars = {
|
||||
"registry_default_qa.war": "default",
|
||||
"registry_pubapi_qa.war": "pubapi",
|
||||
"registry_backend_qa.war": "backend",
|
||||
"registry_tools_qa.war": "tools",
|
||||
},
|
||||
)
|
||||
|
||||
zip_file(
|
||||
name = "registry_default_qa_war",
|
||||
srcs = [
|
||||
"env/qa/default/WEB-INF/appengine-web.xml",
|
||||
"env/qa/default/WEB-INF/cron.xml",
|
||||
],
|
||||
out = "registry_default_qa.war",
|
||||
mappings = {
|
||||
"domain_registry/java/google/registry/env/qa/default": "",
|
||||
},
|
||||
deps = [":registry_default_war"],
|
||||
)
|
||||
|
||||
zip_file(
|
||||
name = "registry_pubapi_qa_war",
|
||||
srcs = [
|
||||
"env/qa/pubapi/WEB-INF/appengine-web.xml",
|
||||
],
|
||||
out = "registry_pubapi_qa.war",
|
||||
mappings = {
|
||||
"domain_registry/java/google/registry/env/qa/pubapi": "",
|
||||
},
|
||||
deps = [":registry_pubapi_war"],
|
||||
)
|
||||
|
||||
zip_file(
|
||||
name = "registry_backend_qa_war",
|
||||
srcs = [
|
||||
"env/qa/backend/WEB-INF/appengine-web.xml",
|
||||
],
|
||||
out = "registry_backend_qa.war",
|
||||
mappings = {
|
||||
"domain_registry/java/google/registry/env/qa/backend": "",
|
||||
},
|
||||
deps = [":registry_backend_war"],
|
||||
)
|
||||
|
||||
zip_file(
|
||||
name = "registry_tools_qa_war",
|
||||
srcs = [
|
||||
"env/qa/tools/WEB-INF/appengine-web.xml",
|
||||
],
|
||||
out = "registry_tools_qa.war",
|
||||
mappings = {
|
||||
"domain_registry/java/google/registry/env/qa/tools": "",
|
||||
},
|
||||
deps = [":registry_tools_war"],
|
||||
)
|
||||
|
||||
################################################################################
|
||||
# DOMAIN REGISTRY :: SANDBOX ENVIRONMENT
|
||||
#
|
||||
|
|
|
@ -121,7 +121,6 @@
|
|||
<url-pattern>/_dr/task/generateZoneFiles</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>tools-servlet</servlet-name>
|
||||
<url-pattern>/_dr/task/pollMapreduce</url-pattern>
|
||||
|
|
31
java/google/registry/env/qa/backend/WEB-INF/appengine-web.xml
vendored
Normal file
31
java/google/registry/env/qa/backend/WEB-INF/appengine-web.xml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
|
||||
|
||||
<application>domain-registry</application>
|
||||
<version>1</version>
|
||||
<runtime>java8</runtime>
|
||||
<module>backend</module>
|
||||
<threadsafe>true</threadsafe>
|
||||
<sessions-enabled>true</sessions-enabled>
|
||||
<instance-class>B4</instance-class>
|
||||
<basic-scaling>
|
||||
<max-instances>10</max-instances>
|
||||
<idle-timeout>10m</idle-timeout>
|
||||
</basic-scaling>
|
||||
|
||||
<system-properties>
|
||||
<property name="java.util.logging.config.file"
|
||||
value="WEB-INF/logging.properties"/>
|
||||
<property name="google.registry.environment"
|
||||
value="qa"/>
|
||||
</system-properties>
|
||||
|
||||
<static-files>
|
||||
<include path="/*.html" expiration="1h"/>
|
||||
</static-files>
|
||||
|
||||
<!-- Prevent uncaught servlet errors from leaking a stack trace. -->
|
||||
<static-error-handlers>
|
||||
<handler file="error.html"/>
|
||||
</static-error-handlers>
|
||||
</appengine-web-app>
|
38
java/google/registry/env/qa/default/WEB-INF/appengine-web.xml
vendored
Normal file
38
java/google/registry/env/qa/default/WEB-INF/appengine-web.xml
vendored
Normal file
|
@ -0,0 +1,38 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
|
||||
|
||||
<application>domain-registry</application>
|
||||
<version>1</version>
|
||||
<runtime>java8</runtime>
|
||||
<module>default</module>
|
||||
<threadsafe>true</threadsafe>
|
||||
<sessions-enabled>true</sessions-enabled>
|
||||
<instance-class>F4_1G</instance-class>
|
||||
<automatic-scaling>
|
||||
<min-idle-instances>1</min-idle-instances>
|
||||
<max-idle-instances>automatic</max-idle-instances>
|
||||
<min-pending-latency>automatic</min-pending-latency>
|
||||
<max-pending-latency>100ms</max-pending-latency>
|
||||
<max-concurrent-requests>10</max-concurrent-requests>
|
||||
</automatic-scaling>
|
||||
|
||||
<system-properties>
|
||||
<property name="java.util.logging.config.file"
|
||||
value="WEB-INF/logging.properties"/>
|
||||
<property name="google.registry.environment"
|
||||
value="qa"/>
|
||||
</system-properties>
|
||||
|
||||
<static-files>
|
||||
<include path="/*.html" expiration="1h"/>
|
||||
<include path="/assets/js/**" expiration="1h"/>
|
||||
<include path="/assets/css/**" expiration="1h"/>
|
||||
<include path="/assets/images/**" expiration="1h"/>
|
||||
<include path="/assets/sources/**" expiration="1h"/>
|
||||
</static-files>
|
||||
|
||||
<!-- Prevent uncaught servlet errors from leaking a stack trace. -->
|
||||
<static-error-handlers>
|
||||
<handler file="error.html"/>
|
||||
</static-error-handlers>
|
||||
</appengine-web-app>
|
75
java/google/registry/env/qa/default/WEB-INF/cron.xml
vendored
Normal file
75
java/google/registry/env/qa/default/WEB-INF/cron.xml
vendored
Normal file
|
@ -0,0 +1,75 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<cronentries>
|
||||
|
||||
<cron>
|
||||
<url><![CDATA[/_dr/cron/readDnsQueue?jitterSeconds=45]]></url>
|
||||
<description>
|
||||
Lease all tasks from the dns-pull queue, group by TLD, and invoke PublishDnsUpdates for each
|
||||
group.
|
||||
</description>
|
||||
<schedule>every 1 minutes synchronized</schedule>
|
||||
<target>backend</target>
|
||||
</cron>
|
||||
|
||||
<cron>
|
||||
<url><![CDATA[/_dr/cron/fanout?queue=sheet&endpoint=/_dr/task/syncRegistrarsSheet&runInEmpty]]></url>
|
||||
<description>
|
||||
Synchronize Registrar entities to Google Spreadsheets.
|
||||
</description>
|
||||
<schedule>every 1 hours synchronized</schedule>
|
||||
<target>backend</target>
|
||||
</cron>
|
||||
|
||||
<cron>
|
||||
<url><![CDATA[/_dr/task/resaveAllEppResources]]></url>
|
||||
<description>
|
||||
This job resaves all our resources, projected in time to "now".
|
||||
It is needed for "deleteOldCommitLogs" to work correctly.
|
||||
</description>
|
||||
<schedule>1st monday of month 09:00</schedule>
|
||||
<target>backend</target>
|
||||
</cron>
|
||||
|
||||
<cron>
|
||||
<url><![CDATA[/_dr/task/deleteOldCommitLogs]]></url>
|
||||
<description>
|
||||
This job deletes unreferenced commit logs from Datastore that are older than thirty days.
|
||||
Since references are only updated on save, if we want to delete "unneeded" commit logs, we
|
||||
also need "resaveAllEppResources" to run periodically.
|
||||
</description>
|
||||
<schedule>3rd monday of month 09:00</schedule>
|
||||
<target>backend</target>
|
||||
</cron>
|
||||
|
||||
<cron>
|
||||
<url><![CDATA[/_dr/task/deleteContactsAndHosts]]></url>
|
||||
<description>
|
||||
This job runs a mapreduce that processes batch asynchronous deletions of
|
||||
contact and host resources by mapping over all EppResources and checking
|
||||
for any references to the contacts/hosts in pending deletion.
|
||||
</description>
|
||||
<schedule>every 5 minutes synchronized</schedule>
|
||||
<target>backend</target>
|
||||
</cron>
|
||||
|
||||
<cron>
|
||||
<url><![CDATA[/_dr/task/refreshDnsOnHostRename]]></url>
|
||||
<description>
|
||||
This job runs a mapreduce that asynchronously handles DNS refreshes for
|
||||
host renames by mapping over all domains and creating DNS refresh tasks
|
||||
for any domains that reference a renamed host.
|
||||
</description>
|
||||
<schedule>every 5 minutes synchronized</schedule>
|
||||
<target>backend</target>
|
||||
</cron>
|
||||
|
||||
<cron>
|
||||
<url><![CDATA[/_dr/cron/fanout?queue=retryable-cron-tasks&endpoint=/_dr/task/syncGroupMembers&runInEmpty]]></url>
|
||||
<description>
|
||||
Syncs RegistrarContact changes in the past hour to Google Groups.
|
||||
</description>
|
||||
<schedule>every 1 hours synchronized</schedule>
|
||||
<target>backend</target>
|
||||
</cron>
|
||||
|
||||
</cronentries>
|
34
java/google/registry/env/qa/pubapi/WEB-INF/appengine-web.xml
vendored
Normal file
34
java/google/registry/env/qa/pubapi/WEB-INF/appengine-web.xml
vendored
Normal file
|
@ -0,0 +1,34 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
|
||||
|
||||
<application>domain-registry</application>
|
||||
<version>1</version>
|
||||
<runtime>java8</runtime>
|
||||
<module>pubapi</module>
|
||||
<threadsafe>true</threadsafe>
|
||||
<sessions-enabled>true</sessions-enabled>
|
||||
<instance-class>B4</instance-class>
|
||||
<basic-scaling>
|
||||
<max-instances>10</max-instances>
|
||||
<idle-timeout>10m</idle-timeout>
|
||||
</basic-scaling>
|
||||
|
||||
<system-properties>
|
||||
<property name="java.util.logging.config.file"
|
||||
value="WEB-INF/logging.properties"/>
|
||||
<property name="google.registry.environment"
|
||||
value="qa"/>
|
||||
</system-properties>
|
||||
|
||||
<static-files>
|
||||
<include path="/*.html" expiration="1h"/>
|
||||
<include path="/assets/js/**" expiration="1h"/>
|
||||
<include path="/assets/css/**" expiration="1h"/>
|
||||
<include path="/assets/images/**" expiration="1h"/>
|
||||
</static-files>
|
||||
|
||||
<!-- Prevent uncaught servlet errors from leaking a stack trace. -->
|
||||
<static-error-handlers>
|
||||
<handler file="error.html"/>
|
||||
</static-error-handlers>
|
||||
</appengine-web-app>
|
34
java/google/registry/env/qa/tools/WEB-INF/appengine-web.xml
vendored
Normal file
34
java/google/registry/env/qa/tools/WEB-INF/appengine-web.xml
vendored
Normal file
|
@ -0,0 +1,34 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
|
||||
|
||||
<application>domain-registry</application>
|
||||
<version>1</version>
|
||||
<runtime>java8</runtime>
|
||||
<module>tools</module>
|
||||
<threadsafe>true</threadsafe>
|
||||
<sessions-enabled>true</sessions-enabled>
|
||||
<instance-class>B4</instance-class>
|
||||
<basic-scaling>
|
||||
<max-instances>10</max-instances>
|
||||
<idle-timeout>10m</idle-timeout>
|
||||
</basic-scaling>
|
||||
|
||||
<system-properties>
|
||||
<property name="java.util.logging.config.file"
|
||||
value="WEB-INF/logging.properties"/>
|
||||
<property name="google.registry.environment"
|
||||
value="qa"/>
|
||||
</system-properties>
|
||||
|
||||
<static-files>
|
||||
<include path="/*.html" expiration="1h"/>
|
||||
<include path="/assets/js/**" expiration="1h"/>
|
||||
<include path="/assets/css/**" expiration="1h"/>
|
||||
<include path="/assets/images/**" expiration="1h"/>
|
||||
</static-files>
|
||||
|
||||
<!-- Prevent uncaught servlet errors from leaking a stack trace. -->
|
||||
<static-error-handlers>
|
||||
<handler file="error.html"/>
|
||||
</static-error-handlers>
|
||||
</appengine-web-app>
|
Loading…
Add table
Reference in a new issue