diff --git a/CHANGELOG.md b/CHANGELOG.md
index e62f2a766..1f00bad87 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,11 @@
+16.06.2015
+
+* Application time_zone should be defined at application.yml, updated application-exaple.yml
+
+15.06.2015
+
+* Apache config update: now only TLSv1.2 allowed with whitelisted chipers, please review all SSL config parameters
+
08.06.2015
* Add sk service name to application.yml
diff --git a/Gemfile b/Gemfile
index 835585ea8..e040fcac8 100644
--- a/Gemfile
+++ b/Gemfile
@@ -51,7 +51,7 @@ gem 'jbuilder', '~> 2.2.6' # json api
# registry specfic
gem 'simpleidn', '~> 0.0.5' # For punycode
gem 'isikukood' # for EE-id validation
-gem 'money-rails', '~> 1.3.0' # Money helpers
+gem 'money-rails', '~> 1.4.1'
# deploy
gem 'whenever', '~> 0.9.4', require: false
@@ -72,10 +72,14 @@ gem 'deep_cloneable', '~> 2.1.1'
gem 'digidoc_client', '~> 0.2.1'
# epp
-gem 'epp', '~> 1.4.2', github: 'gitlabeu/epp'
-gem 'epp-xml', '~> 1.0.2' # EPP XMLs
+gem 'epp', '~> 1.4.2', github: 'internetee/epp'
+gem 'epp-xml', '~> 1.0.3' # EIS EPP XMLs
gem 'uuidtools', '~> 2.1.4' # For unique IDs (used by the epp gem)
+# que
+gem 'que', '~> 0.10.0'
+gem 'que-web', '~> 0.4.0'
+
# for importing legacy db
gem 'activerecord-import', '~> 0.7.0' # for inserting dummy data
diff --git a/Gemfile.lock b/Gemfile.lock
index 56fbc99ad..13ad87414 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -16,14 +16,6 @@ GIT
data_migrate (1.3.0)
rails (>= 4.1.0)
-GIT
- remote: git://github.com/gitlabeu/epp.git
- revision: 505c3f2739eb1da918e54111aecfb138a822739d
- specs:
- epp (1.4.2)
- hpricot
- libxml-ruby
-
GIT
remote: git://github.com/haml/html2haml.git
revision: 6984f50bdbbd6291535027726a5697f28778ee8d
@@ -35,6 +27,14 @@ GIT
nokogiri (~> 1.6.0)
ruby_parser (~> 3.5)
+GIT
+ remote: git://github.com/internetee/epp.git
+ revision: 505c3f2739eb1da918e54111aecfb138a822739d
+ specs:
+ epp (1.4.2)
+ hpricot
+ libxml-ruby
+
GEM
remote: https://rubygems.org/
specs:
@@ -171,7 +171,7 @@ GEM
nokogiri (>= 1.4.0)
savon (>= 2.4.0)
docile (1.1.5)
- epp-xml (1.0.2)
+ epp-xml (1.0.3)
activesupport (~> 4.1)
builder (~> 3.2)
equalizer (0.0.11)
@@ -284,7 +284,7 @@ GEM
money (~> 6.5.0)
money (6.5.1)
i18n (>= 0.6.4, <= 0.7.0)
- money-rails (1.3.0)
+ money-rails (1.4.1)
activesupport (>= 3.0)
monetize (~> 1.1.0)
money (~> 6.5.0)
@@ -317,11 +317,18 @@ GEM
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
+ que (0.10.0)
+ que-web (0.4.0)
+ erubis
+ que (~> 0.8)
+ sinatra
rack (1.6.1)
rack-accept (0.4.5)
rack (>= 0.4)
rack-mount (0.8.3)
rack (>= 1.0.0)
+ rack-protection (1.5.3)
+ rack
rack-test (0.6.3)
rack (>= 1.0)
railroady (1.3.0)
@@ -444,6 +451,10 @@ GEM
simplecov-html (~> 0.9.0)
simplecov-html (0.9.0)
simpleidn (0.0.5)
+ sinatra (1.4.6)
+ rack (~> 1.4)
+ rack-protection (~> 1.4)
+ tilt (>= 1.3, < 3)
slim (2.1.0)
temple (~> 0.6.9)
tilt (>= 1.3.3, < 2.1)
@@ -529,7 +540,7 @@ DEPENDENCIES
devise (~> 3.4.1)
digidoc_client (~> 0.2.1)
epp (~> 1.4.2)!
- epp-xml (~> 1.0.2)
+ epp-xml (~> 1.0.3)
fabrication (~> 2.12.2)
faker (~> 1.3.0)
figaro (~> 1.1.0)
@@ -551,7 +562,7 @@ DEPENDENCIES
kaminari (~> 0.16.3)
launchy (~> 2.4.3)
mina (~> 0.3.1)
- money-rails (~> 1.3.0)
+ money-rails (~> 1.4.1)
newrelic_rpm (~> 3.9.9.275)
nokogiri (~> 1.6.6.2)
nprogress-rails (~> 0.1.6.7)
@@ -562,6 +573,8 @@ DEPENDENCIES
phantomjs-binaries (~> 1.9.2.4)
poltergeist (~> 1.5.1)
pry (~> 0.10.1)
+ que (~> 0.10.0)
+ que-web (~> 0.4.0)
railroady (~> 1.3.0)
rails (= 4.2.1)
rails-settings-cached (~> 0.4.1)
diff --git a/README.md b/README.md
index d5c6a34f3..01276c1e0 100644
--- a/README.md
+++ b/README.md
@@ -97,9 +97,10 @@ For Apache, registry admin goes to port 443 in production, /etc/apache2/sites-en
SSLCertificateChainFile /etc/ssl/certs/your-chain-fail.pem
SSLCACertificateFile /etc/ssl/certs/ca.pem
- SSLProtocol TLSv1
+ SSLProtocol -all +TLSv1.2
SSLHonorCipherOrder On
- SSLCipherSuite RC4-SHA:HIGH:!ADH
+ SSLCompression off
+ SSLCipherSuite EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH
RewriteEnginriteEngine on
RedirectMatch ^/$ /admin
@@ -157,9 +158,10 @@ Registrar configuration (/etc/apache2/sites-enabled/registrar.conf) is as follow
SSLCertificateChainFile /etc/ssl/certs/your-chain-fail.pem
SSLCACertificateFile /etc/ssl/certs/ca.pem
- SSLProtocol TLSv1
+ SSLProtocol -all +TLSv1.2
SSLHonorCipherOrder On
- SSLCipherSuite RC4-SHA:HIGH:!ADH
+ SSLCompression off
+ SSLCipherSuite EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH
RewriteEngine on
RedirectMatch ^/$ /registrar
@@ -240,9 +242,10 @@ Registrant configuration (/etc/apache2/sites-enabled/registrant.conf) is as foll
SSLCertificateChainFile /etc/ssl/certs/your-chain-fail.pem
SSLCACertificateFile /etc/ssl/certs/ca.pem
- SSLProtocol TLSv1
+ SSLProtocol -all +TLSv1.2
SSLHonorCipherOrder On
- SSLCipherSuite RC4-SHA:HIGH:!ADH
+ SSLCompression off
+ SSLCipherSuite EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH
RewriteEngine on
RedirectMatch ^/$ /registrant
diff --git a/app/assets/stylesheets/shared/general.sass b/app/assets/stylesheets/shared/general.sass
index 1a2975b5f..586fa1538 100644
--- a/app/assets/stylesheets/shared/general.sass
+++ b/app/assets/stylesheets/shared/general.sass
@@ -58,4 +58,7 @@ body > .container
.text-grey
color: grey
-
+.partially-hidden
+ border: 1px solid #dddddd
+ padding-left: 4px
+ padding-right: 4px
diff --git a/app/controllers/admin/domains_controller.rb b/app/controllers/admin/domains_controller.rb
index 4b8820fd8..453fc179b 100644
--- a/app/controllers/admin/domains_controller.rb
+++ b/app/controllers/admin/domains_controller.rb
@@ -16,13 +16,13 @@ class Admin::DomainsController < AdminController
end
def update
- add_prefix_to_statuses
+ dp = ignore_empty_statuses
- if @domain.update(domain_params)
+ if @domain.update(dp)
flash[:notice] = I18n.t('domain_updated')
redirect_to [:admin, @domain]
else
- @domain.domain_statuses.build if @domain.domain_statuses.empty?
+ build_associations
flash.now[:alert] = I18n.t('failed_to_update_domain')
render 'edit'
end
@@ -53,21 +53,23 @@ class Admin::DomainsController < AdminController
end
def domain_params
- params.require(:domain).permit(
- domain_statuses_attributes: [:id, :value, :description, :_destroy]
- )
+ if params[:domain]
+ params.require(:domain).permit({ statuses: [] })
+ else
+ { statuses: [] }
+ end
end
def build_associations
- @domain.domain_statuses.build if @domain.domain_statuses.empty?
- @server_statuses = @domain.domain_statuses.select(&:server_status?)
- @server_statuses << @domain.domain_statuses.build if @server_statuses.empty?
+ @server_statuses = @domain.statuses.select { |x| DomainStatus::SERVER_STATUSES.include?(x) }
+ @server_statuses = [nil] if @server_statuses.empty?
+ @other_statuses = @domain.statuses.select { |x| !DomainStatus::SERVER_STATUSES.include?(x) }
end
- def add_prefix_to_statuses
- domain_params[:domain_statuses_attributes].each do |_k, hash|
- hash[:value] = hash[:value].prepend('server') if hash[:value].present?
- end
+ def ignore_empty_statuses
+ dp = domain_params
+ dp[:statuses].reject!(&:blank?)
+ dp
end
end
diff --git a/app/controllers/epp/domains_controller.rb b/app/controllers/epp/domains_controller.rb
index 6ddab07a0..9f7ffb6ec 100644
--- a/app/controllers/epp/domains_controller.rb
+++ b/app/controllers/epp/domains_controller.rb
@@ -56,7 +56,7 @@ class Epp::DomainsController < EppController
@domain.attach_legal_document(Epp::Domain.parse_legal_document_from_frame(params[:parsed_frame]))
@domain.save(validate: false)
- if @domain.epp_destroy(params[:parsed_frame])
+ if @domain.epp_destroy(params[:parsed_frame], current_user.id)
if @domain.epp_pending_delete.present?
render_epp_response '/epp/domains/success_pending'
else
diff --git a/app/controllers/epp_controller.rb b/app/controllers/epp_controller.rb
index d5f88b8d0..8817e150e 100644
--- a/app/controllers/epp_controller.rb
+++ b/app/controllers/epp_controller.rb
@@ -5,6 +5,7 @@ class EppController < ApplicationController
skip_before_action :verify_authenticity_token
before_action :generate_svtrid
+ before_action :latin_only
before_action :validate_request
before_action :update_epp_session
helper_method :current_user
@@ -106,6 +107,14 @@ class EppController < ApplicationController
write_to_epp_log
end
+ # VALIDATION
+ def latin_only
+ return true if params['frame'].blank?
+ return true if params['frame'].match(/\A[\p{Latin}\p{Z}\p{P}\p{S}\p{Cc}\p{Cf}\w_\'\+\-\.\(\)\/]*\Z/i)
+ render_epp_response '/epp/latin_error'
+ false
+ end
+
# VALIDATION
def validate_request
validation_method = "validate_#{params[:action]}"
diff --git a/app/controllers/registrant/domain_update_confirms_controller.rb b/app/controllers/registrant/domain_update_confirms_controller.rb
index 9830b5331..debe7294b 100644
--- a/app/controllers/registrant/domain_update_confirms_controller.rb
+++ b/app/controllers/registrant/domain_update_confirms_controller.rb
@@ -20,7 +20,6 @@ class Registrant::DomainUpdateConfirmsController < RegistrantController
@registrant_verification = RegistrantVerification.new(domain_id: @domain.id,
domain_name: @domain.name,
verification_token: params[:token])
-
if params[:rejected]
if @registrant_verification.domain_registrant_change_reject!
flash[:notice] = t(:registrant_domain_verification_rejected)
diff --git a/app/controllers/registrant/sessions_controller.rb b/app/controllers/registrant/sessions_controller.rb
index ee2eabffd..3d2ab7801 100644
--- a/app/controllers/registrant/sessions_controller.rb
+++ b/app/controllers/registrant/sessions_controller.rb
@@ -27,9 +27,10 @@ class Registrant::SessionsController < Devise::SessionsController
@user = User.new
end
- def mid
+ def mid # rubocop: disable Metrics/MethodLength
phone = params[:user][:phone]
- client = Digidoc::Client.new
+ endpoint = "#{ENV['sk_digi_doc_service_endpoint']}"
+ client = Digidoc::Client.new(endpoint)
if Rails.env.test? && phone == "123"
@user = ApiUser.find_by(identity_code: "14212128025")
diff --git a/app/jobs/domain_confirm_job.rb b/app/jobs/domain_confirm_job.rb
new file mode 100644
index 000000000..e1f1c0e55
--- /dev/null
+++ b/app/jobs/domain_confirm_job.rb
@@ -0,0 +1,16 @@
+class DomainConfirmJob < Que::Job
+ def run(domain_id, action)
+ # it's recommended to keep transaction against job table as short as possible.
+ ActiveRecord::Base.transaction do
+ domain = Epp::Domain.find(domain_id)
+ case action
+ when RegistrantVerification::CONFIRMED
+ domain.apply_pending_update!
+ domain.clean_pendings!
+ when RegistrantVerification::REJECTED
+ domain.clean_pendings!
+ end
+ destroy # it's best to destroy the job in the same transaction
+ end
+ end
+end
diff --git a/app/models/admin_user.rb b/app/models/admin_user.rb
index 0634baef4..e062bb1d6 100644
--- a/app/models/admin_user.rb
+++ b/app/models/admin_user.rb
@@ -2,7 +2,7 @@ class AdminUser < User
validates :username, :country_code, :roles, presence: true
validates :identity_code, uniqueness: true, allow_blank: true
validates :identity_code, presence: true, if: -> { country_code == 'EE' }
- validates :email, presence: true
+ validates :email, presence: true
validates :password, :password_confirmation, presence: true, if: :new_record?
validates :password_confirmation, presence: true, if: :encrypted_password_changed?
validate :validate_identity_code, if: -> { country_code == 'EE' }
diff --git a/app/models/bank_transaction.rb b/app/models/bank_transaction.rb
index 339d9ab9b..1a2ec5568 100644
--- a/app/models/bank_transaction.rb
+++ b/app/models/bank_transaction.rb
@@ -75,7 +75,7 @@ class BankTransaction < ActiveRecord::Base
create_account_activity(
account: registrar.cash_account,
invoice: invoice,
- sum: sum,
+ sum: invoice.sum_without_vat,
currency: currency,
description: description
)
diff --git a/app/models/domain.rb b/app/models/domain.rb
index 61ad23d43..50e8b6fa4 100644
--- a/app/models/domain.rb
+++ b/app/models/domain.rb
@@ -54,6 +54,11 @@ class Domain < ActiveRecord::Base
delegate :name, to: :registrar, prefix: true
delegate :street, to: :registrar, prefix: true
+ after_initialize :init_default_values
+ def init_default_values
+ self.pending_json = {} if pending_json.blank?
+ end
+
before_create :generate_auth_info
before_create :set_validity_dates
before_update :manage_statuses
@@ -63,13 +68,16 @@ class Domain < ActiveRecord::Base
true
end
+ before_save :manage_automatic_statuses
+
before_save :touch_always_version
def touch_always_version
self.updated_at = Time.zone.now
end
- after_save :manage_automatic_statuses
after_save :update_whois_record
+ after_initialize -> { self.statuses = [] if statuses.nil? }
+
validates :name_dirty, domain_name: true, uniqueness: true
validates :puny_label, length: { maximum: 63 }
validates :period, numericality: { only_integer: true }
@@ -119,6 +127,12 @@ class Domain < ActiveRecord::Base
validate :validate_nameserver_ips
+ validate :statuses_uniqueness
+ def statuses_uniqueness
+ return if statuses.uniq == statuses
+ errors.add(:statuses, :taken)
+ end
+
attr_accessor :registrant_typeahead, :update_me, :deliver_emails,
:epp_pending_update, :epp_pending_delete
@@ -154,9 +168,10 @@ class Domain < ActiveRecord::Base
d = Domain.where('valid_to <= ?', Time.zone.now)
d.each do |x|
next unless x.expirable?
- x.domain_statuses.create(value: DomainStatus::EXPIRED)
+ x.statuses << DomainStatus::EXPIRED
# TODO: This should be managed by automatic_statuses
- x.domain_statuses.where(value: DomainStatus::OK).destroy_all
+ x.statuses.delete(DomainStatus::OK)
+ x.save(validate: false)
end
STDOUT << "#{Time.zone.now.utc} - Successfully expired #{d.count} domains\n" unless Rails.env.test?
@@ -168,9 +183,10 @@ class Domain < ActiveRecord::Base
d = Domain.where('outzone_at <= ?', Time.zone.now)
d.each do |x|
next unless x.server_holdable?
- x.domain_statuses.create(value: DomainStatus::SERVER_HOLD)
+ x.statuses << DomainStatus::SERVER_HOLD
# TODO: This should be managed by automatic_statuses
- x.domain_statuses.where(value: DomainStatus::OK).destroy_all
+ x.statuses.delete(DomainStatus::OK)
+ x.save
end
STDOUT << "#{Time.zone.now.utc} - Successfully set server_hold to #{d.count} domains\n" unless Rails.env.test?
@@ -181,9 +197,10 @@ class Domain < ActiveRecord::Base
d = Domain.where('delete_at <= ?', Time.zone.now)
d.each do |x|
- x.domain_statuses.create(value: DomainStatus::DELETE_CANDIDATE) if x.delete_candidateable?
+ x.statuses << DomainStatus::DELETE_CANDIDATE if x.delete_candidateable?
# TODO: This should be managed by automatic_statuses
- x.domain_statuses.where(value: DomainStatus::OK).destroy_all
+ x.statuses.delete(DomainStatus::OK)
+ x.save
end
return if Rails.env.test?
@@ -194,8 +211,8 @@ class Domain < ActiveRecord::Base
STDOUT << "#{Time.zone.now.utc} - Destroying domains\n" unless Rails.env.test?
c = 0
- DomainStatus.where(value: DomainStatus::DELETE_CANDIDATE).each do |x|
- x.domain.destroy
+ Domain.where("statuses @> '{deleteCandidate}'::varchar[]").each do |x|
+ x.destroy
c += 1
end
@@ -232,28 +249,22 @@ class Domain < ActiveRecord::Base
domain_transfers.find_by(status: DomainTransfer::PENDING)
end
- def can_be_deleted?
- (domain_statuses.pluck(:value) & %W(
- #{DomainStatus::SERVER_DELETE_PROHIBITED}
- )).empty?
- end
-
def expirable?
return false if valid_to > Time.zone.now
- domain_statuses.where(value: DomainStatus::EXPIRED).empty?
+ !statuses.include?(DomainStatus::EXPIRED)
end
def server_holdable?
return false if outzone_at > Time.zone.now
- return false if domain_statuses.where(value: DomainStatus::SERVER_HOLD).any?
- return false if domain_statuses.where(value: DomainStatus::SERVER_MANUAL_INZONE).any?
+ return false if statuses.include?(DomainStatus::SERVER_HOLD)
+ return false if statuses.include?(DomainStatus::SERVER_MANUAL_INZONE)
true
end
def delete_candidateable?
return false if delete_at > Time.zone.now
- return false if domain_statuses.where(value: DomainStatus::DELETE_CANDIDATE).any?
- return false if domain_statuses.where(value: DomainStatus::SERVER_DELETE_PROHIBITED).any?
+ return false if statuses.include?(DomainStatus::DELETE_CANDIDATE)
+ return false if statuses.include?(DomainStatus::SERVER_DELETE_PROHIBITED)
true
end
@@ -264,15 +275,26 @@ class Domain < ActiveRecord::Base
end
end
- return false if domain_statuses.where(value: DomainStatus::DELETE_CANDIDATE).any?
+ return false if statuses.include?(DomainStatus::DELETE_CANDIDATE)
true
end
+ def preclean_pendings
+ self.registrant_verification_token = nil
+ self.registrant_verification_asked_at = nil
+ end
+
+ def clean_pendings!
+ preclean_pendings
+ self.pending_json = {}
+ statuses.delete(DomainStatus::PENDING_UPDATE)
+ statuses.delete(DomainStatus::PENDING_DELETE)
+ save
+ end
+
def pending_update?
- (domain_statuses.pluck(:value) & %W(
- #{DomainStatus::PENDING_UPDATE}
- )).present?
+ statuses.include?(DomainStatus::PENDING_UPDATE)
end
def pending_update!
@@ -280,9 +302,10 @@ class Domain < ActiveRecord::Base
self.epp_pending_update = true # for epp
return true unless registrant_verification_asked?
- pending_json_cache = all_changes
+ pending_json_cache = pending_json
token = registrant_verification_token
asked_at = registrant_verification_asked_at
+ changes_cache = changes
DomainMailer.registrant_pending_updated(self).deliver_now
@@ -291,10 +314,13 @@ class Domain < ActiveRecord::Base
self.pending_json = pending_json_cache
self.registrant_verification_token = token
self.registrant_verification_asked_at = asked_at
- domain_statuses.create(value: DomainStatus::PENDING_UPDATE)
+ self.statuses = [DomainStatus::PENDING_UPDATE]
+ pending_json[:domain] = changes_cache
end
+ # rubocop: disable Metrics/CyclomaticComplexity
def registrant_update_confirmable?(token)
+ return true if Rails.env.development?
return false unless pending_update?
return false if registrant_verification_token.blank?
return false if registrant_verification_asked_at.blank?
@@ -304,6 +330,7 @@ class Domain < ActiveRecord::Base
end
def registrant_delete_confirmable?(token)
+ return true if Rails.env.development?
return false unless pending_delete?
return false if registrant_verification_token.blank?
return false if registrant_verification_asked_at.blank?
@@ -311,24 +338,25 @@ class Domain < ActiveRecord::Base
return false if registrant_verification_token != token
true
end
+ # rubocop: enable Metrics/CyclomaticComplexity
def force_deletable?
- domain_statuses.where(value: DomainStatus::FORCE_DELETE).empty?
+ !statuses.include?(DomainStatus::FORCE_DELETE)
end
def registrant_verification_asked?
registrant_verification_asked_at.present? && registrant_verification_token.present?
end
- def registrant_verification_asked!
+ def registrant_verification_asked!(frame_str, current_user_id)
+ pending_json['frame'] = frame_str
+ pending_json['current_user_id'] = current_user_id
self.registrant_verification_asked_at = Time.zone.now
self.registrant_verification_token = SecureRandom.hex(42)
end
def pending_delete?
- (domain_statuses.pluck(:value) & %W(
- #{DomainStatus::PENDING_DELETE}
- )).present?
+ statuses.include?(DomainStatus::PENDING_DELETE)
end
def pending_delete!
@@ -336,7 +364,9 @@ class Domain < ActiveRecord::Base
self.epp_pending_delete = true # for epp
return true unless registrant_verification_asked?
- domain_statuses.create(value: DomainStatus::PENDING_DELETE)
+ self.statuses = [DomainStatus::PENDING_DELETE]
+ save(validate: false) # should check if this did succeed
+
DomainMailer.pending_deleted(self).deliver_now
end
@@ -393,12 +423,10 @@ class Domain < ActiveRecord::Base
name
end
- def pending_registrant_name
+ def pending_registrant
return '' if pending_json.blank?
- return '' if pending_json['domain'].blank?
return '' if pending_json['domain']['registrant_id'].blank?
- registrant = Registrant.find_by(id: pending_json['domain']['registrant_id'].last)
- registrant.try(:name)
+ Registrant.find_by(id: pending_json['domain']['registrant_id'].last)
end
# rubocop:disable Lint/Loop
@@ -418,41 +446,38 @@ class Domain < ActiveRecord::Base
end
def set_force_delete
- domain_statuses.where(value: DomainStatus::FORCE_DELETE).first_or_create
- domain_statuses.where(value: DomainStatus::SERVER_RENEW_PROHIBITED).first_or_create
- domain_statuses.where(value: DomainStatus::SERVER_TRANSFER_PROHIBITED).first_or_create
- domain_statuses.where(value: DomainStatus::SERVER_UPDATE_PROHIBITED).first_or_create
- domain_statuses.where(value: DomainStatus::SERVER_MANUAL_INZONE).first_or_create
- domain_statuses.where(value: DomainStatus::PENDING_DELETE).first_or_create
- domain_statuses.where(value: DomainStatus::CLIENT_DELETE_PROHIBITED).destroy_all
- domain_statuses.where(value: DomainStatus::SERVER_DELETE_PROHIBITED).destroy_all
- domain_statuses.reload
+ statuses << DomainStatus::FORCE_DELETE
+ statuses << DomainStatus::SERVER_RENEW_PROHIBITED
+ statuses << DomainStatus::SERVER_TRANSFER_PROHIBITED
+ statuses << DomainStatus::SERVER_UPDATE_PROHIBITED
+ statuses << DomainStatus::SERVER_MANUAL_INZONE
+ statuses << DomainStatus::PENDING_DELETE
+ statuses.delete(DomainStatus::CLIENT_DELETE_PROHIBITED)
+ statuses.delete(DomainStatus::SERVER_DELETE_PROHIBITED)
+
self.force_delete_at = Time.zone.now + Setting.redemption_grace_period.days unless force_delete_at
save(validate: false)
end
def unset_force_delete
- domain_statuses.where(value: DomainStatus::FORCE_DELETE).destroy_all
- domain_statuses.where(value: DomainStatus::SERVER_RENEW_PROHIBITED).destroy_all
- domain_statuses.where(value: DomainStatus::SERVER_TRANSFER_PROHIBITED).destroy_all
- domain_statuses.where(value: DomainStatus::SERVER_UPDATE_PROHIBITED).destroy_all
- domain_statuses.where(value: DomainStatus::SERVER_MANUAL_INZONE).destroy_all
- domain_statuses.where(value: DomainStatus::PENDING_DELETE).destroy_all
- domain_statuses.reload
+ statuses.delete(DomainStatus::FORCE_DELETE)
+ statuses.delete(DomainStatus::SERVER_RENEW_PROHIBITED)
+ statuses.delete(DomainStatus::SERVER_TRANSFER_PROHIBITED)
+ statuses.delete(DomainStatus::SERVER_UPDATE_PROHIBITED)
+ statuses.delete(DomainStatus::SERVER_MANUAL_INZONE)
+ statuses.delete(DomainStatus::PENDING_DELETE)
+
self.force_delete_at = nil
save(validate: false)
end
def manage_automatic_statuses
# domain_statuses.create(value: DomainStatus::DELETE_CANDIDATE) if delete_candidateable?
- if domain_statuses.empty? && valid?
- domain_statuses.create(value: DomainStatus::OK)
- elsif domain_statuses.length > 1 || !valid?
- domain_statuses.find_by(value: DomainStatus::OK).try(:destroy)
+ if statuses.empty? && valid?
+ statuses << DomainStatus::OK
+ elsif statuses.length > 1 || !valid?
+ statuses.delete(DomainStatus::OK)
end
-
- # otherwise domain_statuses are in old state for domain object
- domain_statuses.reload
end
def children_log
@@ -465,17 +490,6 @@ class Domain < ActiveRecord::Base
log
end
- def all_changes
- all_changes = HashWithIndifferentAccess.new
- all_changes[:domain] = changes
- all_changes[:admin_contacts] = admin_contacts.map(&:changes)
- all_changes[:tech_contacts] = tech_contacts.map(&:changes)
- all_changes[:nameservers] = nameservers.map(&:changes)
- all_changes[:registrant] = registrant.try(:changes)
- all_changes[:domain_statuses] = domain_statuses.map(&:changes)
- all_changes
- end
-
def update_whois_record
whois_record.blank? ? create_whois_record : whois_record.save
end
diff --git a/app/models/domain_status.rb b/app/models/domain_status.rb
index f27f0bb71..b33b5446c 100644
--- a/app/models/domain_status.rb
+++ b/app/models/domain_status.rb
@@ -124,7 +124,7 @@ class DomainStatus < ActiveRecord::Base
end
def statuses_for_admin
- SERVER_STATUSES.map { |x| x.sub('server', '') }
+ SERVER_STATUSES.map { |x| [x.sub('server', ''), x] }
end
end
end
diff --git a/app/models/epp/domain.rb b/app/models/epp/domain.rb
index 4e7dc7f62..6cb5fb7fd 100644
--- a/app/models/epp/domain.rb
+++ b/app/models/epp/domain.rb
@@ -110,10 +110,12 @@ class Epp::Domain < Domain
at[:period_unit] = Epp::Domain.parse_period_unit_from_frame(frame) || 'y'
+ # at[:statuses] = domain_statuses_attrs(frame, action)
+ # binding.pry
at[:nameservers_attributes] = nameservers_attrs(frame, action)
at[:admin_domain_contacts_attributes] = admin_domain_contacts_attrs(frame, action)
at[:tech_domain_contacts_attributes] = tech_domain_contacts_attrs(frame, action)
- at[:domain_statuses_attributes] = domain_statuses_attrs(frame, action)
+ # at[:domain_statuses_attributes] = domain_statuses_attrs(frame, action)
if new_record?
dnskey_frame = frame.css('extension create')
@@ -235,24 +237,6 @@ class Epp::Domain < Domain
attrs
end
- def domain_status_list_from(frame)
- status_list = []
-
- frame.css('status').each do |x|
- unless DomainStatus::CLIENT_STATUSES.include?(x['s'])
- add_epp_error('2303', 'status', x['s'], [:domain_statuses, :not_found])
- next
- end
-
- status_list << {
- value: x['s'],
- description: x.text
- }
- end
-
- status_list
- end
-
# rubocop: disable Metrics/PerceivedComplexity
# rubocop: disable Metrics/CyclomaticComplexity
def dnskeys_attrs(frame, action)
@@ -336,14 +320,10 @@ class Epp::Domain < Domain
if action == 'rem'
to_destroy = []
status_list.each do |x|
- status = domain_statuses.find_by(value: x[:value])
- if status.blank?
- add_epp_error('2303', 'status', x[:value], [:domain_statuses, :not_found])
+ if statuses.include?(x)
+ to_destroy << x
else
- to_destroy << {
- id: status.id,
- _destroy: 1
- }
+ add_epp_error('2303', 'status', x, [:domain_statuses, :not_found])
end
end
@@ -362,10 +342,7 @@ class Epp::Domain < Domain
next
end
- status_list << {
- value: x['s'],
- description: x.text
- }
+ status_list << x['s']
end
status_list
@@ -381,7 +358,7 @@ class Epp::Domain < Domain
}]
end
- def update(frame, current_user)
+ def update(frame, current_user, verify = true)
return super if frame.blank?
at = {}.with_indifferent_access
at.deep_merge!(attrs_from(frame.css('chg'), current_user))
@@ -392,16 +369,27 @@ class Epp::Domain < Domain
at[:admin_domain_contacts_attributes] += at_add[:admin_domain_contacts_attributes]
at[:tech_domain_contacts_attributes] += at_add[:tech_domain_contacts_attributes]
at[:dnskeys_attributes] += at_add[:dnskeys_attributes]
- at[:domain_statuses_attributes] += at_add[:domain_statuses_attributes]
+ at[:statuses] =
+ statuses - domain_statuses_attrs(frame.css('rem'), 'rem') + domain_statuses_attrs(frame.css('add'), 'add')
- if frame.css('registrant').present? && frame.css('registrant').attr('verified').to_s.downcase != 'yes'
- registrant_verification_asked!
+ # at[:statuses] += at_add[:domain_statuses_attributes]
+
+ if verify && frame.css('registrant').present? && frame.css('registrant').attr('verified').to_s.downcase != 'yes'
+ registrant_verification_asked!(frame.to_s, current_user.id)
end
self.deliver_emails = true # turn on email delivery for epp
-
errors.empty? && super(at)
end
+ def apply_pending_update!
+ preclean_pendings
+ user = ApiUser.find(pending_json['current_user_id'])
+ frame = Nokogiri::XML(pending_json['frame'])
+ statuses.delete(DomainStatus::PENDING_UPDATE)
+
+ clean_pendings! if update(frame, user, false)
+ end
+
def attach_legal_document(legal_document_data)
return unless legal_document_data
@@ -411,11 +399,11 @@ class Epp::Domain < Domain
)
end
- def epp_destroy(frame)
+ def epp_destroy(frame, user_id)
return false unless valid?
if frame.css('delete').attr('verified').to_s.downcase != 'yes'
- registrant_verification_asked!
+ registrant_verification_asked!(frame.to_s, user_id)
pending_delete!
manage_automatic_statuses
true # aka 1001 pending_delete
@@ -439,8 +427,8 @@ class Epp::Domain < Domain
self.period = period
self.period_unit = unit
- domain_statuses.where(value: DomainStatus::SERVER_HOLD).destroy_all
- domain_statuses.where(value: DomainStatus::EXPIRED).destroy_all
+ statuses.delete(DomainStatus::SERVER_HOLD)
+ statuses.delete(DomainStatus::EXPIRED)
save
end
@@ -682,9 +670,7 @@ class Epp::Domain < Domain
begin
errors.add(:base, :domain_status_prohibits_operation)
return false
- end if (domain_statuses.pluck(:value) & %W(
- #{DomainStatus::CLIENT_DELETE_PROHIBITED}
- )).any?
+ end if statuses.include?(DomainStatus::CLIENT_DELETE_PROHIBITED)
true
end
diff --git a/app/models/registrant_verification.rb b/app/models/registrant_verification.rb
index d56170bdd..fb7a56839 100644
--- a/app/models/registrant_verification.rb
+++ b/app/models/registrant_verification.rb
@@ -17,12 +17,12 @@ class RegistrantVerification < ActiveRecord::Base
def domain_registrant_change_confirm!
self.action_type = DOMAIN_REGISTRANT_CHANGE
self.action = CONFIRMED
- save
+ DomainConfirmJob.enqueue domain.id, CONFIRMED if save
end
def domain_registrant_change_reject!
self.action_type = DOMAIN_REGISTRANT_CHANGE
self.action = REJECTED
- save
+ DomainConfirmJob.enqueue domain.id, REJECTED if save
end
end
diff --git a/app/models/whois_record.rb b/app/models/whois_record.rb
index 0e7ed3f30..e1b168935 100644
--- a/app/models/whois_record.rb
+++ b/app/models/whois_record.rb
@@ -20,11 +20,11 @@ class WhoisRecord < ActiveRecord::Base
includes(
domain: [
:registrant,
- :registrar,
- :nameservers,
+ :registrar,
+ :nameservers,
{ tech_contacts: :registrar },
{ admin_contacts: :registrar }
- ]
+ ]
)
end
end
@@ -34,19 +34,23 @@ class WhoisRecord < ActiveRecord::Base
h = HashWithIndifferentAccess.new
return h if domain.blank?
+ status_map = {
+ 'ok' => 'ok (paid and in zone)'
+ }
+
@disclosed = []
h[:name] = domain.name
h[:registrant] = domain.registrant.name
- h[:status] = domain.domain_statuses.map(&:human_value).join(', ')
+ h[:status] = domain.statuses.map { |x| status_map[x] || x }.join(', ')
h[:registered] = domain.registered_at.try(:to_s, :iso8601)
h[:updated_at] = domain.updated_at.try(:to_s, :iso8601)
h[:valid_to] = domain.valid_to.try(:to_s, :iso8601)
-
+
# update registar triggers when adding new attributes
h[:registrar] = domain.registrar.name
h[:registrar_phone] = domain.registrar.phone
h[:registrar_address] = domain.registrar.address
- h[:registrar_update_at] = domain.registrar.updated_at.try(:to_s, :iso8601)
+ h[:registrar_update_at] = domain.registrar.updated_at.try(:to_s, :iso8601)
h[:admin_contacts] = []
domain.admin_contacts.each do |ac|
diff --git a/app/views/admin/contacts/partials/_general.haml b/app/views/admin/contacts/partials/_general.haml
index ca77f56f7..dc1c277fb 100644
--- a/app/views/admin/contacts/partials/_general.haml
+++ b/app/views/admin/contacts/partials/_general.haml
@@ -7,7 +7,8 @@
%dd= @contact.code
%dt= t(:password)
- %dd= @contact.auth_info
+ %dd
+ = text_field_tag :auth_info, @contact.auth_info, readonly: true, class: 'partially-hidden'
%br
diff --git a/app/views/admin/domains/form_partials/_statuses.haml b/app/views/admin/domains/form_partials/_statuses.haml
index 7ae89a8da..52b9282ef 100644
--- a/app/views/admin/domains/form_partials/_statuses.haml
+++ b/app/views/admin/domains/form_partials/_statuses.haml
@@ -1,26 +1,29 @@
#domain-statuses
- = f.fields_for :domain_statuses, @server_statuses do |status_fields|
+ - @server_statuses.each do |x|
.panel.panel-default
.panel-heading.clearfix
.pull-left= t(:status)
.pull-right
= link_to(t(:add_another), '#', class: 'btn btn-primary btn-xs add-domain-status')
- = link_to(t(:delete), '#', class: 'btn btn-danger btn-xs destroy')
+ = link_to(t(:delete), '#', class: 'btn btn-danger btn-xs destroy-status')
.panel-body
- .errors
- = render 'shared/errors', object: status_fields.object
- - if status_fields.object.errors.any?
- %hr
.form-group
- = status_fields.label :value, class: 'col-md-2 control-label'
+ = f.label 'status', class: 'col-md-2 control-label'
.col-md-10
- = status_fields.select :value, options_for_select(DomainStatus.statuses_for_admin, status_fields.object.value.try(:sub, 'server', '')), {include_blank: true}, {class: 'form-control'}
+ = select_tag 'domain[statuses][]', options_for_select(DomainStatus.statuses_for_admin, x), include_blank: true, class: 'form-control'
.form-group
- = status_fields.label :description, class: 'col-md-2 control-label'
+ = label_tag t(:description), nil, class: 'col-md-2 control-label'
.col-md-10
- = status_fields.text_field :description, class: 'form-control', autocomplete: 'off'
+ = text_field_tag :description, nil, class: 'form-control', autocomplete: 'off'
+ - @other_statuses.each do |x|
+ = hidden_field_tag 'domain[statuses][]', x, readonly: true
:coffee
$("#domain-statuses").nestedAttributes
bindAddTo: $(".add-domain-status")
- afterAdd: (item) ->
- item.find(".errors").html ""
+
+ $('.destroy-status').on 'click', (e) ->
+ e.preventDefault()
+ if $('.panel').length > 1
+ $(this).parents('.panel').remove()
+ else
+ $(this).parents('.panel').find('select').val('')
diff --git a/app/views/admin/domains/partials/_general.haml b/app/views/admin/domains/partials/_general.haml
index 17a6d5c45..53c73c65b 100644
--- a/app/views/admin/domains/partials/_general.haml
+++ b/app/views/admin/domains/partials/_general.haml
@@ -13,7 +13,8 @@
%dd= link_to(@domain.registrar, root_path)
%dt= t(:password)
- %dd= @domain.auth_info
+ %dd
+ = text_field_tag :password, @domain.auth_info, readonly: true, class: 'partially-hidden'
%dt= t(:valid_from)
%dd= l(@domain.valid_from)
diff --git a/app/views/admin/domains/partials/_statuses.haml b/app/views/admin/domains/partials/_statuses.haml
index f6f6a115c..51a88b18b 100644
--- a/app/views/admin/domains/partials/_statuses.haml
+++ b/app/views/admin/domains/partials/_statuses.haml
@@ -1,5 +1,4 @@
-- panel_class = @domain.errors.messages[:domain_statuses] ? 'panel-danger' : 'panel-default'
-#domain_statuses.panel{class: panel_class}
+#domain_statuses.panel.panel-default
.panel-heading.clearfix
= t(:statuses)
.table-responsive
@@ -9,12 +8,7 @@
%th{class: 'col-xs-6'}= t(:status)
%th{class: 'col-xs-6'}= t(:description)
%tbody
- - @domain.domain_statuses.each do |x|
+ - @domain.statuses.each do |x|
%tr
- %td= x.value
- %td= x.description
- - if @domain.errors.messages[:domain_statuses]
- %tfoot
- - @domain.errors.messages[:domain_statuses].each do |x|
- %tr
- %td{colspan: 4}= x
+ %td= x
+ %td
diff --git a/app/views/admin/settings/_setting_row.haml b/app/views/admin/settings/_setting_row.haml
new file mode 100644
index 000000000..632effc74
--- /dev/null
+++ b/app/views/admin/settings/_setting_row.haml
@@ -0,0 +1,9 @@
+- value = Setting.send(var)
+%tr
+ %td= t(var)
+ - if [TrueClass, FalseClass].include?(value.class)
+ %td
+ = hidden_field_tag("[settings][#{var}]", '')
+ = check_box_tag("[settings][#{var}]", true, value)
+ - else
+ %td= text_field_tag("[settings][#{var}]", value)
diff --git a/app/views/admin/settings/index.haml b/app/views/admin/settings/index.haml
index c52bf3783..cd0e1d9a4 100644
--- a/app/views/admin/settings/index.haml
+++ b/app/views/admin/settings/index.haml
@@ -1,27 +1,72 @@
= render 'shared/title', name: t(:settings)
= form_tag [:admin, :settings] do
+ .panel.panel-default
+ .panel-heading.clearfix
+ = t(:domain_validation_rules)
+ .table-responsive
+ %table.table.table-hover.table-bordered.table-condensed
+ %thead
+ %tr
+ %th{class: 'col-xs-6'}= t(:setting)
+ %th{class: 'col-xs-6'}= t(:value)
+ %tbody
+ = render 'setting_row', var: :admin_contacts_min_count
+ = render 'setting_row', var: :admin_contacts_max_count
+ = render 'setting_row', var: :tech_contacts_min_count
+ = render 'setting_row', var: :tech_contacts_max_count
+ = render 'setting_row', var: :ds_data_allowed
+ = render 'setting_row', var: :key_data_allowed
+ = render 'setting_row', var: :dnskeys_min_count
+ = render 'setting_row', var: :dnskeys_max_count
+ = render 'setting_row', var: :ns_min_count
+ = render 'setting_row', var: :ns_max_count
+
+ .panel.panel-default
+ .panel-heading.clearfix
+ = t(:domain_expiring)
+ .table-responsive
+ %table.table.table-hover.table-bordered.table-condensed
+ %thead
+ %tr
+ %th{class: 'col-xs-6'}= t(:setting)
+ %th{class: 'col-xs-6'}= t(:value)
+ %tbody
+ = render 'setting_row', var: :days_to_renew_domain_before_expire
+ = render 'setting_row', var: :expire_warning_period
+ = render 'setting_row', var: :redemption_grace_period
+
+ .panel.panel-default
+ .panel-heading.clearfix
+ = t(:billing)
+ .table-responsive
+ %table.table.table-hover.table-bordered.table-condensed
+ %thead
+ %tr
+ %th{class: 'col-xs-6'}= t(:setting)
+ %th{class: 'col-xs-6'}= t(:value)
+ %tbody
+ = render 'setting_row', var: :eis_iban
+ = render 'setting_row', var: :eis_bank
+ = render 'setting_row', var: :eis_swift
+ = render 'setting_row', var: :eis_invoice_contact
+ = render 'setting_row', var: :invoice_number_min
+ = render 'setting_row', var: :invoice_number_max
+ = render 'setting_row', var: :days_to_keep_overdue_invoices_active
+
+ .panel.panel-default
+ .panel-heading.clearfix
+ = t(:other)
+ .table-responsive
+ %table.table.table-hover.table-bordered.table-condensed
+ %thead
+ %tr
+ %th{class: 'col-xs-6'}= t(:setting)
+ %th{class: 'col-xs-6'}= t(:value)
+ %tbody
+ = render 'setting_row', var: :transfer_wait_time
+ = render 'setting_row', var: :ds_algorithm
+ = render 'setting_row', var: :client_side_status_editing_enabled
.row
- .col-md-8
- .table-responsive
- %table.table.table-hover.table-bordered.table-condensed
- %thead
- %tr
- %th{class: 'col-xs-4'}
- = t(:setting)
- %th{class: 'col-xs-2'}
- = t(:value)
- %tbody
- - @settings.each do |x|
- %tr
- %td= t("#{x.var}")
- - if [TrueClass, FalseClass].include?(x.value.class)
- %td
- = hidden_field_tag("[settings][#{x.var}]", '')
- = check_box_tag("[settings][#{x.var}]", true, x.value)
- - else
- %td= text_field_tag("[settings][#{x.var}]", x.value)
- %hr
- .row
- .col-md-8.text-right
+ .col-md-12.text-right
%button.btn.btn-primary=t(:save)
diff --git a/app/views/domain_mailer/registrant_pending_updated.html.erb b/app/views/domain_mailer/registrant_pending_updated.html.erb
index b081bf2b4..9f071df10 100644
--- a/app/views/domain_mailer/registrant_pending_updated.html.erb
+++ b/app/views/domain_mailer/registrant_pending_updated.html.erb
@@ -9,8 +9,6 @@ Isikukood: <%= @domain.registrant_ident %>
<% else %>
Äriregistrikood: <%= @domain.registrant_ident %>
<% end %>
-Epost: <%= @domain.registrant_email %>
-Tel: <%= @domain.registrant_phone %>
Tänav: <%= @domain.registrant_street %>
Linn: <%= @domain.registrant_city %>
Riik: <%= @domain.registrant_country %>
@@ -34,8 +32,6 @@ Personal code: <%= @domain.registrant_ident %>
<% else %>
Business Registry code: <%= @domain.registrant_ident %>
<% end %>
-E-mail: <%= @domain.registrant_email %>
-Tel: <%= @domain.registrant_phone %>
Street: <%= @domain.registrant_street %>
City: <%= @domain.registrant_city %>
Country: <%= @domain.registrant_country %>
diff --git a/app/views/domain_mailer/registrant_pending_updated.text.erb b/app/views/domain_mailer/registrant_pending_updated.text.erb
index ca6609eac..228c7f0a4 100644
--- a/app/views/domain_mailer/registrant_pending_updated.text.erb
+++ b/app/views/domain_mailer/registrant_pending_updated.text.erb
@@ -9,8 +9,6 @@ Isikukood: <%= @domain.registrant_ident %>
<% else %>
Äriregistrikood: <%= @domain.registrant_ident %>
<% end %>
-Epost: <%= @domain.registrant_email %>
-Tel: <%= @domain.registrant_phone %>
Tänav: <%= @domain.registrant_street %>
Linn: <%= @domain.registrant_city %>
Riik: <%= @domain.registrant_country %>
@@ -34,8 +32,6 @@ Personal code: <%= @domain.registrant_ident %>
<% else %>
Business Registry code: <%= @domain.registrant_ident %>
<% end %>
-E-mail: <%= @domain.registrant_email %>
-Tel: <%= @domain.registrant_phone %>
Street: <%= @domain.registrant_street %>
City: <%= @domain.registrant_city %>
Country: <%= @domain.registrant_country %>
diff --git a/app/views/epp/contacts/check.xml.builder b/app/views/epp/contacts/check.xml.builder
index efa5ae231..f4dcdea82 100644
--- a/app/views/epp/contacts/check.xml.builder
+++ b/app/views/epp/contacts/check.xml.builder
@@ -5,7 +5,7 @@ xml.epp_head do
end
xml.resData do
- xml.tag!('contact:chkData', 'xmlns:contact' => 'urn:ietf:params:xml:ns:contact-1.0') do
+ xml.tag!('contact:chkData', 'xmlns:contact' => 'https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd') do
@results.each do |result|
xml.tag!('contact:cd') do
xml.tag! "contact:id", result[:code], avail: result[:avail]
diff --git a/app/views/epp/contacts/create.xml.builder b/app/views/epp/contacts/create.xml.builder
index da48d780c..1a4da8473 100644
--- a/app/views/epp/contacts/create.xml.builder
+++ b/app/views/epp/contacts/create.xml.builder
@@ -5,7 +5,7 @@ xml.epp_head do
end
xml.resData do
- xml.tag!('contact:creData', 'xmlns:contact' => 'urn:ietf:params:xml:ns:contact-1.0') do
+ xml.tag!('contact:creData', 'xmlns:contact' => 'https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd') do
xml.tag!('contact:id', @contact.code)
xml.tag!('contact:crDate', @contact.created_at.try(:iso8601))
end
diff --git a/app/views/epp/contacts/info.xml.builder b/app/views/epp/contacts/info.xml.builder
index 3862805d5..da8edbdf7 100644
--- a/app/views/epp/contacts/info.xml.builder
+++ b/app/views/epp/contacts/info.xml.builder
@@ -5,7 +5,7 @@ xml.epp_head do
end
xml.resData do
- xml.tag!('contact:infData', 'xmlns:contact' => 'urn:ietf:params:xml:ns:contact-1.0') do
+ xml.tag!('contact:infData', 'xmlns:contact' => 'https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd') do
xml.tag!('contact:id', @contact.code)
xml.tag!('contact:roid', @contact.roid)
diff --git a/app/views/epp/contacts/update.xml.builder b/app/views/epp/contacts/update.xml.builder
index da48d780c..1a4da8473 100644
--- a/app/views/epp/contacts/update.xml.builder
+++ b/app/views/epp/contacts/update.xml.builder
@@ -5,7 +5,7 @@ xml.epp_head do
end
xml.resData do
- xml.tag!('contact:creData', 'xmlns:contact' => 'urn:ietf:params:xml:ns:contact-1.0') do
+ xml.tag!('contact:creData', 'xmlns:contact' => 'https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd') do
xml.tag!('contact:id', @contact.code)
xml.tag!('contact:crDate', @contact.created_at.try(:iso8601))
end
diff --git a/app/views/epp/domains/check.xml.builder b/app/views/epp/domains/check.xml.builder
index 6bfc382a3..8441f4118 100644
--- a/app/views/epp/domains/check.xml.builder
+++ b/app/views/epp/domains/check.xml.builder
@@ -5,7 +5,7 @@ xml.epp_head do
end
xml.resData do
- xml.tag!('domain:chkData', 'xmlns:domain' => 'urn:ietf:params:xml:ns:domain-1.0') do
+ xml.tag!('domain:chkData', 'xmlns:domain' => 'https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd') do
@domains.each do |x|
xml.tag!('domain:cd') do
xml.tag!('domain:name', x[:name], 'avail' => x[:avail])
diff --git a/app/views/epp/domains/create.xml.builder b/app/views/epp/domains/create.xml.builder
index ba6661504..dd22fb0b8 100644
--- a/app/views/epp/domains/create.xml.builder
+++ b/app/views/epp/domains/create.xml.builder
@@ -5,7 +5,7 @@ xml.epp_head do
end
xml.resData do
- xml.tag!('domain:creData', 'xmlns:domain' => 'urn:ietf:params:xml:ns:domain-1.0') do
+ xml.tag!('domain:creData', 'xmlns:domain' => 'https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd') do
xml.tag!('domain:name', @domain.name)
xml.tag!('domain:crDate', @domain.created_at.try(:iso8601))
xml.tag!('domain:exDate', @domain.valid_to.try(:iso8601))
diff --git a/app/views/epp/domains/info.xml.builder b/app/views/epp/domains/info.xml.builder
index ad1db1cb2..ebaf613d5 100644
--- a/app/views/epp/domains/info.xml.builder
+++ b/app/views/epp/domains/info.xml.builder
@@ -5,12 +5,11 @@ xml.epp_head do
end
xml.resData do
- xml.tag!('domain:infData', 'xmlns:domain' => 'urn:ietf:params:xml:ns:domain-1.0') do
+ xml.tag!('domain:infData', 'xmlns:domain' => 'https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd') do
xml.tag!('domain:name', @domain.name)
xml.tag!('domain:roid', @domain.roid)
- @domain.domain_statuses.each do |ds|
- xml.tag!('domain:status', ds.description, 's' => ds.value) unless ds.description.blank?
- xml.tag!('domain:status', 's' => ds.value) if ds.description.blank?
+ @domain.statuses.each do |s|
+ xml.tag!('domain:status', 's' => s)
end
xml.tag!('domain:registrant', @domain.registrant_code)
diff --git a/app/views/epp/domains/partials/_transfer.xml.builder b/app/views/epp/domains/partials/_transfer.xml.builder
index 39f9b147f..a98cf231e 100644
--- a/app/views/epp/domains/partials/_transfer.xml.builder
+++ b/app/views/epp/domains/partials/_transfer.xml.builder
@@ -1,4 +1,4 @@
-builder.tag!('domain:trnData', 'xmlns:domain' => 'urn:ietf:params:xml:ns:domain-1.0') do
+builder.tag!('domain:trnData', 'xmlns:domain' => 'https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd') do
builder.tag!('domain:name', dt.domain_name)
builder.tag!('domain:trStatus', dt.status)
builder.tag!('domain:reID', dt.transfer_to.code)
diff --git a/app/views/epp/domains/renew.xml.builder b/app/views/epp/domains/renew.xml.builder
index ea2192c18..b970b322e 100644
--- a/app/views/epp/domains/renew.xml.builder
+++ b/app/views/epp/domains/renew.xml.builder
@@ -5,7 +5,7 @@ xml.epp_head do
end
xml.resData do
- xml.tag!('domain:renData', 'xmlns:domain' => 'urn:ietf:params:xml:ns:domain-1.0') do
+ xml.tag!('domain:renData', 'xmlns:domain' => 'https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd') do
xml.tag!('domain:name', @domain[:name])
xml.tag!('domain:exDate', @domain.valid_to.try(:iso8601))
end
diff --git a/app/views/epp/latin_error.xml.builder b/app/views/epp/latin_error.xml.builder
new file mode 100644
index 000000000..6ff19efbf
--- /dev/null
+++ b/app/views/epp/latin_error.xml.builder
@@ -0,0 +1,8 @@
+xml.epp_head do
+ xml.response do
+ xml.result('code' => '2306') do
+ xml.msg('Parameter value policy error. Allowed only Latin characters.', 'lang' => 'en')
+ end
+ render('epp/shared/trID', builder: xml)
+ end
+end
diff --git a/app/views/epp/poll/poll_keyrelay.xml.builder b/app/views/epp/poll/poll_keyrelay.xml.builder
index 5b037702a..9e245bd3e 100644
--- a/app/views/epp/poll/poll_keyrelay.xml.builder
+++ b/app/views/epp/poll/poll_keyrelay.xml.builder
@@ -2,7 +2,7 @@ xml.instruct!(:xml, standalone: 'no')
xml.epp(
'xmlns' => 'urn:ietf:params:xml:ns:epp-1.0',
'xmlns:secDNS' => 'urn:ietf:params:xml:ns:secDNS-1.1',
- 'xmlns:domain' => 'urn:ietf:params:xml:ns:domain-1.0',
+ 'xmlns:domain' => 'https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd',
'xmlns:keyrelay' => 'urn:ietf:params:xml:ns:keyrelay-1.0'
) do
xml.response do
diff --git a/app/views/epp/sessions/greeting.xml.builder b/app/views/epp/sessions/greeting.xml.builder
index 7a66dbc6e..34a983aca 100644
--- a/app/views/epp/sessions/greeting.xml.builder
+++ b/app/views/epp/sessions/greeting.xml.builder
@@ -5,8 +5,8 @@ xml.epp_head do
xml.svcMenu do
xml.version '1.0'
xml.lang 'en'
- xml.objURI 'urn:ietf:params:xml:ns:domain-1.0'
- xml.objURI 'urn:ietf:params:xml:ns:contact-1.0'
+ xml.objURI 'https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd'
+ xml.objURI 'https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd'
xml.objURI 'urn:ietf:params:xml:ns:host-1.0'
xml.objURI 'urn:ietf:params:xml:ns:keyrelay-1.0'
xml.svcExtension do
diff --git a/app/views/layouts/admin/application.haml b/app/views/layouts/admin/application.haml
index 917e9b635..2cde75596 100644
--- a/app/views/layouts/admin/application.haml
+++ b/app/views/layouts/admin/application.haml
@@ -65,7 +65,7 @@
-# %li= link_to t(:domains_history), admin_domain_versions_path
%li= link_to t(:epp_logs), admin_epp_logs_path
%li= link_to t(:repp_logs), admin_repp_logs_path
- -# %li= link_to t(:background_jobs), admin_delayed_jobs_path
+ %li= link_to t(:que), '/admin/que'
- if signed_in?
%ul.nav.navbar-nav.navbar-right
diff --git a/app/views/registrant/domain_update_confirms/show.haml b/app/views/registrant/domain_update_confirms/show.haml
index d777f3bf6..796638109 100644
--- a/app/views/registrant/domain_update_confirms/show.haml
+++ b/app/views/registrant/domain_update_confirms/show.haml
@@ -25,13 +25,13 @@
.row
.col-md-12.text-center.confirmation
.column-keys
- %p= t(:domain_name) + ':'
+ %p= t(:domain_name) + ':'
%p= t(:current_registrant) + ':'
%p= t(:new_pending_registrant) + ':'
.column-values
%p= @domain.name
- %p= @domain.registrant_name
- %p= @domain.pending_registrant_name
+ %p= "#{@domain.registrant_name} (#{@domain.registrant.ident})"
+ %p= "#{@domain.pending_registrant.try(:name)} (#{@domain.pending_registrant.try(:ident)})"
.row
.col-md-12.text-center
diff --git a/app/views/registrar/contacts/partials/_general.haml b/app/views/registrar/contacts/partials/_general.haml
index 3e3894278..c4804fe53 100644
--- a/app/views/registrar/contacts/partials/_general.haml
+++ b/app/views/registrar/contacts/partials/_general.haml
@@ -7,7 +7,9 @@
%dd= @contact.id
%dt= t(:password)
- %dd= @contact.password
+ %dd
+ = text_field_tag :password, @contact.password, readonly: true, class: 'partially-hidden'
+
%br
diff --git a/app/views/registrar/xml_consoles/epp_requests/contact/check.xml b/app/views/registrar/xml_consoles/epp_requests/contact/check.xml
index 2748c7275..4bf1e6eb3 100644
--- a/app/views/registrar/xml_consoles/epp_requests/contact/check.xml
+++ b/app/views/registrar/xml_consoles/epp_requests/contact/check.xml
@@ -3,7 +3,7 @@
+ xmlns:contact="https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd">
sh8013
diff --git a/app/views/registrar/xml_consoles/epp_requests/contact/check_multiple.xml b/app/views/registrar/xml_consoles/epp_requests/contact/check_multiple.xml
index a77dcd852..67f9f266c 100644
--- a/app/views/registrar/xml_consoles/epp_requests/contact/check_multiple.xml
+++ b/app/views/registrar/xml_consoles/epp_requests/contact/check_multiple.xml
@@ -3,7 +3,7 @@
+ xmlns:contact="https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd">
sh8013
sh13
vsdfvq
diff --git a/app/views/registrar/xml_consoles/epp_requests/contact/create.xml b/app/views/registrar/xml_consoles/epp_requests/contact/create.xml
index 17d72dfbd..8fa81d779 100644
--- a/app/views/registrar/xml_consoles/epp_requests/contact/create.xml
+++ b/app/views/registrar/xml_consoles/epp_requests/contact/create.xml
@@ -2,7 +2,7 @@
-
+
Sillius Soddus
diff --git a/app/views/registrar/xml_consoles/epp_requests/contact/delete.xml b/app/views/registrar/xml_consoles/epp_requests/contact/delete.xml
index c3e1b7b0c..69dc8d3b8 100644
--- a/app/views/registrar/xml_consoles/epp_requests/contact/delete.xml
+++ b/app/views/registrar/xml_consoles/epp_requests/contact/delete.xml
@@ -3,7 +3,7 @@
+ xmlns:contact="https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd">
sh8013
wrong-one
diff --git a/app/views/registrar/xml_consoles/epp_requests/contact/info.xml b/app/views/registrar/xml_consoles/epp_requests/contact/info.xml
index e40e42fd7..19ad4de9d 100644
--- a/app/views/registrar/xml_consoles/epp_requests/contact/info.xml
+++ b/app/views/registrar/xml_consoles/epp_requests/contact/info.xml
@@ -2,7 +2,7 @@
-
+
sh8013
Aas34fq
diff --git a/app/views/registrar/xml_consoles/epp_requests/contact/update_chg.xml b/app/views/registrar/xml_consoles/epp_requests/contact/update_chg.xml
index 7396c6065..49631d3a0 100644
--- a/app/views/registrar/xml_consoles/epp_requests/contact/update_chg.xml
+++ b/app/views/registrar/xml_consoles/epp_requests/contact/update_chg.xml
@@ -2,7 +2,7 @@
-
+
sh8013
diff --git a/app/views/registrar/xml_consoles/epp_requests/domain/check.xml b/app/views/registrar/xml_consoles/epp_requests/domain/check.xml
index b55a4b129..94c765ab6 100644
--- a/app/views/registrar/xml_consoles/epp_requests/domain/check.xml
+++ b/app/views/registrar/xml_consoles/epp_requests/domain/check.xml
@@ -3,7 +3,7 @@
+ xmlns:domain="https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd">
example.ee
diff --git a/app/views/registrar/xml_consoles/epp_requests/domain/create.xml b/app/views/registrar/xml_consoles/epp_requests/domain/create.xml
index 8584e0c82..e80c17cbf 100644
--- a/app/views/registrar/xml_consoles/epp_requests/domain/create.xml
+++ b/app/views/registrar/xml_consoles/epp_requests/domain/create.xml
@@ -3,7 +3,7 @@
+ xmlns:domain="https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd">
example.ee
1
diff --git a/app/views/registrar/xml_consoles/epp_requests/domain/delete.xml b/app/views/registrar/xml_consoles/epp_requests/domain/delete.xml
index 69b21e076..1a97703f8 100644
--- a/app/views/registrar/xml_consoles/epp_requests/domain/delete.xml
+++ b/app/views/registrar/xml_consoles/epp_requests/domain/delete.xml
@@ -3,7 +3,7 @@
+ xmlns:domain="https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd">
example.ee
diff --git a/app/views/registrar/xml_consoles/epp_requests/domain/info.xml b/app/views/registrar/xml_consoles/epp_requests/domain/info.xml
index 9f654753f..f7f0192c0 100644
--- a/app/views/registrar/xml_consoles/epp_requests/domain/info.xml
+++ b/app/views/registrar/xml_consoles/epp_requests/domain/info.xml
@@ -3,7 +3,7 @@
+ xmlns:domain="https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd">
example.ee
2fooBAR
diff --git a/app/views/registrar/xml_consoles/epp_requests/domain/renew.xml b/app/views/registrar/xml_consoles/epp_requests/domain/renew.xml
index 2ba7ea4a8..73070bfc4 100644
--- a/app/views/registrar/xml_consoles/epp_requests/domain/renew.xml
+++ b/app/views/registrar/xml_consoles/epp_requests/domain/renew.xml
@@ -3,7 +3,7 @@
+ xmlns:domain="https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd">
example.ee
2014-08-07
1
diff --git a/app/views/registrar/xml_consoles/epp_requests/domain/transfer.xml b/app/views/registrar/xml_consoles/epp_requests/domain/transfer.xml
index 312f58bfa..266b56e9c 100644
--- a/app/views/registrar/xml_consoles/epp_requests/domain/transfer.xml
+++ b/app/views/registrar/xml_consoles/epp_requests/domain/transfer.xml
@@ -3,7 +3,7 @@
+ xmlns:domain="https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd">
example.ee
2BARfoo
diff --git a/app/views/registrar/xml_consoles/epp_requests/domain/update.xml b/app/views/registrar/xml_consoles/epp_requests/domain/update.xml
index aef4b2037..26df74165 100644
--- a/app/views/registrar/xml_consoles/epp_requests/domain/update.xml
+++ b/app/views/registrar/xml_consoles/epp_requests/domain/update.xml
@@ -3,7 +3,7 @@
+ xmlns:domain="https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd">
example.ee
mak21
diff --git a/app/views/registrar/xml_consoles/epp_requests/keyrelay/keyrelay.xml b/app/views/registrar/xml_consoles/epp_requests/keyrelay/keyrelay.xml
index a209778c8..54532f23a 100644
--- a/app/views/registrar/xml_consoles/epp_requests/keyrelay/keyrelay.xml
+++ b/app/views/registrar/xml_consoles/epp_requests/keyrelay/keyrelay.xml
@@ -1,5 +1,5 @@
-
+
example6.ee
diff --git a/config/application-example.yml b/config/application-example.yml
index fd9e957b7..5703337ce 100644
--- a/config/application-example.yml
+++ b/config/application-example.yml
@@ -4,6 +4,7 @@ app_name: '.EE Registry'
zonefile_export_dir: 'export/zonefiles'
bank_statement_import_dir: 'import/bank_statements'
legal_documents_dir: 'import/legal_documents'
+time_zone: 'Tallinn' # more zones by rake time:zones:all
# New Relic app name, keep only current mode, remove other names.
# Example: 'Admin, EPP, REPP' will have name 'Admin, EPP, REPP - production' at New Relic.
diff --git a/config/application.rb b/config/application.rb
index 4685fc1b7..9931ce25e 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -21,7 +21,8 @@ module Registry
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- config.time_zone = 'UTC' # NB! It should be defined, otherwise ActiveRecord usese other class.
+ config.time_zone = ENV['time_zone'] # NB! It should be defined,
+ # otherwise ActiveRecord usese other class internally.
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
@@ -49,6 +50,8 @@ module Registry
# Instead, the errors will propagate normally just like in other Active Record callbacks.
config.active_record.raise_in_transactional_callbacks = true
+ config.active_record.schema_format = :sql
+
config.generators do |g|
g.stylesheets false
g.javascripts false
diff --git a/config/environments/test.rb b/config/environments/test.rb
index 1a43b07c1..6c75b5a00 100644
--- a/config/environments/test.rb
+++ b/config/environments/test.rb
@@ -37,6 +37,8 @@ Rails.application.configure do
# For rails-settings-cached conflict
config.cache_store = :file_store, 'tmp/cache_test'
+ config.time_zone = 'UTC'
+
# Raises error for missing translations
# config.action_view.raise_on_missing_translations = true
diff --git a/config/initializers/env_required.rb b/config/initializers/env_required.rb
index 3df22e811..d5921a161 100644
--- a/config/initializers/env_required.rb
+++ b/config/initializers/env_required.rb
@@ -10,6 +10,7 @@ required = %w(
webclient_ip
legal_documents_dir
bank_statement_import_dir
+ time_zone
)
Figaro.require_keys(required)
diff --git a/config/initializers/que.rb b/config/initializers/que.rb
new file mode 100644
index 000000000..b9e5a68ab
--- /dev/null
+++ b/config/initializers/que.rb
@@ -0,0 +1 @@
+Que.mode = :off
diff --git a/config/initializers/settings.rb b/config/initializers/settings.rb
index 62adbb295..8a222b617 100644
--- a/config/initializers/settings.rb
+++ b/config/initializers/settings.rb
@@ -1,6 +1,4 @@
TEST_EMAILS = %w(
- martin@gitlab.eu
- priit@gitlab.eu
timo.vohmar@internet.ee
rene.vahtel@internet.ee
martin.mettig@internet.ee
@@ -9,6 +7,9 @@ TEST_EMAILS = %w(
norman.aeg@internet.ee
martti.oigus@internet.ee
jana.jarve@internet.ee
+ martin@gitlab.eu
+ priit@gitlab.eu
+ info@gitlab.eu
test@example.com
test@example.org
)
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 968b86e79..674df707f 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -100,6 +100,8 @@ en:
invalid: 'Statuses are invalid'
not_found: 'Status was not found'
taken: 'Status already exists on this domain'
+ statuses:
+ taken: 'Status already exists on this domain'
registrar:
blank: 'Registrar is missing'
dnskeys:
@@ -788,8 +790,8 @@ en:
reject_domain_registrant_update: 'Reject domain ownership change'
domain_registrant_change_title: 'Please confirm or reject domain ownership change'
domain_registrant_change_body: 'There is a request to change domain ownership. Before doing it we need your confirmation.'
- new_pending_registrant: 'New owner'
- current_registrant: 'Current owner'
+ new_pending_registrant: 'New registrant'
+ current_registrant: 'Current registrant'
registrant_domain_verification_failed: 'Domain verification not available'
domain_registrant_change_confirmed_title: 'Domain owner change has been confirmed'
domain_registrant_change_confirmed_body: 'You have successfully confirmed domain owner change.'
@@ -820,3 +822,5 @@ en:
object_is_not_eligible_for_renewal: 'Object is not eligible for renewal'
set_force_delete: 'Set force delete'
unset_force_delete: 'Unset force delete'
+ domain_expiring: 'Domain expiring'
+ domain_validation_rules: 'Domain validation rules'
diff --git a/config/routes.rb b/config/routes.rb
index 5a686aca5..5986f213f 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -224,6 +224,10 @@ Rails.application.routes.draw do
get 'logout' => '/devise/sessions#destroy'
end
+ authenticate :user do
+ mount Que::Web, at: 'que'
+ end
+
root 'dashboards#show'
end
diff --git a/config/unicorn.rb b/config/unicorn.rb
index 780ecaf58..350bc5ed1 100644
--- a/config/unicorn.rb
+++ b/config/unicorn.rb
@@ -1 +1,8 @@
worker_processes 2
+
+# after_fork do |server, worker|
+ # binding.pry
+ # ActiveRecord::Base.establish_connection
+
+ # Que.mode = :async
+# end
diff --git a/db/data/20150612125720_refactor_domain_statuses.rb b/db/data/20150612125720_refactor_domain_statuses.rb
new file mode 100644
index 000000000..679a6642b
--- /dev/null
+++ b/db/data/20150612125720_refactor_domain_statuses.rb
@@ -0,0 +1,15 @@
+class RefactorDomainStatuses < ActiveRecord::Migration
+ def self.up
+ Domain.all.each do |x|
+ x.statuses = []
+ x.domain_statuses.each do |ds|
+ x.statuses << ds.value
+ end
+ x.save
+ end
+ end
+
+ def self.down
+ raise ActiveRecord::IrreversibleMigration
+ end
+end
diff --git a/db/migrate/20150611124920_add_que.rb b/db/migrate/20150611124920_add_que.rb
new file mode 100644
index 000000000..1553e8b06
--- /dev/null
+++ b/db/migrate/20150611124920_add_que.rb
@@ -0,0 +1,11 @@
+class AddQue < ActiveRecord::Migration
+ def self.up
+ # The current version as of this migration's creation.
+ Que.migrate! :version => 3
+ end
+
+ def self.down
+ # Completely removes Que's job queue.
+ Que.migrate! :version => 0
+ end
+end
diff --git a/db/migrate/20150612123111_add_statuses_to_domain.rb b/db/migrate/20150612123111_add_statuses_to_domain.rb
new file mode 100644
index 000000000..3e2b8a922
--- /dev/null
+++ b/db/migrate/20150612123111_add_statuses_to_domain.rb
@@ -0,0 +1,5 @@
+class AddStatusesToDomain < ActiveRecord::Migration
+ def change
+ add_column :domains, :statuses, :string, array: true
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index 4dd3a3743..b83051936 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 20150609103333) do
+ActiveRecord::Schema.define(version: 20150612123111) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -19,7 +19,7 @@ ActiveRecord::Schema.define(version: 20150609103333) do
create_table "account_activities", force: :cascade do |t|
t.integer "account_id"
t.integer "invoice_id"
- t.decimal "sum", precision: 10, scale: 2
+ t.decimal "sum", precision: 8, scale: 2
t.string "currency"
t.integer "bank_transaction_id"
t.datetime "created_at"
@@ -36,7 +36,7 @@ ActiveRecord::Schema.define(version: 20150609103333) do
create_table "accounts", force: :cascade do |t|
t.integer "registrar_id"
t.string "account_type"
- t.decimal "balance", precision: 10, scale: 2, default: 0.0, null: false
+ t.decimal "balance", precision: 8, scale: 2, default: 0.0, null: false
t.datetime "created_at"
t.datetime "updated_at"
t.string "currency"
@@ -98,7 +98,7 @@ ActiveRecord::Schema.define(version: 20150609103333) do
t.string "buyer_name"
t.string "document_no"
t.string "description"
- t.decimal "sum", precision: 10, scale: 2
+ t.decimal "sum", precision: 8, scale: 2
t.string "reference_no"
t.datetime "paid_at"
t.datetime "created_at"
@@ -114,7 +114,7 @@ ActiveRecord::Schema.define(version: 20150609103333) do
t.string "vk_rec_id"
t.string "vk_stamp"
t.string "vk_t_no"
- t.decimal "vk_amount", precision: 10, scale: 2
+ t.decimal "vk_amount", precision: 8, scale: 2
t.string "vk_curr"
t.string "vk_rec_acc"
t.string "vk_rec_name"
@@ -203,6 +203,12 @@ ActiveRecord::Schema.define(version: 20150609103333) do
t.string "updator_str"
end
+ create_table "data_migrations", id: false, force: :cascade do |t|
+ t.string "version", null: false
+ end
+
+ add_index "data_migrations", ["version"], name: "unique_data_migrations", unique: true, using: :btree
+
create_table "delegation_signers", force: :cascade do |t|
t.integer "domain_id"
t.string "key_tag"
@@ -306,6 +312,8 @@ ActiveRecord::Schema.define(version: 20150609103333) do
t.datetime "registrant_verification_asked_at"
t.string "registrant_verification_token"
t.json "pending_json"
+ t.datetime "force_delete_at"
+ t.string "statuses", array: true
end
add_index "domains", ["delete_at"], name: "index_domains_on_delete_at", using: :btree
@@ -328,10 +336,10 @@ ActiveRecord::Schema.define(version: 20150609103333) do
create_table "invoice_items", force: :cascade do |t|
t.integer "invoice_id"
- t.string "description", null: false
+ t.string "description", null: false
t.string "unit"
t.integer "amount"
- t.decimal "price", precision: 10, scale: 2
+ t.decimal "price", precision: 8, scale: 2
t.datetime "created_at"
t.datetime "updated_at"
t.string "creator_str"
@@ -341,20 +349,20 @@ ActiveRecord::Schema.define(version: 20150609103333) do
add_index "invoice_items", ["invoice_id"], name: "index_invoice_items_on_invoice_id", using: :btree
create_table "invoices", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- t.string "invoice_type", null: false
- t.datetime "due_date", null: false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.string "invoice_type", null: false
+ t.datetime "due_date", null: false
t.string "payment_term"
- t.string "currency", null: false
+ t.string "currency", null: false
t.string "description"
t.string "reference_no"
- t.decimal "vat_prc", precision: 10, scale: 2, null: false
+ t.decimal "vat_prc", precision: 8, scale: 2, null: false
t.datetime "paid_at"
t.integer "seller_id"
- t.string "seller_name", null: false
+ t.string "seller_name", null: false
t.string "seller_reg_no"
- t.string "seller_iban", null: false
+ t.string "seller_iban", null: false
t.string "seller_bank"
t.string "seller_swift"
t.string "seller_vat_no"
@@ -368,7 +376,7 @@ ActiveRecord::Schema.define(version: 20150609103333) do
t.string "seller_email"
t.string "seller_contact_name"
t.integer "buyer_id"
- t.string "buyer_name", null: false
+ t.string "buyer_name", null: false
t.string "buyer_reg_no"
t.string "buyer_country_code"
t.string "buyer_state"
@@ -382,7 +390,7 @@ ActiveRecord::Schema.define(version: 20150609103333) do
t.string "updator_str"
t.integer "number"
t.datetime "cancelled_at"
- t.decimal "sum_cache", precision: 10, scale: 2
+ t.decimal "sum_cache", precision: 8, scale: 2
end
add_index "invoices", ["buyer_id"], name: "index_invoices_on_buyer_id", using: :btree
@@ -900,6 +908,17 @@ ActiveRecord::Schema.define(version: 20150609103333) do
t.string "operation_category"
end
+ create_table "que_jobs", id: false, force: :cascade do |t|
+ t.integer "priority", limit: 2, default: 100, null: false
+ t.datetime "run_at", default: "now()", null: false
+ t.integer "job_id", limit: 8, default: "nextval('que_jobs_job_id_seq'::regclass)", null: false
+ t.text "job_class", null: false
+ t.json "args", default: [], null: false
+ t.integer "error_count", default: 0, null: false
+ t.text "last_error"
+ t.text "queue", default: "", null: false
+ end
+
create_table "registrant_verifications", force: :cascade do |t|
t.string "domain_name"
t.string "verification_token"
@@ -983,7 +1002,7 @@ ActiveRecord::Schema.define(version: 20150609103333) do
t.text "crt"
t.string "type"
t.string "registrant_ident"
- t.string "encrypted_password", default: ""
+ t.string "encrypted_password", default: "", null: false
t.datetime "remember_created_at"
t.integer "failed_attempts", default: 0, null: false
t.datetime "locked_at"
diff --git a/db/structure.sql b/db/structure.sql
new file mode 100644
index 000000000..efb3463bd
--- /dev/null
+++ b/db/structure.sql
@@ -0,0 +1,4733 @@
+--
+-- PostgreSQL database dump
+--
+
+SET statement_timeout = 0;
+SET lock_timeout = 0;
+SET client_encoding = 'UTF8';
+SET standard_conforming_strings = on;
+SET check_function_bodies = false;
+SET client_min_messages = warning;
+
+--
+-- Name: plpgsql; Type: EXTENSION; Schema: -; Owner: -
+--
+
+CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog;
+
+
+--
+-- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner: -
+--
+
+COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';
+
+
+SET search_path = public, pg_catalog;
+
+--
+-- Name: generate_zonefile(character varying); Type: FUNCTION; Schema: public; Owner: -
+--
+
+CREATE FUNCTION generate_zonefile(i_origin character varying) RETURNS text
+ LANGUAGE plpgsql
+ AS $_$
+ DECLARE
+ zone_header text := concat('$ORIGIN ', i_origin, '.');
+ serial_num varchar;
+ include_filter varchar := '';
+ exclude_filter varchar := '';
+ tmp_var text;
+ ret text;
+ BEGIN
+ -- define filters
+ include_filter = '%' || i_origin;
+
+ -- for %.%.%
+ IF i_origin ~ '\.' THEN
+ exclude_filter := '';
+ -- for %.%
+ ELSE
+ exclude_filter := '%.%.' || i_origin;
+ END IF;
+
+ SELECT ROUND(extract(epoch from now() at time zone 'utc')) INTO serial_num;
+
+ -- zonefile header
+ SELECT concat(
+ format('%-10s', '$ORIGIN .'), chr(10),
+ format('%-10s', '$TTL'), zf.ttl, chr(10), chr(10),
+ format('%-10s', i_origin || '.'), 'IN SOA ', zf.master_nameserver, '. ', zf.email, '. (', chr(10),
+ format('%-17s', ''), format('%-12s', serial_num), '; serial number', chr(10),
+ format('%-17s', ''), format('%-12s', zf.refresh), '; refresh, seconds', chr(10),
+ format('%-17s', ''), format('%-12s', zf.retry), '; retry, seconds', chr(10),
+ format('%-17s', ''), format('%-12s', zf.expire), '; expire, seconds', chr(10),
+ format('%-17s', ''), format('%-12s', zf.minimum_ttl), '; minimum TTL, seconds', chr(10),
+ format('%-17s', ''), ')'
+ ) FROM zonefile_settings zf WHERE i_origin = zf.origin INTO tmp_var;
+
+ ret = concat(tmp_var, chr(10), chr(10));
+
+ -- ns records
+ SELECT array_to_string(
+ array(
+ SELECT concat(d.name_puny, '. IN NS ', ns.hostname, '.')
+ FROM domains d
+ JOIN nameservers ns ON ns.domain_id = d.id
+ WHERE d.name LIKE include_filter AND d.name NOT LIKE exclude_filter
+ ORDER BY d.name
+ ),
+ chr(10)
+ ) INTO tmp_var;
+
+ ret := concat(ret, '; Zone NS Records', chr(10), tmp_var, chr(10), chr(10));
+
+ -- a glue records for origin nameservers
+ SELECT array_to_string(
+ array(
+ SELECT concat(ns.hostname, '. IN A ', ns.ipv4)
+ FROM nameservers ns
+ JOIN domains d ON d.id = ns.domain_id
+ WHERE d.name = i_origin
+ AND ns.hostname LIKE '%.' || d.name
+ AND ns.ipv4 IS NOT NULL AND ns.ipv4 <> ''
+ ), chr(10)
+ ) INTO tmp_var;
+
+ ret := concat(ret, '; Zone A Records', chr(10), tmp_var);
+
+ -- a glue records for other nameservers
+ SELECT array_to_string(
+ array(
+ SELECT concat(ns.hostname, '. IN A ', ns.ipv4)
+ FROM nameservers ns
+ JOIN domains d ON d.id = ns.domain_id
+ WHERE d.name LIKE include_filter AND d.name NOT LIKE exclude_filter
+ AND ns.hostname LIKE '%.' || d.name
+ AND d.name <> i_origin
+ AND ns.ipv4 IS NOT NULL AND ns.ipv4 <> ''
+ AND NOT EXISTS ( -- filter out glue records that already appeared in origin glue recrods
+ SELECT 1 FROM nameservers nsi
+ JOIN domains di ON nsi.domain_id = di.id
+ WHERE di.name = i_origin
+ AND nsi.hostname = ns.hostname
+ )
+ ), chr(10)
+ ) INTO tmp_var;
+
+ -- TODO This is a possible subtitition to the previous query, stress testing is needed to see which is faster
+
+ -- SELECT ns.*
+ -- FROM nameservers ns
+ -- JOIN domains d ON d.id = ns.domain_id
+ -- WHERE d.name LIKE '%ee' AND d.name NOT LIKE '%pri.ee'
+ -- AND ns.hostname LIKE '%.' || d.name
+ -- AND d.name <> 'ee'
+ -- AND ns.ipv4 IS NOT NULL AND ns.ipv4 <> ''
+ -- AND ns.hostname NOT IN (
+ -- SELECT ns.hostname FROM domains d JOIN nameservers ns ON d.id = ns.domain_id WHERE d.name = 'ee'
+ -- )
+
+ ret := concat(ret, chr(10), tmp_var, chr(10), chr(10));
+
+ -- aaaa glue records for origin nameservers
+ SELECT array_to_string(
+ array(
+ SELECT concat(ns.hostname, '. IN AAAA ', ns.ipv6)
+ FROM nameservers ns
+ JOIN domains d ON d.id = ns.domain_id
+ WHERE d.name = i_origin
+ AND ns.hostname LIKE '%.' || d.name
+ AND ns.ipv6 IS NOT NULL AND ns.ipv6 <> ''
+ ), chr(10)
+ ) INTO tmp_var;
+
+ ret := concat(ret, '; Zone AAAA Records', chr(10), tmp_var);
+
+ -- aaaa glue records for other nameservers
+ SELECT array_to_string(
+ array(
+ SELECT concat(ns.hostname, '. IN AAAA ', ns.ipv6)
+ FROM nameservers ns
+ JOIN domains d ON d.id = ns.domain_id
+ WHERE d.name LIKE include_filter AND d.name NOT LIKE exclude_filter
+ AND ns.hostname LIKE '%.' || d.name
+ AND d.name <> i_origin
+ AND ns.ipv6 IS NOT NULL AND ns.ipv6 <> ''
+ AND NOT EXISTS ( -- filter out glue records that already appeared in origin glue recrods
+ SELECT 1 FROM nameservers nsi
+ JOIN domains di ON nsi.domain_id = di.id
+ WHERE di.name = i_origin
+ AND nsi.hostname = ns.hostname
+ )
+ ), chr(10)
+ ) INTO tmp_var;
+
+ ret := concat(ret, chr(10), tmp_var, chr(10), chr(10));
+
+ -- ds records
+ SELECT array_to_string(
+ array(
+ SELECT concat(
+ d.name_puny, '. IN DS ', dk.ds_key_tag, ' ',
+ dk.ds_alg, ' ', dk.ds_digest_type, ' ( ', dk.ds_digest, ' )'
+ )
+ FROM domains d
+ JOIN dnskeys dk ON dk.domain_id = d.id
+ WHERE d.name LIKE include_filter AND d.name NOT LIKE exclude_filter AND dk.flags = 257
+ ),
+ chr(10)
+ ) INTO tmp_var;
+
+ ret := concat(ret, '; Zone DS Records', chr(10), tmp_var, chr(10));
+
+ RETURN ret;
+ END;
+ $_$;
+
+
+SET default_tablespace = '';
+
+SET default_with_oids = false;
+
+--
+-- Name: account_activities; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE account_activities (
+ id integer NOT NULL,
+ account_id integer,
+ invoice_id integer,
+ sum numeric(10,2),
+ currency character varying,
+ bank_transaction_id integer,
+ created_at timestamp without time zone,
+ updated_at timestamp without time zone,
+ description character varying,
+ creator_str character varying,
+ updator_str character varying
+);
+
+
+--
+-- Name: account_activities_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE account_activities_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: account_activities_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE account_activities_id_seq OWNED BY account_activities.id;
+
+
+--
+-- Name: accounts; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE accounts (
+ id integer NOT NULL,
+ registrar_id integer,
+ account_type character varying,
+ balance numeric(10,2) DEFAULT 0 NOT NULL,
+ created_at timestamp without time zone,
+ updated_at timestamp without time zone,
+ currency character varying,
+ creator_str character varying,
+ updator_str character varying
+);
+
+
+--
+-- Name: accounts_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE accounts_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: accounts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE accounts_id_seq OWNED BY accounts.id;
+
+
+--
+-- Name: addresses; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE addresses (
+ id integer NOT NULL,
+ contact_id integer,
+ city character varying,
+ street character varying,
+ zip character varying,
+ created_at timestamp without time zone,
+ updated_at timestamp without time zone,
+ street2 character varying,
+ street3 character varying,
+ creator_str character varying,
+ updator_str character varying,
+ country_code character varying,
+ state character varying,
+ legacy_contact_id integer
+);
+
+
+--
+-- Name: addresses_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE addresses_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: addresses_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE addresses_id_seq OWNED BY addresses.id;
+
+
+--
+-- Name: api_users; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE api_users (
+ id integer NOT NULL,
+ registrar_id integer,
+ username character varying,
+ password character varying,
+ active boolean DEFAULT false,
+ csr text,
+ crt text,
+ created_at timestamp without time zone,
+ updated_at timestamp without time zone,
+ creator_str character varying,
+ updator_str character varying
+);
+
+
+--
+-- Name: api_users_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE api_users_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: api_users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE api_users_id_seq OWNED BY api_users.id;
+
+
+--
+-- Name: bank_statements; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE bank_statements (
+ id integer NOT NULL,
+ bank_code character varying,
+ iban character varying,
+ import_file_path character varying,
+ queried_at timestamp without time zone,
+ created_at timestamp without time zone,
+ updated_at timestamp without time zone,
+ creator_str character varying,
+ updator_str character varying
+);
+
+
+--
+-- Name: bank_statements_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE bank_statements_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: bank_statements_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE bank_statements_id_seq OWNED BY bank_statements.id;
+
+
+--
+-- Name: bank_transactions; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE bank_transactions (
+ id integer NOT NULL,
+ bank_statement_id integer,
+ bank_reference character varying,
+ iban character varying,
+ currency character varying,
+ buyer_bank_code character varying,
+ buyer_iban character varying,
+ buyer_name character varying,
+ document_no character varying,
+ description character varying,
+ sum numeric(10,2),
+ reference_no character varying,
+ paid_at timestamp without time zone,
+ created_at timestamp without time zone,
+ updated_at timestamp without time zone,
+ creator_str character varying,
+ updator_str character varying
+);
+
+
+--
+-- Name: bank_transactions_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE bank_transactions_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: bank_transactions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE bank_transactions_id_seq OWNED BY bank_transactions.id;
+
+
+--
+-- Name: banklink_transactions; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE banklink_transactions (
+ id integer NOT NULL,
+ vk_service character varying,
+ vk_version character varying,
+ vk_snd_id character varying,
+ vk_rec_id character varying,
+ vk_stamp character varying,
+ vk_t_no character varying,
+ vk_amount numeric(10,2),
+ vk_curr character varying,
+ vk_rec_acc character varying,
+ vk_rec_name character varying,
+ vk_snd_acc character varying,
+ vk_snd_name character varying,
+ vk_ref character varying,
+ vk_msg character varying,
+ vk_t_datetime timestamp without time zone,
+ vk_mac character varying,
+ vk_encoding character varying,
+ vk_lang character varying,
+ vk_auto character varying,
+ created_at timestamp without time zone,
+ updated_at timestamp without time zone
+);
+
+
+--
+-- Name: banklink_transactions_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE banklink_transactions_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: banklink_transactions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE banklink_transactions_id_seq OWNED BY banklink_transactions.id;
+
+
+--
+-- Name: cached_nameservers; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE cached_nameservers (
+ hostname character varying(255),
+ ipv4 character varying(255),
+ ipv6 character varying(255)
+);
+
+
+--
+-- Name: certificates; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE certificates (
+ id integer NOT NULL,
+ api_user_id integer,
+ csr text,
+ crt text,
+ creator_str character varying,
+ updator_str character varying,
+ created_at timestamp without time zone,
+ updated_at timestamp without time zone,
+ common_name character varying,
+ md5 character varying,
+ interface character varying
+);
+
+
+--
+-- Name: certificates_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE certificates_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: certificates_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE certificates_id_seq OWNED BY certificates.id;
+
+
+--
+-- Name: contact_statuses; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE contact_statuses (
+ id integer NOT NULL,
+ value character varying,
+ description character varying,
+ contact_id integer,
+ created_at timestamp without time zone,
+ updated_at timestamp without time zone,
+ creator_str character varying,
+ updator_str character varying
+);
+
+
+--
+-- Name: contact_statuses_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE contact_statuses_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: contact_statuses_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE contact_statuses_id_seq OWNED BY contact_statuses.id;
+
+
+--
+-- Name: contacts; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE contacts (
+ id integer NOT NULL,
+ code character varying,
+ phone character varying,
+ email character varying,
+ fax character varying,
+ created_at timestamp without time zone,
+ updated_at timestamp without time zone,
+ ident character varying,
+ ident_type character varying,
+ auth_info character varying,
+ name character varying,
+ org_name character varying,
+ registrar_id integer,
+ creator_str character varying,
+ updator_str character varying,
+ ident_country_code character varying,
+ city character varying,
+ street text,
+ zip character varying,
+ country_code character varying,
+ state character varying,
+ legacy_id integer
+);
+
+
+--
+-- Name: contacts_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE contacts_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: contacts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE contacts_id_seq OWNED BY contacts.id;
+
+
+--
+-- Name: countries; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE countries (
+ id integer NOT NULL,
+ iso character varying,
+ name character varying,
+ created_at timestamp without time zone,
+ updated_at timestamp without time zone,
+ creator_str character varying,
+ updator_str character varying
+);
+
+
+--
+-- Name: countries_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE countries_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: countries_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE countries_id_seq OWNED BY countries.id;
+
+
+--
+-- Name: delegation_signers; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE delegation_signers (
+ id integer NOT NULL,
+ domain_id integer,
+ key_tag character varying,
+ alg integer,
+ digest_type integer,
+ digest character varying
+);
+
+
+--
+-- Name: delegation_signers_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE delegation_signers_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: delegation_signers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE delegation_signers_id_seq OWNED BY delegation_signers.id;
+
+
+--
+-- Name: depricated_versions; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE depricated_versions (
+ id integer NOT NULL,
+ created_at timestamp without time zone
+);
+
+
+--
+-- Name: depricated_versions_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE depricated_versions_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: depricated_versions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE depricated_versions_id_seq OWNED BY depricated_versions.id;
+
+
+--
+-- Name: dnskeys; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE dnskeys (
+ id integer NOT NULL,
+ domain_id integer,
+ flags integer,
+ protocol integer,
+ alg integer,
+ public_key text,
+ delegation_signer_id integer,
+ ds_key_tag character varying,
+ ds_alg integer,
+ ds_digest_type integer,
+ ds_digest character varying,
+ creator_str character varying,
+ updator_str character varying,
+ legacy_domain_id integer
+);
+
+
+--
+-- Name: dnskeys_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE dnskeys_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: dnskeys_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE dnskeys_id_seq OWNED BY dnskeys.id;
+
+
+--
+-- Name: domain_contacts; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE domain_contacts (
+ id integer NOT NULL,
+ contact_id integer,
+ domain_id integer,
+ contact_type character varying,
+ created_at timestamp without time zone,
+ updated_at timestamp without time zone,
+ contact_code_cache character varying,
+ creator_str character varying,
+ updator_str character varying,
+ type character varying,
+ legacy_domain_id integer,
+ legacy_contact_id integer
+);
+
+
+--
+-- Name: domain_contacts_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE domain_contacts_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: domain_contacts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE domain_contacts_id_seq OWNED BY domain_contacts.id;
+
+
+--
+-- Name: domain_statuses; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE domain_statuses (
+ id integer NOT NULL,
+ domain_id integer,
+ description character varying,
+ value character varying,
+ creator_str character varying,
+ updator_str character varying,
+ legacy_domain_id integer
+);
+
+
+--
+-- Name: domain_statuses_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE domain_statuses_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: domain_statuses_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE domain_statuses_id_seq OWNED BY domain_statuses.id;
+
+
+--
+-- Name: domain_transfers; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE domain_transfers (
+ id integer NOT NULL,
+ domain_id integer,
+ status character varying,
+ transfer_requested_at timestamp without time zone,
+ transferred_at timestamp without time zone,
+ transfer_from_id integer,
+ transfer_to_id integer,
+ created_at timestamp without time zone,
+ updated_at timestamp without time zone,
+ wait_until timestamp without time zone,
+ creator_str character varying,
+ updator_str character varying
+);
+
+
+--
+-- Name: domain_transfers_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE domain_transfers_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: domain_transfers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE domain_transfers_id_seq OWNED BY domain_transfers.id;
+
+
+--
+-- Name: domains; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE domains (
+ id integer NOT NULL,
+ name character varying,
+ registrar_id integer,
+ registered_at timestamp without time zone,
+ status character varying,
+ valid_from timestamp without time zone,
+ valid_to timestamp without time zone,
+ registrant_id integer,
+ auth_info character varying,
+ created_at timestamp without time zone,
+ updated_at timestamp without time zone,
+ name_dirty character varying,
+ name_puny character varying,
+ period integer,
+ period_unit character varying(1),
+ creator_str character varying,
+ updator_str character varying,
+ legacy_id integer,
+ legacy_registrar_id integer,
+ legacy_registrant_id integer,
+ outzone_at timestamp without time zone,
+ delete_at timestamp without time zone,
+ registrant_verification_asked_at timestamp without time zone,
+ registrant_verification_token character varying,
+ pending_json json,
+ force_delete_at timestamp without time zone,
+ statuses character varying[]
+);
+
+
+--
+-- Name: domains_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE domains_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: domains_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE domains_id_seq OWNED BY domains.id;
+
+
+--
+-- Name: epp_sessions; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE epp_sessions (
+ id integer NOT NULL,
+ session_id character varying,
+ data text,
+ created_at timestamp without time zone,
+ updated_at timestamp without time zone,
+ registrar_id integer
+);
+
+
+--
+-- Name: epp_sessions_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE epp_sessions_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: epp_sessions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE epp_sessions_id_seq OWNED BY epp_sessions.id;
+
+
+--
+-- Name: invoice_items; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE invoice_items (
+ id integer NOT NULL,
+ invoice_id integer,
+ description character varying NOT NULL,
+ unit character varying,
+ amount integer,
+ price numeric(10,2),
+ created_at timestamp without time zone,
+ updated_at timestamp without time zone,
+ creator_str character varying,
+ updator_str character varying
+);
+
+
+--
+-- Name: invoice_items_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE invoice_items_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: invoice_items_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE invoice_items_id_seq OWNED BY invoice_items.id;
+
+
+--
+-- Name: invoices; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE invoices (
+ id integer NOT NULL,
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL,
+ invoice_type character varying NOT NULL,
+ due_date timestamp without time zone NOT NULL,
+ payment_term character varying,
+ currency character varying NOT NULL,
+ description character varying,
+ reference_no character varying,
+ vat_prc numeric(10,2) NOT NULL,
+ paid_at timestamp without time zone,
+ seller_id integer,
+ seller_name character varying NOT NULL,
+ seller_reg_no character varying,
+ seller_iban character varying NOT NULL,
+ seller_bank character varying,
+ seller_swift character varying,
+ seller_vat_no character varying,
+ seller_country_code character varying,
+ seller_state character varying,
+ seller_street character varying,
+ seller_city character varying,
+ seller_zip character varying,
+ seller_phone character varying,
+ seller_url character varying,
+ seller_email character varying,
+ seller_contact_name character varying,
+ buyer_id integer,
+ buyer_name character varying NOT NULL,
+ buyer_reg_no character varying,
+ buyer_country_code character varying,
+ buyer_state character varying,
+ buyer_street character varying,
+ buyer_city character varying,
+ buyer_zip character varying,
+ buyer_phone character varying,
+ buyer_url character varying,
+ buyer_email character varying,
+ creator_str character varying,
+ updator_str character varying,
+ number integer,
+ cancelled_at timestamp without time zone,
+ sum_cache numeric(10,2)
+);
+
+
+--
+-- Name: invoices_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE invoices_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: invoices_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE invoices_id_seq OWNED BY invoices.id;
+
+
+--
+-- Name: keyrelays; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE keyrelays (
+ id integer NOT NULL,
+ domain_id integer,
+ pa_date timestamp without time zone,
+ key_data_flags character varying,
+ key_data_protocol character varying,
+ key_data_alg character varying,
+ key_data_public_key text,
+ auth_info_pw character varying,
+ expiry_relative character varying,
+ expiry_absolute timestamp without time zone,
+ requester_id integer,
+ accepter_id integer,
+ created_at timestamp without time zone,
+ updated_at timestamp without time zone,
+ creator_str character varying,
+ updator_str character varying
+);
+
+
+--
+-- Name: keyrelays_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE keyrelays_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: keyrelays_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE keyrelays_id_seq OWNED BY keyrelays.id;
+
+
+--
+-- Name: legal_documents; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE legal_documents (
+ id integer NOT NULL,
+ document_type character varying,
+ documentable_id integer,
+ documentable_type character varying,
+ created_at timestamp without time zone,
+ updated_at timestamp without time zone,
+ creator_str character varying,
+ updator_str character varying,
+ path character varying
+);
+
+
+--
+-- Name: legal_documents_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE legal_documents_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: legal_documents_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE legal_documents_id_seq OWNED BY legal_documents.id;
+
+
+--
+-- Name: log_account_activities; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE log_account_activities (
+ id integer NOT NULL,
+ item_type character varying NOT NULL,
+ item_id integer NOT NULL,
+ event character varying NOT NULL,
+ whodunnit character varying,
+ object json,
+ object_changes json,
+ created_at timestamp without time zone,
+ session character varying,
+ children json
+);
+
+
+--
+-- Name: log_account_activities_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE log_account_activities_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: log_account_activities_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE log_account_activities_id_seq OWNED BY log_account_activities.id;
+
+
+--
+-- Name: log_accounts; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE log_accounts (
+ id integer NOT NULL,
+ item_type character varying NOT NULL,
+ item_id integer NOT NULL,
+ event character varying NOT NULL,
+ whodunnit character varying,
+ object json,
+ object_changes json,
+ created_at timestamp without time zone,
+ session character varying,
+ children json
+);
+
+
+--
+-- Name: log_accounts_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE log_accounts_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: log_accounts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE log_accounts_id_seq OWNED BY log_accounts.id;
+
+
+--
+-- Name: log_addresses; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE log_addresses (
+ id integer NOT NULL,
+ item_type character varying NOT NULL,
+ item_id integer NOT NULL,
+ event character varying NOT NULL,
+ whodunnit character varying,
+ object json,
+ object_changes json,
+ created_at timestamp without time zone,
+ session character varying,
+ children json
+);
+
+
+--
+-- Name: log_addresses_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE log_addresses_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: log_addresses_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE log_addresses_id_seq OWNED BY log_addresses.id;
+
+
+--
+-- Name: log_api_users; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE log_api_users (
+ id integer NOT NULL,
+ item_type character varying NOT NULL,
+ item_id integer NOT NULL,
+ event character varying NOT NULL,
+ whodunnit character varying,
+ object json,
+ object_changes json,
+ created_at timestamp without time zone,
+ session character varying,
+ children json
+);
+
+
+--
+-- Name: log_api_users_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE log_api_users_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: log_api_users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE log_api_users_id_seq OWNED BY log_api_users.id;
+
+
+--
+-- Name: log_bank_statements; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE log_bank_statements (
+ id integer NOT NULL,
+ item_type character varying NOT NULL,
+ item_id integer NOT NULL,
+ event character varying NOT NULL,
+ whodunnit character varying,
+ object json,
+ object_changes json,
+ created_at timestamp without time zone,
+ session character varying,
+ children json
+);
+
+
+--
+-- Name: log_bank_statements_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE log_bank_statements_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: log_bank_statements_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE log_bank_statements_id_seq OWNED BY log_bank_statements.id;
+
+
+--
+-- Name: log_bank_transactions; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE log_bank_transactions (
+ id integer NOT NULL,
+ item_type character varying NOT NULL,
+ item_id integer NOT NULL,
+ event character varying NOT NULL,
+ whodunnit character varying,
+ object json,
+ object_changes json,
+ created_at timestamp without time zone,
+ session character varying,
+ children json
+);
+
+
+--
+-- Name: log_bank_transactions_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE log_bank_transactions_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: log_bank_transactions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE log_bank_transactions_id_seq OWNED BY log_bank_transactions.id;
+
+
+--
+-- Name: log_certificates; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE log_certificates (
+ id integer NOT NULL,
+ item_type character varying NOT NULL,
+ item_id integer NOT NULL,
+ event character varying NOT NULL,
+ whodunnit character varying,
+ object json,
+ object_changes json,
+ created_at timestamp without time zone,
+ session character varying,
+ children json
+);
+
+
+--
+-- Name: log_certificates_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE log_certificates_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: log_certificates_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE log_certificates_id_seq OWNED BY log_certificates.id;
+
+
+--
+-- Name: log_contact_statuses; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE log_contact_statuses (
+ id integer NOT NULL,
+ item_type character varying NOT NULL,
+ item_id integer NOT NULL,
+ event character varying NOT NULL,
+ whodunnit character varying,
+ object json,
+ object_changes json,
+ created_at timestamp without time zone,
+ session character varying,
+ children json
+);
+
+
+--
+-- Name: log_contact_statuses_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE log_contact_statuses_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: log_contact_statuses_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE log_contact_statuses_id_seq OWNED BY log_contact_statuses.id;
+
+
+--
+-- Name: log_contacts; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE log_contacts (
+ id integer NOT NULL,
+ item_type character varying NOT NULL,
+ item_id integer NOT NULL,
+ event character varying NOT NULL,
+ whodunnit character varying,
+ object json,
+ object_changes json,
+ created_at timestamp without time zone,
+ session character varying,
+ children json
+);
+
+
+--
+-- Name: log_contacts_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE log_contacts_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: log_contacts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE log_contacts_id_seq OWNED BY log_contacts.id;
+
+
+--
+-- Name: log_countries; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE log_countries (
+ id integer NOT NULL,
+ item_type character varying NOT NULL,
+ item_id integer NOT NULL,
+ event character varying NOT NULL,
+ whodunnit character varying,
+ object json,
+ object_changes json,
+ created_at timestamp without time zone,
+ session character varying,
+ children json
+);
+
+
+--
+-- Name: log_countries_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE log_countries_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: log_countries_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE log_countries_id_seq OWNED BY log_countries.id;
+
+
+--
+-- Name: log_dnskeys; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE log_dnskeys (
+ id integer NOT NULL,
+ item_type character varying NOT NULL,
+ item_id integer NOT NULL,
+ event character varying NOT NULL,
+ whodunnit character varying,
+ object json,
+ object_changes json,
+ created_at timestamp without time zone,
+ session character varying,
+ children json
+);
+
+
+--
+-- Name: log_dnskeys_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE log_dnskeys_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: log_dnskeys_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE log_dnskeys_id_seq OWNED BY log_dnskeys.id;
+
+
+--
+-- Name: log_domain_contacts; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE log_domain_contacts (
+ id integer NOT NULL,
+ item_type character varying NOT NULL,
+ item_id integer NOT NULL,
+ event character varying NOT NULL,
+ whodunnit character varying,
+ object json,
+ object_changes json,
+ created_at timestamp without time zone,
+ session character varying,
+ children json
+);
+
+
+--
+-- Name: log_domain_contacts_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE log_domain_contacts_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: log_domain_contacts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE log_domain_contacts_id_seq OWNED BY log_domain_contacts.id;
+
+
+--
+-- Name: log_domain_statuses; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE log_domain_statuses (
+ id integer NOT NULL,
+ item_type character varying NOT NULL,
+ item_id integer NOT NULL,
+ event character varying NOT NULL,
+ whodunnit character varying,
+ object json,
+ object_changes json,
+ created_at timestamp without time zone,
+ session character varying,
+ children json
+);
+
+
+--
+-- Name: log_domain_statuses_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE log_domain_statuses_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: log_domain_statuses_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE log_domain_statuses_id_seq OWNED BY log_domain_statuses.id;
+
+
+--
+-- Name: log_domain_transfers; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE log_domain_transfers (
+ id integer NOT NULL,
+ item_type character varying NOT NULL,
+ item_id integer NOT NULL,
+ event character varying NOT NULL,
+ whodunnit character varying,
+ object json,
+ object_changes json,
+ created_at timestamp without time zone,
+ session character varying,
+ children json
+);
+
+
+--
+-- Name: log_domain_transfers_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE log_domain_transfers_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: log_domain_transfers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE log_domain_transfers_id_seq OWNED BY log_domain_transfers.id;
+
+
+--
+-- Name: log_domains; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE log_domains (
+ id integer NOT NULL,
+ item_type character varying NOT NULL,
+ item_id integer NOT NULL,
+ event character varying NOT NULL,
+ whodunnit character varying,
+ object json,
+ object_changes json,
+ created_at timestamp without time zone,
+ nameserver_ids text[] DEFAULT '{}'::text[],
+ tech_contact_ids text[] DEFAULT '{}'::text[],
+ admin_contact_ids text[] DEFAULT '{}'::text[],
+ session character varying,
+ children json
+);
+
+
+--
+-- Name: log_domains_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE log_domains_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: log_domains_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE log_domains_id_seq OWNED BY log_domains.id;
+
+
+--
+-- Name: log_invoice_items; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE log_invoice_items (
+ id integer NOT NULL,
+ item_type character varying NOT NULL,
+ item_id integer NOT NULL,
+ event character varying NOT NULL,
+ whodunnit character varying,
+ object json,
+ object_changes json,
+ created_at timestamp without time zone,
+ session character varying,
+ children json
+);
+
+
+--
+-- Name: log_invoice_items_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE log_invoice_items_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: log_invoice_items_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE log_invoice_items_id_seq OWNED BY log_invoice_items.id;
+
+
+--
+-- Name: log_invoices; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE log_invoices (
+ id integer NOT NULL,
+ item_type character varying NOT NULL,
+ item_id integer NOT NULL,
+ event character varying NOT NULL,
+ whodunnit character varying,
+ object json,
+ object_changes json,
+ created_at timestamp without time zone,
+ session character varying,
+ children json
+);
+
+
+--
+-- Name: log_invoices_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE log_invoices_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: log_invoices_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE log_invoices_id_seq OWNED BY log_invoices.id;
+
+
+--
+-- Name: log_keyrelays; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE log_keyrelays (
+ id integer NOT NULL,
+ item_type character varying NOT NULL,
+ item_id integer NOT NULL,
+ event character varying NOT NULL,
+ whodunnit character varying,
+ object json,
+ object_changes json,
+ created_at timestamp without time zone,
+ session character varying,
+ children json
+);
+
+
+--
+-- Name: log_keyrelays_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE log_keyrelays_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: log_keyrelays_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE log_keyrelays_id_seq OWNED BY log_keyrelays.id;
+
+
+--
+-- Name: log_legal_documents; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE log_legal_documents (
+ id integer NOT NULL,
+ item_type character varying NOT NULL,
+ item_id integer NOT NULL,
+ event character varying NOT NULL,
+ whodunnit character varying,
+ object json,
+ object_changes json,
+ created_at timestamp without time zone,
+ session character varying,
+ children json
+);
+
+
+--
+-- Name: log_legal_documents_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE log_legal_documents_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: log_legal_documents_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE log_legal_documents_id_seq OWNED BY log_legal_documents.id;
+
+
+--
+-- Name: log_messages; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE log_messages (
+ id integer NOT NULL,
+ item_type character varying NOT NULL,
+ item_id integer NOT NULL,
+ event character varying NOT NULL,
+ whodunnit character varying,
+ object json,
+ object_changes json,
+ created_at timestamp without time zone,
+ session character varying,
+ children json
+);
+
+
+--
+-- Name: log_messages_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE log_messages_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: log_messages_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE log_messages_id_seq OWNED BY log_messages.id;
+
+
+--
+-- Name: log_nameservers; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE log_nameservers (
+ id integer NOT NULL,
+ item_type character varying NOT NULL,
+ item_id integer NOT NULL,
+ event character varying NOT NULL,
+ whodunnit character varying,
+ object json,
+ object_changes json,
+ created_at timestamp without time zone,
+ session character varying,
+ children json
+);
+
+
+--
+-- Name: log_nameservers_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE log_nameservers_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: log_nameservers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE log_nameservers_id_seq OWNED BY log_nameservers.id;
+
+
+--
+-- Name: log_pricelists; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE log_pricelists (
+ id integer NOT NULL,
+ item_type character varying NOT NULL,
+ item_id integer NOT NULL,
+ event character varying NOT NULL,
+ whodunnit character varying,
+ object json,
+ object_changes json,
+ created_at timestamp without time zone,
+ session character varying
+);
+
+
+--
+-- Name: log_pricelists_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE log_pricelists_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: log_pricelists_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE log_pricelists_id_seq OWNED BY log_pricelists.id;
+
+
+--
+-- Name: log_registrars; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE log_registrars (
+ id integer NOT NULL,
+ item_type character varying NOT NULL,
+ item_id integer NOT NULL,
+ event character varying NOT NULL,
+ whodunnit character varying,
+ object json,
+ object_changes json,
+ created_at timestamp without time zone,
+ session character varying,
+ children json
+);
+
+
+--
+-- Name: log_registrars_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE log_registrars_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: log_registrars_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE log_registrars_id_seq OWNED BY log_registrars.id;
+
+
+--
+-- Name: log_reserved_domains; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE log_reserved_domains (
+ id integer NOT NULL,
+ item_type character varying NOT NULL,
+ item_id integer NOT NULL,
+ event character varying NOT NULL,
+ whodunnit character varying,
+ object json,
+ object_changes json,
+ created_at timestamp without time zone,
+ session character varying,
+ children json
+);
+
+
+--
+-- Name: log_reserved_domains_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE log_reserved_domains_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: log_reserved_domains_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE log_reserved_domains_id_seq OWNED BY log_reserved_domains.id;
+
+
+--
+-- Name: log_settings; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE log_settings (
+ id integer NOT NULL,
+ item_type character varying NOT NULL,
+ item_id integer NOT NULL,
+ event character varying NOT NULL,
+ whodunnit character varying,
+ object json,
+ object_changes json,
+ created_at timestamp without time zone,
+ session character varying,
+ children json
+);
+
+
+--
+-- Name: log_settings_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE log_settings_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: log_settings_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE log_settings_id_seq OWNED BY log_settings.id;
+
+
+--
+-- Name: log_users; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE log_users (
+ id integer NOT NULL,
+ item_type character varying NOT NULL,
+ item_id integer NOT NULL,
+ event character varying NOT NULL,
+ whodunnit character varying,
+ object json,
+ object_changes json,
+ created_at timestamp without time zone,
+ session character varying,
+ children json
+);
+
+
+--
+-- Name: log_users_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE log_users_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: log_users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE log_users_id_seq OWNED BY log_users.id;
+
+
+--
+-- Name: log_white_ips; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE log_white_ips (
+ id integer NOT NULL,
+ item_type character varying NOT NULL,
+ item_id integer NOT NULL,
+ event character varying NOT NULL,
+ whodunnit character varying,
+ object json,
+ object_changes json,
+ created_at timestamp without time zone,
+ session character varying,
+ children json
+);
+
+
+--
+-- Name: log_white_ips_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE log_white_ips_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: log_white_ips_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE log_white_ips_id_seq OWNED BY log_white_ips.id;
+
+
+--
+-- Name: log_zonefile_settings; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE log_zonefile_settings (
+ id integer NOT NULL,
+ item_type character varying NOT NULL,
+ item_id integer NOT NULL,
+ event character varying NOT NULL,
+ whodunnit character varying,
+ object json,
+ object_changes json,
+ created_at timestamp without time zone,
+ session character varying,
+ children json
+);
+
+
+--
+-- Name: log_zonefile_settings_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE log_zonefile_settings_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: log_zonefile_settings_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE log_zonefile_settings_id_seq OWNED BY log_zonefile_settings.id;
+
+
+--
+-- Name: messages; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE messages (
+ id integer NOT NULL,
+ registrar_id integer,
+ body character varying,
+ attached_obj_type character varying,
+ attached_obj_id character varying,
+ queued boolean,
+ created_at timestamp without time zone,
+ updated_at timestamp without time zone,
+ creator_str character varying,
+ updator_str character varying
+);
+
+
+--
+-- Name: messages_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE messages_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: messages_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE messages_id_seq OWNED BY messages.id;
+
+
+--
+-- Name: nameservers; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE nameservers (
+ id integer NOT NULL,
+ hostname character varying,
+ ipv4 character varying,
+ created_at timestamp without time zone,
+ updated_at timestamp without time zone,
+ ipv6 character varying,
+ domain_id integer,
+ creator_str character varying,
+ updator_str character varying,
+ legacy_domain_id integer
+);
+
+
+--
+-- Name: nameservers_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE nameservers_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: nameservers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE nameservers_id_seq OWNED BY nameservers.id;
+
+
+--
+-- Name: people; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE people (
+ id integer NOT NULL,
+ email character varying DEFAULT ''::character varying NOT NULL,
+ encrypted_password character varying DEFAULT ''::character varying NOT NULL,
+ reset_password_token character varying,
+ reset_password_sent_at timestamp without time zone,
+ remember_created_at timestamp without time zone,
+ sign_in_count integer DEFAULT 0 NOT NULL,
+ current_sign_in_at timestamp without time zone,
+ last_sign_in_at timestamp without time zone,
+ current_sign_in_ip inet,
+ last_sign_in_ip inet,
+ created_at timestamp without time zone,
+ updated_at timestamp without time zone
+);
+
+
+--
+-- Name: people_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE people_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: people_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE people_id_seq OWNED BY people.id;
+
+
+--
+-- Name: pricelists; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE pricelists (
+ id integer NOT NULL,
+ "desc" character varying,
+ category character varying,
+ price_cents numeric(8,2) DEFAULT 0 NOT NULL,
+ price_currency character varying DEFAULT 'EUR'::character varying NOT NULL,
+ valid_from timestamp without time zone,
+ valid_to timestamp without time zone,
+ creator_str character varying,
+ updator_str character varying,
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL,
+ duration character varying,
+ operation_category character varying
+);
+
+
+--
+-- Name: pricelists_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE pricelists_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: pricelists_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE pricelists_id_seq OWNED BY pricelists.id;
+
+
+--
+-- Name: que_jobs; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE que_jobs (
+ priority smallint DEFAULT 100 NOT NULL,
+ run_at timestamp with time zone DEFAULT now() NOT NULL,
+ job_id bigint NOT NULL,
+ job_class text NOT NULL,
+ args json DEFAULT '[]'::json NOT NULL,
+ error_count integer DEFAULT 0 NOT NULL,
+ last_error text,
+ queue text DEFAULT ''::text NOT NULL
+);
+
+
+--
+-- Name: TABLE que_jobs; Type: COMMENT; Schema: public; Owner: -
+--
+
+COMMENT ON TABLE que_jobs IS '3';
+
+
+--
+-- Name: que_jobs_job_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE que_jobs_job_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: que_jobs_job_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE que_jobs_job_id_seq OWNED BY que_jobs.job_id;
+
+
+--
+-- Name: registrant_verifications; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE registrant_verifications (
+ id integer NOT NULL,
+ domain_name character varying,
+ verification_token character varying,
+ created_at timestamp without time zone,
+ updated_at timestamp without time zone,
+ action character varying,
+ domain_id integer,
+ action_type character varying
+);
+
+
+--
+-- Name: registrant_verifications_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE registrant_verifications_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: registrant_verifications_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE registrant_verifications_id_seq OWNED BY registrant_verifications.id;
+
+
+--
+-- Name: registrars; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE registrars (
+ id integer NOT NULL,
+ name character varying,
+ reg_no character varying,
+ vat_no character varying,
+ billing_address character varying,
+ created_at timestamp without time zone,
+ updated_at timestamp without time zone,
+ creator_str character varying,
+ updator_str character varying,
+ phone character varying,
+ email character varying,
+ billing_email character varying,
+ country_code character varying,
+ state character varying,
+ city character varying,
+ street character varying,
+ zip character varying,
+ code character varying,
+ url character varying,
+ directo_handle character varying,
+ vat boolean,
+ legacy_id integer,
+ reference_no character varying
+);
+
+
+--
+-- Name: registrars_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE registrars_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: registrars_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE registrars_id_seq OWNED BY registrars.id;
+
+
+--
+-- Name: reserved_domains; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE reserved_domains (
+ id integer NOT NULL,
+ name character varying,
+ created_at timestamp without time zone,
+ updated_at timestamp without time zone,
+ creator_str character varying,
+ updator_str character varying
+);
+
+
+--
+-- Name: reserved_domains_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE reserved_domains_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: reserved_domains_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE reserved_domains_id_seq OWNED BY reserved_domains.id;
+
+
+--
+-- Name: schema_migrations; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE schema_migrations (
+ version character varying NOT NULL
+);
+
+
+--
+-- Name: settings; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE settings (
+ id integer NOT NULL,
+ var character varying NOT NULL,
+ value text,
+ thing_id integer,
+ thing_type character varying(30),
+ created_at timestamp without time zone,
+ updated_at timestamp without time zone,
+ creator_str character varying,
+ updator_str character varying
+);
+
+
+--
+-- Name: settings_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE settings_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: settings_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE settings_id_seq OWNED BY settings.id;
+
+
+--
+-- Name: users; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE users (
+ id integer NOT NULL,
+ username character varying,
+ password character varying,
+ created_at timestamp without time zone,
+ updated_at timestamp without time zone,
+ email character varying,
+ sign_in_count integer DEFAULT 0 NOT NULL,
+ current_sign_in_at timestamp without time zone,
+ last_sign_in_at timestamp without time zone,
+ current_sign_in_ip inet,
+ last_sign_in_ip inet,
+ identity_code character varying,
+ roles character varying[],
+ creator_str character varying,
+ updator_str character varying,
+ country_code character varying,
+ registrar_id integer,
+ active boolean,
+ csr text,
+ crt text,
+ type character varying,
+ registrant_ident character varying,
+ encrypted_password character varying DEFAULT ''::character varying,
+ remember_created_at timestamp without time zone,
+ failed_attempts integer DEFAULT 0 NOT NULL,
+ locked_at timestamp without time zone
+);
+
+
+--
+-- Name: users_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE users_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE users_id_seq OWNED BY users.id;
+
+
+--
+-- Name: versions; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE versions (
+ id integer NOT NULL,
+ depricated_table_but_somehow_paper_trail_tests_fails_without_it text
+);
+
+
+--
+-- Name: versions_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE versions_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: versions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE versions_id_seq OWNED BY versions.id;
+
+
+--
+-- Name: white_ips; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE white_ips (
+ id integer NOT NULL,
+ registrar_id integer,
+ ipv4 character varying,
+ ipv6 character varying,
+ interface character varying,
+ created_at timestamp without time zone,
+ updated_at timestamp without time zone,
+ creator_str character varying,
+ updator_str character varying
+);
+
+
+--
+-- Name: white_ips_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE white_ips_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: white_ips_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE white_ips_id_seq OWNED BY white_ips.id;
+
+
+--
+-- Name: whois_records; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE whois_records (
+ id integer NOT NULL,
+ domain_id integer,
+ name character varying,
+ body text,
+ json json,
+ created_at timestamp without time zone NOT NULL,
+ updated_at timestamp without time zone NOT NULL,
+ registrar_id integer
+);
+
+
+--
+-- Name: whois_records_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE whois_records_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: whois_records_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE whois_records_id_seq OWNED BY whois_records.id;
+
+
+--
+-- Name: zonefile_settings; Type: TABLE; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE TABLE zonefile_settings (
+ id integer NOT NULL,
+ origin character varying,
+ ttl integer,
+ refresh integer,
+ retry integer,
+ expire integer,
+ minimum_ttl integer,
+ email character varying,
+ master_nameserver character varying,
+ created_at timestamp without time zone,
+ updated_at timestamp without time zone,
+ creator_str character varying,
+ updator_str character varying
+);
+
+
+--
+-- Name: zonefile_settings_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE zonefile_settings_id_seq
+ START WITH 1
+ INCREMENT BY 1
+ NO MINVALUE
+ NO MAXVALUE
+ CACHE 1;
+
+
+--
+-- Name: zonefile_settings_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE zonefile_settings_id_seq OWNED BY zonefile_settings.id;
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY account_activities ALTER COLUMN id SET DEFAULT nextval('account_activities_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY accounts ALTER COLUMN id SET DEFAULT nextval('accounts_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY addresses ALTER COLUMN id SET DEFAULT nextval('addresses_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY api_users ALTER COLUMN id SET DEFAULT nextval('api_users_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY bank_statements ALTER COLUMN id SET DEFAULT nextval('bank_statements_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY bank_transactions ALTER COLUMN id SET DEFAULT nextval('bank_transactions_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY banklink_transactions ALTER COLUMN id SET DEFAULT nextval('banklink_transactions_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY certificates ALTER COLUMN id SET DEFAULT nextval('certificates_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY contact_statuses ALTER COLUMN id SET DEFAULT nextval('contact_statuses_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY contacts ALTER COLUMN id SET DEFAULT nextval('contacts_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY countries ALTER COLUMN id SET DEFAULT nextval('countries_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY delegation_signers ALTER COLUMN id SET DEFAULT nextval('delegation_signers_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY depricated_versions ALTER COLUMN id SET DEFAULT nextval('depricated_versions_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY dnskeys ALTER COLUMN id SET DEFAULT nextval('dnskeys_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY domain_contacts ALTER COLUMN id SET DEFAULT nextval('domain_contacts_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY domain_statuses ALTER COLUMN id SET DEFAULT nextval('domain_statuses_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY domain_transfers ALTER COLUMN id SET DEFAULT nextval('domain_transfers_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY domains ALTER COLUMN id SET DEFAULT nextval('domains_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY epp_sessions ALTER COLUMN id SET DEFAULT nextval('epp_sessions_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY invoice_items ALTER COLUMN id SET DEFAULT nextval('invoice_items_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY invoices ALTER COLUMN id SET DEFAULT nextval('invoices_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY keyrelays ALTER COLUMN id SET DEFAULT nextval('keyrelays_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY legal_documents ALTER COLUMN id SET DEFAULT nextval('legal_documents_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY log_account_activities ALTER COLUMN id SET DEFAULT nextval('log_account_activities_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY log_accounts ALTER COLUMN id SET DEFAULT nextval('log_accounts_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY log_addresses ALTER COLUMN id SET DEFAULT nextval('log_addresses_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY log_api_users ALTER COLUMN id SET DEFAULT nextval('log_api_users_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY log_bank_statements ALTER COLUMN id SET DEFAULT nextval('log_bank_statements_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY log_bank_transactions ALTER COLUMN id SET DEFAULT nextval('log_bank_transactions_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY log_certificates ALTER COLUMN id SET DEFAULT nextval('log_certificates_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY log_contact_statuses ALTER COLUMN id SET DEFAULT nextval('log_contact_statuses_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY log_contacts ALTER COLUMN id SET DEFAULT nextval('log_contacts_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY log_countries ALTER COLUMN id SET DEFAULT nextval('log_countries_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY log_dnskeys ALTER COLUMN id SET DEFAULT nextval('log_dnskeys_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY log_domain_contacts ALTER COLUMN id SET DEFAULT nextval('log_domain_contacts_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY log_domain_statuses ALTER COLUMN id SET DEFAULT nextval('log_domain_statuses_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY log_domain_transfers ALTER COLUMN id SET DEFAULT nextval('log_domain_transfers_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY log_domains ALTER COLUMN id SET DEFAULT nextval('log_domains_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY log_invoice_items ALTER COLUMN id SET DEFAULT nextval('log_invoice_items_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY log_invoices ALTER COLUMN id SET DEFAULT nextval('log_invoices_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY log_keyrelays ALTER COLUMN id SET DEFAULT nextval('log_keyrelays_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY log_legal_documents ALTER COLUMN id SET DEFAULT nextval('log_legal_documents_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY log_messages ALTER COLUMN id SET DEFAULT nextval('log_messages_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY log_nameservers ALTER COLUMN id SET DEFAULT nextval('log_nameservers_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY log_pricelists ALTER COLUMN id SET DEFAULT nextval('log_pricelists_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY log_registrars ALTER COLUMN id SET DEFAULT nextval('log_registrars_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY log_reserved_domains ALTER COLUMN id SET DEFAULT nextval('log_reserved_domains_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY log_settings ALTER COLUMN id SET DEFAULT nextval('log_settings_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY log_users ALTER COLUMN id SET DEFAULT nextval('log_users_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY log_white_ips ALTER COLUMN id SET DEFAULT nextval('log_white_ips_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY log_zonefile_settings ALTER COLUMN id SET DEFAULT nextval('log_zonefile_settings_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY messages ALTER COLUMN id SET DEFAULT nextval('messages_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY nameservers ALTER COLUMN id SET DEFAULT nextval('nameservers_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY people ALTER COLUMN id SET DEFAULT nextval('people_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY pricelists ALTER COLUMN id SET DEFAULT nextval('pricelists_id_seq'::regclass);
+
+
+--
+-- Name: job_id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY que_jobs ALTER COLUMN job_id SET DEFAULT nextval('que_jobs_job_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY registrant_verifications ALTER COLUMN id SET DEFAULT nextval('registrant_verifications_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY registrars ALTER COLUMN id SET DEFAULT nextval('registrars_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY reserved_domains ALTER COLUMN id SET DEFAULT nextval('reserved_domains_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY settings ALTER COLUMN id SET DEFAULT nextval('settings_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY users ALTER COLUMN id SET DEFAULT nextval('users_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY versions ALTER COLUMN id SET DEFAULT nextval('versions_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY white_ips ALTER COLUMN id SET DEFAULT nextval('white_ips_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY whois_records ALTER COLUMN id SET DEFAULT nextval('whois_records_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY zonefile_settings ALTER COLUMN id SET DEFAULT nextval('zonefile_settings_id_seq'::regclass);
+
+
+--
+-- Name: account_activities_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY account_activities
+ ADD CONSTRAINT account_activities_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: accounts_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY accounts
+ ADD CONSTRAINT accounts_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: addresses_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY addresses
+ ADD CONSTRAINT addresses_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: api_users_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY api_users
+ ADD CONSTRAINT api_users_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: bank_statements_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY bank_statements
+ ADD CONSTRAINT bank_statements_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: bank_transactions_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY bank_transactions
+ ADD CONSTRAINT bank_transactions_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: banklink_transactions_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY banklink_transactions
+ ADD CONSTRAINT banklink_transactions_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: certificates_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY certificates
+ ADD CONSTRAINT certificates_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: contact_statuses_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY contact_statuses
+ ADD CONSTRAINT contact_statuses_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: contacts_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY contacts
+ ADD CONSTRAINT contacts_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: countries_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY countries
+ ADD CONSTRAINT countries_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: delegation_signers_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY delegation_signers
+ ADD CONSTRAINT delegation_signers_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: depricated_versions_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY depricated_versions
+ ADD CONSTRAINT depricated_versions_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: dnskeys_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY dnskeys
+ ADD CONSTRAINT dnskeys_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: domain_contacts_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY domain_contacts
+ ADD CONSTRAINT domain_contacts_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: domain_statuses_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY domain_statuses
+ ADD CONSTRAINT domain_statuses_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: domain_transfers_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY domain_transfers
+ ADD CONSTRAINT domain_transfers_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: domains_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY domains
+ ADD CONSTRAINT domains_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: epp_sessions_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY epp_sessions
+ ADD CONSTRAINT epp_sessions_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: invoice_items_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY invoice_items
+ ADD CONSTRAINT invoice_items_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: invoices_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY invoices
+ ADD CONSTRAINT invoices_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: keyrelays_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY keyrelays
+ ADD CONSTRAINT keyrelays_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: legal_documents_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY legal_documents
+ ADD CONSTRAINT legal_documents_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: log_account_activities_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY log_account_activities
+ ADD CONSTRAINT log_account_activities_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: log_accounts_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY log_accounts
+ ADD CONSTRAINT log_accounts_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: log_addresses_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY log_addresses
+ ADD CONSTRAINT log_addresses_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: log_api_users_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY log_api_users
+ ADD CONSTRAINT log_api_users_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: log_bank_statements_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY log_bank_statements
+ ADD CONSTRAINT log_bank_statements_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: log_bank_transactions_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY log_bank_transactions
+ ADD CONSTRAINT log_bank_transactions_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: log_certificates_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY log_certificates
+ ADD CONSTRAINT log_certificates_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: log_contact_statuses_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY log_contact_statuses
+ ADD CONSTRAINT log_contact_statuses_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: log_contacts_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY log_contacts
+ ADD CONSTRAINT log_contacts_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: log_countries_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY log_countries
+ ADD CONSTRAINT log_countries_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: log_dnskeys_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY log_dnskeys
+ ADD CONSTRAINT log_dnskeys_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: log_domain_contacts_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY log_domain_contacts
+ ADD CONSTRAINT log_domain_contacts_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: log_domain_statuses_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY log_domain_statuses
+ ADD CONSTRAINT log_domain_statuses_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: log_domain_transfers_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY log_domain_transfers
+ ADD CONSTRAINT log_domain_transfers_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: log_domains_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY log_domains
+ ADD CONSTRAINT log_domains_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: log_invoice_items_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY log_invoice_items
+ ADD CONSTRAINT log_invoice_items_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: log_invoices_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY log_invoices
+ ADD CONSTRAINT log_invoices_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: log_keyrelays_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY log_keyrelays
+ ADD CONSTRAINT log_keyrelays_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: log_legal_documents_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY log_legal_documents
+ ADD CONSTRAINT log_legal_documents_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: log_messages_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY log_messages
+ ADD CONSTRAINT log_messages_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: log_nameservers_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY log_nameservers
+ ADD CONSTRAINT log_nameservers_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: log_pricelists_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY log_pricelists
+ ADD CONSTRAINT log_pricelists_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: log_registrars_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY log_registrars
+ ADD CONSTRAINT log_registrars_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: log_reserved_domains_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY log_reserved_domains
+ ADD CONSTRAINT log_reserved_domains_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: log_settings_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY log_settings
+ ADD CONSTRAINT log_settings_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: log_users_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY log_users
+ ADD CONSTRAINT log_users_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: log_white_ips_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY log_white_ips
+ ADD CONSTRAINT log_white_ips_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: log_zonefile_settings_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY log_zonefile_settings
+ ADD CONSTRAINT log_zonefile_settings_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: messages_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY messages
+ ADD CONSTRAINT messages_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: nameservers_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY nameservers
+ ADD CONSTRAINT nameservers_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: people_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY people
+ ADD CONSTRAINT people_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: pricelists_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY pricelists
+ ADD CONSTRAINT pricelists_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: que_jobs_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY que_jobs
+ ADD CONSTRAINT que_jobs_pkey PRIMARY KEY (queue, priority, run_at, job_id);
+
+
+--
+-- Name: registrant_verifications_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY registrant_verifications
+ ADD CONSTRAINT registrant_verifications_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: registrars_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY registrars
+ ADD CONSTRAINT registrars_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: reserved_domains_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY reserved_domains
+ ADD CONSTRAINT reserved_domains_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: settings_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY settings
+ ADD CONSTRAINT settings_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: users_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY users
+ ADD CONSTRAINT users_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: versions_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY versions
+ ADD CONSTRAINT versions_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: white_ips_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY white_ips
+ ADD CONSTRAINT white_ips_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: whois_records_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY whois_records
+ ADD CONSTRAINT whois_records_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: zonefile_settings_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+--
+
+ALTER TABLE ONLY zonefile_settings
+ ADD CONSTRAINT zonefile_settings_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: index_account_activities_on_account_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_account_activities_on_account_id ON account_activities USING btree (account_id);
+
+
+--
+-- Name: index_account_activities_on_bank_transaction_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_account_activities_on_bank_transaction_id ON account_activities USING btree (bank_transaction_id);
+
+
+--
+-- Name: index_account_activities_on_invoice_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_account_activities_on_invoice_id ON account_activities USING btree (invoice_id);
+
+
+--
+-- Name: index_accounts_on_registrar_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_accounts_on_registrar_id ON accounts USING btree (registrar_id);
+
+
+--
+-- Name: index_api_users_on_registrar_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_api_users_on_registrar_id ON api_users USING btree (registrar_id);
+
+
+--
+-- Name: index_cached_nameservers_on_hostname_and_ipv4_and_ipv6; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE UNIQUE INDEX index_cached_nameservers_on_hostname_and_ipv4_and_ipv6 ON cached_nameservers USING btree (hostname, ipv4, ipv6);
+
+
+--
+-- Name: index_certificates_on_api_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_certificates_on_api_user_id ON certificates USING btree (api_user_id);
+
+
+--
+-- Name: index_contact_statuses_on_contact_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_contact_statuses_on_contact_id ON contact_statuses USING btree (contact_id);
+
+
+--
+-- Name: index_contacts_on_code; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_contacts_on_code ON contacts USING btree (code);
+
+
+--
+-- Name: index_contacts_on_registrar_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_contacts_on_registrar_id ON contacts USING btree (registrar_id);
+
+
+--
+-- Name: index_contacts_on_registrar_id_and_ident_type; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_contacts_on_registrar_id_and_ident_type ON contacts USING btree (registrar_id, ident_type);
+
+
+--
+-- Name: index_delegation_signers_on_domain_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_delegation_signers_on_domain_id ON delegation_signers USING btree (domain_id);
+
+
+--
+-- Name: index_dnskeys_on_delegation_signer_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_dnskeys_on_delegation_signer_id ON dnskeys USING btree (delegation_signer_id);
+
+
+--
+-- Name: index_dnskeys_on_domain_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_dnskeys_on_domain_id ON dnskeys USING btree (domain_id);
+
+
+--
+-- Name: index_dnskeys_on_legacy_domain_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_dnskeys_on_legacy_domain_id ON dnskeys USING btree (legacy_domain_id);
+
+
+--
+-- Name: index_domain_contacts_on_contact_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_domain_contacts_on_contact_id ON domain_contacts USING btree (contact_id);
+
+
+--
+-- Name: index_domain_contacts_on_domain_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_domain_contacts_on_domain_id ON domain_contacts USING btree (domain_id);
+
+
+--
+-- Name: index_domain_statuses_on_domain_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_domain_statuses_on_domain_id ON domain_statuses USING btree (domain_id);
+
+
+--
+-- Name: index_domain_transfers_on_domain_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_domain_transfers_on_domain_id ON domain_transfers USING btree (domain_id);
+
+
+--
+-- Name: index_domains_on_delete_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_domains_on_delete_at ON domains USING btree (delete_at);
+
+
+--
+-- Name: index_domains_on_outzone_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_domains_on_outzone_at ON domains USING btree (outzone_at);
+
+
+--
+-- Name: index_domains_on_registrant_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_domains_on_registrant_id ON domains USING btree (registrant_id);
+
+
+--
+-- Name: index_domains_on_registrant_verification_asked_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_domains_on_registrant_verification_asked_at ON domains USING btree (registrant_verification_asked_at);
+
+
+--
+-- Name: index_domains_on_registrant_verification_token; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_domains_on_registrant_verification_token ON domains USING btree (registrant_verification_token);
+
+
+--
+-- Name: index_domains_on_registrar_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_domains_on_registrar_id ON domains USING btree (registrar_id);
+
+
+--
+-- Name: index_epp_sessions_on_session_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE UNIQUE INDEX index_epp_sessions_on_session_id ON epp_sessions USING btree (session_id);
+
+
+--
+-- Name: index_epp_sessions_on_updated_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_epp_sessions_on_updated_at ON epp_sessions USING btree (updated_at);
+
+
+--
+-- Name: index_invoice_items_on_invoice_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_invoice_items_on_invoice_id ON invoice_items USING btree (invoice_id);
+
+
+--
+-- Name: index_invoices_on_buyer_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_invoices_on_buyer_id ON invoices USING btree (buyer_id);
+
+
+--
+-- Name: index_invoices_on_seller_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_invoices_on_seller_id ON invoices USING btree (seller_id);
+
+
+--
+-- Name: index_keyrelays_on_accepter_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_keyrelays_on_accepter_id ON keyrelays USING btree (accepter_id);
+
+
+--
+-- Name: index_keyrelays_on_domain_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_keyrelays_on_domain_id ON keyrelays USING btree (domain_id);
+
+
+--
+-- Name: index_keyrelays_on_requester_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_keyrelays_on_requester_id ON keyrelays USING btree (requester_id);
+
+
+--
+-- Name: index_legal_documents_on_documentable_type_and_documentable_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_legal_documents_on_documentable_type_and_documentable_id ON legal_documents USING btree (documentable_type, documentable_id);
+
+
+--
+-- Name: index_log_account_activities_on_item_type_and_item_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_account_activities_on_item_type_and_item_id ON log_account_activities USING btree (item_type, item_id);
+
+
+--
+-- Name: index_log_account_activities_on_whodunnit; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_account_activities_on_whodunnit ON log_account_activities USING btree (whodunnit);
+
+
+--
+-- Name: index_log_accounts_on_item_type_and_item_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_accounts_on_item_type_and_item_id ON log_accounts USING btree (item_type, item_id);
+
+
+--
+-- Name: index_log_accounts_on_whodunnit; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_accounts_on_whodunnit ON log_accounts USING btree (whodunnit);
+
+
+--
+-- Name: index_log_addresses_on_item_type_and_item_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_addresses_on_item_type_and_item_id ON log_addresses USING btree (item_type, item_id);
+
+
+--
+-- Name: index_log_addresses_on_whodunnit; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_addresses_on_whodunnit ON log_addresses USING btree (whodunnit);
+
+
+--
+-- Name: index_log_api_users_on_item_type_and_item_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_api_users_on_item_type_and_item_id ON log_api_users USING btree (item_type, item_id);
+
+
+--
+-- Name: index_log_api_users_on_whodunnit; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_api_users_on_whodunnit ON log_api_users USING btree (whodunnit);
+
+
+--
+-- Name: index_log_bank_statements_on_item_type_and_item_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_bank_statements_on_item_type_and_item_id ON log_bank_statements USING btree (item_type, item_id);
+
+
+--
+-- Name: index_log_bank_statements_on_whodunnit; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_bank_statements_on_whodunnit ON log_bank_statements USING btree (whodunnit);
+
+
+--
+-- Name: index_log_bank_transactions_on_item_type_and_item_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_bank_transactions_on_item_type_and_item_id ON log_bank_transactions USING btree (item_type, item_id);
+
+
+--
+-- Name: index_log_bank_transactions_on_whodunnit; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_bank_transactions_on_whodunnit ON log_bank_transactions USING btree (whodunnit);
+
+
+--
+-- Name: index_log_certificates_on_item_type_and_item_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_certificates_on_item_type_and_item_id ON log_certificates USING btree (item_type, item_id);
+
+
+--
+-- Name: index_log_certificates_on_whodunnit; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_certificates_on_whodunnit ON log_certificates USING btree (whodunnit);
+
+
+--
+-- Name: index_log_contact_statuses_on_item_type_and_item_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_contact_statuses_on_item_type_and_item_id ON log_contact_statuses USING btree (item_type, item_id);
+
+
+--
+-- Name: index_log_contact_statuses_on_whodunnit; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_contact_statuses_on_whodunnit ON log_contact_statuses USING btree (whodunnit);
+
+
+--
+-- Name: index_log_contacts_on_item_type_and_item_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_contacts_on_item_type_and_item_id ON log_contacts USING btree (item_type, item_id);
+
+
+--
+-- Name: index_log_contacts_on_whodunnit; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_contacts_on_whodunnit ON log_contacts USING btree (whodunnit);
+
+
+--
+-- Name: index_log_countries_on_item_type_and_item_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_countries_on_item_type_and_item_id ON log_countries USING btree (item_type, item_id);
+
+
+--
+-- Name: index_log_countries_on_whodunnit; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_countries_on_whodunnit ON log_countries USING btree (whodunnit);
+
+
+--
+-- Name: index_log_dnskeys_on_item_type_and_item_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_dnskeys_on_item_type_and_item_id ON log_dnskeys USING btree (item_type, item_id);
+
+
+--
+-- Name: index_log_dnskeys_on_whodunnit; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_dnskeys_on_whodunnit ON log_dnskeys USING btree (whodunnit);
+
+
+--
+-- Name: index_log_domain_contacts_on_item_type_and_item_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_domain_contacts_on_item_type_and_item_id ON log_domain_contacts USING btree (item_type, item_id);
+
+
+--
+-- Name: index_log_domain_contacts_on_whodunnit; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_domain_contacts_on_whodunnit ON log_domain_contacts USING btree (whodunnit);
+
+
+--
+-- Name: index_log_domain_statuses_on_item_type_and_item_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_domain_statuses_on_item_type_and_item_id ON log_domain_statuses USING btree (item_type, item_id);
+
+
+--
+-- Name: index_log_domain_statuses_on_whodunnit; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_domain_statuses_on_whodunnit ON log_domain_statuses USING btree (whodunnit);
+
+
+--
+-- Name: index_log_domain_transfers_on_item_type_and_item_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_domain_transfers_on_item_type_and_item_id ON log_domain_transfers USING btree (item_type, item_id);
+
+
+--
+-- Name: index_log_domain_transfers_on_whodunnit; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_domain_transfers_on_whodunnit ON log_domain_transfers USING btree (whodunnit);
+
+
+--
+-- Name: index_log_domains_on_item_type_and_item_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_domains_on_item_type_and_item_id ON log_domains USING btree (item_type, item_id);
+
+
+--
+-- Name: index_log_domains_on_whodunnit; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_domains_on_whodunnit ON log_domains USING btree (whodunnit);
+
+
+--
+-- Name: index_log_invoice_items_on_item_type_and_item_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_invoice_items_on_item_type_and_item_id ON log_invoice_items USING btree (item_type, item_id);
+
+
+--
+-- Name: index_log_invoice_items_on_whodunnit; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_invoice_items_on_whodunnit ON log_invoice_items USING btree (whodunnit);
+
+
+--
+-- Name: index_log_invoices_on_item_type_and_item_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_invoices_on_item_type_and_item_id ON log_invoices USING btree (item_type, item_id);
+
+
+--
+-- Name: index_log_invoices_on_whodunnit; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_invoices_on_whodunnit ON log_invoices USING btree (whodunnit);
+
+
+--
+-- Name: index_log_keyrelays_on_item_type_and_item_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_keyrelays_on_item_type_and_item_id ON log_keyrelays USING btree (item_type, item_id);
+
+
+--
+-- Name: index_log_keyrelays_on_whodunnit; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_keyrelays_on_whodunnit ON log_keyrelays USING btree (whodunnit);
+
+
+--
+-- Name: index_log_legal_documents_on_item_type_and_item_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_legal_documents_on_item_type_and_item_id ON log_legal_documents USING btree (item_type, item_id);
+
+
+--
+-- Name: index_log_legal_documents_on_whodunnit; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_legal_documents_on_whodunnit ON log_legal_documents USING btree (whodunnit);
+
+
+--
+-- Name: index_log_messages_on_item_type_and_item_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_messages_on_item_type_and_item_id ON log_messages USING btree (item_type, item_id);
+
+
+--
+-- Name: index_log_messages_on_whodunnit; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_messages_on_whodunnit ON log_messages USING btree (whodunnit);
+
+
+--
+-- Name: index_log_nameservers_on_item_type_and_item_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_nameservers_on_item_type_and_item_id ON log_nameservers USING btree (item_type, item_id);
+
+
+--
+-- Name: index_log_nameservers_on_whodunnit; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_nameservers_on_whodunnit ON log_nameservers USING btree (whodunnit);
+
+
+--
+-- Name: index_log_registrars_on_item_type_and_item_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_registrars_on_item_type_and_item_id ON log_registrars USING btree (item_type, item_id);
+
+
+--
+-- Name: index_log_registrars_on_whodunnit; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_registrars_on_whodunnit ON log_registrars USING btree (whodunnit);
+
+
+--
+-- Name: index_log_reserved_domains_on_item_type_and_item_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_reserved_domains_on_item_type_and_item_id ON log_reserved_domains USING btree (item_type, item_id);
+
+
+--
+-- Name: index_log_reserved_domains_on_whodunnit; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_reserved_domains_on_whodunnit ON log_reserved_domains USING btree (whodunnit);
+
+
+--
+-- Name: index_log_settings_on_item_type_and_item_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_settings_on_item_type_and_item_id ON log_settings USING btree (item_type, item_id);
+
+
+--
+-- Name: index_log_settings_on_whodunnit; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_settings_on_whodunnit ON log_settings USING btree (whodunnit);
+
+
+--
+-- Name: index_log_users_on_item_type_and_item_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_users_on_item_type_and_item_id ON log_users USING btree (item_type, item_id);
+
+
+--
+-- Name: index_log_users_on_whodunnit; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_users_on_whodunnit ON log_users USING btree (whodunnit);
+
+
+--
+-- Name: index_log_zonefile_settings_on_item_type_and_item_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_zonefile_settings_on_item_type_and_item_id ON log_zonefile_settings USING btree (item_type, item_id);
+
+
+--
+-- Name: index_log_zonefile_settings_on_whodunnit; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_log_zonefile_settings_on_whodunnit ON log_zonefile_settings USING btree (whodunnit);
+
+
+--
+-- Name: index_messages_on_registrar_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_messages_on_registrar_id ON messages USING btree (registrar_id);
+
+
+--
+-- Name: index_nameservers_on_domain_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_nameservers_on_domain_id ON nameservers USING btree (domain_id);
+
+
+--
+-- Name: index_people_on_email; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE UNIQUE INDEX index_people_on_email ON people USING btree (email);
+
+
+--
+-- Name: index_people_on_reset_password_token; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE UNIQUE INDEX index_people_on_reset_password_token ON people USING btree (reset_password_token);
+
+
+--
+-- Name: index_registrant_verifications_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_registrant_verifications_on_created_at ON registrant_verifications USING btree (created_at);
+
+
+--
+-- Name: index_registrant_verifications_on_domain_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_registrant_verifications_on_domain_id ON registrant_verifications USING btree (domain_id);
+
+
+--
+-- Name: index_registrars_on_code; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_registrars_on_code ON registrars USING btree (code);
+
+
+--
+-- Name: index_settings_on_thing_type_and_thing_id_and_var; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE UNIQUE INDEX index_settings_on_thing_type_and_thing_id_and_var ON settings USING btree (thing_type, thing_id, var);
+
+
+--
+-- Name: index_users_on_identity_code; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_users_on_identity_code ON users USING btree (identity_code);
+
+
+--
+-- Name: index_users_on_registrar_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_users_on_registrar_id ON users USING btree (registrar_id);
+
+
+--
+-- Name: index_whois_records_on_domain_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_whois_records_on_domain_id ON whois_records USING btree (domain_id);
+
+
+--
+-- Name: index_whois_records_on_registrar_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_whois_records_on_registrar_id ON whois_records USING btree (registrar_id);
+
+
+--
+-- Name: unique_schema_migrations; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE UNIQUE INDEX unique_schema_migrations ON schema_migrations USING btree (version);
+
+
+--
+-- PostgreSQL database dump complete
+--
+
+SET search_path TO "$user",public;
+
+INSERT INTO schema_migrations (version) VALUES ('20140616073945');
+
+INSERT INTO schema_migrations (version) VALUES ('20140620130107');
+
+INSERT INTO schema_migrations (version) VALUES ('20140627082711');
+
+INSERT INTO schema_migrations (version) VALUES ('20140701130945');
+
+INSERT INTO schema_migrations (version) VALUES ('20140702144833');
+
+INSERT INTO schema_migrations (version) VALUES ('20140702145448');
+
+INSERT INTO schema_migrations (version) VALUES ('20140724084927');
+
+INSERT INTO schema_migrations (version) VALUES ('20140730082358');
+
+INSERT INTO schema_migrations (version) VALUES ('20140730082532');
+
+INSERT INTO schema_migrations (version) VALUES ('20140730104916');
+
+INSERT INTO schema_migrations (version) VALUES ('20140730141443');
+
+INSERT INTO schema_migrations (version) VALUES ('20140731073300');
+
+INSERT INTO schema_migrations (version) VALUES ('20140731081816');
+
+INSERT INTO schema_migrations (version) VALUES ('20140801140249');
+
+INSERT INTO schema_migrations (version) VALUES ('20140804095654');
+
+INSERT INTO schema_migrations (version) VALUES ('20140808132327');
+
+INSERT INTO schema_migrations (version) VALUES ('20140813102245');
+
+INSERT INTO schema_migrations (version) VALUES ('20140813135408');
+
+INSERT INTO schema_migrations (version) VALUES ('20140815082619');
+
+INSERT INTO schema_migrations (version) VALUES ('20140815110028');
+
+INSERT INTO schema_migrations (version) VALUES ('20140815114000');
+
+INSERT INTO schema_migrations (version) VALUES ('20140819095802');
+
+INSERT INTO schema_migrations (version) VALUES ('20140819103517');
+
+INSERT INTO schema_migrations (version) VALUES ('20140822122938');
+
+INSERT INTO schema_migrations (version) VALUES ('20140826082057');
+
+INSERT INTO schema_migrations (version) VALUES ('20140826103454');
+
+INSERT INTO schema_migrations (version) VALUES ('20140827140759');
+
+INSERT INTO schema_migrations (version) VALUES ('20140828072329');
+
+INSERT INTO schema_migrations (version) VALUES ('20140828074404');
+
+INSERT INTO schema_migrations (version) VALUES ('20140828080320');
+
+INSERT INTO schema_migrations (version) VALUES ('20140828133057');
+
+INSERT INTO schema_migrations (version) VALUES ('20140902121843');
+
+INSERT INTO schema_migrations (version) VALUES ('20140911101310');
+
+INSERT INTO schema_migrations (version) VALUES ('20140911101604');
+
+INSERT INTO schema_migrations (version) VALUES ('20140925073340');
+
+INSERT INTO schema_migrations (version) VALUES ('20140925073734');
+
+INSERT INTO schema_migrations (version) VALUES ('20140925073831');
+
+INSERT INTO schema_migrations (version) VALUES ('20140925084916');
+
+INSERT INTO schema_migrations (version) VALUES ('20140925085340');
+
+INSERT INTO schema_migrations (version) VALUES ('20140925101927');
+
+INSERT INTO schema_migrations (version) VALUES ('20140926081324');
+
+INSERT INTO schema_migrations (version) VALUES ('20140926082627');
+
+INSERT INTO schema_migrations (version) VALUES ('20140926121409');
+
+INSERT INTO schema_migrations (version) VALUES ('20140929095329');
+
+INSERT INTO schema_migrations (version) VALUES ('20140930093039');
+
+INSERT INTO schema_migrations (version) VALUES ('20141001085322');
+
+INSERT INTO schema_migrations (version) VALUES ('20141006124904');
+
+INSERT INTO schema_migrations (version) VALUES ('20141006130306');
+
+INSERT INTO schema_migrations (version) VALUES ('20141008134959');
+
+INSERT INTO schema_migrations (version) VALUES ('20141009100818');
+
+INSERT INTO schema_migrations (version) VALUES ('20141009101337');
+
+INSERT INTO schema_migrations (version) VALUES ('20141010085152');
+
+INSERT INTO schema_migrations (version) VALUES ('20141010130412');
+
+INSERT INTO schema_migrations (version) VALUES ('20141014073435');
+
+INSERT INTO schema_migrations (version) VALUES ('20141015135255');
+
+INSERT INTO schema_migrations (version) VALUES ('20141015135742');
+
+INSERT INTO schema_migrations (version) VALUES ('20141105150721');
+
+INSERT INTO schema_migrations (version) VALUES ('20141111105931');
+
+INSERT INTO schema_migrations (version) VALUES ('20141114130737');
+
+INSERT INTO schema_migrations (version) VALUES ('20141120110330');
+
+INSERT INTO schema_migrations (version) VALUES ('20141120140837');
+
+INSERT INTO schema_migrations (version) VALUES ('20141121093125');
+
+INSERT INTO schema_migrations (version) VALUES ('20141124105221');
+
+INSERT INTO schema_migrations (version) VALUES ('20141125111414');
+
+INSERT INTO schema_migrations (version) VALUES ('20141126140434');
+
+INSERT INTO schema_migrations (version) VALUES ('20141127091027');
+
+INSERT INTO schema_migrations (version) VALUES ('20141202114457');
+
+INSERT INTO schema_migrations (version) VALUES ('20141203090115');
+
+INSERT INTO schema_migrations (version) VALUES ('20141210085432');
+
+INSERT INTO schema_migrations (version) VALUES ('20141211095604');
+
+INSERT INTO schema_migrations (version) VALUES ('20141215085117');
+
+INSERT INTO schema_migrations (version) VALUES ('20141216075056');
+
+INSERT INTO schema_migrations (version) VALUES ('20141216133831');
+
+INSERT INTO schema_migrations (version) VALUES ('20141218154829');
+
+INSERT INTO schema_migrations (version) VALUES ('20141229115619');
+
+INSERT INTO schema_migrations (version) VALUES ('20150105134026');
+
+INSERT INTO schema_migrations (version) VALUES ('20150109081914');
+
+INSERT INTO schema_migrations (version) VALUES ('20150110000000');
+
+INSERT INTO schema_migrations (version) VALUES ('20150110113257');
+
+INSERT INTO schema_migrations (version) VALUES ('20150122091556');
+
+INSERT INTO schema_migrations (version) VALUES ('20150122091557');
+
+INSERT INTO schema_migrations (version) VALUES ('20150128134352');
+
+INSERT INTO schema_migrations (version) VALUES ('20150129093938');
+
+INSERT INTO schema_migrations (version) VALUES ('20150129144652');
+
+INSERT INTO schema_migrations (version) VALUES ('20150130085458');
+
+INSERT INTO schema_migrations (version) VALUES ('20150130155904');
+
+INSERT INTO schema_migrations (version) VALUES ('20150130180452');
+
+INSERT INTO schema_migrations (version) VALUES ('20150130191056');
+
+INSERT INTO schema_migrations (version) VALUES ('20150200000000');
+
+INSERT INTO schema_migrations (version) VALUES ('20150202084444');
+
+INSERT INTO schema_migrations (version) VALUES ('20150202140346');
+
+INSERT INTO schema_migrations (version) VALUES ('20150203135303');
+
+INSERT INTO schema_migrations (version) VALUES ('20150212125339');
+
+INSERT INTO schema_migrations (version) VALUES ('20150213104014');
+
+INSERT INTO schema_migrations (version) VALUES ('20150217133755');
+
+INSERT INTO schema_migrations (version) VALUES ('20150217133937');
+
+INSERT INTO schema_migrations (version) VALUES ('20150223104842');
+
+INSERT INTO schema_migrations (version) VALUES ('20150226121252');
+
+INSERT INTO schema_migrations (version) VALUES ('20150226144723');
+
+INSERT INTO schema_migrations (version) VALUES ('20150227092508');
+
+INSERT INTO schema_migrations (version) VALUES ('20150227113121');
+
+INSERT INTO schema_migrations (version) VALUES ('20150302130224');
+
+INSERT INTO schema_migrations (version) VALUES ('20150302161712');
+
+INSERT INTO schema_migrations (version) VALUES ('20150303130729');
+
+INSERT INTO schema_migrations (version) VALUES ('20150303151224');
+
+INSERT INTO schema_migrations (version) VALUES ('20150305092921');
+
+INSERT INTO schema_migrations (version) VALUES ('20150318084300');
+
+INSERT INTO schema_migrations (version) VALUES ('20150318085110');
+
+INSERT INTO schema_migrations (version) VALUES ('20150318114921');
+
+INSERT INTO schema_migrations (version) VALUES ('20150319125655');
+
+INSERT INTO schema_migrations (version) VALUES ('20150320132023');
+
+INSERT INTO schema_migrations (version) VALUES ('20150330083700');
+
+INSERT INTO schema_migrations (version) VALUES ('20150402114712');
+
+INSERT INTO schema_migrations (version) VALUES ('20150407145943');
+
+INSERT INTO schema_migrations (version) VALUES ('20150408081917');
+
+INSERT INTO schema_migrations (version) VALUES ('20150410124724');
+
+INSERT INTO schema_migrations (version) VALUES ('20150410132037');
+
+INSERT INTO schema_migrations (version) VALUES ('20150413080832');
+
+INSERT INTO schema_migrations (version) VALUES ('20150413102310');
+
+INSERT INTO schema_migrations (version) VALUES ('20150413115829');
+
+INSERT INTO schema_migrations (version) VALUES ('20150413140933');
+
+INSERT INTO schema_migrations (version) VALUES ('20150414092249');
+
+INSERT INTO schema_migrations (version) VALUES ('20150414124630');
+
+INSERT INTO schema_migrations (version) VALUES ('20150414151357');
+
+INSERT INTO schema_migrations (version) VALUES ('20150415075408');
+
+INSERT INTO schema_migrations (version) VALUES ('20150416080828');
+
+INSERT INTO schema_migrations (version) VALUES ('20150416091357');
+
+INSERT INTO schema_migrations (version) VALUES ('20150416092026');
+
+INSERT INTO schema_migrations (version) VALUES ('20150416094704');
+
+INSERT INTO schema_migrations (version) VALUES ('20150417082723');
+
+INSERT INTO schema_migrations (version) VALUES ('20150421134820');
+
+INSERT INTO schema_migrations (version) VALUES ('20150422090645');
+
+INSERT INTO schema_migrations (version) VALUES ('20150422092514');
+
+INSERT INTO schema_migrations (version) VALUES ('20150422132631');
+
+INSERT INTO schema_migrations (version) VALUES ('20150422134243');
+
+INSERT INTO schema_migrations (version) VALUES ('20150423083308');
+
+INSERT INTO schema_migrations (version) VALUES ('20150427073517');
+
+INSERT INTO schema_migrations (version) VALUES ('20150428075052');
+
+INSERT INTO schema_migrations (version) VALUES ('20150429135339');
+
+INSERT INTO schema_migrations (version) VALUES ('20150430121807');
+
+INSERT INTO schema_migrations (version) VALUES ('20150504104922');
+
+INSERT INTO schema_migrations (version) VALUES ('20150504110926');
+
+INSERT INTO schema_migrations (version) VALUES ('20150505111437');
+
+INSERT INTO schema_migrations (version) VALUES ('20150511120755');
+
+INSERT INTO schema_migrations (version) VALUES ('20150512160938');
+
+INSERT INTO schema_migrations (version) VALUES ('20150513080013');
+
+INSERT INTO schema_migrations (version) VALUES ('20150514132606');
+
+INSERT INTO schema_migrations (version) VALUES ('20150515103222');
+
+INSERT INTO schema_migrations (version) VALUES ('20150518084324');
+
+INSERT INTO schema_migrations (version) VALUES ('20150519094929');
+
+INSERT INTO schema_migrations (version) VALUES ('20150519095416');
+
+INSERT INTO schema_migrations (version) VALUES ('20150519102521');
+
+INSERT INTO schema_migrations (version) VALUES ('20150519115050');
+
+INSERT INTO schema_migrations (version) VALUES ('20150519140853');
+
+INSERT INTO schema_migrations (version) VALUES ('20150519142542');
+
+INSERT INTO schema_migrations (version) VALUES ('20150519144118');
+
+INSERT INTO schema_migrations (version) VALUES ('20150520163237');
+
+INSERT INTO schema_migrations (version) VALUES ('20150520164507');
+
+INSERT INTO schema_migrations (version) VALUES ('20150521120145');
+
+INSERT INTO schema_migrations (version) VALUES ('20150522164020');
+
+INSERT INTO schema_migrations (version) VALUES ('20150525075550');
+
+INSERT INTO schema_migrations (version) VALUES ('20150603141054');
+
+INSERT INTO schema_migrations (version) VALUES ('20150603141549');
+
+INSERT INTO schema_migrations (version) VALUES ('20150603211318');
+
+INSERT INTO schema_migrations (version) VALUES ('20150603212659');
+
+INSERT INTO schema_migrations (version) VALUES ('20150609103333');
+
+INSERT INTO schema_migrations (version) VALUES ('20150610112238');
+
+INSERT INTO schema_migrations (version) VALUES ('20150610144547');
+
+INSERT INTO schema_migrations (version) VALUES ('20150611124920');
+
+INSERT INTO schema_migrations (version) VALUES ('20150612123111');
+
diff --git a/doc/epp-doc.md b/doc/epp-doc.md
index 5c4cc7562..cf4a84d71 100644
--- a/doc/epp-doc.md
+++ b/doc/epp-doc.md
@@ -18,8 +18,8 @@ Our implementation supports following protocols:
Related XML Schema Definitions (may differ from policies applied to registry):
-[contact-1.0.xsd](schemas/contact-1.0.xsd)
-[domain-1.0.xsd](schemas/domain-1.0.xsd)
+[contact-eis-1.0.xsd](schemas/contact-eis-1.0.xsd)
+[domain-eis-1.0.xsd](schemas/domain-eis-1.0.xsd)
[eis-1.0.xsd](schemas/eis-1.0.xsd)
[epp-1.0.xsd](schemas/epp-1.0.xsd)
[eppcom-1.0.xsd](schemas/eppcom-1.0.xsd)
diff --git a/doc/epp-examples.md b/doc/epp-examples.md
index 586d32cec..c9dd1c38b 100644
--- a/doc/epp-examples.md
+++ b/doc/epp-examples.md
@@ -1,6 +1,6 @@
# EPP REQUEST - RESPONSE EXAMPLES
-GENERATED AT: 2015-06-09 13:35:01 UTC
-EXAMPLE COUNT: 166
+GENERATED AT: 2015-06-16 14:45:11 UTC
+EXAMPLE COUNT: 168
---
@@ -18,8 +18,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -44,7 +44,7 @@ RESPONSE:
ABC-12345
- ccReg-4203572032
+ ccReg-0628016030
@@ -59,7 +59,7 @@ REQUEST:
-
+
ABC-12345
@@ -98,7 +98,7 @@ RESPONSE:
ABC-12345
- ccReg-9221584209
+ ccReg-4850323861
@@ -113,7 +113,7 @@ REQUEST:
-
+
John Doe
@@ -149,13 +149,13 @@ RESPONSE:
- FIRST0:6C834599
- 2015-06-09T13:35:02Z
+ FIRST0:E6D21A5B
+ 2015-06-16T14:45:14Z
ABC-12345
- ccReg-5088097391
+ ccReg-8174523782
@@ -170,7 +170,7 @@ REQUEST:
-
+
John Doe
@@ -206,13 +206,13 @@ RESPONSE:
- FIRST0:4620C3C8
- 2015-06-09T13:35:02Z
+ FIRST0:2991302F
+ 2015-06-16T14:45:14Z
ABC-12345
- ccReg-9251142773
+ ccReg-5902458408
@@ -227,7 +227,7 @@ REQUEST:
-
+
John Doe
@@ -263,13 +263,13 @@ RESPONSE:
- FIRST0:F8703FED
- 2015-06-09T13:35:02Z
+ FIRST0:939795FC
+ 2015-06-16T14:45:14Z
ABC-12345
- ccReg-3886190422
+ ccReg-7781355479
@@ -284,7 +284,7 @@ REQUEST:
-
+
John Doe
@@ -320,13 +320,13 @@ RESPONSE:
- FIRST0:46D9EFDA
- 2015-06-09T13:35:02Z
+ FIRST0:8F2D96DF
+ 2015-06-16T14:45:14Z
ABC-12345
- ccReg-1904538608
+ ccReg-9037049309
@@ -341,7 +341,7 @@ REQUEST:
-
+
abc12345
John Doe
@@ -379,12 +379,12 @@ RESPONSE:
FIRST0:ABC12345
- 2015-06-09T13:35:03Z
+ 2015-06-16T14:45:14Z
ABC-12345
- ccReg-7705716213
+ ccReg-5231101974
@@ -399,7 +399,7 @@ REQUEST:
-
+
abc:ABC:12345
John Doe
@@ -437,12 +437,12 @@ RESPONSE:
FIRST0:ABC:ABC:12345
- 2015-06-09T13:35:03Z
+ 2015-06-16T14:45:14Z
ABC-12345
- ccReg-7327043796
+ ccReg-6422793401
@@ -457,7 +457,7 @@ REQUEST:
-
+
abc 123
John Doe
@@ -494,7 +494,7 @@ RESPONSE:
ABC-12345
- ccReg-8113718660
+ ccReg-2948594360
@@ -509,7 +509,7 @@ REQUEST:
-
+
John Doe
@@ -544,7 +544,7 @@ RESPONSE:
ABC-12345
- ccReg-0594853538
+ ccReg-5099683978
@@ -559,7 +559,7 @@ REQUEST:
-
+
CID:FIRST0:abc:ABC:NEW:12345
John Doe
@@ -597,12 +597,12 @@ RESPONSE:
FIRST0:CID:FIRST0:ABC:ABC:NEW:12345
- 2015-06-09T13:35:03Z
+ 2015-06-16T14:45:16Z
ABC-12345
- ccReg-2412297652
+ ccReg-1644285201
@@ -617,7 +617,7 @@ REQUEST:
-
+
CID:FIRST0:abc:CID:ABC:NEW:12345
John Doe
@@ -655,12 +655,12 @@ RESPONSE:
FIRST0:CID:FIRST0:ABC:CID:ABC:NEW:12345
- 2015-06-09T13:35:03Z
+ 2015-06-16T14:45:16Z
ABC-12345
- ccReg-4348673137
+ ccReg-9700239330
@@ -675,7 +675,7 @@ REQUEST:
-
+
FIRST0:abc22
John Doe
@@ -713,12 +713,12 @@ RESPONSE:
FIRST0:ABC22
- 2015-06-09T13:35:03Z
+ 2015-06-16T14:45:17Z
ABC-12345
- ccReg-3981120996
+ ccReg-2521051245
@@ -733,7 +733,7 @@ REQUEST:
-
+
cid2:first0:abc:ABC:11111
John Doe
@@ -771,12 +771,12 @@ RESPONSE:
FIRST0:CID2:FIRST0:ABC:ABC:11111
- 2015-06-09T13:35:03Z
+ 2015-06-16T14:45:17Z
ABC-12345
- ccReg-2884590809
+ ccReg-0724862982
@@ -791,7 +791,7 @@ REQUEST:
-
+
CID:FIRST0
John Doe
@@ -829,12 +829,12 @@ RESPONSE:
FIRST0:CID:FIRST0
- 2015-06-09T13:35:03Z
+ 2015-06-16T14:45:17Z
ABC-12345
- ccReg-0547273456
+ ccReg-6737500376
@@ -849,7 +849,7 @@ REQUEST:
-
+
John Doe
@@ -885,13 +885,13 @@ RESPONSE:
- FIRST0:C9C0A19D
- 2015-06-09T13:35:03Z
+ FIRST0:83F0C8EE
+ 2015-06-16T14:45:17Z
ABC-12345
- ccReg-3795099690
+ ccReg-1953331836
@@ -906,7 +906,7 @@ REQUEST:
-
+
John Doe
@@ -942,13 +942,13 @@ RESPONSE:
- FIRST0:BA416759
- 2015-06-09T13:35:03Z
+ FIRST0:89839115
+ 2015-06-16T14:45:17Z
ABC-12345
- ccReg-6735333936
+ ccReg-1961057833
@@ -963,7 +963,7 @@ REQUEST:
-
+
John Doe
should not save
@@ -1000,7 +1000,7 @@ RESPONSE:
ABC-12345
- ccReg-5572539591
+ ccReg-7530778283
@@ -1015,7 +1015,7 @@ REQUEST:
-
+
John Doe
@@ -1052,7 +1052,7 @@ RESPONSE:
ABC-12345
- ccReg-7896008898
+ ccReg-9380671496
@@ -1067,7 +1067,7 @@ REQUEST:
-
+
ABC-12345
@@ -1088,7 +1088,7 @@ RESPONSE:
ABC-12345
- ccReg-7092361254
+ ccReg-3302729368
@@ -1103,7 +1103,7 @@ REQUEST:
-
+
not-exists
@@ -1141,7 +1141,7 @@ RESPONSE:
ABC-12345
- ccReg-1402285256
+ ccReg-9700707144
@@ -1156,7 +1156,7 @@ REQUEST:
-
+
FIRST0:SH8013
@@ -1192,12 +1192,12 @@ RESPONSE:
FIRST0:SH8013
- 2015-06-09T13:35:03Z
+ 2015-06-16T14:45:19Z
ABC-12345
- ccReg-9693034586
+ ccReg-3460954479
@@ -1212,7 +1212,7 @@ REQUEST:
-
+
FIRST0:SH8013
@@ -1238,12 +1238,12 @@ RESPONSE:
FIRST0:SH8013
- 2015-06-09T13:35:03Z
+ 2015-06-16T14:45:19Z
ABC-12345
- ccReg-6139348457
+ ccReg-3321686496
@@ -1265,8 +1265,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -1291,7 +1291,7 @@ RESPONSE:
ABC-12345
- ccReg-1380163901
+ ccReg-1310720284
@@ -1304,7 +1304,7 @@ REQUEST:
-
+
FIRST0:SH8013
@@ -1340,12 +1340,12 @@ RESPONSE:
FIRST0:SH8013
- 2015-06-09T13:35:03Z
+ 2015-06-16T14:45:19Z
ABC-12345
- ccReg-3886685118
+ ccReg-5319423932
@@ -1365,8 +1365,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -1391,7 +1391,7 @@ RESPONSE:
ABC-12345
- ccReg-2292034781
+ ccReg-8595538880
@@ -1413,8 +1413,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -1439,7 +1439,7 @@ RESPONSE:
ABC-12345
- ccReg-8235620413
+ ccReg-1546881965
@@ -1452,7 +1452,7 @@ REQUEST:
-
+
FIRST0:SH8013
@@ -1477,7 +1477,7 @@ RESPONSE:
ABC-12345
- ccReg-6132581881
+ ccReg-2967153959
@@ -1497,8 +1497,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -1523,7 +1523,7 @@ RESPONSE:
ABC-12345
- ccReg-9302847506
+ ccReg-2076214878
@@ -1538,7 +1538,7 @@ REQUEST:
-
+
FIRST0:SH8013
@@ -1576,7 +1576,7 @@ RESPONSE:
ABC-12345
- ccReg-8415763274
+ ccReg-0468202475
@@ -1591,7 +1591,7 @@ REQUEST:
-
+
FIRST0:SH8013
@@ -1630,7 +1630,7 @@ RESPONSE:
ABC-12345
- ccReg-7541205064
+ ccReg-7942047636
@@ -1645,7 +1645,7 @@ REQUEST:
-
+
FIRST0:SH8013
@@ -1681,7 +1681,7 @@ RESPONSE:
ABC-12345
- ccReg-9309359178
+ ccReg-9797329583
@@ -1696,7 +1696,7 @@ REQUEST:
-
+
FIRST0:SH8013
@@ -1732,7 +1732,7 @@ RESPONSE:
ABC-12345
- ccReg-9131093492
+ ccReg-7526123941
@@ -1747,7 +1747,7 @@ REQUEST:
-
+
FIRST0:SH8013
@@ -1783,7 +1783,7 @@ RESPONSE:
ABC-12345
- ccReg-5838085591
+ ccReg-4123279413
@@ -1798,7 +1798,7 @@ REQUEST:
-
+
FIRST0:SH8013
Payment overdue.
@@ -1822,7 +1822,7 @@ RESPONSE:
ABC-12345
- ccReg-2157474251
+ ccReg-6929449846
@@ -1837,7 +1837,7 @@ REQUEST:
-
+
FIRST0:SH8013
+372.11111111
@@ -1864,12 +1864,12 @@ RESPONSE:
FIRST0:SH8013
- 2015-06-09T13:35:03Z
+ 2015-06-16T14:45:19Z
ABC-12345
- ccReg-0259656504
+ ccReg-1481668570
@@ -1884,7 +1884,7 @@ REQUEST:
-
+
FIRST0:SH8013
@@ -1914,7 +1914,7 @@ RESPONSE:
ABC-12345
- ccReg-0438834967
+ ccReg-0260056975
@@ -1929,7 +1929,7 @@ REQUEST:
-
+
FIRST0:SH8013
+372.11111111111
@@ -1959,12 +1959,12 @@ RESPONSE:
FIRST0:SH8013
- 2015-06-09T13:35:03Z
+ 2015-06-16T14:45:19Z
ABC-12345
- ccReg-4091528204
+ ccReg-9676737932
@@ -1979,7 +1979,7 @@ REQUEST:
-
+
FIRST0:SH8013
@@ -2008,7 +2008,7 @@ RESPONSE:
ABC-12345
- ccReg-2465545899
+ ccReg-9359806010
@@ -2023,7 +2023,7 @@ REQUEST:
-
+
FIRST0:SH8013
password
@@ -2052,7 +2052,7 @@ RESPONSE:
ABC-12345
- ccReg-5892884503
+ ccReg-5415478708
@@ -2067,7 +2067,7 @@ REQUEST:
-
+
FIRST0:SH8013
password
@@ -2097,12 +2097,12 @@ RESPONSE:
FIRST0:SH8013
- 2015-06-09T13:35:03Z
+ 2015-06-16T14:45:19Z
ABC-12345
- ccReg-0870246010
+ ccReg-7303720395
@@ -2117,7 +2117,7 @@ REQUEST:
-
+
FIRST0:SH8013
password
@@ -2147,12 +2147,12 @@ RESPONSE:
FIRST0:SH8013
- 2015-06-09T13:35:03Z
+ 2015-06-16T14:45:19Z
ABC-12345
- ccReg-8626733525
+ ccReg-8343028402
@@ -2167,7 +2167,7 @@ REQUEST:
-
+
FIRST0:SH8013
password
@@ -2200,12 +2200,12 @@ RESPONSE:
FIRST0:SH8013
- 2015-06-09T13:35:03Z
+ 2015-06-16T14:45:19Z
ABC-12345
- ccReg-6105406108
+ ccReg-3396633434
@@ -2220,7 +2220,7 @@ REQUEST:
-
+
FIRST0:SH8013
password
@@ -2249,12 +2249,12 @@ RESPONSE:
FIRST0:SH8013
- 2015-06-09T13:35:03Z
+ 2015-06-16T14:45:19Z
ABC-12345
- ccReg-1921952196
+ ccReg-2557605520
@@ -2269,7 +2269,7 @@ REQUEST:
-
+
FIRST0:SH8013
password
@@ -2297,7 +2297,7 @@ RESPONSE:
ABC-12345
- ccReg-0516943178
+ ccReg-5903969239
@@ -2312,7 +2312,7 @@ REQUEST:
-
+
FIRST0:SH8013
password
@@ -2340,7 +2340,7 @@ RESPONSE:
ABC-12345
- ccReg-5100126605
+ ccReg-4958556368
@@ -2355,7 +2355,7 @@ REQUEST:
-
+
ABC-12345
@@ -2373,7 +2373,7 @@ RESPONSE:
ABC-12345
- ccReg-0687265472
+ ccReg-3948826508
@@ -2388,7 +2388,7 @@ REQUEST:
-
+
not-exists
password
@@ -2420,7 +2420,7 @@ RESPONSE:
ABC-12345
- ccReg-0626434902
+ ccReg-6894400452
@@ -2435,8 +2435,8 @@ REQUEST:
-
- FIRST0:SH663012063
+
+ FIRST0:SH660293943
password
@@ -2464,7 +2464,7 @@ RESPONSE:
ABC-12345
- ccReg-2496123572
+ ccReg-3167684614
@@ -2479,8 +2479,8 @@ REQUEST:
-
- FIRST0:SH368536654
+
+ FIRST0:SH918459854
wrong password
@@ -2508,7 +2508,7 @@ RESPONSE:
ABC-12345
- ccReg-6226749853
+ ccReg-4976622556
@@ -2523,8 +2523,8 @@ REQUEST:
-
- FIRST0:SH779323685
+
+ FIRST0:SH479142985
ABC-12345
@@ -2543,7 +2543,7 @@ RESPONSE:
ABC-12345
- ccReg-2520490917
+ ccReg-5497436667
@@ -2558,8 +2558,8 @@ REQUEST:
-
- FIRST0:SH249990216
+
+ FIRST0:SH948515446
password
@@ -2587,7 +2587,7 @@ RESPONSE:
ABC-12345
- ccReg-1888396572
+ ccReg-5113374232
@@ -2609,8 +2609,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -2635,7 +2635,7 @@ RESPONSE:
ABC-12345
- ccReg-8658082753
+ ccReg-2787819683
@@ -2648,8 +2648,8 @@ REQUEST:
-
- FIRST0:SH939591719
+
+ FIRST0:SH756528579
password
@@ -2677,7 +2677,7 @@ RESPONSE:
ABC-12345
- ccReg-8410445981
+ ccReg-1059535053
@@ -2697,8 +2697,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -2723,7 +2723,7 @@ RESPONSE:
ABC-12345
- ccReg-5128225677
+ ccReg-9721519129
@@ -2745,8 +2745,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -2771,7 +2771,7 @@ RESPONSE:
ABC-12345
- ccReg-6112113356
+ ccReg-5463189772
@@ -2784,8 +2784,8 @@ REQUEST:
-
- FIRST0:SH9139254410
+
+ FIRST0:SH6727132410
ABC-12345
@@ -2804,7 +2804,7 @@ RESPONSE:
ABC-12345
- ccReg-9312237061
+ ccReg-0140635504
@@ -2824,8 +2824,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -2850,7 +2850,7 @@ RESPONSE:
ABC-12345
- ccReg-4146549389
+ ccReg-3361341345
@@ -2872,8 +2872,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -2898,7 +2898,7 @@ RESPONSE:
ABC-12345
- ccReg-2564543604
+ ccReg-2140366200
@@ -2911,8 +2911,8 @@ REQUEST:
-
- FIRST0:SH5845091911
+
+ FIRST0:SH6052359511
wrong password
@@ -2940,7 +2940,7 @@ RESPONSE:
ABC-12345
- ccReg-4212509671
+ ccReg-4307228004
@@ -2960,8 +2960,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -2986,7 +2986,7 @@ RESPONSE:
ABC-12345
- ccReg-5610489730
+ ccReg-9967906837
@@ -3001,7 +3001,7 @@ REQUEST:
-
+
ABC-12345
@@ -3019,7 +3019,7 @@ RESPONSE:
ABC-12345
- ccReg-1070267844
+ ccReg-1546452843
@@ -3034,7 +3034,7 @@ REQUEST:
-
+
FIXED:CHECK-1234
check-4321
@@ -3066,7 +3066,7 @@ RESPONSE:
ABC-12345
- ccReg-5105845187
+ ccReg-5794718821
@@ -3081,7 +3081,7 @@ REQUEST:
-
+
FIXED:CHECK-LEGACY
CID:FIXED:CHECK-LEGACY
@@ -3113,7 +3113,7 @@ RESPONSE:
ABC-12345
- ccReg-4091194557
+ ccReg-9107912155
@@ -3128,7 +3128,7 @@ REQUEST:
-
+
ABC-12345
@@ -3146,7 +3146,7 @@ RESPONSE:
ABC-12345
- ccReg-5495110731
+ ccReg-0867319397
@@ -3161,7 +3161,7 @@ REQUEST:
-
+
no-contact
password
@@ -3187,7 +3187,7 @@ RESPONSE:
ABC-12345
- ccReg-7577243430
+ ccReg-1035787772
@@ -3202,7 +3202,7 @@ REQUEST:
-
+
FIXED:INFO-4444
password
@@ -3239,10 +3239,10 @@ RESPONSE:
+372.12345678
- leonor@will.name
+ litzy_kuvalis@pfannerstillhowe.org
fixed registrar
TEST-CREATOR
- 2015-06-09T13:35:06Z
+ 2015-06-16T14:45:37Z
password
@@ -3255,7 +3255,7 @@ RESPONSE:
ABC-12345
- ccReg-3697475700
+ ccReg-8740910444
@@ -3270,7 +3270,7 @@ REQUEST:
-
+
FIXED:CID:FIXED:INFO-5555
password
@@ -3307,10 +3307,10 @@ RESPONSE:
+372.12345678
- leonor@will.name
+ litzy_kuvalis@pfannerstillhowe.org
fixed registrar
TEST-CREATOR
- 2015-06-09T13:35:06Z
+ 2015-06-16T14:45:37Z
password
@@ -3323,7 +3323,7 @@ RESPONSE:
ABC-12345
- ccReg-0748814090
+ ccReg-0768016805
@@ -3338,7 +3338,7 @@ REQUEST:
-
+
FIRST0:INFO-IDENT
password
@@ -3375,10 +3375,10 @@ RESPONSE:
+372.12345678
- leonor@will.name
+ litzy_kuvalis@pfannerstillhowe.org
registrar1
TEST-CREATOR
- 2015-06-09T13:35:06Z
+ 2015-06-16T14:45:37Z
password
@@ -3391,7 +3391,7 @@ RESPONSE:
ABC-12345
- ccReg-9535929548
+ ccReg-1418789936
@@ -3406,8 +3406,8 @@ REQUEST:
-
- FIRST0:SH522141680
+
+ FIRST0:SH168939920
wrong-pw
@@ -3429,11 +3429,11 @@ RESPONSE:
- FIRST0:SH522141680
+ FIRST0:SH168939920
EIS-1
- Glenna Rodriguez0
+ Tiana Cummerata0
Short street 11
Tallinn
@@ -3443,10 +3443,10 @@ RESPONSE:
+372.12345678
- leonor@will.name
+ litzy_kuvalis@pfannerstillhowe.org
registrar1
TEST-CREATOR
- 2015-06-09T13:35:02Z
+ 2015-06-16T14:45:13Z
password
@@ -3459,7 +3459,7 @@ RESPONSE:
ABC-12345
- ccReg-5851120895
+ ccReg-8270641025
@@ -3474,7 +3474,7 @@ REQUEST:
-
+
FIXED:TEST:CUSTOM:CODE
password
@@ -3501,7 +3501,7 @@ RESPONSE:
EIS-32
- Vita Conn15
+ Jarred Reichel15
Short street 11
Tallinn
@@ -3511,10 +3511,10 @@ RESPONSE:
+372.12345678
- leonor@will.name
+ litzy_kuvalis@pfannerstillhowe.org
fixed registrar
TEST-CREATOR
- 2015-06-09T13:35:07Z
+ 2015-06-16T14:45:37Z
password
@@ -3527,7 +3527,7 @@ RESPONSE:
ABC-12345
- ccReg-7127496161
+ ccReg-0424201637
@@ -3549,8 +3549,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -3575,7 +3575,7 @@ RESPONSE:
ABC-12345
- ccReg-7540399431
+ ccReg-6919284154
@@ -3588,8 +3588,8 @@ REQUEST:
-
- FIRST0:SH522141680
+
+ FIRST0:SH168939920
password
@@ -3611,11 +3611,11 @@ RESPONSE:
- FIRST0:SH522141680
+ FIRST0:SH168939920
EIS-1
- Glenna Rodriguez0
+ Tiana Cummerata0
Short street 11
Tallinn
@@ -3625,10 +3625,10 @@ RESPONSE:
+372.12345678
- leonor@will.name
+ litzy_kuvalis@pfannerstillhowe.org
registrar1
TEST-CREATOR
- 2015-06-09T13:35:02Z
+ 2015-06-16T14:45:13Z
password
@@ -3641,7 +3641,7 @@ RESPONSE:
ABC-12345
- ccReg-0525250194
+ ccReg-4155363959
@@ -3661,8 +3661,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -3687,7 +3687,7 @@ RESPONSE:
ABC-12345
- ccReg-7972058559
+ ccReg-9980678480
@@ -3709,8 +3709,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -3735,7 +3735,7 @@ RESPONSE:
ABC-12345
- ccReg-5295218109
+ ccReg-6386920424
@@ -3748,8 +3748,8 @@ REQUEST:
-
- FIRST0:SH522141680
+
+ FIRST0:SH168939920
wrong-pw
@@ -3771,7 +3771,7 @@ RESPONSE:
ABC-12345
- ccReg-2721799743
+ ccReg-8614373807
@@ -3791,8 +3791,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -3817,7 +3817,7 @@ RESPONSE:
ABC-12345
- ccReg-7900677908
+ ccReg-9444940598
@@ -3839,8 +3839,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -3865,7 +3865,7 @@ RESPONSE:
ABC-12345
- ccReg-2025467741
+ ccReg-1099785761
@@ -3878,8 +3878,8 @@ REQUEST:
-
- FIRST0:SH522141680
+
+ FIRST0:SH168939920
@@ -3901,20 +3901,20 @@ RESPONSE:
- FIRST0:SH522141680
+ FIRST0:SH168939920
EIS-1
- Glenna Rodriguez0
+ Tiana Cummerata0
registrar1
TEST-CREATOR
- 2015-06-09T13:35:02Z
+ 2015-06-16T14:45:13Z
ABC-12345
- ccReg-0855652773
+ ccReg-7660283209
@@ -3934,8 +3934,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -3960,7 +3960,7 @@ RESPONSE:
ABC-12345
- ccReg-9987714322
+ ccReg-8143425519
@@ -3980,8 +3980,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -4006,7 +4006,7 @@ RESPONSE:
ABC-12345
- ccReg-6892625773
+ ccReg-2175230306
@@ -4021,8 +4021,8 @@ REQUEST:
-
- example91588315934959266.ee
+
+ example51359824296846476.ee
1
@@ -4078,7 +4078,7 @@ RESPONSE:
ABC-12345
- ccReg-2349612398
+ ccReg-6335804328
@@ -4093,7 +4093,7 @@ REQUEST:
-
+
test.ee
@@ -4122,7 +4122,7 @@ RESPONSE:
ABC-12345
- ccReg-9853411463
+ ccReg-4990944724
@@ -4137,8 +4137,8 @@ REQUEST:
-
- example88587443778107315.ee
+
+ example18858770590752611.ee
1
@@ -4185,14 +4185,14 @@ RESPONSE:
- example88587443778107315.ee
- 2015-06-09T13:35:08Z
- 2016-06-09T00:00:00Z
+ example18858770590752611.ee
+ 2015-06-16T14:45:40Z
+ 2016-06-16T14:45:40Z
ABC-12345
- ccReg-9132828454
+ ccReg-0460679321
@@ -4207,8 +4207,8 @@ REQUEST:
-
- example73660363443468993.ee
+
+ example53637086732201506.ee
1
@@ -4247,14 +4247,14 @@ RESPONSE:
- example73660363443468993.ee
- 2015-06-09T13:35:08Z
- 2016-06-09T00:00:00Z
+ example53637086732201506.ee
+ 2015-06-16T14:45:40Z
+ 2016-06-16T14:45:40Z
ABC-12345
- ccReg-5445240509
+ ccReg-2657489548
@@ -4269,15 +4269,15 @@ REQUEST:
-
- example45967197261666767.ee
+
+ example55255947651220293.ee
1
- ns1.example45967197261666767.ee
+ ns1.example55255947651220293.ee
- ns2.example45967197261666767.ee
+ ns2.example55255947651220293.ee
FIXED:CITIZEN_1234
@@ -4315,7 +4315,7 @@ RESPONSE:
ABC-12345
- ccReg-9776897906
+ ccReg-5446638954
@@ -4330,7 +4330,7 @@ REQUEST:
-
+
äääääääääääääääääääääääääääääääääääääääääääääääääääääääääääääää.ee
1
@@ -4374,11 +4374,11 @@ RESPONSE:
- Domain name is too long (maximum is 63 characters) [name_puny]
+ Domain name is too long (maximum is 63 characters) [puny_label]
ABC-12345
- ccReg-8085685328
+ ccReg-2558205520
@@ -4393,7 +4393,7 @@ REQUEST:
-
+
1162.ee
1
@@ -4444,7 +4444,7 @@ RESPONSE:
ABC-12345
- ccReg-1616314093
+ ccReg-3241448329
@@ -4459,8 +4459,8 @@ REQUEST:
-
- example51218410286428898.ee
+
+ example79107476359960104.ee
1
@@ -4503,7 +4503,7 @@ RESPONSE:
ABC-12345
- ccReg-9595496085
+ ccReg-2841149464
@@ -4518,8 +4518,8 @@ REQUEST:
-
- example81238298722551606.ee
+
+ example89212032300871964.ee
1
FIXED:CITIZEN_1234
FIXED:SH8013
@@ -4559,7 +4559,7 @@ RESPONSE:
ABC-12345
- ccReg-4717587446
+ ccReg-6780943188
@@ -4574,8 +4574,8 @@ REQUEST:
-
- example35661668130917692.ee
+
+ example83430684429956047.ee
1
@@ -4656,7 +4656,7 @@ RESPONSE:
ABC-12345
- ccReg-5395336747
+ ccReg-2034075719
@@ -4671,8 +4671,8 @@ REQUEST:
-
- example66681176556204482.ee
+
+ example48749833529852102.ee
1
@@ -4726,7 +4726,7 @@ RESPONSE:
ABC-12345
- ccReg-8130865988
+ ccReg-8625622303
@@ -4741,8 +4741,8 @@ REQUEST:
-
- example51339946623003673.ee
+
+ example62530771922904064.ee
1
ns1.example.ee
@@ -4783,7 +4783,7 @@ RESPONSE:
ABC-12345
- ccReg-9672627361
+ ccReg-9223003685
@@ -4798,8 +4798,8 @@ REQUEST:
-
- example91076929013183230.ee
+
+ example57855176106155885.ee
1
@@ -4841,14 +4841,14 @@ RESPONSE:
- example91076929013183230.ee
- 2015-06-09T13:35:09Z
- 2016-06-09T00:00:00Z
+ example57855176106155885.ee
+ 2015-06-16T14:45:49Z
+ 2016-06-16T14:45:49Z
ABC-12345
- ccReg-4923492279
+ ccReg-3987518347
@@ -4863,8 +4863,8 @@ REQUEST:
-
- example18617653120057707.ee
+
+ example36117415864684846.ee
1
@@ -4915,7 +4915,7 @@ RESPONSE:
ABC-12345
- ccReg-5409280454
+ ccReg-8191386800
@@ -4930,8 +4930,8 @@ REQUEST:
-
- example68800472043009362.ee
+
+ example47616294102238590.ee
1
@@ -4978,14 +4978,14 @@ RESPONSE:
- example68800472043009362.ee
- 2015-06-09T13:35:09Z
- 2016-06-09T00:00:00Z
+ example47616294102238590.ee
+ 2015-06-16T14:45:50Z
+ 2016-06-16T14:45:50Z
ABC-12345
- ccReg-1736181196
+ ccReg-9254659589
@@ -5000,8 +5000,8 @@ REQUEST:
-
- example87051948037703744.ee
+
+ example59902259057282424.ee
367
@@ -5051,7 +5051,7 @@ RESPONSE:
ABC-12345
- ccReg-9590604530
+ ccReg-5831577897
@@ -5066,8 +5066,8 @@ REQUEST:
-
- example36864890279387815.ee
+
+ example35799150293426379.ee
1
@@ -5126,14 +5126,14 @@ RESPONSE:
- example36864890279387815.ee
- 2015-06-09T13:35:09Z
- 2016-06-09T00:00:00Z
+ example35799150293426379.ee
+ 2015-06-16T14:45:52Z
+ 2016-06-16T14:45:52Z
ABC-12345
- ccReg-1288144705
+ ccReg-6805098026
@@ -5148,8 +5148,8 @@ REQUEST:
-
- example39071265493646453.ee
+
+ example77419485730565318.ee
1
@@ -5244,7 +5244,7 @@ RESPONSE:
ABC-12345
- ccReg-9864309294
+ ccReg-5499891820
@@ -5259,8 +5259,8 @@ REQUEST:
-
- example18491499730582362.ee
+
+ example62893290773940803.ee
1
@@ -5316,7 +5316,7 @@ RESPONSE:
ABC-12345
- ccReg-2192007981
+ ccReg-1606849858
@@ -5331,8 +5331,8 @@ REQUEST:
-
- example66559588729638958.ee
+
+ example89542634347493363.ee
1
@@ -5385,7 +5385,7 @@ RESPONSE:
ABC-12345
- ccReg-4847742035
+ ccReg-0277146354
@@ -5400,8 +5400,8 @@ REQUEST:
-
- example22898155503017574.ee
+
+ example5611622315382730.ee
1
@@ -5448,14 +5448,14 @@ RESPONSE:
- example22898155503017574.ee
- 2015-06-09T13:35:10Z
- 2016-06-09T00:00:00Z
+ example5611622315382730.ee
+ 2015-06-16T14:45:55Z
+ 2016-06-16T14:45:55Z
ABC-12345
- ccReg-4159358954
+ ccReg-2786067157
@@ -5470,8 +5470,8 @@ REQUEST:
-
- example93371801004091502.ee
+
+ example28205147543381731.ee
1
@@ -5524,14 +5524,14 @@ RESPONSE:
- example93371801004091502.ee
- 2015-06-09T13:35:10Z
- 2016-06-09T00:00:00Z
+ example28205147543381731.ee
+ 2015-06-16T14:45:55Z
+ 2016-06-16T14:45:55Z
ABC-12345
- ccReg-6695099772
+ ccReg-3180633288
@@ -5546,8 +5546,8 @@ REQUEST:
-
- example12735328018526926.ee
+
+ example81689211125437444.ee
1
@@ -5600,7 +5600,7 @@ RESPONSE:
ABC-12345
- ccReg-8740184960
+ ccReg-0596552578
@@ -5615,8 +5615,8 @@ REQUEST:
-
- example37484341016948997.ee
+
+ example16808329279089073.ee
1
@@ -5663,7 +5663,7 @@ RESPONSE:
ABC-12345
- ccReg-0475649404
+ ccReg-3845103907
@@ -5678,8 +5678,8 @@ REQUEST:
-
- example65526473926412582.ee
+
+ example57773978303296424.ee
1
@@ -5732,7 +5732,7 @@ RESPONSE:
ABC-12345
- ccReg-7100299923
+ ccReg-0236248171
@@ -5747,8 +5747,8 @@ REQUEST:
-
- example78026133095084710.ee
+
+ example82556663094409029.ee
1
@@ -5793,14 +5793,14 @@ RESPONSE:
- example78026133095084710.ee
- 2015-06-09T13:35:11Z
- 2016-06-09T00:00:00Z
+ example82556663094409029.ee
+ 2015-06-16T14:45:59Z
+ 2016-06-16T14:45:59Z
ABC-12345
- ccReg-2454407279
+ ccReg-7792326836
@@ -5815,8 +5815,8 @@ REQUEST:
-
- example41930352101887884.ee
+
+ example61224688298392772.ee
1
@@ -5861,7 +5861,7 @@ RESPONSE:
ABC-12345
- ccReg-9294506416
+ ccReg-4835312018
@@ -5876,8 +5876,8 @@ REQUEST:
-
- example85983523795002436.ee
+
+ example2482715006886939.ee
1
@@ -5925,7 +5925,7 @@ RESPONSE:
ABC-12345
- ccReg-2050006341
+ ccReg-0994405489
@@ -5947,8 +5947,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -5973,7 +5973,7 @@ RESPONSE:
ABC-12345
- ccReg-3630887004
+ ccReg-9434443874
@@ -5986,10 +5986,10 @@ REQUEST:
-
+
domain1.ee
- 7c95ab44ddb7b8fbd24ddd824a51e0c3
+ cade780e81c248d9e6363fd303b523c3
@@ -6017,15 +6017,15 @@ RESPONSE:
domain1.ee
serverApproved
REGDOMAIN2
- 2015-06-09T13:35:11Z
+ 2015-06-16T14:46:02Z
REGDOMAIN1
- 2015-06-09T13:35:11Z
- 2016-06-09T00:00:00Z
+ 2015-06-16T14:46:02Z
+ 2016-06-16T14:46:02Z
ABC-12345
- ccReg-4845884753
+ ccReg-6107518806
@@ -6045,8 +6045,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -6071,7 +6071,7 @@ RESPONSE:
ABC-12345
- ccReg-6027661598
+ ccReg-9351177423
@@ -6099,23 +6099,23 @@ RESPONSE:
Command completed successfully; ack to dequeue
- 2015-06-09T13:35:11Z
- Domain transfer was approved, associated contacts are: ["REGDOMAIN2:12678077", "REGDOMAIN2:BC591945"]
+ 2015-06-16T14:46:02Z
+ Domain transfer was approved, associated contacts are: ["REGDOMAIN2:2E38C324", "REGDOMAIN2:30A5A03D"]
domain1.ee
serverApproved
REGDOMAIN2
- 2015-06-09T13:35:11Z
+ 2015-06-16T14:46:02Z
REGDOMAIN1
- 2015-06-09T13:35:11Z
- 2016-06-09T00:00:00Z
+ 2015-06-16T14:46:02Z
+ 2016-06-16T14:46:02Z
ABC-12345
- ccReg-6267575862
+ ccReg-5221788468
@@ -6128,10 +6128,10 @@ REQUEST:
-
+
domain1.ee
- aa12394ccd4a052a6a4c18662d13741f
+ e3b00963e2849df1654840a4805b8390
@@ -6159,15 +6159,15 @@ RESPONSE:
domain1.ee
pending
REGDOMAIN1
- 2015-06-09T13:35:12Z
+ 2015-06-16T14:46:02Z
REGDOMAIN2
- 2015-06-09T14:35:12Z
- 2016-06-09T00:00:00Z
+ 2015-06-16T15:46:02Z
+ 2016-06-16T14:46:02Z
ABC-12345
- ccReg-0051747515
+ ccReg-5943956125
@@ -6180,10 +6180,10 @@ REQUEST:
-
+
domain1.ee
- aa12394ccd4a052a6a4c18662d13741f
+ e3b00963e2849df1654840a4805b8390
@@ -6211,15 +6211,15 @@ RESPONSE:
domain1.ee
pending
REGDOMAIN1
- 2015-06-09T13:35:12Z
+ 2015-06-16T14:46:02Z
REGDOMAIN2
- 2015-06-09T14:35:12Z
- 2016-06-09T00:00:00Z
+ 2015-06-16T15:46:02Z
+ 2016-06-16T14:46:02Z
ABC-12345
- ccReg-5936426224
+ ccReg-0973430912
@@ -6239,8 +6239,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -6265,7 +6265,7 @@ RESPONSE:
ABC-12345
- ccReg-0332435010
+ ccReg-7808499308
@@ -6293,7 +6293,7 @@ RESPONSE:
Command completed successfully; ack to dequeue
- 2015-06-09T13:35:12Z
+ 2015-06-16T14:46:02Z
Transfer requested.
@@ -6301,15 +6301,15 @@ RESPONSE:
domain1.ee
pending
REGDOMAIN1
- 2015-06-09T13:35:12Z
+ 2015-06-16T14:46:02Z
REGDOMAIN2
- 2015-06-09T14:35:12Z
- 2016-06-09T00:00:00Z
+ 2015-06-16T15:46:02Z
+ 2016-06-16T14:46:02Z
ABC-12345
- ccReg-9686108853
+ ccReg-7198000795
@@ -6329,8 +6329,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -6355,7 +6355,7 @@ RESPONSE:
ABC-12345
- ccReg-1971378780
+ ccReg-8981002307
@@ -6375,8 +6375,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -6401,7 +6401,7 @@ RESPONSE:
ABC-12345
- ccReg-9221863536
+ ccReg-0623446914
@@ -6431,7 +6431,7 @@ RESPONSE:
ABC-12345
- ccReg-9413058225
+ ccReg-3648943159
@@ -6451,8 +6451,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -6477,7 +6477,7 @@ RESPONSE:
ABC-12345
- ccReg-7644358797
+ ccReg-5814325246
@@ -6499,8 +6499,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -6525,7 +6525,7 @@ RESPONSE:
ABC-12345
- ccReg-2450097587
+ ccReg-6044514213
@@ -6538,10 +6538,10 @@ REQUEST:
-
+
domain2.ee
- 49119fd563d3a8cf29173ec06c8c0f3e
+ 024bb6c14f1f351ff88bd3bdb24ec907
@@ -6569,15 +6569,15 @@ RESPONSE:
domain2.ee
pending
REGDOMAIN2
- 2015-06-09T13:35:12Z
+ 2015-06-16T14:46:03Z
REGDOMAIN1
- 2015-06-09T14:35:12Z
- 2016-06-09T00:00:00Z
+ 2015-06-16T15:46:03Z
+ 2016-06-16T14:46:03Z
ABC-12345
- ccReg-9192420144
+ ccReg-6223906445
@@ -6597,8 +6597,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -6623,7 +6623,7 @@ RESPONSE:
ABC-12345
- ccReg-7113638053
+ ccReg-8746149187
@@ -6643,8 +6643,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -6669,7 +6669,7 @@ RESPONSE:
ABC-12345
- ccReg-4435545954
+ ccReg-7756736893
@@ -6682,10 +6682,10 @@ REQUEST:
-
+
domain2.ee
- 49119fd563d3a8cf29173ec06c8c0f3e
+ 024bb6c14f1f351ff88bd3bdb24ec907
@@ -6713,15 +6713,15 @@ RESPONSE:
domain2.ee
pending
REGDOMAIN2
- 2015-06-09T13:35:12Z
+ 2015-06-16T14:46:03Z
REGDOMAIN1
- 2015-06-09T14:35:12Z
- 2016-06-09T00:00:00Z
+ 2015-06-16T15:46:03Z
+ 2016-06-16T14:46:03Z
ABC-12345
- ccReg-5350438744
+ ccReg-8545188045
@@ -6741,8 +6741,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -6767,7 +6767,7 @@ RESPONSE:
ABC-12345
- ccReg-1768049326
+ ccReg-2241555669
@@ -6789,8 +6789,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -6815,7 +6815,7 @@ RESPONSE:
ABC-12345
- ccReg-8477134221
+ ccReg-8460295410
@@ -6828,10 +6828,10 @@ REQUEST:
-
+
domain3.ee
- 51fdb054ca81b48c784703b3007fb902
+ 836af4fd51fcd5712120b17fe2fa2bb3
@@ -6854,15 +6854,15 @@ RESPONSE:
domain3.ee
serverApproved
REGDOMAIN2
- 2015-06-09T13:35:13Z
+ 2015-06-16T14:46:03Z
REGDOMAIN1
- 2015-06-09T13:35:13Z
- 2016-06-09T00:00:00Z
+ 2015-06-16T14:46:03Z
+ 2016-06-16T14:46:03Z
ABC-12345
- ccReg-4272425018
+ ccReg-8076619398
@@ -6882,8 +6882,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -6908,7 +6908,7 @@ RESPONSE:
ABC-12345
- ccReg-3422507656
+ ccReg-8851768239
@@ -6930,8 +6930,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -6956,7 +6956,7 @@ RESPONSE:
ABC-12345
- ccReg-2514623987
+ ccReg-9101345679
@@ -6969,10 +6969,10 @@ REQUEST:
-
+
domain4.ee
- 32caa3d35a7a4e64050518940b4e85d2
+ c4191d5991d76be69de4c89c7d6332c6
@@ -6995,15 +6995,15 @@ RESPONSE:
domain4.ee
serverApproved
REGDOMAIN2
- 2015-06-09T13:35:14Z
+ 2015-06-16T14:46:04Z
REGDOMAIN1
- 2015-06-09T13:35:14Z
- 2016-06-09T00:00:00Z
+ 2015-06-16T14:46:04Z
+ 2016-06-16T14:46:04Z
ABC-12345
- ccReg-7921466540
+ ccReg-1271904293
@@ -7023,8 +7023,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -7049,7 +7049,7 @@ RESPONSE:
ABC-12345
- ccReg-1992215416
+ ccReg-3137087761
@@ -7071,8 +7071,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -7097,7 +7097,7 @@ RESPONSE:
ABC-12345
- ccReg-8791359182
+ ccReg-7273165678
@@ -7110,10 +7110,10 @@ REQUEST:
-
+
domain5.ee
- 9b6d631ee41487a0801fc97130c17e3f
+ cb2a7321b5cbbbb3dde7a6810c9ed13f
@@ -7136,15 +7136,15 @@ RESPONSE:
domain5.ee
serverApproved
REGDOMAIN2
- 2015-06-09T13:35:14Z
+ 2015-06-16T14:46:04Z
REGDOMAIN1
- 2015-06-09T13:35:14Z
- 2016-06-09T00:00:00Z
+ 2015-06-16T14:46:04Z
+ 2016-06-16T14:46:04Z
ABC-12345
- ccReg-1755420419
+ ccReg-6138246266
@@ -7164,8 +7164,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -7190,7 +7190,7 @@ RESPONSE:
ABC-12345
- ccReg-1391070303
+ ccReg-0594521940
@@ -7212,8 +7212,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -7238,7 +7238,7 @@ RESPONSE:
ABC-12345
- ccReg-9668986749
+ ccReg-3903547157
@@ -7251,10 +7251,10 @@ REQUEST:
-
+
domain8.ee
- 8dec605a63ba1bc7a41cf43bd3c5b939
+ 8ad5a1e3f0f5cfd3ac927eacd377d748
@@ -7277,15 +7277,15 @@ RESPONSE:
domain8.ee
serverApproved
REGDOMAIN2
- 2015-06-09T13:35:15Z
+ 2015-06-16T14:46:05Z
REGDOMAIN1
- 2015-06-09T13:35:15Z
- 2016-06-09T00:00:00Z
+ 2015-06-16T14:46:05Z
+ 2016-06-16T14:46:05Z
ABC-12345
- ccReg-6752080335
+ ccReg-6422274553
@@ -7305,8 +7305,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -7331,7 +7331,7 @@ RESPONSE:
ABC-12345
- ccReg-4961459242
+ ccReg-8513849853
@@ -7353,8 +7353,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -7379,7 +7379,7 @@ RESPONSE:
ABC-12345
- ccReg-1514278604
+ ccReg-0495664550
@@ -7392,10 +7392,10 @@ REQUEST:
-
+
domain9.ee
- 48229ccbb351974763a0084444da2d69
+ ae0e9f8ad42aa43f5421e7825576d49b
@@ -7418,15 +7418,15 @@ RESPONSE:
domain9.ee
serverApproved
REGDOMAIN2
- 2015-06-09T13:35:16Z
+ 2015-06-16T14:46:05Z
REGDOMAIN1
- 2015-06-09T13:35:16Z
- 2016-06-09T00:00:00Z
+ 2015-06-16T14:46:05Z
+ 2016-06-16T14:46:05Z
ABC-12345
- ccReg-5794589966
+ ccReg-8327056615
@@ -7446,8 +7446,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -7472,7 +7472,7 @@ RESPONSE:
ABC-12345
- ccReg-7229701658
+ ccReg-4617980059
@@ -7494,8 +7494,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -7520,7 +7520,7 @@ RESPONSE:
ABC-12345
- ccReg-0486061738
+ ccReg-2829504560
@@ -7533,10 +7533,10 @@ REQUEST:
-
+
domain11.ee
- a45fcd5f7412dc557c0f6d560869e2c6
+ 15fd8747240b3b76d7d629fdfb9933c2
@@ -7559,15 +7559,15 @@ RESPONSE:
domain11.ee
serverApproved
REGDOMAIN2
- 2015-06-09T13:35:17Z
+ 2015-06-16T14:46:06Z
REGDOMAIN1
- 2015-06-09T13:35:17Z
- 2016-06-09T00:00:00Z
+ 2015-06-16T14:46:06Z
+ 2016-06-16T14:46:06Z
ABC-12345
- ccReg-5958206148
+ ccReg-4652082139
@@ -7587,8 +7587,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -7613,7 +7613,7 @@ RESPONSE:
ABC-12345
- ccReg-7884589827
+ ccReg-7682673588
@@ -7635,8 +7635,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -7661,7 +7661,7 @@ RESPONSE:
ABC-12345
- ccReg-7058632457
+ ccReg-2956836704
@@ -7674,10 +7674,10 @@ REQUEST:
-
+
domain14.ee
- 27888ec6ac2bb01ec2d89c2eb0cab425
+ 99528c913bd395947f46b320c600851e
@@ -7700,15 +7700,15 @@ RESPONSE:
domain14.ee
serverApproved
REGDOMAIN2
- 2015-06-09T13:35:17Z
+ 2015-06-16T14:46:07Z
REGDOMAIN1
- 2015-06-09T13:35:17Z
- 2016-06-09T00:00:00Z
+ 2015-06-16T14:46:07Z
+ 2016-06-16T14:46:06Z
ABC-12345
- ccReg-0771985165
+ ccReg-2561775032
@@ -7728,8 +7728,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -7754,7 +7754,7 @@ RESPONSE:
ABC-12345
- ccReg-0861400727
+ ccReg-8704236801
@@ -7776,8 +7776,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -7802,7 +7802,7 @@ RESPONSE:
ABC-12345
- ccReg-9468432300
+ ccReg-5989893103
@@ -7815,10 +7815,10 @@ REQUEST:
-
+
domain15.ee
- 492032b2f43296908f801363ed351354
+ ced325e25352a6d3ae454729c5a5f133
@@ -7841,15 +7841,15 @@ RESPONSE:
domain15.ee
serverApproved
REGDOMAIN2
- 2015-06-09T13:35:18Z
+ 2015-06-16T14:46:07Z
REGDOMAIN1
- 2015-06-09T13:35:18Z
- 2016-06-09T00:00:00Z
+ 2015-06-16T14:46:07Z
+ 2016-06-16T14:46:07Z
ABC-12345
- ccReg-5495575753
+ ccReg-3303397389
@@ -7869,8 +7869,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -7895,7 +7895,7 @@ RESPONSE:
ABC-12345
- ccReg-3158070116
+ ccReg-3498869771
@@ -7917,8 +7917,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -7943,7 +7943,7 @@ RESPONSE:
ABC-12345
- ccReg-2506492481
+ ccReg-3004185742
@@ -7956,7 +7956,7 @@ REQUEST:
-
+
domain16.ee
98oiewslkfkd
@@ -7979,7 +7979,7 @@ RESPONSE:
ABC-12345
- ccReg-6601704030
+ ccReg-0738799544
@@ -7999,8 +7999,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -8025,7 +8025,7 @@ RESPONSE:
ABC-12345
- ccReg-0595382076
+ ccReg-9100482752
@@ -8040,10 +8040,10 @@ REQUEST:
-
+
domain17.ee
- 5b7df3cd88f3d95c94f0708db2e4e561
+ d5649c7d29cea682a55405451a7b3e9f
@@ -8071,15 +8071,15 @@ RESPONSE:
domain17.ee
clientApproved
REGDOMAIN2
- 2015-06-09T13:35:19Z
+ 2015-06-16T14:46:08Z
REGDOMAIN1
- 2015-06-09T13:35:19Z
- 2016-06-09T00:00:00Z
+ 2015-06-16T14:46:08Z
+ 2016-06-16T14:46:08Z
ABC-12345
- ccReg-3523421868
+ ccReg-5630988802
@@ -8101,8 +8101,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -8127,7 +8127,7 @@ RESPONSE:
ABC-12345
- ccReg-3805662291
+ ccReg-1163667761
@@ -8140,10 +8140,10 @@ REQUEST:
-
+
domain18.ee
- 4c64854d5e6f4eabf96e9e8c99f9bc8e
+ fe3d5081d9fa1723fec7ca2d3d197651
@@ -8168,7 +8168,7 @@ RESPONSE:
ABC-12345
- ccReg-0487201599
+ ccReg-6697616444
@@ -8188,8 +8188,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -8214,7 +8214,7 @@ RESPONSE:
ABC-12345
- ccReg-1828323029
+ ccReg-2557365838
@@ -8227,10 +8227,10 @@ REQUEST:
-
+
domain18.ee
- 4c64854d5e6f4eabf96e9e8c99f9bc8e
+ fe3d5081d9fa1723fec7ca2d3d197651
@@ -8258,15 +8258,15 @@ RESPONSE:
domain18.ee
clientRejected
REGDOMAIN2
- 2015-06-09T13:35:19Z
+ 2015-06-16T14:46:08Z
REGDOMAIN1
- 2015-06-09T13:35:19Z
- 2016-06-09T00:00:00Z
+ 2015-06-16T14:46:08Z
+ 2016-06-16T14:46:08Z
ABC-12345
- ccReg-7304123801
+ ccReg-9330091112
@@ -8288,8 +8288,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -8314,7 +8314,7 @@ RESPONSE:
ABC-12345
- ccReg-5338732279
+ ccReg-4172750491
@@ -8327,10 +8327,10 @@ REQUEST:
-
+
domain19.ee
- d5fa140fce838bfef2aec37dfcb4fe96
+ 0220447ad7d651fac0dace38a5bcb106
@@ -8355,7 +8355,7 @@ RESPONSE:
ABC-12345
- ccReg-9704820670
+ ccReg-8617259540
@@ -8375,8 +8375,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -8401,7 +8401,7 @@ RESPONSE:
ABC-12345
- ccReg-3585177632
+ ccReg-7168292306
@@ -8416,7 +8416,7 @@ REQUEST:
-
+
domain20.ee
test
@@ -8444,7 +8444,7 @@ RESPONSE:
ABC-12345
- ccReg-5275624295
+ ccReg-5705380145
@@ -8459,10 +8459,10 @@ REQUEST:
-
+
domain21.ee
- 9690e0869e4ce68710789f3e134cf1fd
+ e736e5af0a5e47d84be0a8211eb1e97a
@@ -8487,7 +8487,7 @@ RESPONSE:
ABC-12345
- ccReg-6411780105
+ ccReg-0353546410
@@ -8502,8 +8502,8 @@ REQUEST:
-
- example7095398536058632.ee
+
+ example98439991603054778.ee
98oiewslkfkd
@@ -8525,7 +8525,7 @@ RESPONSE:
ABC-12345
- ccReg-2738644675
+ ccReg-6980066531
@@ -8547,8 +8547,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -8573,7 +8573,7 @@ RESPONSE:
ABC-12345
- ccReg-1917537331
+ ccReg-6843014672
@@ -8586,10 +8586,10 @@ REQUEST:
-
+
domain22.ee
- 018fad6cc883c4574c2f9c105a8f55f2
+ 008c062889e1dc19127c0636278263f4
@@ -8617,15 +8617,15 @@ RESPONSE:
domain22.ee
serverApproved
REGDOMAIN2
- 2015-06-09T13:35:20Z
+ 2015-06-16T14:46:13Z
REGDOMAIN1
- 2015-06-09T13:35:20Z
- 2016-06-09T00:00:00Z
+ 2015-06-16T14:46:13Z
+ 2016-06-16T14:46:13Z
ABC-12345
- ccReg-2485066259
+ ccReg-8542599190
@@ -8638,10 +8638,10 @@ REQUEST:
-
+
domain22.ee
- 018fad6cc883c4574c2f9c105a8f55f2
+ 008c062889e1dc19127c0636278263f4
@@ -8666,7 +8666,7 @@ RESPONSE:
ABC-12345
- ccReg-4023477401
+ ccReg-0772545533
@@ -8686,8 +8686,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -8712,7 +8712,7 @@ RESPONSE:
ABC-12345
- ccReg-0702953091
+ ccReg-0922916710
@@ -8727,10 +8727,10 @@ REQUEST:
-
+
domain23.ee
- 113b8ca05f352d6415864ae74b179e27
+ 8b267970556e6d4f52ac0e8cd5ec0533
@@ -8755,7 +8755,7 @@ RESPONSE:
ABC-12345
- ccReg-8973907256
+ ccReg-0757072773
@@ -8770,7 +8770,7 @@ REQUEST:
-
+
domain24.ee
FIXED:CITIZEN_1234
@@ -8799,7 +8799,7 @@ RESPONSE:
ABC-12345
- ccReg-0699779367
+ ccReg-1524969701
@@ -8814,7 +8814,7 @@ REQUEST:
-
+
domain25.ee
FIXED:CITIZEN_1234
@@ -8843,7 +8843,7 @@ RESPONSE:
ABC-12345
- ccReg-9569141673
+ ccReg-7160661951
@@ -8858,18 +8858,18 @@ REQUEST:
-
+
domain26.ee
- ns.gerlach80.ee
+ ns.morissette80.ee
- ns.gislason79.ee
+ ns.turnerwuckert79.ee
- ns.raudicki78.ee
+ ns.shanahan78.ee
@@ -8900,7 +8900,7 @@ RESPONSE:
ABC-12345
- ccReg-7428686694
+ ccReg-5838624706
@@ -8915,7 +8915,7 @@ REQUEST:
-
+
domain27.ee
FIXED:CITIZEN_1234
@@ -8944,7 +8944,7 @@ RESPONSE:
ABC-12345
- ccReg-5062997610
+ ccReg-5253637768
@@ -8959,7 +8959,7 @@ REQUEST:
-
+
domain28.ee
FIXED:CITIZEN_1234
@@ -8988,7 +8988,7 @@ RESPONSE:
ABC-12345
- ccReg-4183270102
+ ccReg-6353980879
@@ -9003,7 +9003,7 @@ REQUEST:
-
+
domain29.ee
@@ -9057,7 +9057,7 @@ RESPONSE:
ABC-12345
- ccReg-0908697631
+ ccReg-9385991613
@@ -9070,7 +9070,7 @@ REQUEST:
-
+
domain29.ee
@@ -9121,7 +9121,7 @@ RESPONSE:
ABC-12345
- ccReg-3645000434
+ ccReg-5743092443
@@ -9134,7 +9134,7 @@ REQUEST:
-
+
domain29.ee
@@ -9198,18 +9198,6 @@ RESPONSE:
FIXED:MAK21
-
- Status already exists on this domain [value]
-
- clientUpdateProhibited
-
-
-
- Status already exists on this domain [value]
-
- clientHold
-
-
Public key already exists [public_key]
@@ -9224,7 +9212,7 @@ RESPONSE:
ABC-12345
- ccReg-0427900366
+ ccReg-8404006394
@@ -9239,7 +9227,7 @@ REQUEST:
-
+
domain30.ee
@@ -9299,7 +9287,7 @@ RESPONSE:
ABC-12345
- ccReg-6405862159
+ ccReg-4710508132
@@ -9312,7 +9300,7 @@ REQUEST:
-
+
domain30.ee
@@ -9369,7 +9357,7 @@ RESPONSE:
ABC-12345
- ccReg-1483674788
+ ccReg-0418760365
@@ -9384,7 +9372,7 @@ REQUEST:
-
+
domain31.ee
Payment overdue.
@@ -9408,7 +9396,7 @@ RESPONSE:
ABC-12345
- ccReg-2790531169
+ ccReg-6393659962
@@ -9423,7 +9411,7 @@ REQUEST:
-
+
domain32.ee
@@ -9474,7 +9462,7 @@ RESPONSE:
ABC-12345
- ccReg-6128830215
+ ccReg-5765767170
@@ -9487,7 +9475,7 @@ REQUEST:
-
+
domain32.ee
@@ -9528,7 +9516,7 @@ RESPONSE:
ABC-12345
- ccReg-6041954324
+ ccReg-7916696039
@@ -9541,7 +9529,7 @@ REQUEST:
-
+
domain32.ee
@@ -9589,21 +9577,21 @@ RESPONSE:
FIXED:CITIZEN_1234
-
- Status was not found
-
- clientHold
-
-
DS was not found
700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f
+
+ Status was not found
+
+ clientHold
+
+
ABC-12345
- ccReg-2902818089
+ ccReg-6312761543
@@ -9618,7 +9606,7 @@ REQUEST:
-
+
domain33.ee
@@ -9644,7 +9632,7 @@ RESPONSE:
ABC-12345
- ccReg-9736235378
+ ccReg-4059845175
@@ -9659,15 +9647,15 @@ REQUEST:
-
+
domain34.ee
- ns.pfannerstill99.ee
+ ns.paucekcremin99.ee
- FIXED:SH3939408879
+ FIXED:SH2421352279
@@ -9687,7 +9675,7 @@ RESPONSE:
ABC-12345
- ccReg-4517931115
+ ccReg-6215676067
@@ -9700,15 +9688,15 @@ REQUEST:
-
+
domain34.ee
- ns.pfannerstill99.ee
+ ns.paucekcremin99.ee
- FIXED:SH3939408879
+ FIXED:SH2421352279
@@ -9726,18 +9714,18 @@ RESPONSE:
Nameserver already exists on this domain [hostname]
- ns.pfannerstill99.ee
+ ns.paucekcremin99.ee
Contact already exists on this domain [contact_code_cache]
- FIXED:SH3939408879
+ FIXED:SH2421352279
ABC-12345
- ccReg-2704659553
+ ccReg-9116884956
@@ -9752,7 +9740,7 @@ REQUEST:
-
+
domain35.ee
FIXED:CITIZEN_1234
@@ -9775,7 +9763,7 @@ RESPONSE:
ABC-12345
- ccReg-2696599434
+ ccReg-7918261747
@@ -9790,7 +9778,7 @@ REQUEST:
-
+
domain36.ee
@@ -9816,7 +9804,7 @@ RESPONSE:
ABC-12345
- ccReg-7460834607
+ ccReg-4823438244
@@ -9831,9 +9819,9 @@ REQUEST:
-
+
domain37.ee
- 2015-06-19
+ 2015-06-26
1
@@ -9854,12 +9842,12 @@ RESPONSE:
domain37.ee
- 2016-06-19T00:00:00Z
+ 2016-06-26T00:00:00Z
ABC-12345
- ccReg-8242836147
+ ccReg-6519525965
@@ -9874,7 +9862,7 @@ REQUEST:
-
+
domain38.ee
2200-08-07
1
@@ -9902,7 +9890,7 @@ RESPONSE:
ABC-12345
- ccReg-3072263830
+ ccReg-9192582359
@@ -9917,9 +9905,9 @@ REQUEST:
-
+
domain39.ee
- 2015-06-19
+ 2015-06-26
4
@@ -9942,7 +9930,7 @@ RESPONSE:
ABC-12345
- ccReg-4885665520
+ ccReg-9034050627
@@ -9957,9 +9945,9 @@ REQUEST:
-
+
domain40.ee
- 2015-09-08
+ 2015-09-14
1
@@ -9979,7 +9967,7 @@ RESPONSE:
ABC-12345
- ccReg-2454866480
+ ccReg-0329970059
@@ -9992,9 +9980,9 @@ REQUEST:
-
+
domain40.ee
- 2015-09-07
+ 2015-09-13
1
@@ -10015,12 +10003,12 @@ RESPONSE:
domain40.ee
- 2016-09-07T00:00:00Z
+ 2016-09-13T00:00:00Z
ABC-12345
- ccReg-6806426406
+ ccReg-6696413266
@@ -10035,9 +10023,9 @@ REQUEST:
-
+
domain41.ee
- 2020-06-09
+ 2020-06-16
1
@@ -10058,12 +10046,92 @@ RESPONSE:
domain41.ee
- 2021-06-09T00:00:00Z
+ 2021-06-16T00:00:00Z
ABC-12345
- ccReg-1945369881
+ ccReg-1505326476
+
+
+
+```
+
+### EPP Domain with valid domain does not renew a domain if it is a delete candidate
+
+REQUEST:
+
+```xml
+
+
+
+
+
+ domain42.ee
+ 2015-06-26
+ 1
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Object is not eligible for renewal
+
+
+ ABC-12345
+ ccReg-4127044027
+
+
+
+```
+
+### EPP Domain with valid domain should renew a expired domain
+
+REQUEST:
+
+```xml
+
+
+
+
+
+ domain43.ee
+ 2015-04-27
+ 1
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+
+ domain43.ee
+ 2016-04-27T14:46:35Z
+
+
+
+ ABC-12345
+ ccReg-9291103741
@@ -10085,8 +10153,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -10111,7 +10179,7 @@ RESPONSE:
ABC-12345
- ccReg-6743332594
+ ccReg-3538502070
@@ -10124,9 +10192,9 @@ REQUEST:
-
- domain42.ee
- 2016-06-09
+
+ domain44.ee
+ 2016-06-16
1
@@ -10146,7 +10214,7 @@ RESPONSE:
ABC-12345
- ccReg-4602142841
+ ccReg-5006977619
@@ -10166,8 +10234,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -10192,7 +10260,7 @@ RESPONSE:
ABC-12345
- ccReg-6797035397
+ ccReg-3666394551
@@ -10207,520 +10275,7 @@ REQUEST:
-
- domain43.ee
-
- 2fooBAR
-
-
-
-
-
-```
-
-RESPONSE:
-
-```xml
-
-
-
-
- Command completed successfully
-
-
-
- domain43.ee
- EIS-51
- Payment overdue.
- FIXED:REGISTRANT1981102141
- FIXED:SH48717399100
- FIXED:SH5539715299
-
-
- ns.altenwerthmoen129.ee
- 192.168.1.1
-
-
- ns.feest130.ee
- 192.168.1.1
-
-
- ns.wisozk131.ee
- 192.168.1.1
-
-
- ns1.example.com
- 192.168.1.1
- 1080:0:0:0:8:800:200C:417A
-
-
- registrar1
- 2015-06-09T13:35:26Z
- 2015-06-09T13:35:26Z
- 2016-06-09T00:00:00Z
-
- 84918f4ccd2a17f3d6629664d1332bfb
-
-
-
-
-
-
- 123
- 3
- 1
- 0D85A305D22FCB355BBE29AE9809363D697B64782B9CC73AE349350F8C2AE4BB
-
- 257
- 3
- 3
- AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8
-
-
-
- 123
- 3
- 1
- 0D85A305D22FCB355BBE29AE9809363D697B64782B9CC73AE349350F8C2AE4BB
-
- 0
- 3
- 5
- 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f
-
-
-
-
-
- ccReg-2359454877
-
-
-
-```
-
-REQUEST:
-
-```xml
-
-
-
-
-
- domain43.ee
-
- 2fooBAR
-
-
-
-
-
-```
-
-RESPONSE:
-
-```xml
-
-
-
-
- Command completed successfully
-
-
-
- domain43.ee
- EIS-51
- Payment overdue.
- FIXED:REGISTRANT1981102141
- FIXED:SH48717399100
- FIXED:SH5539715299
-
-
- ns.altenwerthmoen129.ee
- 192.168.1.1
-
-
- ns.feest130.ee
- 192.168.1.1
-
-
- ns.wisozk131.ee
- 192.168.1.1
-
-
- ns1.example.com
- 192.168.1.1
- 1080:0:0:0:8:800:200C:417A
-
-
- registrar1
- 2015-06-09T13:35:26Z
- 2015-06-09T13:35:26Z
- 2016-06-09T00:00:00Z
-
- 84918f4ccd2a17f3d6629664d1332bfb
-
-
-
-
-
-
- 123
- 3
- 1
- 0D85A305D22FCB355BBE29AE9809363D697B64782B9CC73AE349350F8C2AE4BB
-
- 257
- 3
- 3
- AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8
-
-
-
- 123
- 3
- 1
- 0D85A305D22FCB355BBE29AE9809363D697B64782B9CC73AE349350F8C2AE4BB
-
- 0
- 3
- 5
- 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f
-
-
-
-
-
- ccReg-1608117363
-
-
-
-```
-
-### EPP Domain with valid domain returns domain info with different nameservers
-
-REQUEST:
-
-```xml
-
-
-
-
-
- domain44.ee
-
- 2fooBAR
-
-
-
-
-
-```
-
-RESPONSE:
-
-```xml
-
-
-
-
- Attribute is invalid: hosts
-
-
- ccReg-6446829556
-
-
-
-```
-
-REQUEST:
-
-```xml
-
-
-
-
-
- domain44.ee
-
- 2fooBAR
-
-
-
-
-
-```
-
-RESPONSE:
-
-```xml
-
-
-
-
- Command completed successfully
-
-
-
- domain44.ee
- EIS-52
-
- FIXED:REGISTRANT2538462742
- FIXED:SH20358083102
- FIXED:SH68298371101
-
-
- ns1.domain44.ee
- 192.168.1.1
- 1080:0:0:0:8:800:200C:417A
-
-
- ns2.domain44.ee
- 192.168.1.1
- 1080:0:0:0:8:800:200C:417A
-
-
- registrar1
- 2015-06-09T13:35:26Z
- 2015-06-09T13:35:26Z
- 2016-06-09T00:00:00Z
-
- 8a57799654416273f159076743c2a9be
-
-
-
-
- ccReg-2074255390
-
-
-
-```
-
-REQUEST:
-
-```xml
-
-
-
-
-
- domain44.ee
-
- 2fooBAR
-
-
-
-
-
-```
-
-RESPONSE:
-
-```xml
-
-
-
-
- Command completed successfully
-
-
-
- domain44.ee
- EIS-52
-
- FIXED:REGISTRANT2538462742
- FIXED:SH20358083102
- FIXED:SH68298371101
-
-
- ns3.test.ee
- 192.168.1.1
- 1080:0:0:0:8:800:200C:417A
-
-
- registrar1
- 2015-06-09T13:35:26Z
- 2015-06-09T13:35:26Z
- 2016-06-09T00:00:00Z
-
- 8a57799654416273f159076743c2a9be
-
-
-
-
- ccReg-1252788467
-
-
-
-```
-
-REQUEST:
-
-```xml
-
-
-
-
-
- domain44.ee
-
- 2fooBAR
-
-
-
-
-
-```
-
-RESPONSE:
-
-```xml
-
-
-
-
- Command completed successfully
-
-
-
- domain44.ee
- EIS-52
-
- FIXED:REGISTRANT2538462742
- FIXED:SH20358083102
- FIXED:SH68298371101
- registrar1
- 2015-06-09T13:35:26Z
- 2015-06-09T13:35:26Z
- 2016-06-09T00:00:00Z
-
- 8a57799654416273f159076743c2a9be
-
-
-
-
- ccReg-4063505362
-
-
-
-```
-
-REQUEST:
-
-```xml
-
-
-
-
-
- domain44.ee
-
- 2fooBAR
-
-
-
-
-
-```
-
-RESPONSE:
-
-```xml
-
-
-
-
- Command completed successfully
-
-
-
- domain44.ee
- EIS-52
-
- FIXED:REGISTRANT2538462742
- FIXED:SH20358083102
- FIXED:SH68298371101
-
-
- ns1.domain44.ee
- 192.168.1.1
- 1080:0:0:0:8:800:200C:417A
-
-
- ns2.domain44.ee
- 192.168.1.1
- 1080:0:0:0:8:800:200C:417A
-
-
- ns3.test.ee
- 192.168.1.1
- 1080:0:0:0:8:800:200C:417A
-
-
- registrar1
- 2015-06-09T13:35:26Z
- 2015-06-09T13:35:26Z
- 2016-06-09T00:00:00Z
-
- 8a57799654416273f159076743c2a9be
-
-
-
-
- ccReg-8078742562
-
-
-
-```
-
-### EPP Domain with valid domain returns error when domain can not be found
-
-REQUEST:
-
-```xml
-
-
-
-
-
- test.ee
-
- 2fooBAR
-
-
-
-
-
-```
-
-RESPONSE:
-
-```xml
-
-
-
-
- Domain not found
-
- test.ee
-
-
-
- ccReg-3733145782
-
-
-
-```
-
-### EPP Domain with valid domain sets ok status by default
-
-REQUEST:
-
-```xml
-
-
-
-
-
+
domain45.ee
2fooBAR
@@ -10744,35 +10299,548 @@ RESPONSE:
domain45.ee
EIS-53
-
- FIXED:REGISTRANT8832143243
- FIXED:SH58933945104
- FIXED:SH99518073103
+
+ FIXED:REGISTRANT5034182443
+ FIXED:SH87553047104
+ FIXED:SH60451564103
- ns.corwintillman135.ee
+ ns.sipeskeeling135.ee
192.168.1.1
- ns.ratke136.ee
+ ns.denesikjaskolski136.ee
192.168.1.1
- ns.mosciski137.ee
+ ns.johns137.ee
192.168.1.1
+
+ ns1.example.com
+ 192.168.1.1
+ 1080:0:0:0:8:800:200C:417A
+
registrar1
- 2015-06-09T13:35:27Z
- 2015-06-09T13:35:27Z
- 2016-06-09T00:00:00Z
+ 2015-06-16T14:46:36Z
+ 2015-06-16T14:46:36Z
+ 2016-06-16T14:46:36Z
- 95ee364f84c0c78c3aa1182debf3b037
+ 7fc87d2ceabb4a21969a9a067aa03411
+
+
+
+
+
+
+ 123
+ 3
+ 1
+ 0D85A305D22FCB355BBE29AE9809363D697B64782B9CC73AE349350F8C2AE4BB
+
+ 257
+ 3
+ 3
+ AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8
+
+
+
+ 123
+ 3
+ 1
+ 0D85A305D22FCB355BBE29AE9809363D697B64782B9CC73AE349350F8C2AE4BB
+
+ 0
+ 3
+ 5
+ 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f
+
+
+
+
+
+ ccReg-1180902357
+
+
+
+```
+
+REQUEST:
+
+```xml
+
+
+
+
+
+ domain45.ee
+
+ 2fooBAR
+
+
+
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+
+ domain45.ee
+ EIS-53
+
+ FIXED:REGISTRANT5034182443
+ FIXED:SH87553047104
+ FIXED:SH60451564103
+
+
+ ns.sipeskeeling135.ee
+ 192.168.1.1
+
+
+ ns.denesikjaskolski136.ee
+ 192.168.1.1
+
+
+ ns.johns137.ee
+ 192.168.1.1
+
+
+ ns1.example.com
+ 192.168.1.1
+ 1080:0:0:0:8:800:200C:417A
+
+
+ registrar1
+ 2015-06-16T14:46:36Z
+ 2015-06-16T14:46:36Z
+ 2016-06-16T14:46:36Z
+
+ 7fc87d2ceabb4a21969a9a067aa03411
+
+
+
+
+
+
+ 123
+ 3
+ 1
+ 0D85A305D22FCB355BBE29AE9809363D697B64782B9CC73AE349350F8C2AE4BB
+
+ 257
+ 3
+ 3
+ AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8
+
+
+
+ 123
+ 3
+ 1
+ 0D85A305D22FCB355BBE29AE9809363D697B64782B9CC73AE349350F8C2AE4BB
+
+ 0
+ 3
+ 5
+ 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f
+
+
+
+
+
+ ccReg-9928668202
+
+
+
+```
+
+### EPP Domain with valid domain returns domain info with different nameservers
+
+REQUEST:
+
+```xml
+
+
+
+
+
+ domain46.ee
+
+ 2fooBAR
+
+
+
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Attribute is invalid: hosts
+
+
+ ccReg-5780540561
+
+
+
+```
+
+REQUEST:
+
+```xml
+
+
+
+
+
+ domain46.ee
+
+ 2fooBAR
+
+
+
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+
+ domain46.ee
+ EIS-54
+
+ FIXED:REGISTRANT7386073344
+ FIXED:SH70911474106
+ FIXED:SH83717810105
+
+
+ ns1.domain46.ee
+ 192.168.1.1
+ 1080:0:0:0:8:800:200C:417A
+
+
+ ns2.domain46.ee
+ 192.168.1.1
+ 1080:0:0:0:8:800:200C:417A
+
+
+ registrar1
+ 2015-06-16T14:46:36Z
+ 2015-06-16T14:46:36Z
+ 2016-06-16T14:46:36Z
+
+ 04319f6bf003ebd8357d77a866f21a1d
- ccReg-0047940693
+ ccReg-9817465177
+
+
+
+```
+
+REQUEST:
+
+```xml
+
+
+
+
+
+ domain46.ee
+
+ 2fooBAR
+
+
+
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+
+ domain46.ee
+ EIS-54
+
+ FIXED:REGISTRANT7386073344
+ FIXED:SH70911474106
+ FIXED:SH83717810105
+
+
+ ns3.test.ee
+ 192.168.1.1
+ 1080:0:0:0:8:800:200C:417A
+
+
+ registrar1
+ 2015-06-16T14:46:36Z
+ 2015-06-16T14:46:36Z
+ 2016-06-16T14:46:36Z
+
+ 04319f6bf003ebd8357d77a866f21a1d
+
+
+
+
+ ccReg-1956126808
+
+
+
+```
+
+REQUEST:
+
+```xml
+
+
+
+
+
+ domain46.ee
+
+ 2fooBAR
+
+
+
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+
+ domain46.ee
+ EIS-54
+
+ FIXED:REGISTRANT7386073344
+ FIXED:SH70911474106
+ FIXED:SH83717810105
+ registrar1
+ 2015-06-16T14:46:36Z
+ 2015-06-16T14:46:36Z
+ 2016-06-16T14:46:36Z
+
+ 04319f6bf003ebd8357d77a866f21a1d
+
+
+
+
+ ccReg-4662877023
+
+
+
+```
+
+REQUEST:
+
+```xml
+
+
+
+
+
+ domain46.ee
+
+ 2fooBAR
+
+
+
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+
+ domain46.ee
+ EIS-54
+
+ FIXED:REGISTRANT7386073344
+ FIXED:SH70911474106
+ FIXED:SH83717810105
+
+
+ ns1.domain46.ee
+ 192.168.1.1
+ 1080:0:0:0:8:800:200C:417A
+
+
+ ns2.domain46.ee
+ 192.168.1.1
+ 1080:0:0:0:8:800:200C:417A
+
+
+ ns3.test.ee
+ 192.168.1.1
+ 1080:0:0:0:8:800:200C:417A
+
+
+ registrar1
+ 2015-06-16T14:46:36Z
+ 2015-06-16T14:46:36Z
+ 2016-06-16T14:46:36Z
+
+ 04319f6bf003ebd8357d77a866f21a1d
+
+
+
+
+ ccReg-2430670023
+
+
+
+```
+
+### EPP Domain with valid domain returns error when domain can not be found
+
+REQUEST:
+
+```xml
+
+
+
+
+
+ test.ee
+
+ 2fooBAR
+
+
+
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Domain not found
+
+ test.ee
+
+
+
+ ccReg-5247973919
+
+
+
+```
+
+### EPP Domain with valid domain sets ok status by default
+
+REQUEST:
+
+```xml
+
+
+
+
+
+ domain47.ee
+
+ 2fooBAR
+
+
+
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+
+ domain47.ee
+ EIS-55
+
+ FIXED:REGISTRANT3737412845
+ FIXED:SH49038744108
+ FIXED:SH06725299107
+
+
+ ns.sanford141.ee
+ 192.168.1.1
+
+
+ ns.sauer142.ee
+ 192.168.1.1
+
+
+ ns.veum143.ee
+ 192.168.1.1
+
+
+ registrar1
+ 2015-06-16T14:46:37Z
+ 2015-06-16T14:46:37Z
+ 2016-06-16T14:46:37Z
+
+ 81c5f0a214cb0756ad4a5c553e80df90
+
+
+
+
+ ccReg-6047154535
@@ -10794,8 +10862,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -10820,7 +10888,7 @@ RESPONSE:
ABC-12345
- ccReg-9421122155
+ ccReg-1083606006
@@ -10833,8 +10901,8 @@ REQUEST:
-
- domain46.ee
+
+ domain48.ee
2fooBAR
@@ -10854,7 +10922,7 @@ RESPONSE:
Authorization error
- ccReg-5329739119
+ ccReg-9393465490
@@ -10874,8 +10942,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -10900,7 +10968,7 @@ RESPONSE:
ABC-12345
- ccReg-6610957083
+ ccReg-0344532333
@@ -10922,8 +10990,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -10948,7 +11016,7 @@ RESPONSE:
ABC-12345
- ccReg-9524991637
+ ccReg-9663838605
@@ -10961,8 +11029,8 @@ REQUEST:
-
- domain47.ee
+
+ domain49.ee
@@ -10980,34 +11048,34 @@ RESPONSE:
- domain47.ee
- EIS-55
+ domain49.ee
+ EIS-57
- FIXED:REGISTRANT7670321945
- FIXED:SH09858288108
- FIXED:SH59385847107
+ FIXED:REGISTRANT1566943147
+ FIXED:SH39124150112
+ FIXED:SH43742622111
- ns.hanerosenbaum141.ee
+ ns.kreiger147.ee
192.168.1.1
- ns.connelly142.ee
+ ns.hudson148.ee
192.168.1.1
- ns.damore143.ee
+ ns.dare149.ee
192.168.1.1
registrar1
- 2015-06-09T13:35:27Z
- 2015-06-09T13:35:27Z
- 2016-06-09T00:00:00Z
+ 2015-06-16T14:46:38Z
+ 2015-06-16T14:46:38Z
+ 2016-06-16T14:46:38Z
- ccReg-5471057688
+ ccReg-0003863495
@@ -11027,8 +11095,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -11053,7 +11121,7 @@ RESPONSE:
ABC-12345
- ccReg-3532068018
+ ccReg-9016819552
@@ -11075,8 +11143,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -11101,7 +11169,7 @@ RESPONSE:
ABC-12345
- ccReg-5772455955
+ ccReg-4480505409
@@ -11114,10 +11182,10 @@ REQUEST:
-
- domain48.ee
+
+ domain50.ee
- 6c4c26a263fe5d8e287885476ba8338e
+ f44d898ad1b9caa41023a0894a3d0801
@@ -11136,37 +11204,37 @@ RESPONSE:
- domain48.ee
- EIS-56
+ domain50.ee
+ EIS-58
- FIXED:REGISTRANT0112778446
- FIXED:SH37596359110
- FIXED:SH61483009109
+ FIXED:REGISTRANT5610043948
+ FIXED:SH85839976114
+ FIXED:SH72694104113
- ns.ondricka144.ee
+ ns.mann150.ee
192.168.1.1
- ns.christiansenwaters145.ee
+ ns.gutkowskibernier151.ee
192.168.1.1
- ns.becker146.ee
+ ns.schinner152.ee
192.168.1.1
registrar1
- 2015-06-09T13:35:27Z
- 2015-06-09T13:35:27Z
- 2016-06-09T00:00:00Z
+ 2015-06-16T14:46:38Z
+ 2015-06-16T14:46:38Z
+ 2016-06-16T14:46:38Z
- 6c4c26a263fe5d8e287885476ba8338e
+ f44d898ad1b9caa41023a0894a3d0801
- ccReg-1408617959
+ ccReg-7074882802
@@ -11186,8 +11254,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -11212,7 +11280,7 @@ RESPONSE:
ABC-12345
- ccReg-8592985743
+ ccReg-2139213556
@@ -11227,8 +11295,8 @@ REQUEST:
-
- domain49.ee
+
+ domain51.ee
@@ -11247,12 +11315,11 @@ RESPONSE:
-
- Command completed successfully; action pending
+
+ Internal error.
- ABC-12345
- ccReg-6060925205
+ ccReg-0801639712
@@ -11267,8 +11334,8 @@ REQUEST:
-
- domain50.ee
+
+ domain52.ee
@@ -11292,7 +11359,7 @@ RESPONSE:
ABC-12345
- ccReg-8888267736
+ ccReg-0908156344
@@ -11307,8 +11374,8 @@ REQUEST:
-
- domain51.ee
+
+ domain53.ee
@@ -11332,7 +11399,7 @@ RESPONSE:
ABC-12345
- ccReg-0556716619
+ ccReg-5302487355
@@ -11347,7 +11414,7 @@ REQUEST:
-
+
example.ee
@@ -11367,7 +11434,7 @@ RESPONSE:
ABC-12345
- ccReg-8603034155
+ ccReg-4445302239
@@ -11382,7 +11449,7 @@ REQUEST:
-
+
one.ee
@@ -11409,7 +11476,7 @@ RESPONSE:
ABC-12345
- ccReg-0247924456
+ ccReg-6989281837
@@ -11422,8 +11489,8 @@ REQUEST:
-
- domain52.ee
+
+ domain54.ee
ABC-12345
@@ -11443,14 +11510,14 @@ RESPONSE:
- domain52.ee
+ domain54.ee
in use
ABC-12345
- ccReg-5398244838
+ ccReg-7241677214
@@ -11465,7 +11532,7 @@ REQUEST:
-
+
one.ee
two.ee
three.ee
@@ -11500,7 +11567,7 @@ RESPONSE:
ABC-12345
- ccReg-0026661192
+ ccReg-2988756260
@@ -11515,7 +11582,7 @@ REQUEST:
-
+
one.ee
notcorrectdomain
@@ -11547,7 +11614,7 @@ RESPONSE:
ABC-12345
- ccReg-8795975131
+ ccReg-3861410540
@@ -11569,8 +11636,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -11595,7 +11662,7 @@ RESPONSE:
ABC-12345
- ccReg-3684729819
+ ccReg-9350463779
@@ -11607,10 +11674,10 @@ REQUEST:
```xml
-
+
- domain53.ee
+ domain55.ee
256
3
@@ -11618,13 +11685,13 @@ REQUEST:
cmlraXN0aGViZXN0
- 8647bd440f58fefdb9d1e8e350eafaa2
+ 606917876743fb9d65eb59fbf175c5bd
P1M13D
- 1433856929
+ 1434466003
```
@@ -11638,12 +11705,12 @@ RESPONSE:
Unimplemented object service
- domain53.ee
+ domain55.ee
- 1433856929
- ccReg-2635911369
+ 1434466003
+ ccReg-7770421771
@@ -11655,23 +11722,23 @@ REQUEST:
```xml
-
+
- domain53.ee
+ domain55.ee
3
8
cmlraXN0aGViZXN0
- 8647bd440f58fefdb9d1e8e350eafaa2
+ 606917876743fb9d65eb59fbf175c5bd
Invalid Expiry
- 1433856929
+ 1434466004
```
@@ -11692,8 +11759,8 @@ RESPONSE:
- 1433856929
- ccReg-9467853318
+ 1434466004
+ ccReg-0081075985
@@ -11705,10 +11772,10 @@ REQUEST:
```xml
-
+
- domain53.ee
+ domain55.ee
256
3
@@ -11716,13 +11783,13 @@ REQUEST:
cmlraXN0aGViZXN0
- 8647bd440f58fefdb9d1e8e350eafaa2
+ 606917876743fb9d65eb59fbf175c5bd
Invalid Expiry
- 1433856929
+ 1434466005
```
@@ -11740,8 +11807,8 @@ RESPONSE:
- 1433856929
- ccReg-5867316339
+ 1434466005
+ ccReg-6676809630
@@ -11753,10 +11820,10 @@ REQUEST:
```xml
-
+
- domain53.ee
+ domain55.ee
256
3
@@ -11764,13 +11831,13 @@ REQUEST:
cmlraXN0aGViZXN0
- 8647bd440f58fefdb9d1e8e350eafaa2
+ 606917876743fb9d65eb59fbf175c5bd
Invalid Absolute
- 1433856929
+ 1434466006
```
@@ -11788,8 +11855,8 @@ RESPONSE:
- 1433856929
- ccReg-4084754693
+ 1434466006
+ ccReg-8006484799
@@ -11801,10 +11868,10 @@ REQUEST:
```xml
-
+
- domain53.ee
+ domain55.ee
256
3
@@ -11812,14 +11879,14 @@ REQUEST:
cmlraXN0aGViZXN0
- 8647bd440f58fefdb9d1e8e350eafaa2
+ 606917876743fb9d65eb59fbf175c5bd
P1D
2014-12-23
- 1433856929
+ 1434466007
```
@@ -11834,8 +11901,8 @@ RESPONSE:
Exactly one parameter required: keyrelay > expiry > relative OR keyrelay > expiry > absolute
- 1433856929
- ccReg-5656271409
+ 1434466007
+ ccReg-6196744977
@@ -11847,10 +11914,10 @@ REQUEST:
```xml
-
+
- domain53.ee
+ domain55.ee
256
3
@@ -11858,7 +11925,7 @@ REQUEST:
cmlraXN0aGViZXN0
- 8647bd440f58fefdb9d1e8e350eafaa2
+ 606917876743fb9d65eb59fbf175c5bd
P1D
@@ -11867,7 +11934,7 @@ REQUEST:
JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp==
- 1433856930
+ 1434466008
```
@@ -11881,12 +11948,12 @@ RESPONSE:
Unimplemented object service
- domain53.ee
+ domain55.ee
- 1433856930
- ccReg-6430731487
+ 1434466008
+ ccReg-8880766111
@@ -11898,10 +11965,10 @@ REQUEST:
```xml
-
+
- domain53.ee
+ domain55.ee
256
3
@@ -11909,7 +11976,7 @@ REQUEST:
cmlraXN0aGViZXN0
- 8647bd440f58fefdb9d1e8e350eafaa2
+ 606917876743fb9d65eb59fbf175c5bd
P1D
@@ -11918,7 +11985,7 @@ REQUEST:
JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp==
- 1433856930
+ 1434466009
```
@@ -11933,8 +12000,8 @@ RESPONSE:
Attribute is invalid: type
- 1433856930
- ccReg-6863641737
+ 1434466009
+ ccReg-5896300316
@@ -11954,8 +12021,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -11980,7 +12047,7 @@ RESPONSE:
ABC-12345
- ccReg-9912559233
+ ccReg-6744406564
@@ -11995,7 +12062,7 @@ REQUEST:
- 1433856930
+ 1434466011
```
@@ -12010,8 +12077,8 @@ RESPONSE:
Command completed successfully; no messages
- 1433856930
- ccReg-0116992292
+ 1434466011
+ ccReg-7079179755
@@ -12033,8 +12100,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -12059,7 +12126,7 @@ RESPONSE:
ABC-12345
- ccReg-2877828495
+ ccReg-5443416105
@@ -12072,7 +12139,7 @@ REQUEST:
- 1433856930
+ 1434466011
```
@@ -12087,8 +12154,8 @@ RESPONSE:
Command completed successfully; no messages
- 1433856930
- ccReg-0427435437
+ 1434466011
+ ccReg-6783686315
@@ -12108,8 +12175,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -12134,7 +12201,7 @@ RESPONSE:
ABC-12345
- ccReg-2081123931
+ ccReg-5004171706
@@ -12147,7 +12214,7 @@ REQUEST:
- 1433856930
+ 1434466011
```
@@ -12162,12 +12229,12 @@ RESPONSE:
Command completed successfully; ack to dequeue
- 2015-06-09T13:35:30Z
+ 2015-06-16T14:46:51Z
Balance low.
- 1433856930
- ccReg-4209515587
+ 1434466011
+ ccReg-4253494053
@@ -12187,8 +12254,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -12213,7 +12280,7 @@ RESPONSE:
ABC-12345
- ccReg-3102277142
+ ccReg-4918171501
@@ -12226,7 +12293,7 @@ REQUEST:
- 1433856930
+ 1434466011
```
@@ -12244,8 +12311,8 @@ RESPONSE:
- 1433856930
- ccReg-7763044447
+ 1434466011
+ ccReg-5948146323
@@ -12265,8 +12332,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -12291,7 +12358,7 @@ RESPONSE:
ABC-12345
- ccReg-2314842369
+ ccReg-0602722237
@@ -12304,7 +12371,7 @@ REQUEST:
- 1433856930
+ 1434466011
```
@@ -12320,8 +12387,8 @@ RESPONSE:
- 1433856930
- ccReg-5253379932
+ 1434466011
+ ccReg-6653908143
@@ -12334,7 +12401,7 @@ REQUEST:
- 1433856930
+ 1434466011
```
@@ -12352,8 +12419,8 @@ RESPONSE:
- 1433856930
- ccReg-3989135852
+ 1434466011
+ ccReg-4030904109
@@ -12368,7 +12435,7 @@ REQUEST:
- 1433856930
+ 1434466013
```
@@ -12383,8 +12450,8 @@ RESPONSE:
Attribute is invalid: op
- 1433856930
- ccReg-2185508033
+ 1434466013
+ ccReg-1337274768
@@ -12399,7 +12466,7 @@ REQUEST:
- 1433856930
+ 1434466014
```
@@ -12414,12 +12481,12 @@ RESPONSE:
Command completed successfully; ack to dequeue
- 2015-06-09T13:35:30Z
+ 2015-06-16T14:46:54Z
Smth else.
- 1433856930
- ccReg-8073809180
+ 1434466014
+ ccReg-0133258887
@@ -12432,7 +12499,7 @@ REQUEST:
- 1433856930
+ 1434466014
```
@@ -12448,8 +12515,8 @@ RESPONSE:
- 1433856930
- ccReg-0415863944
+ 1434466014
+ ccReg-7865881696
@@ -12462,7 +12529,7 @@ REQUEST:
- 1433856931
+ 1434466014
```
@@ -12477,12 +12544,12 @@ RESPONSE:
Command completed successfully; ack to dequeue
- 2015-06-09T13:35:30Z
+ 2015-06-16T14:46:54Z
Something.
- 1433856931
- ccReg-2888360272
+ 1434466014
+ ccReg-2990701289
@@ -12495,7 +12562,7 @@ REQUEST:
- 1433856931
+ 1434466014
```
@@ -12511,8 +12578,8 @@ RESPONSE:
- 1433856931
- ccReg-3776138253
+ 1434466014
+ ccReg-5225046181
@@ -12525,7 +12592,7 @@ REQUEST:
- 1433856931
+ 1434466014
```
@@ -12540,12 +12607,12 @@ RESPONSE:
Command completed successfully; ack to dequeue
- 2015-06-09T13:35:30Z
+ 2015-06-16T14:46:54Z
Balance low.
- 1433856931
- ccReg-6512052409
+ 1434466014
+ ccReg-6707896691
@@ -12558,7 +12625,7 @@ REQUEST:
- 1433856931
+ 1434466014
```
@@ -12574,8 +12641,8 @@ RESPONSE:
- 1433856931
- ccReg-1064326530
+ 1434466014
+ ccReg-8174947053
@@ -12588,7 +12655,7 @@ REQUEST:
- 1433856931
+ 1434466015
```
@@ -12603,8 +12670,8 @@ RESPONSE:
Command completed successfully; no messages
- 1433856931
- ccReg-9503618929
+ 1434466015
+ ccReg-0858483195
@@ -12619,12 +12686,12 @@ RESPONSE:
EPP server (EIS)
- 2015-06-09T13:35:31Z
+ 2015-06-16T14:46:55Z
1.0
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -12669,8 +12736,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -12695,7 +12762,7 @@ RESPONSE:
ABC-12345
- ccReg-0675836419
+ ccReg-4597363742
@@ -12717,8 +12784,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -12743,7 +12810,7 @@ RESPONSE:
ABC-12345
- ccReg-5362887725
+ ccReg-1428657257
@@ -12758,7 +12825,7 @@ REQUEST:
-
+
test.ee
@@ -12778,7 +12845,7 @@ RESPONSE:
ABC-12345
- ccReg-2412906114
+ ccReg-3082305327
@@ -12800,8 +12867,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -12824,7 +12891,7 @@ RESPONSE:
Authentication error; server closing connection
- ccReg-4161845795
+ ccReg-3565992149
@@ -12846,8 +12913,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -12872,7 +12939,7 @@ RESPONSE:
ABC-12345
- ccReg-0755301082
+ ccReg-0832089091
@@ -12894,8 +12961,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -12920,7 +12987,7 @@ RESPONSE:
ABC-12345
- ccReg-4922645880
+ ccReg-1535717609
@@ -12940,8 +13007,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -12966,7 +13033,7 @@ RESPONSE:
ABC-12345
- ccReg-7563994430
+ ccReg-5055971923
@@ -12988,8 +13055,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -13014,7 +13081,7 @@ RESPONSE:
ABC-12345
- ccReg-5953333837
+ ccReg-0729496396
@@ -13043,7 +13110,7 @@ RESPONSE:
ABC-12345
- ccReg-9035861075
+ ccReg-7311985652
@@ -13066,8 +13133,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -13092,7 +13159,7 @@ RESPONSE:
ABC-12345
- ccReg-4506142098
+ ccReg-7387239733
@@ -13115,8 +13182,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -13141,7 +13208,7 @@ RESPONSE:
ABC-12345
- ccReg-6379769461
+ ccReg-9506918430
@@ -13164,8 +13231,8 @@ REQUEST:
en
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd
+ https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd
urn:ietf:params:xml:ns:host-1.0
urn:ietf:params:xml:ns:keyrelay-1.0
@@ -13190,7 +13257,7 @@ RESPONSE:
ABC-12345
- ccReg-7253521976
+ ccReg-0674363838
diff --git a/doc/epp/contact.md b/doc/epp/contact.md
index 83036a61e..3ed0b1aae 100644
--- a/doc/epp/contact.md
+++ b/doc/epp/contact.md
@@ -12,7 +12,7 @@ Contact Mapping protocol short version:
Field name Min-max Field description
----------------------- ------- -----------------
1
- 1 Attribute: xmlns:contact="urn:ietf:params:xml:ns:contact-1.0"
+ 1 Attribute: xmlns:contact="https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd"
0-1 Contact id, optional, generated automatically if missing
1 Postal information container
1 Full name of the contact
@@ -45,7 +45,7 @@ Contact Mapping protocol short version:
Field name Min-max Field description
----------------------- ------- -----------------
1
- 1 Attribute: xmlns:contact="urn:ietf:params:xml:ns:contact-1.0"
+ 1 Attribute: xmlns:contact="https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd"
1 Contact id, required
1 Change container
1 Postal information container
@@ -82,7 +82,7 @@ Contact Mapping protocol short version:
Field name Min-max Field description
----------------------- ------- -----------------
1
- 1 Attribute: xmlns:contact="urn:ietf:params:xml:ns:contact-1.0"
+ 1 Attribute: xmlns:contact="https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd"
1 Contact id
0-1 Required if registrar is not the owner of the contact.
1 Contact password. Attribute: roid="String"
@@ -100,7 +100,7 @@ Contact Mapping protocol short version:
Field name Min-max Field description
----------------------- ------- -----------------
1
- 1 Attribute: xmlns:contact="urn:ietf:params:xml:ns:contact-1.0"
+ 1 Attribute: xmlns:contact="https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd"
1-n Contact id
0-1 Client transaction id
@@ -112,7 +112,7 @@ Contact Mapping protocol short version:
Field name Min-max Field description
----------------------- ------- -----------------
1
- 1 Attribute: xmlns:contact="urn:ietf:params:xml:ns:contact-1.0"
+ 1 Attribute: xmlns:contact="https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd"
1-n Contact id
0-1 Required if registrar is not the owner of the contact.
1 Contact password. Attribute: roid="String"
diff --git a/doc/epp/domain.md b/doc/epp/domain.md
index 16aadb9f8..64a6b68c0 100644
--- a/doc/epp/domain.md
+++ b/doc/epp/domain.md
@@ -13,7 +13,7 @@ Domain name mapping protocol short version:
Field name Min-max Field description
------------------------- ------- -----------------
1
- 1 Attribute: xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"
+ 1 Attribute: xmlns:domain="https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd"
1 Domain name. Can contain unicode characters.
0-1 Registration period for domain.
Must add up to 1 / 2 / 3 years.
@@ -47,7 +47,7 @@ Domain name mapping protocol short version:
Field name Min-max Field description
------------------------ -------- -----------------
1
- 1 Attribute: xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"
+ 1 Attribute: xmlns:domain="https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd"
1 Domain name. Can contain unicode characters.
0-1 Attributes to change
0-1 Contact reference to the registrant
@@ -94,7 +94,7 @@ Domain name mapping protocol short version:
Field name Min-max Field description
----------------------- ------- -----------------
1
- 1 Attribute: xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"
+ 1 Attribute: xmlns:domain="https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd"
Optional attribute: verified="yes/no"
1 Domain name. Can contain unicode characters.
1
@@ -110,7 +110,7 @@ Domain name mapping protocol short version:
Field name Min-max Field description
----------------------- ------- -----------------
1
- 1 Attribute: xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"
+ 1 Attribute: xmlns:domain="https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd"
1 Domain name. Can contain unicode characters.
Attribute: hosts="all / del / sub / none"
0-1 Required if registrar is not the owner of the domain.
@@ -124,7 +124,7 @@ Domain name mapping protocol short version:
Field name Min-max Field description
----------------------- ------- -----------------
1
- 1 Attribute: xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"
+ 1 Attribute: xmlns:domain="https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd"
1 Domain name. Can contain unicode characters.
1 Current expiry date (ISO8601 format)
1 Registration period for domain.
@@ -142,7 +142,7 @@ Domain name mapping protocol short version:
Field name Min-max Field description
----------------------- ------- -----------------
1
- 1 Attribute: xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"
+ 1 Attribute: xmlns:domain="https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd"
1 Domain name. Can contain unicode characters.
1
1 Domain password. Attribute: roid="String"
@@ -159,7 +159,7 @@ Domain name mapping protocol short version:
Field name Min-max Field description
----------------------- ------- -----------------
1
- 1 Attribute: xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"
+ 1 Attribute: xmlns:domain="https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd"
1 Domain name. Can contain unicode characters.
0-1 Client transaction id
diff --git a/doc/epp/session.md b/doc/epp/session.md
index 24babc682..a496e9ce0 100644
--- a/doc/epp/session.md
+++ b/doc/epp/session.md
@@ -17,6 +17,7 @@ Here are functions like login, logout, hello, poll
1
1 Username
1 Password
+ 0-1 Optional new password for EPP user
0-1
0-1 1.0
0-1 en
diff --git a/doc/repp-doc.md b/doc/repp-doc.md
index 29d919d4f..dbdad9a59 100644
--- a/doc/repp-doc.md
+++ b/doc/repp-doc.md
@@ -1,7 +1,14 @@
# REPP integration specification
-REPP uses currently Basic Authentication (http://tools.ietf.org/html/rfc2617#section-2) with ssl certificate and key.
-Credentials and certificate are issued by EIS (in an exchange for desired API username, CSR (where CN must match username) and IP).
+REPP uses HTTP/1.1 protocol (http://www.ietf.org/rfc/rfc2616.txt) and
+Basic Authentication (http://tools.ietf.org/html/rfc2617#section-2) using
+Secure Transport (https://tools.ietf.org/html/rfc5246) with certificate and key (https://tools.ietf.org/html/rfc5280).
+
+Credentials and certificate are issued by EIS (in an exchange for desired API username, CSR and IP).
+
+To quickly test the API, use curl:
+
+ curl -q -k --cert user.crt.pem --key user.key.pem https://TBA/repp/v1/accounts/balance -u username:password
Test API endpoint: TBA
Production API endpoint: TBA
diff --git a/doc/schemas/contact-1.0.xsd b/doc/schemas/contact-1.0.xsd
index a3c463544..3ed0eb6d8 100644
--- a/doc/schemas/contact-1.0.xsd
+++ b/doc/schemas/contact-1.0.xsd
@@ -1,4 +1,4 @@
-
+
-
-
+
+
@@ -25,7 +25,7 @@
-->
-
+
@@ -38,6 +38,7 @@
+
@@ -48,7 +49,7 @@
-
+
@@ -77,7 +78,7 @@
-->
-
+
-
-
+
+
@@ -97,7 +99,8 @@
minOccurs="0"/>
-
+
@@ -127,6 +130,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
@@ -202,6 +220,8 @@
minOccurs="0"/>
+
@@ -214,7 +234,8 @@
-
+
-
-
-
-
+
+
+
@@ -47,7 +46,7 @@
minOccurs="0"/>
-
+
@@ -63,7 +62,7 @@
-
+
@@ -71,7 +70,6 @@
-
@@ -91,7 +89,6 @@
@@ -240,28 +237,12 @@
Allow the registrant value to be nullified by changing the
minLength restriction to "0".
-->
-
-
-
-
-
-
-
-
-
-
+
+
-
-
-
-
-
-
-
-
-
+
diff --git a/doc/schemas/domain-eis-1.0.xsd b/doc/schemas/domain-eis-1.0.xsd
index 0e77bebe1..a0b89c0c6 100644
--- a/doc/schemas/domain-eis-1.0.xsd
+++ b/doc/schemas/domain-eis-1.0.xsd
@@ -1,7 +1,7 @@
- e
puts "ERROR on index #{index}"
@@ -397,7 +387,6 @@ namespace :import do
Domain.import domain_columns, domains, validate: false
Nameserver.import nameserver_columns, nameservers, validate: false
Dnskey.import dnskey_columns, dnskeys, validate: false
- DomainStatus.import domain_status_columns, domain_statuses, validate: false
DomainContact.import domain_contact_columns, domain_contacts, validate: false
puts '-----> Updating relations...'
@@ -461,16 +450,6 @@ namespace :import do
"AND domain_id IS NULL"
)
- # statuses
- ActiveRecord::Base.connection.execute(
- "UPDATE domain_statuses "\
- "SET domain_id = domains.id "\
- "FROM domains "\
- "WHERE domains.legacy_id = legacy_domain_id "\
- "AND legacy_domain_id IS NOT NULL "\
- "AND domain_id IS NULL"
- )
-
puts '-----> Generating dnskey digests...'
Dnskey.all.each do |x|
diff --git a/spec/epp/contact_spec.rb b/spec/epp/contact_spec.rb
index a0c9920fc..ffbb3cd0b 100644
--- a/spec/epp/contact_spec.rb
+++ b/spec/epp/contact_spec.rb
@@ -412,7 +412,7 @@ describe 'EPP Contact', epp: true do
}
}
response = update_request({ id: { value: 'FIRST0:SH8013' } }, extension)
- response[:msg].should ==
+ response[:msg].should ==
'Parameter value policy error. Update of ident data not allowed [ident]'
response[:result_code].should == '2306'
@@ -975,7 +975,7 @@ describe 'EPP Contact', epp: true do
+ xmlns:contact="https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd">
FIXED:CHECK-1234
check-4321
@@ -991,7 +991,7 @@ describe 'EPP Contact', epp: true do
+ xmlns:contact="https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd">
FIXED:CHECK-LEGACY
CID:FIXED:CHECK-LEGACY
diff --git a/spec/epp/domain_spec.rb b/spec/epp/domain_spec.rb
index da1653e78..295ccebd3 100644
--- a/spec/epp/domain_spec.rb
+++ b/spec/epp/domain_spec.rb
@@ -317,7 +317,7 @@ describe 'EPP Domain', epp: true do
response = epp_plain_request(xml)
response[:msg].should == 'Command completed successfully'
response[:result_code].should == '1000'
- Domain.first.valid_to.should be_within(5).of(1.year.since)
+ Domain.first.valid_to.should be_within(60).of(1.year.since)
end
it 'does not create a domain with invalid period' do
@@ -1501,7 +1501,8 @@ describe 'EPP Domain', epp: true do
end
it 'should not allow any update when status pending update' do
- domain.domain_statuses.create(value: DomainStatus::PENDING_UPDATE)
+ domain.statuses << DomainStatus::PENDING_UPDATE
+ domain.save
existing_pw = domain.auth_info
@@ -1592,11 +1593,10 @@ describe 'EPP Domain', epp: true do
new_contact = d.tech_contacts.find_by(code: 'FIXED:MAK21')
new_contact.should be_truthy
- d.domain_statuses.count.should == 2
- d.domain_statuses.first.description.should == 'Payment overdue.'
- d.domain_statuses.first.value.should == 'clientHold'
+ d.statuses.count.should == 2
+ d.statuses.include?('clientHold').should == true
+ d.statuses.include?('clientUpdateProhibited').should == true
- d.domain_statuses.last.value.should == 'clientUpdateProhibited'
d.dnskeys.count.should == 2
response = epp_plain_request(xml)
@@ -1621,39 +1621,39 @@ describe 'EPP Domain', epp: true do
response[:results][2][:msg].should == 'Contact already exists on this domain [contact_code_cache]'
response[:results][2][:value].should == 'FIXED:MAK21'
- response[:results][3][:msg].should == 'Status already exists on this domain [value]'
- if response[:results][3][:value] == 'clientHold'
- response[:results][3][:value].should == 'clientHold'
- else
- response[:results][3][:value].should == 'clientUpdateProhibited'
- end
+ # response[:results][3][:msg].should == 'Status already exists on this domain [value]'
+ # if response[:results][3][:value] == 'clientHold'
+ # response[:results][3][:value].should == 'clientHold'
+ # else
+ # response[:results][3][:value].should == 'clientUpdateProhibited'
+ # end
- response[:results][4][:msg].should == 'Status already exists on this domain [value]'
- if response[:results][4][:value] == 'clientHold'
- response[:results][4][:value].should == 'clientHold'
- else
- response[:results][4][:value].should == 'clientUpdateProhibited'
- end
+ # response[:results][4][:msg].should == 'Status already exists on this domain [value]'
+ # if response[:results][4][:value] == 'clientHold'
+ # response[:results][4][:value].should == 'clientHold'
+ # else
+ # response[:results][4][:value].should == 'clientUpdateProhibited'
+ # end
- response[:results][5][:msg].should == 'Public key already exists [public_key]'
- if response[:results][5][:value] == '700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f'
- response[:results][5][:value].should ==
+ response[:results][3][:msg].should == 'Public key already exists [public_key]'
+ if response[:results][3][:value] == '700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f'
+ response[:results][3][:value].should ==
'700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f'
else
- response[:results][5][:value].should ==
+ response[:results][3][:value].should ==
'841936717ae427ace63c28d04918569a841936717ae427ace63c28d0'
end
- response[:results][6][:msg].should == 'Public key already exists [public_key]'
- if response[:results][6][:value] == '700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f'
- response[:results][6][:value].should ==
+ response[:results][4][:msg].should == 'Public key already exists [public_key]'
+ if response[:results][4][:value] == '700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f'
+ response[:results][4][:value].should ==
'700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f'
else
- response[:results][6][:value].should ==
+ response[:results][4][:value].should ==
'841936717ae427ace63c28d04918569a841936717ae427ace63c28d0'
end
- d.domain_statuses.count.should == 2
+ d.statuses.count.should == 2
end
it 'updates domain with registrant change what triggers action pending' do
@@ -1729,8 +1729,8 @@ describe 'EPP Domain', epp: true do
new_contact = d.tech_contacts.find_by(code: 'FIXED:PENDINGMAK21')
new_contact.should_not be_truthy # aka should not add new contact
- d.domain_statuses.count.should == 1
- d.domain_statuses.first.value.should == 'pendingUpdate'
+ d.statuses.count.should == 1
+ d.statuses.first.should == 'pendingUpdate'
d.dnskeys.count.should == 0
end
@@ -1840,10 +1840,11 @@ describe 'EPP Domain', epp: true do
response[:results][0][:msg].should == 'Command completed successfully'
response[:results][0][:result_code].should == '1000'
+ d.reload
d.dnskeys.count.should == 1
- d.domain_statuses.count.should == 1
- d.domain_statuses.first.value.should == 'clientUpdateProhibited'
+ d.statuses.count.should == 1
+ d.statuses.first.should == 'clientUpdateProhibited'
rem_ns = d.nameservers.find_by(hostname: 'ns1.example.com')
rem_ns.should be_falsey
@@ -1862,13 +1863,17 @@ describe 'EPP Domain', epp: true do
response[:results][1][:value].should == 'FIXED:CITIZEN_1234'
response[:results][2][:result_code].should == '2303'
- response[:results][2][:msg].should == 'Status was not found'
- response[:results][2][:value].should == 'clientHold'
+ response[:results][2][:msg].should == 'DS was not found'
+ response[:results][2][:value].should == '700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f'
+
+ response[:results][3][:result_code].should == '2303'
+ response[:results][3][:msg].should == 'Status was not found'
+ response[:results][3][:value].should == 'clientHold'
end
it 'does not remove server statuses' do
- d = Domain.last
- d.domain_statuses.create(value: DomainStatus::SERVER_HOLD)
+ domain.statuses << DomainStatus::SERVER_HOLD
+ domain.save
xml = domain_update_xml({
name: { value: domain.name },
@@ -2079,9 +2084,10 @@ describe 'EPP Domain', epp: true do
Domain.start_expire_period
Domain.start_redemption_grace_period
- domain.domain_statuses.where(value: DomainStatus::EXPIRED).count.should == 1
- domain.domain_statuses.where(value: DomainStatus::SERVER_HOLD).count.should == 1
- domain.domain_statuses.where(value: DomainStatus::OK).count.should == 0
+ domain.reload
+ domain.statuses.include?(DomainStatus::EXPIRED).should == true
+ domain.statuses.include?(DomainStatus::SERVER_HOLD).should == true
+ domain.statuses.include?(DomainStatus::OK).should == false
exp_date = domain.valid_to.to_date
@@ -2095,9 +2101,10 @@ describe 'EPP Domain', epp: true do
response[:results][0][:msg].should == 'Command completed successfully'
response[:results][0][:result_code].should == '1000'
- domain.domain_statuses.where(value: DomainStatus::EXPIRED).count.should == 0
- domain.domain_statuses.where(value: DomainStatus::SERVER_HOLD).count.should == 0
- domain.domain_statuses.where(value: DomainStatus::OK).count.should == 1
+ domain.reload
+ domain.statuses.include?(DomainStatus::EXPIRED).should == false
+ domain.statuses.include?(DomainStatus::SERVER_HOLD).should == false
+ domain.statuses.include?(DomainStatus::OK).should == true
domain.reload
domain.valid_to.should be_within(5).of(new_valid_to)
@@ -2122,7 +2129,7 @@ describe 'EPP Domain', epp: true do
### INFO ###
it 'returns domain info' do
- domain.domain_statuses.build(value: DomainStatus::CLIENT_HOLD, description: 'Payment overdue.')
+ domain.statuses << DomainStatus::CLIENT_HOLD
domain.nameservers.build(hostname: 'ns1.example.com', ipv4: '192.168.1.1', ipv6: '1080:0:0:0:8:800:200C:417A')
domain.dnskeys.build(
@@ -2157,7 +2164,6 @@ describe 'EPP Domain', epp: true do
inf_data = response[:parsed].css('resData infData')
inf_data.css('name').text.should == domain.name
- inf_data.css('status').text.should == 'Payment overdue.'
inf_data.css('status').first[:s].should == 'clientHold'
inf_data.css('registrant').text.should == domain.registrant_code
inf_data.css('roid').text.should == domain.roid
@@ -2318,7 +2324,8 @@ describe 'EPP Domain', epp: true do
end
it 'does not delete domain with specific status' do
- domain.domain_statuses.create(value: DomainStatus::CLIENT_DELETE_PROHIBITED)
+ domain.statuses << DomainStatus::CLIENT_DELETE_PROHIBITED
+ domain.save
response = epp_plain_request(@epp_xml.domain.delete({
name: { value: domain.name }
@@ -2336,7 +2343,8 @@ describe 'EPP Domain', epp: true do
end
it 'does not delete domain with pending delete' do
- domain.domain_statuses.create(value: DomainStatus::PENDING_DELETE)
+ domain.statuses << DomainStatus::PENDING_DELETE
+ domain.save
response = epp_plain_request(@epp_xml.domain.delete({
name: { value: domain.name }
diff --git a/spec/epp/epp_helper_spec.rb b/spec/epp/epp_helper_spec.rb
index 676925826..65a9fcc8d 100644
--- a/spec/epp/epp_helper_spec.rb
+++ b/spec/epp/epp_helper_spec.rb
@@ -4,6 +4,7 @@ describe 'EPP Helper', epp: true do
context 'in context of Domain' do
before(:all) { @uniq_no = proc { @i ||= 0; @i += 1 } }
+ # rubocop: disable Metrics/LineLength
it 'generates valid transfer xml' do
dn = next_domain_name
expected = Nokogiri::XML('
@@ -11,7 +12,7 @@ describe 'EPP Helper', epp: true do
+ xmlns:domain="https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd">
' + dn + '
98oiewslkfkd
@@ -31,7 +32,7 @@ describe 'EPP Helper', epp: true do
+ xmlns:domain="https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/domain-eis-1.0.xsd">
one.ee
test
@@ -53,5 +54,6 @@ describe 'EPP Helper', epp: true do
generated = Nokogiri::XML(xml).to_s.squish
generated.should == expected
end
+ # rubocop: enable Metrics/LineLength
end
end
diff --git a/spec/epp/requests/contacts/create_with_two_addresses.xml b/spec/epp/requests/contacts/create_with_two_addresses.xml
index f21d620d6..74ff6486d 100644
--- a/spec/epp/requests/contacts/create_with_two_addresses.xml
+++ b/spec/epp/requests/contacts/create_with_two_addresses.xml
@@ -3,7 +3,7 @@
+ xmlns:contact="https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd">
loc_int
John Doe Int
diff --git a/spec/epp/requests/contacts/delete.xml b/spec/epp/requests/contacts/delete.xml
index e7d6479bd..230edfb0d 100644
--- a/spec/epp/requests/contacts/delete.xml
+++ b/spec/epp/requests/contacts/delete.xml
@@ -3,7 +3,7 @@
+ xmlns:contact="https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd">
dwa1234
diff --git a/spec/epp/requests/contacts/delete_missing_attr.xml b/spec/epp/requests/contacts/delete_missing_attr.xml
index cf8279789..2817bb75e 100644
--- a/spec/epp/requests/contacts/delete_missing_attr.xml
+++ b/spec/epp/requests/contacts/delete_missing_attr.xml
@@ -3,7 +3,7 @@
+ xmlns:contact="https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd">
ABC-12345
diff --git a/spec/epp/requests/contacts/info.xml b/spec/epp/requests/contacts/info.xml
index d9c85fe66..0f0b3d657 100644
--- a/spec/epp/requests/contacts/info.xml
+++ b/spec/epp/requests/contacts/info.xml
@@ -3,7 +3,7 @@
+ xmlns:contact="https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd">
info-4444
2fooBAR
diff --git a/spec/epp/requests/contacts/info_missing_attr.xml b/spec/epp/requests/contacts/info_missing_attr.xml
index 3fc5f54d7..baaea80c5 100644
--- a/spec/epp/requests/contacts/info_missing_attr.xml
+++ b/spec/epp/requests/contacts/info_missing_attr.xml
@@ -3,7 +3,7 @@
+ xmlns:contact="https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd">
ABC-12345
diff --git a/spec/epp/requests/contacts/update.xml b/spec/epp/requests/contacts/update.xml
index 89fbeec1c..2b7e34226 100644
--- a/spec/epp/requests/contacts/update.xml
+++ b/spec/epp/requests/contacts/update.xml
@@ -3,7 +3,7 @@
+ xmlns:contact="https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd">
sh8013
diff --git a/spec/epp/requests/contacts/update_missing_attr.xml b/spec/epp/requests/contacts/update_missing_attr.xml
index f8e17a8a1..05222ff76 100644
--- a/spec/epp/requests/contacts/update_missing_attr.xml
+++ b/spec/epp/requests/contacts/update_missing_attr.xml
@@ -3,7 +3,7 @@
+ xmlns:contact="https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd">
ABC-12345
diff --git a/spec/epp/requests/contacts/update_with_errors.xml b/spec/epp/requests/contacts/update_with_errors.xml
index df22bf9ad..d3e147c54 100644
--- a/spec/epp/requests/contacts/update_with_errors.xml
+++ b/spec/epp/requests/contacts/update_with_errors.xml
@@ -3,7 +3,7 @@
+ xmlns:contact="https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd">
sh8013
123456798
diff --git a/spec/epp/session_spec.rb b/spec/epp/session_spec.rb
index b8a0d6c21..b1ad5d136 100644
--- a/spec/epp/session_spec.rb
+++ b/spec/epp/session_spec.rb
@@ -41,7 +41,7 @@ describe 'EPP Session', epp: true do
end
it 'prohibits further actions unless logged in' do
- @xsd = Nokogiri::XML::Schema(File.read('doc/schemas/domain-1.0.xsd'))
+ @xsd = Nokogiri::XML::Schema(File.read('doc/schemas/domain-eis-1.0.xsd'))
response = epp_plain_request(@epp_xml.domain.info(name: { value: 'test.ee' }))
response[:msg].should == 'You need to login first.'
response[:result_code].should == '2002'
@@ -55,6 +55,14 @@ describe 'EPP Session', epp: true do
response[:clTRID].should be_nil
end
+ it 'should return latin only error' do
+ wrong_user = @epp_xml.session.login(clID: { value: '你好你好' }, pw: { value: 'ghyt9e4fu' })
+ response = epp_plain_request(wrong_user)
+ response[:msg].should == 'Parameter value policy error. Allowed only Latin characters.'
+ response[:result_code].should == '2306'
+ response[:clTRID].should == 'ABC-12345'
+ end
+
context 'with valid user' do
it 'logs in epp user' do
response = epp_plain_request(@login_xml_cache)
diff --git a/spec/features/registrant/domain_delete_confirm_spec.rb b/spec/features/registrant/domain_delete_confirm_spec.rb
index 6ca4bad2e..f51374540 100644
--- a/spec/features/registrant/domain_delete_confirm_spec.rb
+++ b/spec/features/registrant/domain_delete_confirm_spec.rb
@@ -22,11 +22,12 @@ feature 'DomainDeleteConfirm', type: :feature do
context 'as unknown user with domain with token' do
before :all do
@domain = Fabricate(
- :domain,
- registrant_verification_token: '123',
+ :domain,
+ registrant_verification_token: '123',
registrant_verification_asked_at: Time.zone.now
)
- @domain.domain_statuses.create(value: DomainStatus::PENDING_DELETE)
+ @domain.statuses << DomainStatus::PENDING_DELETE
+ @domain.save
end
it 'should see warning info if token is missing in request' do
diff --git a/spec/features/registrant/domain_update_confirm_spec.rb b/spec/features/registrant/domain_update_confirm_spec.rb
index 5d5a298f7..0af47e43b 100644
--- a/spec/features/registrant/domain_update_confirm_spec.rb
+++ b/spec/features/registrant/domain_update_confirm_spec.rb
@@ -22,11 +22,12 @@ feature 'DomainUpdateConfirm', type: :feature do
context 'as unknown user with domain with update token' do
before :all do
@domain = Fabricate(
- :domain,
- registrant_verification_token: '123',
+ :domain,
+ registrant_verification_token: '123',
registrant_verification_asked_at: Time.zone.now
)
- @domain.domain_statuses.create(value: DomainStatus::PENDING_UPDATE)
+ @domain.statuses << DomainStatus::PENDING_UPDATE
+ @domain.save
end
it 'should see warning info if token is missing in request' do
diff --git a/spec/models/bank_statement_spec.rb b/spec/models/bank_statement_spec.rb
index 84f81aebf..ed9a0218e 100644
--- a/spec/models/bank_statement_spec.rb
+++ b/spec/models/bank_statement_spec.rb
@@ -63,7 +63,7 @@ describe BankStatement do
AccountActivity.count.should == 1
- r.cash_account.balance.should == 240.0
+ r.cash_account.balance.should == 200.0
bs.bank_transactions.unbinded.count.should == 1
bs.partially_binded?.should == true
diff --git a/spec/models/bank_transaction_spec.rb b/spec/models/bank_transaction_spec.rb
index f7e8a3c65..06face618 100644
--- a/spec/models/bank_transaction_spec.rb
+++ b/spec/models/bank_transaction_spec.rb
@@ -45,7 +45,7 @@ describe BankTransaction do
bt.bind_invoice(invoice.number)
invoice.receipt_date.should_not be_blank
- r.cash_account.balance.should == 240.0
+ r.cash_account.balance.should == 200.0
end
it 'should not bind transaction with mismatching sums' do
diff --git a/spec/models/domain_spec.rb b/spec/models/domain_spec.rb
index bb2a5e23f..380b907e5 100644
--- a/spec/models/domain_spec.rb
+++ b/spec/models/domain_spec.rb
@@ -96,50 +96,60 @@ describe Domain do
it 'should expire domains' do
Domain.start_expire_period
- @domain.domain_statuses.where(value: DomainStatus::EXPIRED).count.should == 0
+ @domain.statuses.include?(DomainStatus::EXPIRED).should == false
@domain.valid_to = Time.zone.now - 10.days
@domain.save
Domain.start_expire_period
- @domain.domain_statuses.where(value: DomainStatus::EXPIRED).count.should == 1
+ @domain.reload
+ @domain.statuses.include?(DomainStatus::EXPIRED).should == true
Domain.start_expire_period
- @domain.domain_statuses.where(value: DomainStatus::EXPIRED).count.should == 1
+ @domain.reload
+ @domain.statuses.include?(DomainStatus::EXPIRED).should == true
end
it 'should start redemption grace period' do
Domain.start_redemption_grace_period
- @domain.domain_statuses.where(value: DomainStatus::SERVER_HOLD).count.should == 0
+ @domain.reload
+ @domain.statuses.include?(DomainStatus::SERVER_HOLD).should == false
@domain.outzone_at = Time.zone.now
- @domain.domain_statuses.create(value: DomainStatus::SERVER_MANUAL_INZONE) # this prohibits server_hold
+ @domain.statuses << DomainStatus::SERVER_MANUAL_INZONE # this prohibits server_hold
@domain.save
Domain.start_redemption_grace_period
- @domain.domain_statuses.where(value: DomainStatus::SERVER_HOLD).count.should == 0
+ @domain.reload
+ @domain.statuses.include?(DomainStatus::SERVER_HOLD).should == false
- @domain.domain_statuses.destroy_all
+ @domain.statuses = []
+ @domain.save
Domain.start_redemption_grace_period
- @domain.domain_statuses.where(value: DomainStatus::SERVER_HOLD).count.should == 1
+ @domain.reload
+ @domain.statuses.include?(DomainStatus::SERVER_HOLD).should == true
end
it 'should start delete period' do
Domain.start_delete_period
- @domain.domain_statuses.where(value: DomainStatus::DELETE_CANDIDATE).count.should == 0
+ @domain.reload
+ @domain.statuses.include?(DomainStatus::DELETE_CANDIDATE).should == false
@domain.delete_at = Time.zone.now
- @domain.domain_statuses.create(value: DomainStatus::SERVER_DELETE_PROHIBITED) # this prohibits delete_candidate
+ @domain.statuses << DomainStatus::SERVER_DELETE_PROHIBITED # this prohibits delete_candidate
@domain.save
Domain.start_delete_period
- @domain.domain_statuses.where(value: DomainStatus::DELETE_CANDIDATE).count.should == 0
+ @domain.reload
+ @domain.statuses.include?(DomainStatus::DELETE_CANDIDATE).should == false
- @domain.domain_statuses.destroy_all
+ @domain.statuses = []
+ @domain.save
Domain.start_delete_period
+ @domain.reload
- @domain.domain_statuses.where(value: DomainStatus::DELETE_CANDIDATE).count.should == 1
+ @domain.statuses.include?(DomainStatus::DELETE_CANDIDATE).should == true
end
it 'should destroy delete candidates' do
@@ -159,15 +169,16 @@ describe Domain do
end
it 'should set force delete time' do
+ @domain.statuses = ['ok']
@domain.set_force_delete
- @domain.domain_statuses.count.should == 6
- fda = Time.zone.now + Setting.redemption_grace_period
+ @domain.statuses.count.should == 6
+ fda = Time.zone.now + Setting.redemption_grace_period.days
@domain.force_delete_at.should be_within(20).of(fda)
@domain.unset_force_delete
- @domain.domain_statuses.count.should == 1
+ @domain.statuses.count.should == 1
@domain.force_delete_at.should be_nil
end
@@ -175,7 +186,7 @@ describe Domain do
before :all do
@domain.registrant_verification_token = 123
@domain.registrant_verification_asked_at = Time.zone.now
- @domain.domain_statuses.create(value: DomainStatus::PENDING_UPDATE)
+ @domain.statuses << DomainStatus::PENDING_UPDATE
end
it 'should be registrant update confirm ready' do
@@ -187,7 +198,7 @@ describe Domain do
end
it 'should not be registrant update confirm ready when no correct status' do
- @domain.domain_statuses.delete_all
+ @domain.statuses = []
@domain.registrant_update_confirmable?('123').should == false
end
end
@@ -196,7 +207,7 @@ describe Domain do
before :all do
@domain.registrant_verification_token = 123
@domain.registrant_verification_asked_at = Time.zone.now
- @domain.domain_statuses.create(value: DomainStatus::PENDING_UPDATE)
+ @domain.statuses << DomainStatus::PENDING_UPDATE
end
it 'should be registrant update confirm ready' do
@@ -208,7 +219,7 @@ describe Domain do
end
it 'should not be registrant update confirm ready when no correct status' do
- @domain.domain_statuses.delete_all
+ @domain.statuses = []
@domain.registrant_update_confirmable?('123').should == false
end
end
@@ -441,24 +452,23 @@ describe Domain do
it 'manages statuses automatically' do
d = Fabricate(:domain)
- expect(d.domain_statuses.count).to eq(1)
- expect(d.domain_statuses.first.value).to eq(DomainStatus::OK)
+ expect(d.statuses.count).to eq(1)
+ expect(d.statuses.first).to eq(DomainStatus::OK)
d.period = 2
d.save
d.reload
+ expect(d.statuses.count).to eq(1)
+ expect(d.statuses.first).to eq(DomainStatus::OK)
- expect(d.domain_statuses.count).to eq(1)
- expect(d.domain_statuses.first.reload.value).to eq(DomainStatus::OK)
-
- d.domain_statuses.build(value: DomainStatus::CLIENT_DELETE_PROHIBITED)
+ d.statuses << DomainStatus::CLIENT_DELETE_PROHIBITED
d.save
d.reload
- expect(d.domain_statuses.count).to eq(1)
- expect(d.domain_statuses.first.value).to eq(DomainStatus::CLIENT_DELETE_PROHIBITED)
+ expect(d.statuses.count).to eq(1)
+ expect(d.statuses.first).to eq(DomainStatus::CLIENT_DELETE_PROHIBITED)
end
with_versioning do
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb
index 1ef1f9159..453d8fc13 100644
--- a/spec/rails_helper.rb
+++ b/spec/rails_helper.rb
@@ -7,6 +7,7 @@ require 'shoulda/matchers'
require 'capybara/poltergeist'
require 'paper_trail/frameworks/rspec'
PaperTrail.whodunnit = 'autotest'
+require "money-rails/test_helpers"
if ENV['ROBOT']
require 'simplecov'