Permalink
Browse files

Delete end-date sunrise, landrush, and sunrush phases

This also deletes the associated commands and domain application specific
entities.

We haven't used any of these TLD phases since early 2015 and have no
intent to do so in the future, so it makes sense to delete them now so we
don't have to carry them through the Registry 3.0 migration.

Note that, while there are data model changes, there should be no required
data migrations. The fields and entities being removed will simply remain
as orphans. I confirmed that the removed types (such as the SUNRUSH_ADD
GracePeriodType) are no longer used in production data, and left types
that are still used, e.g. BillingEvent.Flag.LANDRUSH or
HistoryEntry.Type.ALLOCATE.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=228752843
  • Loading branch information...
CydeWeys committed Jan 10, 2019
1 parent c74ffd7 commit 580302898da3006abf110c9a070ccc987efd48d0
Showing with 344 additions and 17,634 deletions.
  1. +0 −229 docs/flows.md
  2. +0 −3 gradle/core/build.gradle
  3. +2 −6 java/google/registry/batch/DeleteContactsAndHostsAction.java
  4. +2 −9 java/google/registry/batch/DeleteProberDataAction.java
  5. +0 −6 java/google/registry/env/common/tools/WEB-INF/web.xml
  6. +0 −8 java/google/registry/flows/EppException.java
  7. +0 −15 java/google/registry/flows/FlowComponent.java
  8. +0 −20 java/google/registry/flows/FlowModule.java
  9. +0 −5 java/google/registry/flows/custom/CustomLogicFactory.java
  10. +0 −9 java/google/registry/flows/custom/CustomLogicModule.java
  11. +0 −221 java/google/registry/flows/custom/DomainApplicationCreateFlowCustomLogic.java
  12. +0 −40 java/google/registry/flows/custom/DomainPricingCustomLogic.java
  13. +0 −424 java/google/registry/flows/domain/DomainAllocateFlow.java
  14. +0 −420 java/google/registry/flows/domain/DomainApplicationCreateFlow.java
  15. +0 −125 java/google/registry/flows/domain/DomainApplicationDeleteFlow.java
  16. +0 −167 java/google/registry/flows/domain/DomainApplicationInfoFlow.java
  17. +0 −263 java/google/registry/flows/domain/DomainApplicationUpdateFlow.java
  18. +2 −21 java/google/registry/flows/domain/DomainCheckFlow.java
  19. +0 −12 java/google/registry/flows/domain/DomainClaimsCheckFlow.java
  20. +4 −41 java/google/registry/flows/domain/DomainCreateFlow.java
  21. +17 −50 java/google/registry/flows/domain/DomainFlowUtils.java
  22. +0 −21 java/google/registry/flows/domain/DomainPricingLogic.java
  23. +0 −63 java/google/registry/flows/domain/DomainUpdateFlow.java
  24. +0 −81 java/google/registry/flows/picker/FlowPicker.java
  25. +0 −1 java/google/registry/flows/poll/PollRequestFlow.java
  26. +1 −2 java/google/registry/mapreduce/inputs/EppResourceBaseReader.java
  27. +0 −4 java/google/registry/model/EntityClasses.java
  28. +1 −1 java/google/registry/model/EppResource.java
  29. +0 −17 java/google/registry/model/EppResourceUtils.java
  30. +2 −5 java/google/registry/model/OteAccountBuilder.java
  31. +0 −6 java/google/registry/model/OteStats.java
  32. +3 −0 java/google/registry/model/billing/BillingEvent.java
  33. +0 −151 java/google/registry/model/domain/DomainApplication.java
  34. +2 −1 java/google/registry/model/domain/DomainBase.java
  35. +3 −34 java/google/registry/model/domain/DomainResource.java
  36. +1 −6 java/google/registry/model/domain/GracePeriod.java
  37. +0 −83 java/google/registry/model/domain/allocate/AllocateCreateExtension.java
  38. +0 −30 java/google/registry/model/domain/allocate/package-info.java
  39. +0 −23 java/google/registry/model/domain/launch/ApplicationIdTargetExtension.java
  40. +0 −58 java/google/registry/model/domain/launch/ApplicationStatus.java
  41. +3 −0 java/google/registry/model/domain/launch/LaunchCreateExtension.java
  42. +0 −31 java/google/registry/model/domain/launch/LaunchCreateResponseExtension.java
  43. +1 −2 java/google/registry/model/domain/launch/LaunchDeleteExtension.java
  44. +1 −14 java/google/registry/model/domain/launch/LaunchExtension.java
  45. +1 −2 java/google/registry/model/domain/launch/LaunchInfoExtension.java
  46. +0 −56 java/google/registry/model/domain/launch/LaunchInfoResponseExtension.java
  47. +11 −52 java/google/registry/model/domain/launch/LaunchPhase.java
  48. +1 −2 java/google/registry/model/domain/launch/LaunchUpdateExtension.java
  49. +0 −15 java/google/registry/model/domain/rgp/GracePeriodStatus.java
  50. +0 −2 java/google/registry/model/eppcommon/ProtocolDefinition.java
  51. +7 −12 java/google/registry/model/eppcommon/StatusValue.java
  52. +0 −3 java/google/registry/model/eppinput/EppInput.java
  53. +0 −4 java/google/registry/model/eppoutput/EppResponse.java
  54. +0 −137 java/google/registry/model/index/DomainApplicationIndex.java
  55. +6 −43 java/google/registry/model/poll/PollMessage.java
  56. +2 −2 java/google/registry/model/pricing/StaticPremiumListPricingEngine.java
  57. +4 −38 java/google/registry/model/registry/Registry.java
  58. +8 −4 java/google/registry/model/reporting/HistoryEntry.java
  59. +0 −2 java/google/registry/module/tools/ToolsRequestComponent.java
  60. +0 −2 java/google/registry/rdap/RdapJsonFormatter.java
  61. +10 −12 java/google/registry/tmch/LordnTaskUtils.java
  62. +0 −190 java/google/registry/tools/AllocateDomainCommand.java
  63. +10 −15 java/google/registry/tools/CommandUtilities.java
  64. +0 −7 java/google/registry/tools/CreateOrUpdateTldCommand.java
  65. +0 −68 java/google/registry/tools/DomainApplicationInfoCommand.java
  66. +0 −176 java/google/registry/tools/GenerateApplicationsReportCommand.java
  67. +0 −259 java/google/registry/tools/GenerateAuctionDataCommand.java
  68. +0 −37 java/google/registry/tools/GetApplicationCommand.java
  69. +0 −67 java/google/registry/tools/GetApplicationIdsCommand.java
  70. +0 −92 java/google/registry/tools/GetAppliedLabelsCommand.java
  71. +1 −1 java/google/registry/tools/GetHistoryEntriesCommand.java
  72. +0 −6 java/google/registry/tools/GtechTool.java
  73. +0 −10 java/google/registry/tools/RegistryTool.java
  74. +0 −1 java/google/registry/tools/RegistryToolComponent.java
  75. +1 −1 java/google/registry/tools/ResaveEppResourceCommand.java
  76. +0 −176 java/google/registry/tools/UpdateApplicationStatusCommand.java
  77. +0 −119 java/google/registry/tools/UpdateClaimsNoticeCommand.java
  78. +0 −124 java/google/registry/tools/UpdateSmdCommand.java
  79. +0 −116 java/google/registry/tools/server/KillAllDomainApplicationsAction.java
  80. +2 −7 java/google/registry/tools/server/KillAllEppResourcesAction.java
  81. +0 −89 java/google/registry/tools/soy/DomainAllocate.soy
  82. +0 −43 java/google/registry/tools/soy/DomainApplicationInfo.soy
  83. +10 −53 java/google/registry/ui/js/registrar/domain.js
  84. +1 −24 java/google/registry/ui/soy/registrar/Domain.soy
  85. +1 −104 java/google/registry/ui/soy/registrar/DomainEpp.soy
  86. +0 −7 javatests/google/registry/batch/RefreshDnsOnHostRenameActionTest.java
  87. +0 −14 javatests/google/registry/export/ExportDomainListsActionTest.java
  88. +0 −1 javatests/google/registry/export/backup_kinds.txt
  89. +0 −1 javatests/google/registry/export/reporting_kinds.txt
  90. +0 −96 javatests/google/registry/flows/EppLifecycleDomainApplicationTest.java
  91. +34 −28 javatests/google/registry/flows/EppLifecycleDomainTest.java
  92. +1 −4 javatests/google/registry/flows/FlowTestCase.java
  93. +1 −19 javatests/google/registry/flows/ResourceFlowTestCase.java
  94. +0 −12 javatests/google/registry/flows/custom/TestDomainPricingCustomLogic.java
  95. +0 −715 javatests/google/registry/flows/domain/DomainAllocateFlowTest.java
  96. +0 −1,771 javatests/google/registry/flows/domain/DomainApplicationCreateFlowTest.java
  97. +0 −345 javatests/google/registry/flows/domain/DomainApplicationDeleteFlowTest.java
  98. +0 −380 javatests/google/registry/flows/domain/DomainApplicationInfoFlowTest.java
  99. +0 −932 javatests/google/registry/flows/domain/DomainApplicationUpdateFlowTest.java
  100. +7 −87 javatests/google/registry/flows/domain/DomainCheckFlowTest.java
  101. +1 −16 javatests/google/registry/flows/domain/DomainClaimsCheckFlowTest.java
  102. +0 −272 javatests/google/registry/flows/domain/DomainCreateFlowTest.java
  103. +0 −6 javatests/google/registry/flows/domain/DomainDeleteFlowTest.java
  104. +0 −5 javatests/google/registry/flows/domain/DomainInfoFlowTest.java
  105. +0 −193 javatests/google/registry/flows/domain/DomainUpdateFlowTest.java
  106. +0 −28 javatests/google/registry/flows/domain/testdata/domain_allocate.xml
  107. +0 −24 javatests/google/registry/flows/domain/testdata/domain_allocate_11_years.xml
  108. +0 −39 javatests/google/registry/flows/domain/testdata/domain_allocate_13_nameservers.xml
  109. +0 −28 javatests/google/registry/flows/domain/testdata/domain_allocate_bad_application_roid.xml
  110. +0 −33 javatests/google/registry/flows/domain/testdata/domain_allocate_claims_notice.xml
  111. +0 −28 javatests/google/registry/flows/domain/testdata/domain_allocate_collision.xml
  112. +0 −37 javatests/google/registry/flows/domain/testdata/domain_allocate_dsdata.xml
  113. +0 −80 javatests/google/registry/flows/domain/testdata/domain_allocate_dsdata_8_records.xml
  114. +0 −28 javatests/google/registry/flows/domain/testdata/domain_allocate_idn.xml
  115. +0 −24 javatests/google/registry/flows/domain/testdata/domain_allocate_no_nameservers.xml
  116. +0 −28 javatests/google/registry/flows/domain/testdata/domain_allocate_premium.xml
  117. +0 −28 javatests/google/registry/flows/domain/testdata/domain_allocate_reserved.xml
  118. +0 −19 javatests/google/registry/flows/domain/testdata/domain_allocate_response.xml
  119. +0 −29 javatests/google/registry/flows/domain/testdata/domain_allocate_smd_id.xml
  120. +0 −28 javatests/google/registry/flows/domain/testdata/domain_create_landrush.xml
  121. +0 −29 javatests/google/registry/flows/domain/testdata/domain_create_landrush_11_years.xml
  122. +0 −28 javatests/google/registry/flows/domain/testdata/domain_create_landrush_allowedinsunrise.xml
  123. +0 −32 javatests/google/registry/flows/domain/testdata/domain_create_landrush_claim_notice.xml
  124. +0 −32 javatests/google/registry/flows/domain/testdata/domain_create_landrush_fee.xml
  125. +0 −32 javatests/google/registry/flows/domain/testdata/domain_create_landrush_fee_applied.xml
  126. +0 −32 javatests/google/registry/flows/domain/testdata/domain_create_landrush_fee_bad_scale.xml
  127. +0 −32 javatests/google/registry/flows/domain/testdata/domain_create_landrush_fee_defaults.xml
  128. +0 −32 javatests/google/registry/flows/domain/testdata/domain_create_landrush_fee_grace_period.xml
  129. +0 −32 javatests/google/registry/flows/domain/testdata/domain_create_landrush_fee_refundable.xml
  130. +0 −29 javatests/google/registry/flows/domain/testdata/domain_create_landrush_fee_response.xml
  131. +0 −29 javatests/google/registry/flows/domain/testdata/domain_create_landrush_months.xml
  132. +0 −28 javatests/google/registry/flows/domain/testdata/domain_create_landrush_premium.xml
  133. +0 −25 javatests/google/registry/flows/domain/testdata/domain_create_landrush_premium_response.xml
  134. +0 −25 javatests/google/registry/flows/domain/testdata/domain_create_landrush_response.xml
  135. +0 −25 javatests/google/registry/flows/domain/testdata/domain_create_landrush_response_claims.xml
  136. +0 −33 javatests/google/registry/flows/domain/testdata/domain_create_landrush_signed_mark.xml
  137. +0 −29 javatests/google/registry/flows/domain/testdata/domain_create_landrush_two_years.xml
  138. +0 −30 javatests/google/registry/flows/domain/testdata/domain_create_registration_landrush.xml
  139. +0 −34 javatests/google/registry/flows/domain/testdata/domain_create_registration_qlp_landrush.xml
  140. +0 −37 ...s/google/registry/flows/domain/testdata/domain_create_registration_qlp_landrush_claims_notice.xml
  141. +0 −35 ...le/registry/flows/domain/testdata/domain_create_registration_qlp_landrush_encoded_signed_mark.xml
  142. +0 −32 javatests/google/registry/flows/domain/testdata/domain_create_registration_qlp_sunrise.xml
  143. +0 −37 ...ts/google/registry/flows/domain/testdata/domain_create_registration_qlp_sunrise_claims_notice.xml
  144. +0 −35 ...gle/registry/flows/domain/testdata/domain_create_registration_qlp_sunrise_encoded_signed_mark.xml
  145. +0 −34 javatests/google/registry/flows/domain/testdata/domain_create_registration_qlp_sunrush.xml
  146. +0 −37 ...ts/google/registry/flows/domain/testdata/domain_create_registration_qlp_sunrush_claims_notice.xml
  147. +0 −35 ...gle/registry/flows/domain/testdata/domain_create_registration_qlp_sunrush_encoded_signed_mark.xml
  148. +0 −30 javatests/google/registry/flows/domain/testdata/domain_create_registration_sunrush.xml
  149. +0 −34 javatests/google/registry/flows/domain/testdata/domain_create_sunrise_bad_encoded_xml.xml
  150. +0 −133 javatests/google/registry/flows/domain/testdata/domain_create_sunrise_bad_encoding.xml
  151. +0 −57 javatests/google/registry/flows/domain/testdata/domain_create_sunrise_code_with_mark.xml
  152. +0 −34 javatests/google/registry/flows/domain/testdata/domain_create_sunrise_duplicate_contact.xml
  153. +0 −32 javatests/google/registry/flows/domain/testdata/domain_create_sunrise_empty_encoded_signed_mark.xml
  154. +0 −30 ...ests/google/registry/flows/domain/testdata/domain_create_sunrise_encoded_signed_mark_no_hosts.xml
  155. +0 −25 ...ests/google/registry/flows/domain/testdata/domain_create_sunrise_encoded_signed_mark_response.xml
  156. +0 −128 ...ogle/registry/flows/domain/testdata/domain_create_sunrise_encoded_signed_mark_with_whitespace.xml
  157. +0 −34 javatests/google/registry/flows/domain/testdata/domain_create_sunrise_hex_encoding.xml
  158. +0 −33 javatests/google/registry/flows/domain/testdata/domain_create_sunrise_missing_contact_type.xml
  159. +0 −34 javatests/google/registry/flows/domain/testdata/domain_create_sunrise_no_matching_marks.xml
  160. +0 −137 javatests/google/registry/flows/domain/testdata/domain_create_sunrise_signed_mark.xml
  161. +0 −142 javatests/google/registry/flows/domain/testdata/domain_create_sunrise_signed_mark_and_notice.xml
  162. +0 −33 javatests/google/registry/flows/domain/testdata/domain_create_sunrise_signed_mark_reserved.xml
  163. +0 −25 ...sts/google/registry/flows/domain/testdata/domain_create_sunrise_signed_mark_reserved_response.xml
  164. +0 −33 javatests/google/registry/flows/domain/testdata/domain_create_sunrise_signed_mark_uppercase.xml
  165. +0 −42 javatests/google/registry/flows/domain/testdata/domain_create_sunrise_signed_mark_with_secdns.xml
  166. +0 −84 ...google/registry/flows/domain/testdata/domain_create_sunrise_signed_mark_with_secdns_8_records.xml
  167. +0 −90 ...google/registry/flows/domain/testdata/domain_create_sunrise_signed_mark_with_secdns_9_records.xml
  168. +0 −245 javatests/google/registry/flows/domain/testdata/domain_create_sunrise_two_signed_marks.xml
  169. +0 −43 javatests/google/registry/flows/domain/testdata/domain_create_sunrise_with_secdns_maxsiglife.xml
  170. +0 −29 javatests/google/registry/flows/domain/testdata/domain_create_sunrise_without_marks.xml
  171. +0 −44 javatests/google/registry/flows/domain/testdata/domain_create_sunrise_wrong_extension.xml
  172. +0 −28 javatests/google/registry/flows/domain/testdata/domain_create_sunrush.xml
  173. +0 −39 javatests/google/registry/flows/domain/testdata/domain_create_sunrush_13_nameservers.xml
  174. +0 −40 javatests/google/registry/flows/domain/testdata/domain_create_sunrush_14_nameservers.xml
  175. +0 −34 javatests/google/registry/flows/domain/testdata/domain_create_sunrush_allowedinsunrise.xml
  176. +0 −25 javatests/google/registry/flows/domain/testdata/domain_create_sunrush_allowedinsunrise_response.xml
  177. +0 −32 javatests/google/registry/flows/domain/testdata/domain_create_sunrush_bad_checksum_claim_notice.xml
  178. +0 −27 javatests/google/registry/flows/domain/testdata/domain_create_sunrush_bad_idn_minna.xml
  179. +0 −32 javatests/google/registry/flows/domain/testdata/domain_create_sunrush_bad_validator_id.xml
  180. +0 −32 javatests/google/registry/flows/domain/testdata/domain_create_sunrush_claim_notice.xml
  181. +0 −34 javatests/google/registry/flows/domain/testdata/domain_create_sunrush_encoded_signed_mark.xml
  182. +0 −34 .../registry/flows/domain/testdata/domain_create_sunrush_encoded_signed_mark_certificate_corrupt.xml
  183. +0 −34 ...tests/google/registry/flows/domain/testdata/domain_create_sunrush_encoded_signed_mark_corrupt.xml
  184. +0 −25 ...ests/google/registry/flows/domain/testdata/domain_create_sunrush_encoded_signed_mark_response.xml
  185. +0 −136 .../google/registry/flows/domain/testdata/domain_create_sunrush_encoded_signed_mark_revoked_cert.xml
  186. +0 −138 ...le/registry/flows/domain/testdata/domain_create_sunrush_encoded_signed_mark_signature_corrupt.xml
  187. +0 −32 javatests/google/registry/flows/domain/testdata/domain_create_sunrush_malformed_claim_notice1.xml
  188. +0 −32 javatests/google/registry/flows/domain/testdata/domain_create_sunrush_malformed_claim_notice2.xml
  189. +0 −25 javatests/google/registry/flows/domain/testdata/domain_create_sunrush_response.xml
  190. +0 −25 javatests/google/registry/flows/domain/testdata/domain_create_sunrush_response_claims.xml
  191. +0 −19 javatests/google/registry/flows/domain/testdata/domain_delete_application.xml
  192. +0 −19 javatests/google/registry/flows/domain/testdata/domain_delete_application_landrush.xml
  193. +0 −18 javatests/google/registry/flows/domain/testdata/domain_delete_application_sunrush.xml
  194. +0 −30 javatests/google/registry/flows/domain/testdata/domain_delete_application_wrong_extension.xml
  195. +0 −19 javatests/google/registry/flows/domain/testdata/domain_info_sunrise.xml
  196. +0 −20 javatests/google/registry/flows/domain/testdata/domain_info_sunrise_all_hosts.xml
  197. +0 −46 javatests/google/registry/flows/domain/testdata/domain_info_sunrise_allocated.xml
  198. +0 −20 javatests/google/registry/flows/domain/testdata/domain_info_sunrise_delegated_hosts.xml
  199. +0 −19 javatests/google/registry/flows/domain/testdata/domain_info_sunrise_flags_none.xml
  200. +0 −19 javatests/google/registry/flows/domain/testdata/domain_info_sunrise_flags_two.xml
  201. +0 −20 javatests/google/registry/flows/domain/testdata/domain_info_sunrise_include_marks.xml
  202. +0 −19 javatests/google/registry/flows/domain/testdata/domain_info_sunrise_no_application_id.xml
  203. +0 −20 javatests/google/registry/flows/domain/testdata/domain_info_sunrise_no_marks.xml
  204. +0 −20 javatests/google/registry/flows/domain/testdata/domain_info_sunrise_none_hosts.xml
  205. +0 −46 javatests/google/registry/flows/domain/testdata/domain_info_sunrise_response.xml
  206. +0 −54 javatests/google/registry/flows/domain/testdata/domain_info_sunrise_response_dsdata.xml
  207. +0 −42 javatests/google/registry/flows/domain/testdata/domain_info_sunrise_response_no_nameservers.xml
  208. +0 −89 javatests/google/registry/flows/domain/testdata/domain_info_sunrise_response_with_mark.xml
  209. +0 −38 javatests/google/registry/flows/domain/testdata/domain_update_sunrise.xml
  210. +0 −24 javatests/google/registry/flows/domain/testdata/domain_update_sunrise_add_nameserver.xml
  211. +0 −31 javatests/google/registry/flows/domain/testdata/domain_update_sunrise_add_remove_same_contact.xml
  212. +0 −35 javatests/google/registry/flows/domain/testdata/domain_update_sunrise_add_remove_same_host.xml
  213. +0 −22 javatests/google/registry/flows/domain/testdata/domain_update_sunrise_authinfo.xml
  214. +0 −30 javatests/google/registry/flows/domain/testdata/domain_update_sunrise_dsdata_add.xml
  215. +0 −38 javatests/google/registry/flows/domain/testdata/domain_update_sunrise_dsdata_add_rem.xml
  216. +0 −38 javatests/google/registry/flows/domain/testdata/domain_update_sunrise_dsdata_add_rem_same.xml
  217. +0 −22 javatests/google/registry/flows/domain/testdata/domain_update_sunrise_dsdata_empty.xml
  218. +0 −30 javatests/google/registry/flows/domain/testdata/domain_update_sunrise_dsdata_rem.xml
  219. +0 −25 javatests/google/registry/flows/domain/testdata/domain_update_sunrise_dsdata_rem_all.xml
  220. +0 −25 javatests/google/registry/flows/domain/testdata/domain_update_sunrise_dsdata_rem_all_false.xml
  221. +0 −33 javatests/google/registry/flows/domain/testdata/domain_update_sunrise_dsdata_urgent.xml
  222. +0 −40 javatests/google/registry/flows/domain/testdata/domain_update_sunrise_duplicate_contact.xml
  223. +0 −31 javatests/google/registry/flows/domain/testdata/domain_update_sunrise_fee.xml
  224. +0 −25 javatests/google/registry/flows/domain/testdata/domain_update_sunrise_maxsiglife.xml
  225. +0 −38 javatests/google/registry/flows/domain/testdata/domain_update_sunrise_missing_contact_type.xml
  226. +0 −36 javatests/google/registry/flows/domain/testdata/domain_update_sunrise_prohibited_status.xml
  227. +0 −26 javatests/google/registry/flows/domain/testdata/domain_update_sunrise_registrant_to_tech.xml
  228. +0 −20 javatests/google/registry/flows/domain/testdata/domain_update_sunrise_remove_admin.xml
  229. +0 −37 javatests/google/registry/flows/domain/testdata/domain_update_sunrise_remove_contact.xml
  230. +0 −30 javatests/google/registry/flows/domain/testdata/domain_update_sunrise_remove_multiple_contacts.xml
  231. +0 −35 javatests/google/registry/flows/domain/testdata/domain_update_sunrise_remove_nameserver.xml
  232. +0 −20 javatests/google/registry/flows/domain/testdata/domain_update_sunrise_remove_tech.xml
  233. +0 −28 javatests/google/registry/flows/domain/testdata/domain_update_sunrise_wrong_extension.xml
  234. +0 −13 javatests/google/registry/flows/host/HostDeleteFlowTest.java
  235. +0 −19 javatests/google/registry/flows/testdata/domain_allocate_response_testvalidate.xml
  236. +0 −28 javatests/google/registry/flows/testdata/domain_allocate_testvalidate.xml
  237. +5 −5 ...encoded_signed_mark.xml → testdata/domain_create_start_date_sunrise_encoded_mark_wrong_phase.xml}
  238. +1 −1 javatests/google/registry/flows/testdata/domain_create_sunrise_encoded_mark.xml
  239. +0 −25 javatests/google/registry/flows/testdata/domain_create_sunrise_encoded_signed_mark_response.xml
  240. +3 −41 javatests/google/registry/mapreduce/inputs/EppResourceInputsTest.java
  241. +13 −21 javatests/google/registry/model/OteAccountBuilderTest.java
  242. +0 −10 javatests/google/registry/model/OteStatsTest.java
  243. +3 −3 javatests/google/registry/model/OteStatsTestHelper.java
  244. +0 −155 javatests/google/registry/model/domain/DomainApplicationTest.java
  245. +0 −15 javatests/google/registry/model/domain/DomainCommandTest.java
  246. +1 −2 javatests/google/registry/model/domain/DomainResourceTest.java
  247. +0 −8 javatests/google/registry/model/domain/GracePeriodTest.java
  248. +0 −24 javatests/google/registry/model/domain/testdata/domain_create_landrush.xml
  249. +0 −19 javatests/google/registry/model/domain/testdata/domain_info_landrush.xml
  250. +14 −14 javatests/google/registry/model/domain/testdata/domain_info_sunrise.xml
  251. +0 −19 javatests/google/registry/model/domain/testdata/domain_info_sunrise_no_application_id.xml
  252. +0 −143 javatests/google/registry/model/index/DomainApplicationIndexTest.java
  253. +37 −51 javatests/google/registry/model/registry/RegistryTest.java
  254. +0 −155 javatests/google/registry/model/testdata/schema.txt
  255. +21 −22 javatests/google/registry/module/tools/testdata/tools_routing.txt
  256. +1 −81 javatests/google/registry/testing/DatastoreHelper.java
  257. +0 −84 javatests/google/registry/testing/DomainApplicationSubject.java
  258. +15 −23 javatests/google/registry/tmch/LordnTaskUtilsTest.java
  259. +10 −11 javatests/google/registry/tmch/NordnUploadActionTest.java
  260. +0 −158 javatests/google/registry/tools/AllocateDomainCommandTest.java
  261. +1 −27 javatests/google/registry/tools/CreateTldCommandTest.java
  262. +0 −101 javatests/google/registry/tools/DomainApplicationInfoCommandTest.java
  263. +0 −336 javatests/google/registry/tools/GenerateAuctionDataCommandTest.java
  264. +0 −103 javatests/google/registry/tools/GetApplicationCommandTest.java
  265. +0 −98 javatests/google/registry/tools/GetApplicationIdsCommandTest.java
  266. +24 −26 javatests/google/registry/tools/SetupOteCommandTest.java
  267. +0 −294 javatests/google/registry/tools/UpdateApplicationStatusCommandTest.java
  268. +0 −174 javatests/google/registry/tools/UpdateClaimsNoticeCommandTest.java
  269. +0 −179 javatests/google/registry/tools/UpdateSmdCommandTest.java
  270. +23 −35 javatests/google/registry/tools/UpdateTldCommandTest.java
  271. +2 −2 javatests/google/registry/tools/params/EnumParameterTest.java
  272. +3 −5 javatests/google/registry/tools/server/GenerateZoneFilesActionTest.java
  273. +0 −117 javatests/google/registry/tools/server/KillAllDomainApplicationsActionTest.java
  274. +0 −5 javatests/google/registry/tools/server/KillAllEppResourcesActionTest.java
  275. +0 −48 javatests/google/registry/tools/server/testdata/allocate_domain.xml
  276. +0 −48 javatests/google/registry/tools/server/testdata/allocate_domain2.xml
  277. +0 −29 javatests/google/registry/tools/server/testdata/domain_create_sunrush.xml
  278. +0 −29 javatests/google/registry/tools/server/testdata/domain_create_sunrush2.xml
  279. +0 −19 javatests/google/registry/tools/server/testdata/domain_info_landrush.xml
  280. +0 −19 javatests/google/registry/tools/server/testdata/domain_info_sunrush.xml
  281. +0 −1 javatests/google/registry/ui/server/otesetup/ConsoleOteSetupActionTest.java
  282. +2 −2 javatests/google/registry/ui/server/registrar/OteStatusActionTest.java
@@ -225,227 +225,6 @@ An EPP flow that updates a contact.
* Cannot add and remove the same value.
* Declining contact disclosure is disallowed by server policy.

## DomainAllocateFlow

### Description

An EPP flow that allocates a new domain resource from a domain application.

Note that this flow is only run by superusers.


### Errors

* 2004
* New registration period exceeds maximum number of years.
* 2201
* Only a superuser can allocate domains.
* 2302
* Resource with this id already exists.
* 2303
* Domain application with specific ROID does not exist.
* 2304
* Domain application already has a final status.
* Registrant is not whitelisted for this TLD.
* Nameservers are not whitelisted for this domain.
* Nameservers are not whitelisted for this TLD.
* Nameservers not specified for domain with nameserver-restricted
reservation.
* Nameservers not specified for domain on TLD with nameserver whitelist.

## DomainApplicationCreateFlow

### Description

An EPP flow that creates a new application for a domain resource.


### Errors

* 2002
* A notice cannot be specified when using a signed mark.
* Sunrise applications are disallowed during landrush.
* Command is not allowed in the current registry phase.
* 2003
* Landrush applications are disallowed during sunrise.
* Fees must be explicitly acknowledged when performing any operations on a
premium name.
* The provided mark does not match the desired domain label.
* 2004
* The acceptance time specified in the claim notice is more than 48 hours
in the past.
* New registration period exceeds maximum number of years.
* The expiration time specified in the claim notice has elapsed.
* The fees passed in the transform command do not match the fees that will
be charged.
* Domain label is not allowed by IDN table.
* The checksum in the specified TCNID does not validate.
* Domain name is under tld which doesn't exist.
* 2005
* Domain name must have exactly one part above the TLD.
* Domain name must not equal an existing multi-part TLD.
* The requested fee is expressed in a scale that is invalid for the given
currency.
* The specified TCNID is invalid.
* Signed mark data is improperly encoded.
* Error while parsing encoded signed mark data.
* 2102
* The 'maxSigLife' setting is not supported.
* The 'grace-period', 'applied' and 'refundable' fields are disallowed by
server policy.
* 2103
* Specified extension is not implemented.
* 2201
* Registrar is not authorized to access this TLD.
* Registrar must be active in order to perform this operation.
* 2302
* Resource with this id already exists.
* This name has already been claimed by a sunrise applicant.
* 2303
* Resource linked to this domain does not exist.
* 2304
* The claims period for this TLD has ended.
* Requested domain is reserved.
* Requested domain requires a claims notice.
* Nameservers are not whitelisted for this domain.
* Nameservers are not whitelisted for this TLD.
* Nameservers not specified for domain with nameserver-restricted
reservation.
* Nameservers not specified for domain on TLD with nameserver whitelist.
* The requested domain name is on the premium price list, and this
registrar has blocked premium registrations.
* Registrant is not whitelisted for this TLD.
* Requested domain does not require a claims notice.
* 2306
* Domain names can only contain a-z, 0-9, '.' and '-'.
* Periods for domain registrations must be specified in years.
* Encoded signed marks must use base64 encoding.
* The requested fees cannot be provided in the requested currency.
* Non-IDN domain names cannot contain hyphens in the third or fourth
position.
* Domain labels cannot be longer than 63 characters.
* More than one contact for a given role is not allowed.
* No part of a domain name can be empty.
* Domain name starts with xn-- but is not a valid IDN.
* The specified trademark validator is not supported.
* Declared launch extension phase does not match the current registry
phase.
* Domain labels cannot begin with a dash.
* Missing type attribute for contact.
* The provided mark is not yet valid.
* The provided mark has expired.
* Signed marks must be encoded.
* Certificate used in signed mark signature has expired.
* Certificate parsing error, or possibly a bad provider or algorithm.
* Certificate used in signed mark signature has expired.
* Certificate used in signed mark signature was revoked by ICANN.
* Invalid signature on a signed mark.
* Signed mark data is revoked.
* Invalid signature on a signed mark.
* Too many DS records set on a domain.
* Too many nameservers set on this domain.
* Only one signed mark is allowed per application.
* Domain labels cannot end with a dash.
* Only encoded signed marks are supported.

## DomainApplicationDeleteFlow

### Description

An EPP flow that deletes a domain application.


### Errors

* 2002
* Command is not allowed in the current registry phase.
* 2103
* Specified extension is not implemented.
* 2201
* The specified resource belongs to another client.
* Registrar is not authorized to access this TLD.
* 2303
* Resource with this id does not exist.
* 2304
* A sunrise application cannot be deleted during landrush.
* 2306
* Application referenced does not match specified domain name.
* Declared launch extension phase does not match the current registry
phase.

## DomainApplicationInfoFlow

### Description

An EPP flow that returns information about a domain application.

Only the registrar that owns the application can see its info. The flow can
optionally include delegated hosts in its response.


### Errors

* 2003
* Application id is required.
* 2201
* The specified resource belongs to another client.
* 2303
* Resource with this id does not exist.
* 2306
* Application referenced does not match specified domain name.
* Declared launch extension phase does not match phase of the application.

## DomainApplicationUpdateFlow

### Description

An EPP flow that updates a domain application.

Updates can change contacts, nameservers and delegation signer data of an
application. Updates cannot change the domain name that is being applied for.


### Errors

* 2003
* At least one of 'add' or 'rem' is required on a secDNS update.
* Admin contact is required.
* Technical contact is required.
* 2004
* The specified status value cannot be set by clients.
* The fees passed in the transform command do not match the fees that will
be charged.
* 2102
* Changing 'maxSigLife' is not supported.
* The 'urgent' attribute is not supported.
* 2103
* Specified extension is not implemented.
* 2201
* The specified resource belongs to another client.
* Registrar is not authorized to access this TLD.
* 2303
* Resource with this id does not exist.
* Resource linked to this domain does not exist.
* 2304
* This resource has clientUpdateProhibited on it, and the update does not
clear that status.
* Resource status prohibits this operation.
* Nameservers are not whitelisted for this TLD.
* Nameservers not specified for domain on TLD with nameserver whitelist.
* Nameservers are not whitelisted for this domain.
* Nameservers not specified for domain with nameserver-restricted
reservation.
* Registrant is not whitelisted for this TLD.
* Application status prohibits this domain update.
* 2306
* Cannot add and remove the same value.
* Application referenced does not match specified domain name.
* More than one contact for a given role is not allowed.
* Missing type attribute for contact.
* The secDNS:all element must have value 'true' if present.
* Too many DS records set on a domain.
* Too many nameservers set on this domain.

## DomainCheckFlow

### Description
@@ -498,7 +277,6 @@ An EPP flow that checks whether domain labels are trademarked.

* 2002
* Command is not allowed in the current registry phase.
* Claims checks are not allowed during sunrise.
* Claims checks are not allowed with allocation tokens.
* 2004
* Domain name is under tld which doesn't exist.
@@ -564,7 +342,6 @@ An EPP flow that creates a new domain resource.
* 2303
* Resource linked to this domain does not exist.
* 2304
* There is an open application for this domain.
* The claims period for this TLD has ended.
* Requested domain does not have nameserver-restricted reservation for a
TLD that requires such a reservation to create domains.
@@ -945,12 +722,6 @@ applied by the superuser. As such, adding or removing these statuses incurs a
billing event. There will be only one charge per update, even if several such
statuses are updated at once.

If a domain was created during the sunrise or landrush phases of a TLD, is still
within the sunrushAddGracePeriod and has not yet been delegated in DNS, then it
will not yet have been billed for. Any update that causes the name to be
delegated (such * as adding nameservers or removing a hold status) will cause
the domain to convert to a normal create and be billed for accordingly.


### Errors

@@ -15,9 +15,6 @@ def outcastTestPatterns = [
"google/registry/batch/RefreshDnsOnHostRenameActionTest.*",
"google/registry/flows/CheckApiActionTest.*",
"google/registry/flows/EppLifecycleHostTest.*",
"google/registry/flows/domain/DomainAllocateFlowTest.*",
"google/registry/flows/domain/DomainApplicationCreateFlowTest.*",
"google/registry/flows/domain/DomainApplicationUpdateFlowTest.*",
"google/registry/flows/domain/DomainCreateFlowTest.*",
"google/registry/flows/domain/DomainUpdateFlowTest.*",
"google/registry/tools/CreateDomainCommandTest.*",
@@ -106,13 +106,9 @@

/**
* A mapreduce that processes batch asynchronous deletions of contact and host resources by mapping
* over all domains and domain applications and checking for any references to the contacts/hosts in
* pending deletion.
* over all domains and checking for any references to the contacts/hosts in pending deletion.
*/
@Action(
path = "/_dr/task/deleteContactsAndHosts",
auth = Auth.AUTH_INTERNAL_ONLY
)
@Action(path = "/_dr/task/deleteContactsAndHosts", auth = Auth.AUTH_INTERNAL_ONLY)
public class DeleteContactsAndHostsAction implements Runnable {

static final String KIND_CONTACT = getKind(ContactResource.class);
@@ -41,7 +41,6 @@
import google.registry.mapreduce.MapreduceRunner;
import google.registry.mapreduce.inputs.EppResourceInputs;
import google.registry.model.EppResourceUtils;
import google.registry.model.domain.DomainApplication;
import google.registry.model.domain.DomainBase;
import google.registry.model.domain.DomainResource;
import google.registry.model.index.EppResourceIndex;
@@ -167,23 +166,17 @@ public final void map(Key<DomainBase> key) {
}

private void deleteDomain(final Key<DomainBase> domainKey) {
final DomainBase domainBase = ofy().load().key(domainKey).now();
final DomainResource domain = (DomainResource) ofy().load().key(domainKey).now();

DateTime now = DateTime.now(UTC);

if (domainBase == null) {
if (domain == null) {
// Depending on how stale Datastore indexes are, we can get keys to resources that are
// already deleted (e.g. by a recent previous invocation of this mapreduce). So ignore them.
getContext().incrementCounter("already deleted");
return;
}
if (domainBase instanceof DomainApplication) {
// Cover the case where we somehow have a domain application with a prober ROID suffix.
getContext().incrementCounter("skipped, domain application");
return;
}

DomainResource domain = (DomainResource) domainBase;
String domainName = domain.getFullyQualifiedDomainName();
if (domainName.equals("nic." + domain.getTld())) {
getContext().incrementCounter("skipped, NIC domain");
@@ -72,12 +72,6 @@
<url-pattern>/_dr/task/resaveAllHistoryEntries</url-pattern>
</servlet-mapping>

<!-- Mapreduce to delete all domain applications. -->
<servlet-mapping>
<servlet-name>tools-servlet</servlet-name>
<url-pattern>/_dr/task/killAllDomainApplications</url-pattern>
</servlet-mapping>

<!-- Mapreduce to delete EppResources, children, and indices. -->
<servlet-mapping>
<servlet-name>tools-servlet</servlet-name>
@@ -250,12 +250,4 @@ public UnimplementedProtocolVersionException() {
super("Specified protocol version is not implemented");
}
}

/** Command failed. */
@EppResultCode(Code.COMMAND_FAILED)
public static class CommandFailedException extends EppException {
public CommandFailedException() {
super("Command failed");
}
}
}
@@ -30,11 +30,6 @@
import google.registry.flows.contact.ContactTransferRequestFlow;
import google.registry.flows.contact.ContactUpdateFlow;
import google.registry.flows.custom.CustomLogicModule;
import google.registry.flows.domain.DomainAllocateFlow;
import google.registry.flows.domain.DomainApplicationCreateFlow;
import google.registry.flows.domain.DomainApplicationDeleteFlow;
import google.registry.flows.domain.DomainApplicationInfoFlow;
import google.registry.flows.domain.DomainApplicationUpdateFlow;
import google.registry.flows.domain.DomainCheckFlow;
import google.registry.flows.domain.DomainClaimsCheckFlow;
import google.registry.flows.domain.DomainCreateFlow;
@@ -86,11 +81,6 @@
ContactTransferRejectFlow contactTransferRejectFlow();
ContactTransferRequestFlow contactTransferRequestFlow();
ContactUpdateFlow contactUpdateFlow();
DomainAllocateFlow domainAllocateFlow();
DomainApplicationCreateFlow domainApplicationCreateFlow();
DomainApplicationDeleteFlow domainApplicationDeleteFlow();
DomainApplicationInfoFlow domainApplicationInfoFlow();
DomainApplicationUpdateFlow domainApplicationUpdateFlow();
DomainCheckFlow domainCheckFlow();
DomainClaimsCheckFlow domainClaimsCheckFlow();
DomainCreateFlow domainCreateFlow();
@@ -140,11 +130,6 @@ static Flow provideFlow(FlowComponent flows, Class<? extends Flow> clazz) {
: clazz.equals(ContactTransferRejectFlow.class) ? flows.contactTransferRejectFlow()
: clazz.equals(ContactTransferRequestFlow.class) ? flows.contactTransferRequestFlow()
: clazz.equals(ContactUpdateFlow.class) ? flows.contactUpdateFlow()
: clazz.equals(DomainAllocateFlow.class) ? flows.domainAllocateFlow()
: clazz.equals(DomainApplicationCreateFlow.class) ? flows.domainApplicationCreateFlow()
: clazz.equals(DomainApplicationDeleteFlow.class) ? flows.domainApplicationDeleteFlow()
: clazz.equals(DomainApplicationInfoFlow.class) ? flows.domainApplicationInfoFlow()
: clazz.equals(DomainApplicationUpdateFlow.class) ? flows.domainApplicationUpdateFlow()
: clazz.equals(DomainCheckFlow.class) ? flows.domainCheckFlow()
: clazz.equals(DomainClaimsCheckFlow.class) ? flows.domainClaimsCheckFlow()
: clazz.equals(DomainCreateFlow.class) ? flows.domainCreateFlow()
Oops, something went wrong.

0 comments on commit 5803028

Please sign in to comment.