1
0
mirror of https://github.com/google/nomulus synced 2026-01-09 07:33:42 +00:00

Add resave command for all HistoryEntries

This pattern will mainly be used for data migrations, i.e. updating all
HistoryEntries' DomainTransactionRecords to the new schema.

TESTED=Ran in alpha, the underlying data dropped non-Objectify fields as
expected.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=168684356
This commit is contained in:
larryruili
2017-09-14 07:14:22 -07:00
committed by jianglai
parent 07e5741cbb
commit efd7010f9d
5 changed files with 176 additions and 0 deletions

View File

@@ -72,6 +72,12 @@
<url-pattern>/_dr/task/resaveAllEppResources</url-pattern>
</servlet-mapping>
<!-- Mapreduce to re-save all HistoryEntries. -->
<servlet-mapping>
<servlet-name>tools-servlet</servlet-name>
<url-pattern>/_dr/task/resaveAllHistoryEntries</url-pattern>
</servlet-mapping>
<!-- Mapreduce to delete EppResources, children, and indices. -->
<servlet-mapping>
<servlet-name>tools-servlet</servlet-name>