mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 17:01:44 +02:00
Add disputing logic for EPP
This commit is contained in:
parent
7a7b2f9881
commit
0f2a290d64
17 changed files with 626 additions and 325 deletions
|
@ -25,6 +25,7 @@
|
|||
<element name="ident" type="eis:identType" minOccurs="0" maxOccurs="1"/>
|
||||
<element name="legalDocument" type="eis:legalDocType" minOccurs="0" maxOccurs="1"/>
|
||||
<element name="reserved" type="eis:reservedType" minOccurs="0" maxOccurs="1"/>
|
||||
<element name="disputed" type="eis:disputedType" minOccurs="0" maxOccurs="1"/>
|
||||
</sequence>
|
||||
</complexType>
|
||||
|
||||
|
@ -49,6 +50,16 @@
|
|||
</restriction>
|
||||
</simpleType>
|
||||
|
||||
<!--
|
||||
Disputed for providing passwords for disputed domains
|
||||
-->
|
||||
|
||||
<complexType name="disputedType">
|
||||
<sequence>
|
||||
<element name="pw" type="eis:pwType" minOccurs="0" maxOccurs="1"/>
|
||||
</sequence>
|
||||
</complexType>
|
||||
|
||||
<!--
|
||||
Legal document, encoded in base64
|
||||
-->
|
||||
|
|
|
@ -35,6 +35,11 @@ namespace :whois do
|
|||
ReservedDomain.find_in_batches.each do |group|
|
||||
UpdateWhoisRecordJob.enqueue group.map(&:name), 'reserved'
|
||||
end
|
||||
|
||||
print "\n-----> Update disputed domains whois_records"
|
||||
Dispute.active.find_in_batches.each do |group|
|
||||
UpdateWhoisRecordJob.enqueue group.map(&:domain_name), 'disputed'
|
||||
end
|
||||
end
|
||||
puts "\n-----> all done in #{(Time.zone.now.to_f - start).round(2)} seconds"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue