mirror of
https://github.com/internetee/registry.git
synced 2025-07-29 22:16:19 +02:00
Added xml epp console required endpoints and sample xml files
This commit is contained in:
parent
30fd6d2465
commit
aaa0e89cfe
21 changed files with 460 additions and 4 deletions
|
@ -61,6 +61,13 @@ contact_org_enabled: 'false'
|
|||
# System default for legal document types is: pdf,asice,sce,asics,scs,adoc,edoc,bdoc,ddoc,zip,rar,gz,tar,7z,odt,doc,docx
|
||||
# legal_document_types: "pdf,asice,sce,asics,scs,adoc,edoc,bdoc,ddoc,zip,rar,gz,tar,7z,odt,doc,docx"
|
||||
|
||||
#
|
||||
# REGISTRAR configuration
|
||||
#
|
||||
epp_port: '700'
|
||||
cert_path: '/opt/ca/certs/webclient.crt.pem'
|
||||
key_path: '/opt/ca/private/webclient.key.pem'
|
||||
epp_hostname: 'epp_proxy'
|
||||
repp_url: 'http://epp:3000/repp/v1/'
|
||||
|
||||
# Estonian Company Register
|
||||
|
|
|
@ -187,6 +187,9 @@ en:
|
|||
required_ident_attribute_missing: "Required ident attribute missing: %{key}"
|
||||
invalid_iso31661_alpha2: does not conform to ISO 3166-1 alpha-2 standard
|
||||
invalid_iso8601_date: has invalid date format YYYY-MM-DD (ISO 8601)
|
||||
invalid_cert: 'Invalid certificate'
|
||||
failed_epp_conn: 'Failed to open connection to EPP server!'
|
||||
epp_conn_error: 'CONNECTION ERROR - Is the EPP server running?'
|
||||
|
||||
code: 'Code'
|
||||
action: 'Action'
|
||||
|
|
|
@ -106,7 +106,7 @@ Rails.application.routes.draw do
|
|||
end
|
||||
end
|
||||
namespace :registrar do
|
||||
resources :notifications, only: [:index, :show, :update] do
|
||||
resources :notifications, only: %i[index show update] do
|
||||
collection do
|
||||
get '/all_notifications', to: 'notifications#all_notifications'
|
||||
end
|
||||
|
@ -128,6 +128,11 @@ Rails.application.routes.draw do
|
|||
post '/tara_callback', to: 'auth#tara_callback'
|
||||
end
|
||||
end
|
||||
resource :xml_console, controller: 'xml_console', only: %i[create] do
|
||||
collection do
|
||||
get 'load_xml'
|
||||
end
|
||||
end
|
||||
end
|
||||
resources :domains, constraints: { id: /.*/ } do
|
||||
resources :nameservers, only: %i[index create destroy], constraints: { id: /.*/ }, controller: 'domains/nameservers'
|
||||
|
@ -136,8 +141,8 @@ Rails.application.routes.draw do
|
|||
resources :renew, only: %i[create], constraints: { id: /.*/ }, controller: 'domains/renews'
|
||||
resources :transfer, only: %i[create], constraints: { id: /.*/ }, controller: 'domains/transfers'
|
||||
resources :statuses, only: %i[update destroy], constraints: { id: /.*/ }, controller: 'domains/statuses'
|
||||
match "dnssec", to: "domains/dnssec#destroy", via: "delete", defaults: { id: nil }
|
||||
match "contacts", to: "domains/contacts#destroy", via: "delete", defaults: { id: nil }
|
||||
match 'dnssec', to: 'domains/dnssec#destroy', via: 'delete', defaults: { id: nil }
|
||||
match 'contacts', to: 'domains/contacts#destroy', via: 'delete', defaults: { id: nil }
|
||||
collection do
|
||||
get ':id/transfer_info', to: 'domains#transfer_info', constraints: { id: /.*/ }
|
||||
post 'transfer', to: 'domains#transfer'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue