Skip to content

Commit

Permalink
[Automated] Merged master into target k8s
Browse files Browse the repository at this point in the history
  • Loading branch information
va-vsp-bot authored Apr 8, 2024
2 parents 1c05b67 + 5a18cb4 commit 4880a08
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ ask_va_api:
client_id: client_id
client_secret: secret
resource: resource
veis_api_path: veis/vagov.lob.ava/api
veis_api_path: eis/vagov.lob.ava/api
tenant_id: abcdefgh-1234-5678-12345-11e8b8ce491e
ocp_apim_subscription_key: subscription_key
redis_token_expiry: 3540 # 59 minutes
Expand Down
2 changes: 1 addition & 1 deletion modules/ask_va_api/app/services/crm/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class Service
attr_reader :icn, :logger, :settings, :base_uri, :token

BASE_URI = 'https://dev.integration.d365.va.gov'
VEIS_API_PATH = 'veis/vagov.lob.ava/api'
VEIS_API_PATH = 'eis/vagov.lob.ava/api'

def_delegators :settings,
:base_url,
Expand Down
4 changes: 2 additions & 2 deletions modules/ask_va_api/spec/services/crm/service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def mock_response(status:, body:)

before do
allow_any_instance_of(Crm::CrmToken).to receive(:call).and_return('token')
allow_any_instance_of(Faraday::Connection).to receive(:get).with('veis/vagov.lob.ava/api/inquiries',
allow_any_instance_of(Faraday::Connection).to receive(:get).with('eis/vagov.lob.ava/api/inquiries',
icn: '123',
organizationName: 'iris-dev')
.and_return(response)
Expand Down Expand Up @@ -99,7 +99,7 @@ def mock_response(status:, body:)

before do
allow_any_instance_of(Crm::CrmToken).to receive(:call).and_return('token')
allow_any_instance_of(Faraday::Connection).to receive(:get).with('veis/vagov.lob.ava/api/inquiries',
allow_any_instance_of(Faraday::Connection).to receive(:get).with('eis/vagov.lob.ava/api/inquiries',
{ icn: '123',
organizationName: 'iris-dev' })
.and_raise(exception)
Expand Down

0 comments on commit 4880a08

Please sign in to comment.