mirror of
https://github.com/google/nomulus.git
synced 2025-05-15 17:07:15 +02:00
Move prober deletion action to backend module
Also creates a new package named 'batch' to house it. TESTED=I deployed it to alpha, sent a POST request to the task URL, and it successfully ran the []. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=134332999
This commit is contained in:
parent
df53080f78
commit
7f0cb4eae5
9 changed files with 11 additions and 358 deletions
|
@ -240,6 +240,12 @@
|
|||
<url-pattern>/_dr/task/exportDomainLists</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<!-- Mapreduce to delete all prober data. -->
|
||||
<servlet-mapping>
|
||||
<servlet-name>backend-servlet</servlet-name>
|
||||
<url-pattern>/_dr/task/deleteProberData</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<!-- Deletes the specified contact resource if it is not referenced by any domains. -->
|
||||
<!-- TODO(b/26140521): Delete this mapping once non-batched async operations are deleted. -->
|
||||
<servlet-mapping>
|
||||
|
|
|
@ -66,13 +66,6 @@
|
|||
<url-pattern>/_dr/epptool</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<!-- Mapreduce to delete all prober data. -->
|
||||
<servlet-mapping>
|
||||
<!-- TODO(b/27309488): maybe move this to the backend module + BackendServlet. -->
|
||||
<servlet-name>tools-servlet</servlet-name>
|
||||
<url-pattern>/_dr/task/deleteProberData</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<!-- Mapreduce to re-save all EppResources. -->
|
||||
<servlet-mapping>
|
||||
<servlet-name>tools-servlet</servlet-name>
|
||||
|
|
|
@ -187,8 +187,7 @@
|
|||
</description>
|
||||
<schedule>every monday 14:00</schedule>
|
||||
<timezone>UTC</timezone>
|
||||
<!-- TODO(b/27309488): maybe move this to the backend module. -->
|
||||
<target>tools</target>
|
||||
<target>backend</target>
|
||||
</cron>
|
||||
|
||||
<cron>
|
||||
|
|
|
@ -98,8 +98,7 @@
|
|||
</description>
|
||||
<schedule>every monday 14:00</schedule>
|
||||
<timezone>UTC</timezone>
|
||||
<!-- TODO(b/27309488): maybe move this to the backend module. -->
|
||||
<target>tools</target>
|
||||
<target>backend</target>
|
||||
</cron>
|
||||
|
||||
<cron>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue