Class: EtCcdClient::Config
- Inherits:
-
Object
- Object
- EtCcdClient::Config
- Includes:
- Singleton
- Defined in:
- lib/et_ccd_client/config.rb
Instance Attribute Summary collapse
-
#auth_base_url ⇒ Object
Returns the value of attribute auth_base_url.
-
#case_management_ui_base_url ⇒ Object
Returns the value of attribute case_management_ui_base_url.
-
#case_management_ui_redirect_url ⇒ Object
Returns the value of attribute case_management_ui_redirect_url.
-
#data_store_base_url ⇒ Object
Returns the value of attribute data_store_base_url.
-
#document_store_base_url ⇒ Object
Returns the value of attribute document_store_base_url.
-
#document_store_url_rewrite ⇒ Object
Returns the value of attribute document_store_url_rewrite.
-
#ecm_base_url ⇒ Object
Returns the value of attribute ecm_base_url.
-
#gateway_api_url ⇒ Object
Returns the value of attribute gateway_api_url.
-
#idam_base_url ⇒ Object
Returns the value of attribute idam_base_url.
-
#jurisdiction_id ⇒ Object
Returns the value of attribute jurisdiction_id.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#microservice ⇒ Object
Returns the value of attribute microservice.
-
#microservice_secret ⇒ Object
Returns the value of attribute microservice_secret.
-
#pool_size ⇒ Object
Returns the value of attribute pool_size.
-
#pool_timeout ⇒ Object
Returns the value of attribute pool_timeout.
-
#proxy ⇒ Object
Returns the value of attribute proxy.
-
#sidam_password ⇒ Object
Returns the value of attribute sidam_password.
-
#sidam_username ⇒ Object
Returns the value of attribute sidam_username.
-
#use_sidam ⇒ Object
Returns the value of attribute use_sidam.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
-
#user_role ⇒ Object
Returns the value of attribute user_role.
-
#verify_ssl ⇒ Object
Returns the value of attribute verify_ssl.
Instance Method Summary collapse
- #case_events_url ⇒ Object
- #case_management_ui_config_url ⇒ Object
- #case_url ⇒ Object
- #cases_pagination_metadata_url ⇒ Object
- #cases_path ⇒ Object
- #cases_url ⇒ Object
- #create_case_path ⇒ Object
- #create_case_url ⇒ Object
- #idam_service_token_exchange_url ⇒ Object
- #idam_user_token_exchange_url ⇒ Object
- #initiate_bulk_event_id ⇒ Object
- #initiate_case_path ⇒ Object
- #initiate_case_url ⇒ Object
- #initiate_claim_event_id ⇒ Object
- #initiate_document_upload_event_id ⇒ Object
- #initiate_document_upload_url ⇒ Object
- #start_multiple_url ⇒ Object
- #upload_file_url ⇒ Object
- #user_details_url ⇒ Object
Instance Attribute Details
#auth_base_url ⇒ Object
Returns the value of attribute auth_base_url.
8 9 10 |
# File 'lib/et_ccd_client/config.rb', line 8 def auth_base_url @auth_base_url end |
#case_management_ui_base_url ⇒ Object
Returns the value of attribute case_management_ui_base_url.
8 9 10 |
# File 'lib/et_ccd_client/config.rb', line 8 def case_management_ui_base_url @case_management_ui_base_url end |
#case_management_ui_redirect_url ⇒ Object
Returns the value of attribute case_management_ui_redirect_url.
13 14 15 |
# File 'lib/et_ccd_client/config.rb', line 13 def case_management_ui_redirect_url @case_management_ui_redirect_url end |
#data_store_base_url ⇒ Object
Returns the value of attribute data_store_base_url.
8 9 10 |
# File 'lib/et_ccd_client/config.rb', line 8 def data_store_base_url @data_store_base_url end |
#document_store_base_url ⇒ Object
Returns the value of attribute document_store_base_url.
8 9 10 |
# File 'lib/et_ccd_client/config.rb', line 8 def document_store_base_url @document_store_base_url end |
#document_store_url_rewrite ⇒ Object
Returns the value of attribute document_store_url_rewrite.
8 9 10 |
# File 'lib/et_ccd_client/config.rb', line 8 def document_store_url_rewrite @document_store_url_rewrite end |
#ecm_base_url ⇒ Object
Returns the value of attribute ecm_base_url.
8 9 10 |
# File 'lib/et_ccd_client/config.rb', line 8 def ecm_base_url @ecm_base_url end |
#gateway_api_url ⇒ Object
Returns the value of attribute gateway_api_url.
8 9 10 |
# File 'lib/et_ccd_client/config.rb', line 8 def gateway_api_url @gateway_api_url end |
#idam_base_url ⇒ Object
Returns the value of attribute idam_base_url.
8 9 10 |
# File 'lib/et_ccd_client/config.rb', line 8 def idam_base_url @idam_base_url end |
#jurisdiction_id ⇒ Object
Returns the value of attribute jurisdiction_id.
10 11 12 |
# File 'lib/et_ccd_client/config.rb', line 10 def jurisdiction_id @jurisdiction_id end |
#logger ⇒ Object
Returns the value of attribute logger.
11 12 13 |
# File 'lib/et_ccd_client/config.rb', line 11 def logger @logger end |
#microservice ⇒ Object
Returns the value of attribute microservice.
10 11 12 |
# File 'lib/et_ccd_client/config.rb', line 10 def microservice @microservice end |
#microservice_secret ⇒ Object
Returns the value of attribute microservice_secret.
10 11 12 |
# File 'lib/et_ccd_client/config.rb', line 10 def microservice_secret @microservice_secret end |
#pool_size ⇒ Object
Returns the value of attribute pool_size.
14 15 16 |
# File 'lib/et_ccd_client/config.rb', line 14 def pool_size @pool_size end |
#pool_timeout ⇒ Object
Returns the value of attribute pool_timeout.
14 15 16 |
# File 'lib/et_ccd_client/config.rb', line 14 def pool_timeout @pool_timeout end |
#proxy ⇒ Object
Returns the value of attribute proxy.
15 16 17 |
# File 'lib/et_ccd_client/config.rb', line 15 def proxy @proxy end |
#sidam_password ⇒ Object
Returns the value of attribute sidam_password.
12 13 14 |
# File 'lib/et_ccd_client/config.rb', line 12 def sidam_password @sidam_password end |
#sidam_username ⇒ Object
Returns the value of attribute sidam_username.
12 13 14 |
# File 'lib/et_ccd_client/config.rb', line 12 def sidam_username @sidam_username end |
#use_sidam ⇒ Object
Returns the value of attribute use_sidam.
12 13 14 |
# File 'lib/et_ccd_client/config.rb', line 12 def use_sidam @use_sidam end |
#user_id ⇒ Object
Returns the value of attribute user_id.
9 10 11 |
# File 'lib/et_ccd_client/config.rb', line 9 def user_id @user_id end |
#user_role ⇒ Object
Returns the value of attribute user_role.
9 10 11 |
# File 'lib/et_ccd_client/config.rb', line 9 def user_role @user_role end |
#verify_ssl ⇒ Object
Returns the value of attribute verify_ssl.
12 13 14 |
# File 'lib/et_ccd_client/config.rb', line 12 def verify_ssl @verify_ssl end |
Instance Method Details
#case_events_url ⇒ Object
57 58 59 |
# File 'lib/et_ccd_client/config.rb', line 57 def case_events_url "#{data_store_base_url}/caseworkers/{uid}/jurisdictions/{jid}/case-types/{ctid}/cases/{cid}/events" end |
#case_management_ui_config_url ⇒ Object
81 82 83 |
# File 'lib/et_ccd_client/config.rb', line 81 def case_management_ui_config_url "#{case_management_ui_base_url}/config" end |
#case_url ⇒ Object
37 38 39 |
# File 'lib/et_ccd_client/config.rb', line 37 def case_url "#{cases_url}/{case_id}" end |
#cases_pagination_metadata_url ⇒ Object
41 42 43 |
# File 'lib/et_ccd_client/config.rb', line 41 def "#{data_store_base_url}/caseworkers/{uid}/jurisdictions/{jid}/case-types/{ctid}/cases/pagination_metadata{?query*}" end |
#cases_path ⇒ Object
85 86 87 |
# File 'lib/et_ccd_client/config.rb', line 85 def cases_path "/caseworkers/{uid}/jurisdictions/{jid}/case-types/{ctid}/cases{?query*}" end |
#cases_url ⇒ Object
33 34 35 |
# File 'lib/et_ccd_client/config.rb', line 33 def cases_url "#{data_store_base_url}#{cases_path}" end |
#create_case_path ⇒ Object
29 30 31 |
# File 'lib/et_ccd_client/config.rb', line 29 def create_case_path "/caseworkers/{uid}/jurisdictions/{jid}/case-types/{ctid}/cases" end |
#create_case_url ⇒ Object
25 26 27 |
# File 'lib/et_ccd_client/config.rb', line 25 def create_case_url "#{data_store_base_url}#{create_case_path}" end |
#idam_service_token_exchange_url ⇒ Object
17 18 19 |
# File 'lib/et_ccd_client/config.rb', line 17 def idam_service_token_exchange_url "#{auth_base_url}/lease" end |
#idam_user_token_exchange_url ⇒ Object
21 22 23 |
# File 'lib/et_ccd_client/config.rb', line 21 def idam_user_token_exchange_url use_sidam ? "#{idam_base_url}/loginUser" : "#{idam_base_url}/testing-support/lease" end |
#initiate_bulk_event_id ⇒ Object
73 74 75 |
# File 'lib/et_ccd_client/config.rb', line 73 def initiate_bulk_event_id 'createMultiple' end |
#initiate_case_path ⇒ Object
49 50 51 |
# File 'lib/et_ccd_client/config.rb', line 49 def initiate_case_path "/caseworkers/{uid}/jurisdictions/{jid}/case-types/{ctid}/event-triggers/{etid}/token" end |
#initiate_case_url ⇒ Object
45 46 47 |
# File 'lib/et_ccd_client/config.rb', line 45 def initiate_case_url "#{data_store_base_url}#{initiate_case_path}" end |
#initiate_claim_event_id ⇒ Object
69 70 71 |
# File 'lib/et_ccd_client/config.rb', line 69 def initiate_claim_event_id 'initiateCase' end |
#initiate_document_upload_event_id ⇒ Object
77 78 79 |
# File 'lib/et_ccd_client/config.rb', line 77 def initiate_document_upload_event_id 'uploadDocument' end |
#initiate_document_upload_url ⇒ Object
53 54 55 |
# File 'lib/et_ccd_client/config.rb', line 53 def initiate_document_upload_url "#{data_store_base_url}/caseworkers/{uid}/jurisdictions/{jid}/case-types/{ctid}/cases/{cid}/event-triggers/uploadDocument/token" end |
#start_multiple_url ⇒ Object
65 66 67 |
# File 'lib/et_ccd_client/config.rb', line 65 def start_multiple_url "#{ecm_base_url}/generateCaseRefNumbers" end |
#upload_file_url ⇒ Object
61 62 63 |
# File 'lib/et_ccd_client/config.rb', line 61 def upload_file_url "#{document_store_base_url}/documents" end |
#user_details_url ⇒ Object
89 90 91 |
# File 'lib/et_ccd_client/config.rb', line 89 def user_details_url "#{idam_base_url}/details" end |