-
Notifications
You must be signed in to change notification settings - Fork 66
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
Conversation
Generated by 🚫 Danger |
…vets-api into vebt-777
def connection | ||
@conn ||= Faraday.new(base_path, headers: base_request_headers, request: request_options) do |faraday| | ||
faraday.use :breakers | ||
faraday.ssl[:ca_file] = '/srv/vets-api/secret/dgib_ica11_rca2.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.
'/srv/vets-api/secret/dgib_ica11_rca2.key' is not a valid path and will be null. Please reference this cert aka Settings.dgi.vye.public_ica11_rca2_key_path
require 'dgib/verification_record/configuration' | ||
require 'dgib/verify_claimant/configuration' | ||
|
||
Rails.application.reloader.to_prepare do |
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 file needs to be removed. Breakers client should not be re-initialized.
@@ -9,5 +9,11 @@ def create? | |||
end | |||
|
|||
alias_method :show?, :create? | |||
|
|||
def access? |
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 added to a new file. app/policies/vye_policy.rb or else the controller will not recognize it
Error: A file (or its parent directories) does not have a CODEOWNERS entry. Please update the .github/CODEOWNERS file and add the entry for the Offending file: app/policies/vye_policy.rb |
Error: A file (or its parent directories) does not have a CODEOWNERS entry. Please update the .github/CODEOWNERS file and add the entry for the Offending file: app/policies/vye_policy.rb |
@@ -0,0 +1,7 @@ | |||
VyePolicy = Struct.new(:user, :user_info) do |
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.
# frozen_string_literal: true
This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
Summary
Related issue(s)
Testing done
What areas of the site does it impact?
VYE enrollment verifications
Acceptance criteria