-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VEBT-777 - Add API's to connect to four DGIB endpoints for VYE #19331
base: master
Are you sure you want to change the base?
Conversation
Generated by 🚫 Danger |
…vets-api into vebt-777
public_key_path: "/dsva-vagov/vets-api/#{Settings.vsp_environment}/dgib/jwt.key" | ||
private_key_path: "/dsva-vagov/vets-api/#{Settings.vsp_environment}/dgib/jwt.crt" | ||
vets: | ||
url: "https://dgi-uat001-vaapi.np.afsp.io/vets-service/v1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use a fake url
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe we need that url to test with
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can assign the url to settings.local.yml so that it's not pushed to prod
def connection | ||
@conn ||= Faraday.new(base_path, headers: base_request_headers, request: request_options) do |faraday| | ||
faraday.use :breakers | ||
faraday.ssl[:ca_file] = 'modules/vye/spec/fixtures/ICA11-RCA2-combined-cert.pem' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will need to be Settings.dgi.vye....{combined cert path}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we made this change
config/settings.yml
Outdated
vye: | ||
jwt: | ||
# May not need the public path | ||
public_key_path: "/dsva-vagov/vets-api/#{Settings.vsp_environment}/dgib/jwt.key" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use fake paths
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or empty strings
Summary
Related issue(s)
Testing done
What areas of the site does it impact?
VYE enrollment verifications
Acceptance criteria