index int64 0 0 | repo_id stringclasses 829
values | file_path stringlengths 34 254 | content stringlengths 6 5.38M |
|---|---|---|---|
0 | code_files/vets-api-private/app/sidekiq/education_form/templates | code_files/vets-api-private/app/sidekiq/education_form/templates/1990-disclosure/_CH33_30.erb | EDUCATION BENEFIT BEING APPLIED FOR: Chapter 33 |
0 | code_files/vets-api-private/app/sidekiq/education_form/templates | code_files/vets-api-private/app/sidekiq/education_form/templates/1990-disclosure/_CH33_1606.erb | EDUCATION BENEFIT BEING APPLIED FOR: Chapter 33
|
0 | code_files/vets-api-private/app/sidekiq/education_form/templates | code_files/vets-api-private/app/sidekiq/education_form/templates/1990-disclosure/_CH33_1607.erb | EDUCATION BENEFIT BEING APPLIED FOR: Chapter 33 |
0 | code_files/vets-api-private/app/sidekiq | code_files/vets-api-private/app/sidekiq/lighthouse/submit_career_counseling_job.rb | # frozen_string_literal: true
require 'pcpg/monitor'
module Lighthouse
class SubmitCareerCounselingJob
include Sidekiq::Job
# retry for 2d 1h 47m 12s
# https://github.com/sidekiq/sidekiq/wiki/Error-Handling
RETRY = 16
STATSD_KEY_PREFIX = 'worker.lighthouse.submit_career_counseling_job'
si... |
0 | code_files/vets-api-private/app/sidekiq | code_files/vets-api-private/app/sidekiq/lighthouse/document_upload_synchronous.rb | # frozen_string_literal: true
require 'datadog'
require 'timeout'
require 'lighthouse/benefits_documents/worker_service'
class Lighthouse::DocumentUploadSynchronous
def self.upload(user_icn, document_hash)
client = BenefitsDocuments::WorkerService.new
document, file_body, uploader = nil
Datadog::Tracin... |
0 | code_files/vets-api-private/app/sidekiq | code_files/vets-api-private/app/sidekiq/lighthouse/failure_notification.rb | # frozen_string_literal: true
require 'vets/shared_logging'
class Lighthouse::FailureNotification
include Sidekiq::Job
include Vets::SharedLogging
NOTIFY_SETTINGS = Settings.vanotify.services.benefits_management_tools
MAILER_TEMPLATE_ID = NOTIFY_SETTINGS.template_id.evidence_submission_failure_email
# ret... |
0 | code_files/vets-api-private/app/sidekiq | code_files/vets-api-private/app/sidekiq/lighthouse/form526_document_upload_polling_job.rb | # frozen_string_literal: true
require 'lighthouse/benefits_documents/form526/documents_status_polling_service'
require 'lighthouse/benefits_documents/form526/update_documents_status_service'
module Lighthouse
class Form526DocumentUploadPollingJob
include Sidekiq::Job
# Job runs every hour; ensure retries ha... |
0 | code_files/vets-api-private/app/sidekiq | code_files/vets-api-private/app/sidekiq/lighthouse/poll_form526_pdf.rb | # frozen_string_literal: true
require 'lighthouse/benefits_claims/service'
require 'vets/shared_logging'
require 'logging/third_party_transaction'
require 'sidekiq/form526_job_status_tracker/job_tracker'
require 'sidekiq/form526_job_status_tracker/metrics'
module Lighthouse
# rubocop:disable Metrics/MethodLength
... |
0 | code_files/vets-api-private/app/sidekiq | code_files/vets-api-private/app/sidekiq/lighthouse/create_intent_to_file_job.rb | # frozen_string_literal: true
require 'lighthouse/benefits_claims/service'
require 'lighthouse/benefits_claims/intent_to_file/monitor'
module Lighthouse
class CreateIntentToFileJob
include Sidekiq::Job
attr_reader :form, :itf_type
class MissingICNError < StandardError; end
class MissingParticipant... |
0 | code_files/vets-api-private/app/sidekiq | code_files/vets-api-private/app/sidekiq/lighthouse/submit_benefits_intake_claim.rb | # frozen_string_literal: true
require 'vets/shared_logging'
require 'central_mail/service'
require 'pdf_utilities/datestamp_pdf'
require 'pcpg/monitor'
require 'benefits_intake_service/service'
require 'lighthouse/benefits_intake/metadata'
require 'pdf_info'
module Lighthouse
class SubmitBenefitsIntakeClaim
in... |
0 | code_files/vets-api-private/app/sidekiq/lighthouse | code_files/vets-api-private/app/sidekiq/lighthouse/benefits_intake/submit_central_form686c_job.rb | # frozen_string_literal: true
require 'central_mail/service'
require 'benefits_intake_service/service'
require 'pdf_utilities/datestamp_pdf'
require 'pdf_info'
require 'simple_forms_api_submission/metadata_validator'
require 'dependents/monitor'
module Lighthouse
module BenefitsIntake
class SubmitCentralForm686... |
0 | code_files/vets-api-private/app/sidekiq/lighthouse | code_files/vets-api-private/app/sidekiq/lighthouse/benefits_intake/submit_central_form686c_v2_job.rb | # frozen_string_literal: true
require 'central_mail/service'
require 'benefits_intake_service/service'
require 'pdf_utilities/datestamp_pdf'
require 'pdf_info'
require 'simple_forms_api_submission/metadata_validator'
require 'dependents/monitor'
module Lighthouse
module BenefitsIntake
class SubmitCentralForm686... |
0 | code_files/vets-api-private/app/sidekiq/lighthouse | code_files/vets-api-private/app/sidekiq/lighthouse/benefits_intake/delete_old_claims.rb | # frozen_string_literal: true
module Lighthouse
module BenefitsIntake
class DeleteOldClaims
include Sidekiq::Job
sidekiq_options retry: false
EXPIRATION_TIME = 2.months
def perform
CentralMailClaim.joins(:central_mail_submission).where.not(
central_mail_submissions: {... |
0 | code_files/vets-api-private/app/sidekiq/lighthouse | code_files/vets-api-private/app/sidekiq/lighthouse/benefits_discovery/log_eligible_benefits_job.rb | # frozen_string_literal: true
require 'lighthouse/benefits_discovery/service'
require 'lighthouse/benefits_discovery/params'
module Lighthouse
module BenefitsDiscovery
class LogEligibleBenefitsJob
include Sidekiq::Job
sidekiq_options retry: false
def perform(user_uuid, service_history)
... |
0 | code_files/vets-api-private/app/sidekiq/lighthouse | code_files/vets-api-private/app/sidekiq/lighthouse/evidence_submissions/evidence_submission_document_upload_polling_job.rb | # frozen_string_literal: true
require 'lighthouse/benefits_documents/documents_status_polling_service'
require 'lighthouse/benefits_documents/update_documents_status_service'
module Lighthouse
module EvidenceSubmissions
class EvidenceSubmissionDocumentUploadPollingJob
include Sidekiq::Job
# Job runs... |
0 | code_files/vets-api-private/app/sidekiq/lighthouse | code_files/vets-api-private/app/sidekiq/lighthouse/evidence_submissions/delete_evidence_submission_records_job.rb | # frozen_string_literal: true
require 'sidekiq'
require 'lighthouse/benefits_documents/constants'
module Lighthouse
module EvidenceSubmissions
class DeleteEvidenceSubmissionRecordsJob
include Sidekiq::Job
# No need to retry since the schedule will run this periodically
sidekiq_options retry: ... |
0 | code_files/vets-api-private/app/sidekiq/lighthouse | code_files/vets-api-private/app/sidekiq/lighthouse/evidence_submissions/va_notify_email_status_callback.rb | # frozen_string_literal: true
require 'lighthouse/benefits_documents/constants'
module Lighthouse
module EvidenceSubmissions
class VANotifyEmailStatusCallback
def self.call(notification)
es = EvidenceSubmission.find_by(va_notify_id: notification.notification_id)
api_service_name = get_api_... |
0 | code_files/vets-api-private/app/sidekiq/lighthouse | code_files/vets-api-private/app/sidekiq/lighthouse/evidence_submissions/document_upload.rb | # frozen_string_literal: true
require 'datadog'
require 'timeout'
require 'lighthouse/benefits_documents/worker_service'
require 'lighthouse/benefits_documents/constants'
require 'lighthouse/benefits_documents/utilities/helpers'
module Lighthouse
module EvidenceSubmissions
class DocumentUpload
include Sid... |
0 | code_files/vets-api-private/app/sidekiq/lighthouse | code_files/vets-api-private/app/sidekiq/lighthouse/evidence_submissions/failure_notification_email_job.rb | # frozen_string_literal: true
require 'vets/shared_logging'
require 'sidekiq'
require 'lighthouse/benefits_documents/constants'
require 'lighthouse/benefits_documents/utilities/helpers'
module Lighthouse
module EvidenceSubmissions
class FailureNotificationEmailJob
include Sidekiq::Job
include Vets:... |
0 | code_files/vets-api-private/app/sidekiq | code_files/vets-api-private/app/sidekiq/pager_duty/cache_global_downtime.rb | # frozen_string_literal: true
require 'vets/shared_logging'
require 'pagerduty/maintenance_client'
require 'pagerduty/maintenance_windows_uploader'
module PagerDuty
class CacheGlobalDowntime
include Sidekiq::Job
include Vets::SharedLogging
sidekiq_options retry: 1, queue: 'critical'
def perform
... |
0 | code_files/vets-api-private/app/sidekiq | code_files/vets-api-private/app/sidekiq/pager_duty/poll_maintenance_windows.rb | # frozen_string_literal: true
require 'pagerduty/maintenance_client'
require 'vets/shared_logging'
module PagerDuty
class PollMaintenanceWindows
include Sidekiq::Job
include Vets::SharedLogging
sidekiq_options retry: 1, queue: 'critical'
MESSAGE_INDICATOR = 'USER_MESSAGE:'
def parse_user_messa... |
0 | code_files/vets-api-private/app/sidekiq | code_files/vets-api-private/app/sidekiq/central_mail/submit_form4142_job.rb | # frozen_string_literal: true
require 'central_mail/service'
require 'common/exceptions'
require 'evss/disability_compensation_form/metrics'
require 'evss/disability_compensation_form/form4142_processor'
require 'logging/call_location'
require 'logging/third_party_transaction'
require 'zero_silent_failures/monitor'
#... |
0 | code_files/vets-api-private/app/sidekiq | code_files/vets-api-private/app/sidekiq/income_limits/std_zipcode_import.rb | # frozen_string_literal: true
# rubocop:disable Metrics/MethodLength
require 'net/http'
require 'csv'
module IncomeLimits
class StdZipcodeImport
include Sidekiq::Job
def fetch_csv_data
csv_url = 'https://sitewide-public-websites-income-limits-data.s3-us-gov-west-1.amazonaws.com/std_zipcode.csv'
... |
0 | code_files/vets-api-private/app/sidekiq | code_files/vets-api-private/app/sidekiq/income_limits/std_income_threshold_import.rb | # frozen_string_literal: true
# rubocop:disable Metrics/MethodLength
require 'net/http'
require 'csv'
module IncomeLimits
class StdIncomeThresholdImport
include Sidekiq::Job
def fetch_csv_data
csv_url = 'https://sitewide-public-websites-income-limits-data.s3-us-gov-west-1.amazonaws.com/std_incomethr... |
0 | code_files/vets-api-private/app/sidekiq | code_files/vets-api-private/app/sidekiq/income_limits/std_county_import.rb | # frozen_string_literal: true
require 'net/http'
require 'csv'
module IncomeLimits
class StdCountyImport
include Sidekiq::Job
def fetch_csv_data
csv_url = 'https://sitewide-public-websites-income-limits-data.s3-us-gov-west-1.amazonaws.com/std_county.csv'
uri = URI(csv_url)
http = Net::HTT... |
0 | code_files/vets-api-private/app/sidekiq | code_files/vets-api-private/app/sidekiq/income_limits/gmt_thresholds_import.rb | # frozen_string_literal: true
require 'net/http'
require 'csv'
module IncomeLimits
class GmtThresholdsImport
include Sidekiq::Job
def fetch_csv_data
csv_url = 'https://sitewide-public-websites-income-limits-data.s3-us-gov-west-1.amazonaws.com/std_gmtthresholds.csv'
uri = URI(csv_url)
http... |
0 | code_files/vets-api-private/app/sidekiq | code_files/vets-api-private/app/sidekiq/income_limits/std_state_import.rb | # frozen_string_literal: true
# rubocop:disable Metrics/MethodLength
require 'net/http'
require 'csv'
module IncomeLimits
class StdStateImport
include Sidekiq::Job
def fetch_csv_data
csv_url = 'https://sitewide-public-websites-income-limits-data.s3-us-gov-west-1.amazonaws.com/std_state.csv'
ur... |
0 | code_files/vets-api-private/app | code_files/vets-api-private/app/mailers/spool_submissions_report_mailer.rb | # frozen_string_literal: true
require 'reports/uploader'
class SpoolSubmissionsReportMailer < ApplicationMailer
REPORT_TEXT = 'Spool submissions report'
def build(report_file)
url = Reports::Uploader.get_s3_link(report_file)
opt = {}
opt[:to] =
if FeatureFlipper.staging_email?
Settings... |
0 | code_files/vets-api-private/app | code_files/vets-api-private/app/mailers/veteran_readiness_employment_mailer.rb | # frozen_string_literal: true
class VeteranReadinessEmploymentMailer < ApplicationMailer
def build(pid, email_addr, routed_to_cmp)
email_addr = 'kcrawford@governmentcio.com' if FeatureFlipper.staging_email?
@submission_date = Time.current.in_time_zone('America/New_York').strftime('%m/%d/%Y')
@pid = pid
... |
0 | code_files/vets-api-private/app | code_files/vets-api-private/app/mailers/stem_applicant_confirmation_mailer.rb | # frozen_string_literal: true
class StemApplicantConfirmationMailer < TransactionalEmailMailer
SUBJECT = 'VA Rogers STEM Scholarship, Application Confirmation'
GA_CAMPAIGN_NAME = 'stem_applicant_confirmation-10203-submission-notification'
GA_DOCUMENT_PATH = '/email/form'
GA_LABEL = 'stem-applicant-confirmation... |
0 | code_files/vets-api-private/app | code_files/vets-api-private/app/mailers/dependents_application_failure_mailer.rb | # frozen_string_literal: true
class DependentsApplicationFailureMailer < ApplicationMailer
def build(user)
opt = {}
opt[:to] = [
user.email
]
template = File.read('app/mailers/views/dependents_application_failure.erb')
mail(
opt.merge(
subject: t('dependency_claim_failure_m... |
0 | code_files/vets-api-private/app | code_files/vets-api-private/app/mailers/create_excel_files_mailer.rb | # frozen_string_literal: true
class CreateExcelFilesMailer < ApplicationMailer
def build(filename)
date = Time.zone.now.strftime('%m/%d/%Y')
recipients = nil
subject = nil
if Settings.vsp_environment.eql?('production')
recipients = Settings.edu.production_excel_contents.emails
subject =... |
0 | code_files/vets-api-private/app | code_files/vets-api-private/app/mailers/stem_applicant_sco_mailer.rb | # frozen_string_literal: true
class StemApplicantScoMailer < TransactionalEmailMailer
SUBJECT = 'Outreach to School Certifying Official for VA Rogers STEM Scholarship'
GA_CAMPAIGN_NAME = 'school-certifying-officials-10203-submission-notification'
GA_DOCUMENT_PATH = '/email/form'
GA_LABEL = 'school-certifying-o... |
0 | code_files/vets-api-private/app | code_files/vets-api-private/app/mailers/create_staging_spool_files_mailer.rb | # frozen_string_literal: true
require 'reports/uploader'
class CreateStagingSpoolFilesMailer < ApplicationMailer
def build(contents)
date = Time.zone.now.strftime('%m%d%Y')
opt = {}
opt[:to] = Settings.edu.staging_spool_contents.emails.dup
note_str = '*** note: to see in the correct format, right-cl... |
0 | code_files/vets-api-private/app | code_files/vets-api-private/app/mailers/rrd_alert_mailer.rb | # frozen_string_literal: true
class RrdAlertMailer < ApplicationMailer
def build(submission, subject, message, error = nil, to = Settings.rrd.alerts.recipients)
@id = submission.id
@message = message
@error = error
template = File.read('app/mailers/views/rrd_alert_mailer.html.erb')
environment = ... |
0 | code_files/vets-api-private/app | code_files/vets-api-private/app/mailers/transactional_email_mailer.rb | # frozen_string_literal: true
class TransactionalEmailMailer < ApplicationMailer
def build(email, google_analytics_client_id, opt = {})
@google_analytics_client_id = google_analytics_client_id
@google_analytics_tracking_id = Settings.google_analytics.tracking_id
mail(
opt.merge(
to: email,... |
0 | code_files/vets-api-private/app | code_files/vets-api-private/app/mailers/rrd_mas_notification_mailer.rb | # frozen_string_literal: true
class RrdMasNotificationMailer < ApplicationMailer
def build(submission, recipients = Settings.rrd.mas_tracking.recipients)
@id = submission.id
@submitted_claim_id = submission.submitted_claim_id
@created_at = submission.created_at
@created_at = submission.created_at
... |
0 | code_files/vets-api-private/app | code_files/vets-api-private/app/mailers/school_certifying_officials_mailer.rb | # frozen_string_literal: true
class SchoolCertifyingOfficialsMailer < TransactionalEmailMailer
SUBJECT = 'Applicant for VA Rogers STEM Scholarship'
GA_CAMPAIGN_NAME = 'school-certifying-officials-10203-submission-notification'
GA_DOCUMENT_PATH = '/email/form'
GA_LABEL = 'school-certifying-officials-10203-submi... |
0 | code_files/vets-api-private/app | code_files/vets-api-private/app/mailers/application_mailer.rb | # frozen_string_literal: true
require 'feature_flipper'
class ApplicationMailer < ActionMailer::Base
default from: "#{FeatureFlipper.staging_email? ? 'stage.' : ''}va-notifications@public.govdelivery.com"
layout false
end
|
0 | code_files/vets-api-private/app | code_files/vets-api-private/app/mailers/direct_deposit_mailer.rb | # frozen_string_literal: true
class DirectDepositMailer < TransactionalEmailMailer
SUBJECT = 'Confirmation - Your direct deposit information changed on VA.gov'
GA_CAMPAIGN_NAME = 'direct-deposit-update'
GA_DOCUMENT_PATH = '/email/profile'
GA_LABEL = 'direct-deposit-update'
TEMPLATE = 'direct_deposit'
end
|
0 | code_files/vets-api-private/app | code_files/vets-api-private/app/mailers/year_to_date_report_mailer.rb | # frozen_string_literal: true
require 'reports/uploader'
class YearToDateReportMailer < ApplicationMailer
REPORT_TEXT = 'Year to date report'
def build(report_file)
url = Reports::Uploader.get_s3_link(report_file)
opt = {}
opt[:to] = if FeatureFlipper.staging_email?
Settings.reports.y... |
0 | code_files/vets-api-private/app | code_files/vets-api-private/app/mailers/spool10203_submissions_report_mailer.rb | # frozen_string_literal: true
require 'reports/uploader'
class Spool10203SubmissionsReportMailer < ApplicationMailer
REPORT_TEXT = '10203 spool submissions report'
def build(report_file)
url = Reports::Uploader.get_s3_link(report_file)
opt = {}
opt[:to] =
if FeatureFlipper.staging_email?
... |
0 | code_files/vets-api-private/app | code_files/vets-api-private/app/mailers/stem_applicant_denial_mailer.rb | # frozen_string_literal: true
class StemApplicantDenialMailer < TransactionalEmailMailer
SUBJECT = "We've reached a decision on your STEM Scholarship application"
GA_CAMPAIGN_NAME = 'stem_applicant_denial-10203-submission-notification'
GA_DOCUMENT_PATH = '/email/form'
GA_LABEL = 'stem-applicant-denial-10203-su... |
0 | code_files/vets-api-private/app | code_files/vets-api-private/app/mailers/create_daily_spool_files_mailer.rb | # frozen_string_literal: true
require 'reports/uploader'
class CreateDailySpoolFilesMailer < ApplicationMailer
def build(region = nil)
date = Time.zone.now.strftime('%m%d%Y')
rpo_msg = if region.nil?
'files'
else
"file for #{EducationForm::EducationFacility.rpo_... |
0 | code_files/vets-api-private/app/mailers | code_files/vets-api-private/app/mailers/views/veteran_readiness_employment.html.erb | <!DOCTYPE html>
<html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<p>
<b>Submitted Application</b><br>
Veteran's PID: <%= @pid %><br>
Type of Form Submitted: 28-1900<br>
Submitted Date: <%= @submission_date %><br>
</p>
<p>Sen... |
0 | code_files/vets-api-private/app/mailers | code_files/vets-api-private/app/mailers/views/rrd_alert_mailer.html.erb | <!DOCTYPE html>
<html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
Environment: <%= Settings.vsp_environment %><br/>
Form526Submission.id: <%= @id %><br/>
<br/>
<%= @message %><br/>
<br/>
<%= "Error backtrace:\n #{@error.backtrace.join("... |
0 | code_files/vets-api-private/app/mailers | code_files/vets-api-private/app/mailers/views/stem_applicant_confirmation.html.erb | <!DOCTYPE html>
<html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<p>Dear <%= first_and_last_name(@applicant.veteranFullName) %>,</p>
<p>VA received your application for the Rogers STEM scholarship on <%= application_date %>.</p>
<p>We usually pro... |
0 | code_files/vets-api-private/app/mailers | code_files/vets-api-private/app/mailers/views/stem_applicant_denial.html.erb | <!DOCTYPE html>
<html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<p>Dear STEM Scholarship applicant,</p>
<p>Thank you for applying for the Edith Nourse Rogers STEM Scholarship.</p>
<p>To check your application status, go to <a href="<%= your_clai... |
0 | code_files/vets-api-private/app/mailers | code_files/vets-api-private/app/mailers/views/direct_deposit.html.erb | <!DOCTYPE html>
<html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<p>
<b>Your direct deposit information changed.</b>
</p>
<p>
We're sending this email to confirm that you've recently changed your direct deposit information in your VA.go... |
0 | code_files/vets-api-private/app/mailers | code_files/vets-api-private/app/mailers/views/stem_applicant_sco.html.erb | <!DOCTYPE html>
<html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<p>Dear <%= first_and_last_name(@applicant.veteranFullName) %>,</p>
<p>We sent the email below to the School Certifying Official (SCO) at <%= @applicant.schoolName %> to gather informati... |
0 | code_files/vets-api-private/app/mailers | code_files/vets-api-private/app/mailers/views/dependents_application_failure.erb | <!DOCTYPE html>
<html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
</head>
<body>
<p>Dear <%= user.first_name %> <%= user.last_name %></p>
<%= t( 'dependency_claim_failure_mailer.body_html' ) %>
</body>
</html>
|
0 | code_files/vets-api-private/app/mailers | code_files/vets-api-private/app/mailers/views/ch31_submissions_report.html.erb | <!DOCTYPE html>
<html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<table>
<tr>
<th style="white-space:nowrap; text-align:left; width:5%">Count</th>
<th style="white-space:nowrap; text-align:left; width:20%">Regional Office</th>
... |
0 | code_files/vets-api-private/app/mailers | code_files/vets-api-private/app/mailers/views/veteran_readiness_employment_cmp.html.erb | <!DOCTYPE html>
<html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<p>
<b>Submitted Application via VA.gov was not successful.</b><br>
<b>Application routed to the Centralized Mail Portal</b><br>
Veteran's PID: <%= @pid %><br>
Type of... |
0 | code_files/vets-api-private/app/mailers | code_files/vets-api-private/app/mailers/views/school_certifying_officials.html.erb | <!DOCTYPE html>
<html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<p>Dear VA School Certifying Official,</p>
<p>
A student enrolled at your school or training facility has applied for the Edith Nourse Rogers STEM Scholarship. The student will also ... |
0 | code_files/vets-api-private/app/mailers | code_files/vets-api-private/app/mailers/views/rrd_mas_notification_mailer.html.erb | <!DOCTYPE html>
<html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<%= @disabilities.pluck('diagnosticCode').join(', ') %>
<table border="1" cellspacing="1" cellpadding="5"><thead>
<tr>
<td>Benefit Claim Id</td>
<td>Submission... |
0 | code_files/vets-api-private/app | code_files/vets-api-private/app/swagger/readme.md | # Display the Swagger Doc
[We host the SwaggerUI here](https://department-of-veterans-affairs.github.io/va-digital-services-platform-docs/api-reference/#/)
To view locally go to http://localhost:3000/v0/swagger/ and "Select a definition" on the upper right.
- The Swagger 2.0 doc is served from the endpoint: `GET` `/... |
0 | code_files/vets-api-private/app/swagger/swagger/v1 | code_files/vets-api-private/app/swagger/swagger/v1/schemas/errors.rb | # frozen_string_literal: true
class Swagger::V1::Schemas::Errors
include Swagger::Blocks
swagger_schema :Errors do
key :required, [:errors]
property :errors do
key :type, :array
items do
key :$ref, :Error
end
end
end
swagger_schema :Error do
key :required, %i[title ... |
0 | code_files/vets-api-private/app/swagger/swagger/v1 | code_files/vets-api-private/app/swagger/swagger/v1/schemas/income_limits.rb | # frozen_string_literal: true
class Swagger::V1::Schemas::IncomeLimits
include Swagger::Blocks
swagger_schema :IncomeLimitThresholds do
key :required, [:data]
property :data do
key :type, :array
items do
property :pension_threshold, type: :integer, example: 19_320
property :nat... |
0 | code_files/vets-api-private/app/swagger/swagger/v1/schemas | code_files/vets-api-private/app/swagger/swagger/v1/schemas/gibct/version_public_exports.rb | # frozen_string_literal: true
module Swagger
module V1
module Schemas
module Gibct
class VersionPublicExports
include Swagger::Blocks
end
end
end
end
end
|
0 | code_files/vets-api-private/app/swagger/swagger/v1/schemas | code_files/vets-api-private/app/swagger/swagger/v1/schemas/appeals/supplemental_claims.rb | # frozen_string_literal: true
require 'decision_review/schemas'
module Swagger
module V1
module Schemas
module Appeals
class SupplementalClaims
include Swagger::Blocks
VetsJsonSchema::SCHEMAS.fetch('SC-CREATE-REQUEST-BODY-FOR-VA-GOV')['definitions'].each do |k, v|
v... |
0 | code_files/vets-api-private/app/swagger/swagger/v1/schemas | code_files/vets-api-private/app/swagger/swagger/v1/schemas/appeals/requests.rb | # frozen_string_literal: true
module Swagger
module V1
module Schemas
module Appeals
class Requests
include Swagger::Blocks
swagger_schema :Appeals do
key :type, :object
key :required, %i[data]
property :data, type: :array do
it... |
0 | code_files/vets-api-private/app/swagger/swagger/v1/schemas | code_files/vets-api-private/app/swagger/swagger/v1/schemas/appeals/notice_of_disagreement.rb | # frozen_string_literal: true
require 'decision_review/schemas'
module Swagger
module V1
module Schemas
module Appeals
class NoticeOfDisagreement
include Swagger::Blocks
VetsJsonSchema::SCHEMAS.fetch('NOD-CREATE-REQUEST-BODY_V1')['definitions'].each do |k, v|
if k =... |
0 | code_files/vets-api-private/app/swagger/swagger/v1/schemas | code_files/vets-api-private/app/swagger/swagger/v1/schemas/appeals/higher_level_review.rb | # frozen_string_literal: true
module Swagger
module V1
module Schemas
module Appeals
class HigherLevelReview
include Swagger::Blocks
VetsJsonSchema::SCHEMAS.fetch('HLR-CREATE-REQUEST-BODY_V1')['definitions'].each do |k, v|
v.delete('$comment')
if k == 'h... |
0 | code_files/vets-api-private/app/swagger/swagger/v1/schemas | code_files/vets-api-private/app/swagger/swagger/v1/schemas/appeals/decision_review_evidence.rb | # frozen_string_literal: true
module Swagger
module V1
module Schemas
module Appeals
class DecisionReviewEvidence
include Swagger::Blocks
swagger_schema :DecisionReviewEvidence do
property :data, type: :object do
property :attributes, type: :object do
... |
0 | code_files/vets-api-private/app/swagger/swagger/v1 | code_files/vets-api-private/app/swagger/swagger/v1/requests/income_limits.rb | # frozen_string_literal: true
class Swagger::V1::Requests::IncomeLimits
include Swagger::Blocks
swagger_path '/income_limits/v1/limitsByZipCode/{zip}/{year}/{dependents}' do
operation :get do
key :description, 'Gets the income limits'
key :operationId, 'getlimitsByZipCode'
key :tags, %w[inco... |
0 | code_files/vets-api-private/app/swagger/swagger/v1 | code_files/vets-api-private/app/swagger/swagger/v1/requests/post911_gi_bill_statuses.rb | # frozen_string_literal: true
class Swagger::V1::Requests::Post911GIBillStatuses
include Swagger::Blocks
swagger_path '/v1/post911_gi_bill_status' do
operation :get do
extend Swagger::Responses::AuthenticationError
key :description, 'Get the Post 911 GI Bill Status for a Veteran'
key :opera... |
0 | code_files/vets-api-private/app/swagger/swagger/v1 | code_files/vets-api-private/app/swagger/swagger/v1/requests/ivc_champva_forms.rb | # frozen_string_literal: true
class Swagger::V1::Requests::IvcChampvaForms
include Swagger::Blocks
swagger_path '/ivc_champva/v1/forms/status_updates' do
operation :post do
extend Swagger::Responses::AuthenticationError
key :description, 'Updates an existing form'
key :operationId, 'Endpoin... |
0 | code_files/vets-api-private/app/swagger/swagger/v1 | code_files/vets-api-private/app/swagger/swagger/v1/requests/medical_copays.rb | # frozen_string_literal: true
class Swagger::V1::Requests::MedicalCopays
include Swagger::Blocks
swagger_path '/v1/medical_copays' do
operation :get do
key :description, 'List of user medical copay statements (HCCC-backed)'
key :operationId, 'getMedicalCopays'
key :tags, %w[medical_copays]
... |
0 | code_files/vets-api-private/app/swagger/swagger/v1/requests | code_files/vets-api-private/app/swagger/swagger/v1/requests/gibct/version_public_exports.rb | # frozen_string_literal: true
module Swagger
module V1
module Requests
module Gibct
class VersionPublicExports
include Swagger::Blocks
swagger_path '/v1/gi/public_exports/{id}' do
operation :get do
key :description, 'Retrieves the latest institution da... |
0 | code_files/vets-api-private/app/swagger/swagger/v1/requests | code_files/vets-api-private/app/swagger/swagger/v1/requests/appeals/appeals.rb | # frozen_string_literal: true
require 'decision_review/schemas'
class Swagger::V1::Requests::Appeals::Appeals
include Swagger::Blocks
swagger_path '/decision_reviews/v1/higher_level_reviews' do
operation :post do
key :tags, %w[higher_level_reviews]
key :summary, 'Creates a higher level review'
... |
0 | code_files/vets-api-private/app/swagger/swagger | code_files/vets-api-private/app/swagger/swagger/responses/forbidden_error.rb | # frozen_string_literal: true
module Swagger
module Responses
module ForbiddenError
def self.extended(base)
base.response 403 do
key :description, 'Forbidden'
schema do
key :$ref, :Errors
end
end
end
end
end
end
|
0 | code_files/vets-api-private/app/swagger/swagger | code_files/vets-api-private/app/swagger/swagger/responses/authentication_error.rb | # frozen_string_literal: true
module Swagger
module Responses
module AuthenticationError
def self.extended(base)
base.response 401 do
key :description, 'Not authorized'
schema do
key :$ref, :Errors
end
end
end
end
end
end
|
0 | code_files/vets-api-private/app/swagger/swagger | code_files/vets-api-private/app/swagger/swagger/responses/saved_form.rb | # frozen_string_literal: true
module Swagger
module Responses
module SavedForm
def self.extended(base)
base.response 200 do
key :description, 'Form Submitted'
schema do
key :$ref, :SavedForm
end
end
end
end
end
end
|
0 | code_files/vets-api-private/app/swagger/swagger | code_files/vets-api-private/app/swagger/swagger/responses/bad_gateway_error.rb | # frozen_string_literal: true
module Swagger
module Responses
module BadGatewayError
def self.extended(base)
base.response 502 do
key :description, 'Internal server error'
schema do
key :$ref, :Errors
end
end
end
end
end
end
|
0 | code_files/vets-api-private/app/swagger/swagger | code_files/vets-api-private/app/swagger/swagger/responses/unprocessable_entity_error.rb | # frozen_string_literal: true
module Swagger
module Responses
module UnprocessableEntityError
def self.extended(base)
base.response 422 do
key :description, 'Unprocessable Entity'
schema do
key :$ref, :Errors
end
end
end
end
end
end
|
0 | code_files/vets-api-private/app/swagger/swagger | code_files/vets-api-private/app/swagger/swagger/responses/internal_server_error.rb | # frozen_string_literal: true
module Swagger
module Responses
module InternalServerError
def self.extended(base)
base.response 500 do
key :description, 'Internal server error'
schema do
key :$ref, :Errors
end
end
end
end
end
end
|
0 | code_files/vets-api-private/app/swagger/swagger | code_files/vets-api-private/app/swagger/swagger/responses/record_not_found_error.rb | # frozen_string_literal: true
module Swagger
module Responses
module RecordNotFoundError
def self.extended(base)
base.response 404 do
key :description, 'Record not found'
schema do
key :$ref, :Errors
end
end
end
end
end
end
|
0 | code_files/vets-api-private/app/swagger/swagger | code_files/vets-api-private/app/swagger/swagger/responses/bad_request_error.rb | # frozen_string_literal: true
module Swagger
module Responses
module BadRequestError
def self.extended(base)
base.response 400 do
key :description, 'Bad Request'
schema do
key :$ref, :Errors
end
end
end
end
end
end
|
0 | code_files/vets-api-private/app/swagger/swagger | code_files/vets-api-private/app/swagger/swagger/responses/backend_service_error.rb | # frozen_string_literal: true
module Swagger
module Responses
module BackendServiceError
def self.extended(base)
base.response 400 do
key :description, 'Backend service error'
schema do
key :$ref, :Errors
end
end
end
end
end
end
|
0 | code_files/vets-api-private/app/swagger/swagger | code_files/vets-api-private/app/swagger/swagger/responses/validation_error.rb | # frozen_string_literal: true
module Swagger
module Responses
module ValidationError
def self.extended(base)
base.response 422 do
key :description, 'Failed model validation(s)'
schema do
key :$ref, :Errors
end
end
end
end
end
end
|
0 | code_files/vets-api-private/app/swagger/swagger | code_files/vets-api-private/app/swagger/swagger/responses/service_unavailable_error.rb | # frozen_string_literal: true
module Swagger
module Responses
module ServiceUnavailableError
def self.extended(base)
base.response 503 do
key :description, 'Internal server error'
schema do
key :$ref, :Errors
end
end
end
end
end
end
|
0 | code_files/vets-api-private/app/swagger/swagger | code_files/vets-api-private/app/swagger/swagger/schemas/dependents.rb | # frozen_string_literal: true
module Swagger
module Schemas
class Dependents
include Swagger::Blocks
swagger_schema :Dependents do
key :required, [:data]
property :data, type: :object do
key :required, [:attributes]
property :attributes, type: :object do
... |
0 | code_files/vets-api-private/app/swagger/swagger | code_files/vets-api-private/app/swagger/swagger/schemas/financial_status_reports.rb | # frozen_string_literal: true
module Swagger
module Schemas
class FinancialStatusReports
include Swagger::Blocks
swagger_schema :FullName, type: :object do
property :first, type: :string
property :middle, type: :string
property :last, type: :string
end
swagger_sc... |
0 | code_files/vets-api-private/app/swagger/swagger | code_files/vets-api-private/app/swagger/swagger/schemas/onsite_notifications.rb | # frozen_string_literal: true
module Swagger
module Schemas
class OnsiteNotifications
include Swagger::Blocks
swagger_schema :OnsiteNotification do
key :type, :object
property(:id, type: :string)
property(:type, type: :string)
property(:attributes) do
key ... |
0 | code_files/vets-api-private/app/swagger/swagger | code_files/vets-api-private/app/swagger/swagger/schemas/saved_form.rb | # frozen_string_literal: true
module Swagger
module Schemas
class SavedForm
include Swagger::Blocks
swagger_schema :SavedForm do
key :required, [:data]
property :data, type: :object do
property :id, type: :string
property :type, type: :string
property :... |
0 | code_files/vets-api-private/app/swagger/swagger | code_files/vets-api-private/app/swagger/swagger/schemas/letter_beneficiary.rb | # frozen_string_literal: true
module Swagger
module Schemas
class LetterBeneficiary
include Swagger::Blocks
swagger_schema :LetterBeneficiary do
key :required, [:data]
property :data, type: :object do
key :required, [:attributes]
property :attributes, type: :objec... |
0 | code_files/vets-api-private/app/swagger/swagger | code_files/vets-api-private/app/swagger/swagger/schemas/valid_va_file_number.rb | # frozen_string_literal: true
module Swagger
module Schemas
class ValidVAFileNumber
include Swagger::Blocks
swagger_schema :ValidVAFileNumber do
key :required, [:data]
property :data, type: :object do
key :required, [:attributes]
property :attributes, type: :obje... |
0 | code_files/vets-api-private/app/swagger/swagger | code_files/vets-api-private/app/swagger/swagger/schemas/maintenance_windows.rb | # frozen_string_literal: true
module Swagger
module Schemas
class MaintenanceWindows
include Swagger::Blocks
swagger_schema :MaintenanceWindows do
key :required, [:data]
property :data, type: :array do
items do
property :id, type: :string
property :... |
0 | code_files/vets-api-private/app/swagger/swagger | code_files/vets-api-private/app/swagger/swagger/schemas/connected_applications.rb | # frozen_string_literal: true
module Swagger
module Schemas
class ConnectedApplications
include Swagger::Blocks
swagger_schema :ConnectedApplications do
key :required, [:data]
property :data, type: :array do
items do
property :id, type: :string
prope... |
0 | code_files/vets-api-private/app/swagger/swagger | code_files/vets-api-private/app/swagger/swagger/schemas/errors.rb | # frozen_string_literal: true
module Swagger
module Schemas
class Errors
include Swagger::Blocks
swagger_schema :Errors do
key :required, [:errors]
property :errors do
key :type, :array
items do
key :$ref, :Error
end
end
end
... |
0 | code_files/vets-api-private/app/swagger/swagger | code_files/vets-api-private/app/swagger/swagger/schemas/states.rb | # frozen_string_literal: true
module Swagger
module Schemas
class States
include Swagger::Blocks
swagger_schema :States do
key :required, [:data]
property :data, type: :object do
key :required, [:attributes]
property :attributes, type: :object do
key ... |
0 | code_files/vets-api-private/app/swagger/swagger | code_files/vets-api-private/app/swagger/swagger/schemas/dependents_verifications.rb | # frozen_string_literal: true
module Swagger
module Schemas
class DependentsVerifications
include Swagger::Blocks
swagger_schema :DependentsVerifications do
key :required, [:data]
property :data, type: :object do
key :required, [:attributes]
property :prompt_rene... |
0 | code_files/vets-api-private/app/swagger/swagger | code_files/vets-api-private/app/swagger/swagger/schemas/travel_pay.rb | # frozen_string_literal: true
module Swagger::Schemas
class TravelPay
include Swagger::Blocks
swagger_schema :TravelPayClaims do
key :required, [:data]
property :data, type: :array do
items do
key :$ref, :TravelPayClaimSummary
end
end
end
swagger_schema :... |
0 | code_files/vets-api-private/app/swagger/swagger | code_files/vets-api-private/app/swagger/swagger/schemas/email.rb | # frozen_string_literal: true
module Swagger
module Schemas
class Email
include Swagger::Blocks
swagger_schema :Email do
key :required, [:data]
property :data, type: :object do
key :required, [:attributes]
property :attributes, type: :object do
proper... |
0 | code_files/vets-api-private/app/swagger/swagger | code_files/vets-api-private/app/swagger/swagger/schemas/payment_history.rb | # frozen_string_literal: true
module Swagger
module Schemas
class PaymentHistory
include Swagger::Blocks
swagger_schema :PaymentHistory do
key :required, [:data]
property :data, type: :object do
key :required, [:attributes]
property :attributes, type: :object do
... |
0 | code_files/vets-api-private/app/swagger/swagger | code_files/vets-api-private/app/swagger/swagger/schemas/forms.rb | # frozen_string_literal: true
module Swagger
module Schemas
class Forms
include Swagger::Blocks
swagger_schema :Forms do
key :required, [:data]
property :data, type: :array do
items do
property :id do
key :description, 'JSON API identifier'
... |
0 | code_files/vets-api-private/app/swagger/swagger | code_files/vets-api-private/app/swagger/swagger/schemas/user_internal_services.rb | # frozen_string_literal: true
module Swagger
module Schemas
class UserInternalServices
include Swagger::Blocks
swagger_schema :UserInternalServices do
property :data, type: :object do
property :id, type: :string
property :type, type: :string
property :attributes... |
0 | code_files/vets-api-private/app/swagger/swagger | code_files/vets-api-private/app/swagger/swagger/schemas/sign_in.rb | # frozen_string_literal: true
# rubocop:disable Layout/LineLength
module Swagger
module Schemas
class SignIn
include Swagger::Blocks
swagger_schema :CSPAuthFormResponse do
property :data, type: :string
key :example, "<form id=\"oauth-form\" action=\"https://idp.int.identitysandbox.go... |
0 | code_files/vets-api-private/app/swagger/swagger | code_files/vets-api-private/app/swagger/swagger/schemas/benefits_claims.rb | # frozen_string_literal: true
module Swagger
module Schemas
class BenefitsClaims
include Swagger::Blocks
swagger_schema :FailedEvidenceSubmission do
property :acknowledgement_date, type: %i[string null]
property :claim_id, type: :integer
property :created_at, type: :string
... |
0 | code_files/vets-api-private/app/swagger/swagger | code_files/vets-api-private/app/swagger/swagger/schemas/phone_number.rb | # frozen_string_literal: true
module Swagger
module Schemas
class PhoneNumber
include Swagger::Blocks
swagger_schema :PhoneNumber do
key :required, [:data]
property :data, type: :object do
key :required, [:attributes]
property :attributes, type: :object do
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.