Configure sk service name #2619

This commit is contained in:
Martin Lensment 2015-06-08 12:40:32 +03:00 committed by Priit Tark
parent b8597d636d
commit f3d6846a11
2 changed files with 7 additions and 4 deletions

View file

@ -98,7 +98,7 @@ class Registrar::SessionsController < Devise::SessionsController
response = client.authenticate(
phone: "+372#{phone}",
message_to_display: 'Authenticating',
service_name: 'Testing'
service_name: ENV['sk_digi_doc_service_name'] || 'Testing'
)
if response.faultcode

View file

@ -9,7 +9,6 @@ legal_documents_dir: 'import/legal_documents'
# Example: 'Admin, EPP, REPP' will have name 'Admin, EPP, REPP - production' at New Relic.
new_relic_app_name: 'Admin, EPP, REPP, Registrar, Registrant'
# You can use `rake secret` to generate a secure secret key.
# Your secret key is used for verifying the integrity of signed cookies.
# If you change this key, all old signed cookies will become invalid!
@ -30,8 +29,11 @@ webclient_cert_common_name: 'webclient'
# and returns 2306 "Parameter value policy error"
contact_org_enabled: 'false'
# Firewall countrer update command
# iptables_counter_update_command: ''
# Enable iptables counter updater
# iptables_counter_enabled: 'true'
# Custom legal document types
# legal_document_types: "pdf,bdoc,ddoc,zip,rar,gz,tar,7z,odt,doc,docx"
# DEPP server configuration (both for Registrar/Registrant servers)
show_ds_data_fields: 'false'
@ -64,6 +66,7 @@ registrant_url: 'https:/registrant.example.com' # for valid email body registran
# SK DigiDocService
sk_digi_doc_service_endpoint: 'https://openxades.org:9443/DigiDocService'
sk_digi_doc_service_name: 'EIS test'
# Autotest config overwrites
test: