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/spec/fixtures
code_files/vets-api-private/spec/fixtures/dependents/retrieve.json
{ "submitProcess": { "application": { "acceptWarnings": false, "appStatus": "Open", "bnftClaimType": "EBENDEPENDENCY686c", "createdDate": 1537563190485, "documents": [ ], "expirationDate": 1569099190485, "has30Percent": true, "modifiedDate": 1537563193768, ...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/dependents/no_ssn_transform.json
{ "submitProcess": { "application": { "acceptWarnings": false, "appStatus": "Open", "bnftClaimType": "EBENDEPENDENCY686c", "createdDate": 1537563190485, "documents": [ ], "expirationDate": 1569099190485, "has30Percent": true, "modifiedDate": 1537563193768, ...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/dependents/transform_form.json
{ "submitProcess": { "application": { "acceptWarnings": false, "appStatus": "Open", "bnftClaimType": "EBENDEPENDENCY686c", "createdDate": 1537563190485, "documents": [ ], "expirationDate": 1569099190485, "has30Percent": true, "modifiedDate": 1537563193768, ...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/dependents/clean_form.json
{ "submitProcess": { "application": { "acceptWarnings": false, "appStatus": "Open", "bnftClaimType": "EBENDEPENDENCY686c", "createdDate": 1537563190485, "documents": [ ], "expirationDate": 1569099190485, "has30Percent": true, "modifiedDate": 1537563193768, ...
0
code_files/vets-api-private/spec/fixtures/post911_sob
code_files/vets-api-private/spec/fixtures/post911_sob/dgib/public_test.pem
-----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmiytNsM+3WXK5EZKkTI3 8gebKJx7o5MqFgkaG7KPWLYjZrwjC+QqFUNBETun4ujdocUkNGYp9xT8XROetHkO PC8Tt8Zi7NHq8iJfxwIUq7oPeRXz+aXU4yyfaNMUoEesdx5L3nwz2S/UZ3DMgSHQ 0voMWc3KTf/x209VQrn44U8X3VbBFVcvJ7W3A+zbzMCGBz6h99RBhdxXnNq70U1a iynREFa+9SvFAAz7OoyM5vhZKlA1koK7e...
0
code_files/vets-api-private/spec/fixtures/post911_sob
code_files/vets-api-private/spec/fixtures/post911_sob/dgib/private_test.pem
-----BEGIN RSA PRIVATE KEY----- MIIEpQIBAAKCAQEAmiytNsM+3WXK5EZKkTI38gebKJx7o5MqFgkaG7KPWLYjZrwj C+QqFUNBETun4ujdocUkNGYp9xT8XROetHkOPC8Tt8Zi7NHq8iJfxwIUq7oPeRXz +aXU4yyfaNMUoEesdx5L3nwz2S/UZ3DMgSHQ0voMWc3KTf/x209VQrn44U8X3VbB FVcvJ7W3A+zbzMCGBz6h99RBhdxXnNq70U1aiynREFa+9SvFAAz7OoyM5vhZKlA1 koK7eSyhZBaewcYjnqyPwOKCnMkG...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/logingov/logingov_oauth_pub.pem
-----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqRoNXLUugbenQTBHswfi GoKuhKkvUPP6A1GllxEZEAX86FiFSrXr7x/suHZ4cBytsmtFuYGymJZAGTk7DLzv MW0BHZpVtMZ3qvBDsYbNQGN4oLLxIy5+Q1rT1XTZhNkJwaj7gndbKHpQ33FqNQph hdchXB28N9GekDCJKzwEEThhxHkBxhq+hYAkd6rZ2fLiiyd5C4MSO0pMB+E/oGrN dYhCoydaFqVAhojn8am9za+JkjZIE9+Sh...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/dmc/sw_form5655_submission.json
{ "facilityNum": "635", "personalIdentification": { "ssn": "7696608890", "fileNumber": "3170033099", "fsrReason": "et" }, "personalData": { "veteranFullName": { "first": "Jamal", "middle": "E", "last": "Swaniawski" }, "address": { "addresslineOne": "874 Henrietta ...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/dmc/form5655_submission.json
{ "facilityNum": "635", "personalIdentification": { "ssn": "7696608890", "fileNumber": "3170033099", "fsrReason": "et" }, "personalData": { "veteranFullName": { "first": "Jamal", "middle": "E", "last": "Swaniawski" }, "address": { "addresslineOne": "874 Henrietta ...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/dmc/debt.json
{ "fileNumber": "796043735", "payeeNumber": "00", "personEntitled": null, "deductionCode": "30", "benefitType": "Comp & Pen", "diaryCode": "914", "diaryCodeDescription": "Paid In Full", "amountOverpaid": 123.34, "amountWithheld": 50.0, "originalAR": 1177.0, "currentAR": 123.3...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/dmc/non_sw_form5655_submission.json
{ "facilityNum": "635", "personalIdentification": { "ssn": "7696608890", "fileNumber": "3170033099", "fsrReason": "et" }, "personalData": { "veteranFullName": { "first": "Jamal", "middle": "E", "last": "Swaniawski" }, "address": { "addresslineOne": "874 Henrietta ...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/dmc/sw_fsr_submission.json
{ "personalIdentification": { "ssn": "4437", "fileNumber": "4437", "fsrReason": "" }, "personalData": { "veteranFullName": { "first": "Mark", "middle": "", "last": "Webb" }, "address": { "addresslineOne": "1200 P...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/dmc/fsr_submission.json
{ "personal_identification": { "fsr_reason": "Compromise" }, "personal_data": { "veteran_full_name": { "first": "Greg", "middle": "A", "last": "Anderson" }, "address": { "addressline_one": "123 Fake Street", "address...
0
code_files/vets-api-private/spec/fixtures/veteran_enrollment_system
code_files/vets-api-private/spec/fixtures/veteran_enrollment_system/associations/associations_maximum.json
[ { "role": "OTHER_NEXT_OF_KIN", "relationType": "DAUGHTER", "name": { "givenName": "FIRSTNOKB", "middleName": "MIDDLENOKB", "familyName": "LASTNOKB" }, "address": { "line1": "834 NE 36th St", "city": "Ontario", "provinceCode": "ON", "postalCode": "21534",...
0
code_files/vets-api-private/spec/fixtures/veteran_enrollment_system
code_files/vets-api-private/spec/fixtures/veteran_enrollment_system/associations/associations_maximum_incorrectly_ordered.json
[ { "role": "PRIMARY_NEXT_OF_KIN", "relationType": "SON", "name": { "givenName": "FIRSTNOKA", "middleName": "MIDDLENOKA", "familyName": "LASTNOKA", "suffix": "JR." }, "address": { "line1": "476 Test Ave", "city": "Dulles", "state": "VA", "zipCode": "...
0
code_files/vets-api-private/spec/fixtures/veteran_enrollment_system
code_files/vets-api-private/spec/fixtures/veteran_enrollment_system/associations/associations_primary_nok_and_ec.json
[ { "role": "PRIMARY_NEXT_OF_KIN", "relationType": "SON", "name": { "givenName": "FIRSTNOKA", "middleName": "MIDDLENOKA", "familyName": "LASTNOKA", "suffix": "JR." }, "address": { "line1": "476 Test Ave", "city": "Dulles", "state": "VA", "zipCode": "...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/preneeds/preneeds_submission_report.html
<p> For 2019-02-15 to 2019-02-21:<br> <ul> <li>111 Successes</li> <li>3 Failures <ul> <li>2 "Error persisting PreNeedApplication"</li> <li>1 "503 Service Unavailable"</li> <li>0 Other errors</li> </ul> </li> </ul> </p>
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/pension/some.json
{ "veteranFullName": { "first": "john", "middle": "middle", "last": "smith", "suffix": "Sr." }, "veteranAddress": { "city": "Anywhere", "country": "USA", "postalCode": "90210", "street": "street", "street2": "street2", "state": "MD" } }
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/pension/metadata.json
{ "veteranFirstName": "Test", "veteranLastName": "User", "fileNumber": "111223333", "receiveDt": "2018-03-10 02:13:33", "zipCode": "90210", "uuid": "bd71f985-9bad-45c2-8b63-d052f544c27d", "source": "Vets.gov", "hashV": "4c60b247a2a4fe495819c5e6b042409fc6d9cad535ffa59599d88b203547ddb3", "numberAttachme...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/unified_health_data/notes_empty_vista_response.json
{ "vista": {}, "oracle-health": { "resourceType": "Bundle", "entry": [ { "resource": { "resourceType": "Patient", "id": "66415180", "meta": { "versionId": "23", ...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/unified_health_data/conditions_sample_response.json
{ "vista": { "resourceType": "Bundle", "type": "searchset", "total": 16, "entry": [ { "resource": { "resourceType": "Condition", "id": "2b4de3e7-0ced-43c6-9a8a-336b9171f4df", "meta": { ...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/unified_health_data/notes_sample_response.json
{ "vista": { "resourceType": "Bundle", "entry": [ { "resource": { "resourceType": "DocumentReference", "id": "76ad925b-0c2c-4401-ac0a-13542d6b6ef5", "meta": { "profile": [ ...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/unified_health_data/conditions_empty_response.json
{ "vista": { "resourceType": "Bundle" }, "oracle-health": {} }
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/unified_health_data/after_visit_summary.json
{ "resourceType": "Bundle", "entry": [ { "resource": { "resourceType": "Patient", "id": "66415180", "meta": { "versionId": "23", "lastUpdated": "2025-06-14T15:47:57.000Z" }, ...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/unified_health_data/conditions_empty_oh_response.json
{ "vista": { "resourceType": "Bundle", "type": "searchset", "total": 16, "entry": [ { "resource": { "resourceType": "Condition", "id": "2b4de3e7-0ced-43c6-9a8a-336b9171f4df", "meta": { ...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/unified_health_data/ccd_example.json
{ "resourceType": "Bundle", "entry": [ { "resource": { "resourceType": "Patient", "id": "66415177", "meta": { "versionId": "138", "lastUpdated": "2025-02-06T19:12:38.000Z" }, ...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/unified_health_data/vitals_example.json
{ "vista": { "resourceType": "Bundle", "type": "searchset", "total": 10, "entry": [ { "resource": { "resourceType": "Observation", "id": "be3724c0-f9e2-4e6a-b37e-366aca305613", "meta": { "profile": [ "https://department-of-veterans-...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/unified_health_data/notes_empty_oh_response.json
{ "vista": { "resourceType": "Bundle", "entry": [ { "resource": { "resourceType": "DocumentReference", "id": "76ad925b-0c2c-4401-ac0a-13542d6b6ef5", "meta": { "profile": [ ...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/unified_health_data/allergies_example.json
{ "vista": { "resourceType": "Bundle", "type": "collection", "entry": [ { "resource": { "resourceType": "AllergyIntolerance", "meta": { "profile": [ "https://department-of-veterans-affairs.github.io/mhv-fhir-phr-mapping/StructureDefinitio...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/unified_health_data/sample_response.json
{ "vista": { "entry": [ { "resource": { "resourceType": "DiagnosticReport", "id": "9fc29a49-16d1-4a19-b5a1-fa8c9b2bf2b7", "code": { "text": "CH" }, "category": [ { "coding": [ { ...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/unified_health_data/conditions_empty_vista_response.json
{ "vista": {}, "oracle-health": { "resourceType": "Bundle", "entry": [ { "resource": { "resourceType": "Patient", "id": "66415180", "meta": { "versionId": "23", "lastUpdat...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/unified_health_data/labs_response.json
{ "vista": { "entry": [ { "resource": { "resourceType": "DiagnosticReport", "id": "1", "code": { "text": "CBC" }, "category": [{ "coding": [{ "code": "CH" }] }], "effectiveDateTime": "2024-06-01T00:00:00Z", "contained": [ { "res...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/unified_health_data/notes_empty_response.json
{ "vista": {}, "oracle-health": {} }
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/unified_health_data/notes_methods_fallback_response.json
{ "vista": { "resourceType": "Bundle", "entry": [ { "resource": { "resourceType": "DocumentReference", "id": "76ad925b-0c2c-4401-ac0a-13542d6b6ef5", "meta": { "profile": [ ...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/va_profile/items_and_permissions.json
[ { "id": 1, "name": "Health Care", "description": "Healthcare Appointment Reminders", "communication_items": [ { "id": 1, "name": "Health Appointment Reminder", "communication_channels": [ { "id": 1, "name": "Text", "descript...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/va_profile/items_without_permissions.json
[ { "id": 1, "name": "Health Care", "description": "Healthcare Appointment Reminders", "communication_items": [ { "id": 1, "name": "Health Appointment Reminder", "communication_channels": [ { "id": 1, "name": "Text", "descript...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/va_profile/communication_items.json
{ "tx_audit_id": "d7c38715-6c66-4892-806a-918b7a4beacd", "status": "COMPLETED_SUCCESS", "bios": [ { "create_date": "2020-10-07T00:00:00Z", "update_date": "2020-10-07T00:00:00Z", "tx_audit_id": "5e8ad85d-540e-4c38-926f-1ef455257ddc", "source_system": "VA_PROFILE", "source_date": "...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/map/jwks.json
{ "keys": [ { "kty": "RSA", "e": "AQAB", "use": "sig", "kid": "c9233bd7a62406b325c3cbf9778ea1ec75fa6de587640ee6d522e1bda2251277", "alg": "RS512", "n": "rGRLjxGb2ygtXWEEC99h5Z__PrAAqf0_wXQcFDnbV1bCp2rfv1xprPS-Mhi_mLh4YVBVKfD5vz0X9eHq1ieua_prgIgloT4doOzphkPTVoALQcm7HmBEWOs3r_nOIZ...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/map/oauth.crt
-----BEGIN CERTIFICATE----- MIIFUzCCBDugAwIBAgIHPQAAAAAYFTANBgkqhkiG9w0BAQsFADBIMRMwEQYKCZIm iZPyLGQBGRYDZ292MRIwEAYKCZImiZPyLGQBGRYCdmExHTAbBgNVBAMTFFZBLUlu dGVybmFsLVMyLUlDQTExMB4XDTIzMDMwNzE2NDEwOFoXDTI0MDMzMDE2NDEwOFow gYkxCzAJBgNVBAYTAlVTMQ0wCwYDVQQIEwRELkMuMRMwEQYDVQQHEwpXYXNoaW5n dG9uMSwwKgYDVQQKEyNVLlMuIERlcGFy...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/json/evss_with_poa.json
{ "currentPoa": { "code": "A1Q", "name": "A1Q - PATRICIA E ROBERTS", "organization": true }, "info": { "awardSuspendBadAddressIndicator": "N", "awardSuspendIndicator": "N", "bankAccountNbr": "44444444444444444", "bankAccountType": "Savings", "b...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/json/get_active_rxs.json
{ "failedStationList": "", "lastUpdatedTime": "Thu, 26 May 2016 13:05:43 EDT", "prescriptionList": [ { "refillStatus": "active", "refillSubmitDate": "Tue, 26 Apr 2016 00:00:00 EDT", "refillDate": "Thu, 21 Apr 2016 00:00:00 EDT", "refillRemaining": 9, "facilityName": "ABC123 This ...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/json/get_determination_not_eligible.json
{ "referenceNumber": "string", "status": "NOT ELIGIBLE", "determinationDate": "2021-12-14T03:27:57.000Z" }
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/json/post_refill_error.json
{ "errorCode": 139, "developerMessage": "","message": "Prescription is not Refillable" }
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/json/get_history_rxs.json
{ "failedStationList": "", "lastUpdatedTime": "Thu, 26 May 2016 12:42:21 EDT", "prescriptionList": [ { "refillStatus": "active", "refillSubmitDate": "Tue, 26 Apr 2016 00:00:00 EDT", "refillDate": "Thu, 21 Apr 2016 00:00:00 EDT", "refillRemaining": 9, "facilityName": "ABC123", ...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/json/detailed_schema_errors_schema.json
{ "$schema": "http://json-schema.org/draft-07/schema#", "description": "JSON Schema for testing SchemaError handling", "$ref": "#/definitions/data", "definitions": { "data": { "type": "object", "additionalProperties": false, "properties": { "name": { "$ref": "#/definitions/name" },...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/certs/vetsgov-localhost.crt
-----BEGIN CERTIFICATE----- MIID8zCCAtugAwIBAgIUNzTbJ/rBucKP0SVyIxll/sF8hNYwDQYJKoZIhvcNAQEL BQAwgYgxCzAJBgNVBAYTAlVTMQswCQYDVQQIDAJUWDEPMA0GA1UEBwwGRGFsbGFz MRAwDgYDVQQKDAdUZXN0T3JnMRQwEgYDVQQLDAtUZXN0T3JnVW5pdDESMBAGA1UE AwwJbG9jYWxob3N0MR8wHQYJKoZIhvcNAQkBFhB0ZXN0QGV4YW1wbGUuY29tMB4X DTI1MDcyNDE5NDk0NloXDTI2MDcyNDE5...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/schema_contract/test_schema.json
{ "$schema": "http://json-schema.org/draft-04/schema", "type": "object", "required": [ "data", "meta" ], "additionalProperties": false, "properties": { "data": { "type": "array", "items": { "type": "object", "required": [ "required_string", "requir...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/vba_documents/metadata.json
{ "veteranFirstName": "Test", "veteranLastName": "User", "fileNumber": "111223333", "receiveDt": "2018-03-10 02:13:33", "zipCode": "90210", "uuid": "bd71f985-9bad-45c2-8b63-d052f544c27d", "source": "Vets.gov", "hashV": "4c60b247a2a4fe495819c5e6b042409fc6d9cad535ffa59599d88b203547ddb3", "numberAttachme...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/files/error_message.txt
{"major":400,"minor":139,"message":"Prescription is not refillable","developer_message":"","error":null,"cause":{}}
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/files/buddy_statement.txt
This person was injured. I saw it happend. Signed 🙂 !@#$%^&*()_+ This guy's Buddy! !@#$%^&*()_+
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/files/invalid_idme_cert.crt
MIIDqDCCApACCQDIJk8QWWTemDANBgkqhkiG9w0BAQsFADCBlTELMAkGA1UEBhMC\rVVMxETAPBgNVBAgTCFZpcmdpbmlhMQ8wDQYDVQQHELm1lMRQwEgYDVQQLEwtFbmdpbmVlcmluZzEaMBgGA1UEAxMRc2lnbmluZy5p\rZHAuaWQubWUxIDAeBgkqhkiG9w0BCQEWEWVuZ2luZWVyaW5nQGlkLm1lMB4XDTE3\rMDMxNzE3NTA0OVoXDTE4MDMxNzE3NTA0OVowgZUxCzAJBgNVBAYTAlVTMREwDwYD\rVQQIEwhWaXJnaW5pYTE...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/files/test_file_with_pii.txt
# Bad Logs with PII (Thse Should be Filtered) Processing by TestParamsController#create as JSON Parameters: {"file"=> #<ActionDispatch::Http::UploadedFile:0x00007f9342f1a3c0 @tempfile=#<File:/tmp/RackMultipart20250110-1234-xyz.png>, @original_filename="sensitive_document.pdf", @content_type="ap...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/files/idme_cert.crt
MIIDqDCCApACCQC2yH1Wg794eDANBgkqhkiG9w0BAQsFADCBlTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCFZpcmdpbmlhMQ8wDQYDVQQHEwZNY0xlYW4xDjAMBgNVBAoTBUlELm1lMRQwEgYDVQQLEwtFbmdpbmVlcmluZzEaMBgGA1UEAxMRc2lnbmluZy5pZHAuaWQubWUxIDAeBgkqhkiG9w0BCQEWEWVuZ2luZWVyaW5nQGlkLm1lMB4XDTE2MDQyNjE0MTgyN1oXDTE3MDQyNjE0MTgyN1owgZUxCzAJBgNVBAYTAlVTMREwDwYD...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/files/html.txt
<html><head></head><body>Fake TXT file</body></html>
0
code_files/vets-api-private/spec/fixtures/files
code_files/vets-api-private/spec/fixtures/files/forms/healthcare_application_response.json
{"data":{"id":"1","type":"health_care_applications","attributes":{"state":"pending","formSubmissionId":null,"timestamp":null}}}
0
code_files/vets-api-private/spec/fixtures/files
code_files/vets-api-private/spec/fixtures/files/forms/healthcare_application_request.json
{ "asyncCompatible": true, "form": "{\"isMedicaidEligible\":true,\"spouseAddress\":{\"street\":\"12345 Elm St\",\"city\":\"Houston\",\"postalCode\":\"77388\",\"country\":\"USA\",\"state\":\"TX\"},\"spousePhone\":\"2122122121\",\"cohabitedLastYear\":true,\"sameAddress\":false,\"medicarePartAEffectiveDate\":\"2000-01...
0
code_files/vets-api-private/spec/fixtures/files
code_files/vets-api-private/spec/fixtures/files/saml_responses/loa1.xml
<?xml version="1.0"?> <samlp:Response xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"> <saml:Assertion> <saml:AuthnStatement> <saml:AuthnContext> <saml:AuthnContextClassRef>http://idmanagement.gov/ns/assurance/loa/1/vets</saml:AuthnContextClassRe...
0
code_files/vets-api-private/spec/fixtures/files
code_files/vets-api-private/spec/fixtures/files/saml_responses/loa3.xml
<?xml version="1.0"?> <samlp:Response xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"> <saml:Assertion> <saml:AuthnStatement> <saml:AuthnContext> <saml:AuthnContextClassRef>http://idmanagement.gov/ns/assurance/loa/3/vets</saml:AuthnContextClassRe...
0
code_files/vets-api-private/spec/fixtures/files
code_files/vets-api-private/spec/fixtures/files/saml_responses/mhv_multifactor.xml
<?xml version="1.0"?> <samlp:Response xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"> <saml:Assertion> <saml:AuthnStatement> <saml:AuthnContext> <saml:AuthnContextClassRef>myhealthevet_multifactor</saml:AuthnContextClassRef> </saml:AuthnCo...
0
code_files/vets-api-private/spec/fixtures/files
code_files/vets-api-private/spec/fixtures/files/saml_responses/multifactor.xml
<?xml version="1.0"?> <samlp:Response xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"> <saml:Assertion> <saml:AuthnStatement> <saml:AuthnContext> <saml:AuthnContextClassRef>multifactor</saml:AuthnContextClassRef> </saml:AuthnContext> </...
0
code_files/vets-api-private/spec/fixtures/files
code_files/vets-api-private/spec/fixtures/files/saml_responses/dslogon.xml
<?xml version="1.0"?> <samlp:Response xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"> <saml:Assertion> <saml:AuthnStatement> <saml:AuthnContext> <saml:AuthnContextClassRef>dslogon</saml:AuthnContextClassRef> </saml:AuthnContext> </saml...
0
code_files/vets-api-private/spec/fixtures/files
code_files/vets-api-private/spec/fixtures/files/saml_responses/dslogon_multifactor.xml
<?xml version="1.0"?> <samlp:Response xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"> <saml:Assertion> <saml:AuthnStatement> <saml:AuthnContext> <saml:AuthnContextClassRef>dslogon_multifactor</saml:AuthnContextClassRef> </saml:AuthnContext...
0
code_files/vets-api-private/spec/fixtures/files
code_files/vets-api-private/spec/fixtures/files/saml_responses/mhv.xml
<?xml version="1.0"?> <samlp:Response xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"> <saml:Assertion> <saml:AuthnStatement> <saml:AuthnContext> <saml:AuthnContextClassRef>myhealthevet</saml:AuthnContextClassRef> </saml:AuthnContext> <...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/education_form/create_csv_array.json
[ [ "Submitted Vets.gov Applications - Report FYTD 2017 as of 2017-01-03" ], [ "", "", "DOCUMENT TYPE" ], [ "RPO", "BENEFIT TYPE", "22-1990", "", "", "22-1995", "", "", "22-5490", "", "", "22-5495", "", "", "22-0993", "", "", ...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/education_form/minimal.csv
Name,First Name,Last Name,Select Military Affiliation,Phone Number,Email Address,Country,State,Race/Ethnicity,Gender of Applicant,What is your highest level of education?,Are you currently employed?,What is your current salary?,"Are you currently working in the technology industry? (If so, please select one)" Mark Olso...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/education_form/ytd_year_processed.json
{ "1990": { "eastern": { "chapter33": 3, "chapter30": 0, "chapter1606": 0, "chapter32": 0, "chapter35": 0, "transfer_of_entitlement": 0, "chapter1607": 0, "vettec": 0, "vrrap": 0 }, "southern": { "chapter33": 0, "chapter30": 0, "chapt...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/education_form/ytd_day_processed.json
{ "1990": { "eastern": { "chapter33": 2, "chapter30": 0, "chapter1606": 0, "chapter32": 0, "chapter35": 0, "transfer_of_entitlement": 0, "chapter1607": 0, "vettec": 0, "vrrap": 0 }, "southern": { "chapter33": 0, "chapter30": 0, "chapt...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/education_form/fiscal_year_create_csv_array.json
[ [ "Submitted Vets.gov Applications - Report FYTD 2017 as of 2017-01-09" ], [ "", "", "DOCUMENT TYPE" ], [ "RPO", "BENEFIT TYPE", "22-1990", "", "", "22-1995", "", "", "22-5490", "", "", "22-5495", "", "", "22-0993", "", "", ...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/education_form/ytd_day_submitted.json
{ "1990": { "eastern": { "chapter33": 3, "chapter30": 0, "chapter1606": 0, "chapter32": 0, "chapter35": 0, "transfer_of_entitlement": 0, "chapter1607": 0, "vettec": 0, "vrrap": 0 }, "southern": { "chapter33": 0, "chapter30": 0, "chapt...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/education_form/ytd_year_submitted.json
{ "1990": { "eastern": { "chapter33": 4, "chapter30": 0, "chapter1606": 0, "chapter32": 0, "chapter35": 0, "transfer_of_entitlement": 0, "chapter1607": 0, "vettec": 0, "vrrap": 0 }, "southern": { "chapter33": 0, "chapter30": 0, "chapt...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/education_form/stagingspool.txt
*INIT* MARK OLSON 111223333 111223333 V1990 CH1606 *START* VA Form 22-1990 DEC 2016 APPLICATION FOR VA EDUCATION BENEFITS ------------------------------------- EDUCATION BENEFIT BEING APPLIED FOR: Chapter 1606 APPLICANT INFORMATION ...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/lighthouse_claim/claim.json
[ { "id": "600342023", "type": "claim", "attributes": { "baseEndProductCode": "400", "claimDate": "2022-11-07", "claimPhaseDates": { "phaseChangeDate": "2022-11-07" }, "claimType": "Compensation", "closeDate": "2022-11-07", "decisionLetterSent": true, "development...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/gibft/transform_form.json
{ "address": { "street": "street", "street2": "street2", "city": "city", "state": "VA", "postal_code": "12345", "country": "US" }, "service_branch": "Air Force", "full_name": { "prefix": "Mr.", "first": "Test", "middle": "middle", "last": "last", "suffix": "Jr." }, ...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/gibft/transform_form_no_user.json
{ "address": { "street": "street", "street2": "street2", "city": "city", "state": "VA", "postal_code": "12345", "country": "US" }, "service_branch": "Air Force", "full_name": { "prefix": "Mr.", "first": "Test", "middle": "middle", "last": "last", "suffix": "Jr." }, ...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/iam_ssoe/oauth.crt
-----BEGIN CERTIFICATE----- MIIFUzCCBDugAwIBAgIHPQAAAACD1zANBgkqhkiG9w0BAQsFADBIMRMwEQYKCZIm iZPyLGQBGRYDZ292MRIwEAYKCZImiZPyLGQBGRYCdmExHTAbBgNVBAMTFFZBLUlu dGVybmFsLVMyLUlDQTExMB4XDTI0MDIyMzE4NDA1NloXDTI1MDMxODE4NDA1Nlow gYkxCzAJBgNVBAYTAlVTMQ0wCwYDVQQIEwRELkMuMRMwEQYDVQQHEwpXYXNoaW5n dG9uMSwwKgYDVQQKEyNVLlMuIERlcGFy...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/evss_vso_search/service_headers.json
{ "ssn":"796043735", "edipi":"1007697216", "Authorization":"Token token=PUBLICDEMO123", "Content-Type":"application/json", "currentPoa":{ "code":"A1Q", "name":"A1Q - PATRICIA E ROBERTS", "organization":true }, "info":{ "awardSuspendBadAddressIndicator":"N", "awar...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/form21p530a/invalid_form.json
{ "veteranInformation": { "fullName": { "first": "John", "last": "Doe", "middle": "A" }, "ssn": "123456789", "dateOfBirth": "1940-01-15", "dateOfDeath": "2024-01-01", "placeOfBirth": { "city": "Kansas City", "state": "MO" } }, "veteranServicePeriods": { ...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/form21p530a/valid_form.json
{ "veteranInformation": { "fullName": { "first": "John", "last": "Doe", "middle": "A" }, "ssn": "123456789", "dateOfBirth": "1940-01-15", "dateOfDeath": "2024-01-01", "placeOfBirth": { "city": "Kansas City", "state": "MO" } }, "veteranServicePeriods": { ...
0
code_files/vets-api-private/spec/fixtures/fhir
code_files/vets-api-private/spec/fixtures/fhir/dstu2/appointment_create.yml
{ "resourceType": "Appointment", "meta": { "versionId": "1", "lastUpdated": "2018-11-16T23:37:36.339+00:00" }, "text": { "status": "generated", "div": "<div xmlns='http://www.w3.org/1999/xhtml'><div>Routine checkup</div><div>Dr Dave</div></div>" }, "status": "pending", "description": "Rout...
0
code_files/vets-api-private/spec/fixtures/fhir
code_files/vets-api-private/spec/fixtures/fhir/dstu2/appointment_update.yml
{ "resourceType": "Appointment", "id": "1631", "meta": { "versionId": "2", "lastUpdated": "2020-08-03T07:56:06.634+00:00" }, "text": { "status": "generated", "div": "<div xmlns='http://www.w3.org/1999/xhtml'><div>Routine checkup</div><div>Dr Dave</div></div>" }, "status": "pending", "des...
0
code_files/vets-api-private/spec/fixtures/fhir
code_files/vets-api-private/spec/fixtures/fhir/dstu2/appointment_cancel_update.yml
{ "resourceType": "Appointment", "id": "1631", "meta": { "versionId": "2", "lastUpdated": "2020-08-03T07:56:06.634+00:00" }, "text": { "status": "generated", "div": "<div xmlns='http://www.w3.org/1999/xhtml'><div>Routine checkup</div><div>Dr Dave</div></div>" }, "status": "cancelled", "d...
0
code_files/vets-api-private/spec/fixtures/fhir
code_files/vets-api-private/spec/fixtures/fhir/dstu2/invalid_appointment_create.yml
{ "resourceType": "Appointment", "id": "1631", "meta": { "versionId": "1", "lastUpdated": "2018-11-16T23:37:36.339+00:00" }, "text": { "status": "generated", "div": "<div xmlns='http://www.w3.org/1999/xhtml'><div>Routine checkup</div><div>Dr Dave</div></div>" }, "status": "pending", "des...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/form214192/invalid_form.json
{ "veteranInformation": { "fullName": { "first": "John", "middle": "WayTooLongMiddleName", "last": "Doe" }, "dateOfBirth": "1980-01-01" }, "employmentInformation": { "employerName": "Acme Corp" } }
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/form214192/valid_form.json
{ "veteranInformation": { "fullName": { "first": "John", "middle": "M", "last": "Doe" }, "ssn": "123456789", "vaFileNumber": "987654321", "dateOfBirth": "1980-01-01", "address": { "street": "123 Main St", "street2": "4B", "city": "Springfield", "state": "IL", "country...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/claim_letter/claim_letter_list.json
[ { "document_id": "{27832B64-2D88-4DEE-9F6F-DF80E4CAAA87}", "series_id": "{350C072A-90A1-43A7-AD50-A5C9C54C357A}", "version": "1", "type_description": "Notification Letter (e.g. VA 20-8993, VA 21-0290, PCGL)", "type_id": "184", "doc_type": "184", "subject": null, "received_at": "2022-...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/notice_of_disagreements/NOD_show_response_200.json
{ "data": { "id": "1234567a-89b0-123c-d456-789e01234f56", "type": "noticeOfDisagreement", "attributes": { "status": "submitted", "updatedAt": "2020-04-23T21:06:12.531Z", "createdAt": "2020-04-23T21:06:12.531Z", "formData": { "data": { "type": "noticeOfDisagreement...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/notice_of_disagreements/NOD_upload_show_response_200.json
{ "data": { "id": "55555555-6666-7777-8888-999999999999", "type": "evidenceSubmission", "attributes": { "status": "vbms", "code": null, "detail": null, "location": null, "appealId": "00000000-1111-2222-3333-444444444444", "appealType": "NoticeOfDisagreement", "cre...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/notice_of_disagreements/NOD_contestable_issues_response_200.json
{ "data": [ { "type": "contestableIssue", "id": "string", "attributes": { "ratingIssueReferenceId": "string", "ratingIssueProfileDate": "2020-08-31", "ratingIssueDiagnosticCode": "string", "ratingDecisionReferenceId": "string", "decisionIssueId": 0, ...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/notice_of_disagreements/valid_NOD_create_request.json
{ "data": { "type": "noticeOfDisagreement", "attributes": { "veteran": { "homeless": false, "address": { "addressLine1": "123 Main St", "addressLine2": "Suite #1200", "addressLine3": "Box 4", "city": "New York", "countryName": "United Sta...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/evss_claim/claim-with-documents.json
{ "appealPossible" : "No", "attentionNeeded" : "Yes", "baseEndProductCode" : "010", "benefitClaimTypeCode" : "010LCOMP", "claimConsolidatable" : false, "claimPhaseDates" : { "currentPhaseBack" : false, "everPhaseBack" : true, "latestPhaseType" : "Gathering of Evidence", "phase1CompleteDate" ...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/evss_claim/claim-detail.json
{ "appealPossible" : "No", "attentionNeeded" : "Yes", "baseEndProductCode" : "110", "benefitClaimTypeCode" : "110LCOMP", "claimCompleteDate" : "08/10/2012", "claimConsolidatable" : false, "claimPhaseDates" : { "currentPhaseBack" : false, "everPhaseBack" : false, "latestPhaseType" : "Complete",...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/evss_claim/claim-list.json
{ "appealPossible" : "Yes", "attentionNeeded" : "No", "baseEndProductCode" : "400", "benefitClaimTypeCode" : "400EPDSUPP", "claimCompleteDate" : "09/15/2016", "claimConsolidatable" : true, "claimPhaseDates" : { "currentPhaseBack" : false, "everPhaseBack" : false, "phaseChan...
0
code_files/vets-api-private/spec/fixtures
code_files/vets-api-private/spec/fixtures/idme/idme_oauth_pub.pem
-----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArz70i+ikqlO+MRx/0HDK /UVSGsc2YdoCtdobRFQ4AaaEoTaqOKpVk65dbrUVg45hw7m5zncVg1twX1Is8Xc3 /kklvzxKmzeVsC/m03MN4yiZ6xEPReHHsucAUP8xRT+gGUMrWcSHWUdadczE52Gv db/hr51IDuKFDeqfnxklluucbJk8IT15neuLQkLs5rOsn3BAubTDN2Xh9HEy5iSZ 0WKJwlY418V1ccUN3QYvIfrUywF1UPNeI...
0
code_files/vets-api-private/spec
code_files/vets-api-private/spec/validators/folder_name_convention_validator_spec.rb
# frozen_string_literal: true require 'rails_helper' class Validatable include ActiveModel::Model include ActiveModel::Validations attr_accessor :name validates :name, folder_name_convention: true end describe FolderNameConventionValidator do subject { Validatable.new(name:) } let(:name) { nil } co...
0
code_files/vets-api-private/spec/routing
code_files/vets-api-private/spec/routing/v0/map_services_routing_spec.rb
# frozen_string_literal: true require 'rails_helper' RSpec.describe 'routes for MAP services', type: :routing do it 'routes token requests' do expect( post('/v0/map_services/foobar/token') ).to route_to('v0/map_services#token', application: 'foobar', format: 'json') end end
0
code_files/vets-api-private/spec
code_files/vets-api-private/spec/controllers/application_controller_spec.rb
# frozen_string_literal: true require 'rails_helper' require 'rx/client' # used to stub Rx::Client in tests RSpec.describe ApplicationController, type: :controller do controller do attr_reader :payload skip_before_action :authenticate, except: %i[test_authentication test_logging] JSON_ERROR = { ...
0
code_files/vets-api-private/spec/controllers
code_files/vets-api-private/spec/controllers/v1/post911_gi_bill_statuses_controller_spec.rb
# frozen_string_literal: true require 'rails_helper' require 'lighthouse/benefits_education/service' RSpec.describe V1::Post911GIBillStatusesController, type: :controller do let(:user) { create(:user, :loa3, icn: '1000000000V100000') } let(:once) { { times: 1, value: 1 } } let(:tz) { ActiveSupport::TimeZone.new...
0
code_files/vets-api-private/spec/controllers
code_files/vets-api-private/spec/controllers/v1/sessions_controller_spec.rb
# frozen_string_literal: true require 'rails_helper' require 'support/saml/form_validation_helpers' require 'support/saml/response_builder' require 'support/url_service_helpers' RSpec.describe V1::SessionsController, type: :controller do include SAML::ResponseBuilder include SAML::ValidationHelpers # General t...
0
code_files/vets-api-private/spec/controllers/v1
code_files/vets-api-private/spec/controllers/v1/profile/military_infos_controller_spec.rb
# frozen_string_literal: true require 'rails_helper' RSpec.describe V1::Profile::MilitaryInfosController, type: :controller do let(:user) { create(:user, :loa3, edipi: '1100377582') } before do sign_in_as(user) end describe '#show' do context 'when feature flag enabled' do before do al...
0
code_files/vets-api-private/spec/controllers
code_files/vets-api-private/spec/controllers/v0/dependents_verifications_controller_spec.rb
# frozen_string_literal: true require 'rails_helper' RSpec.describe V0::DependentsVerificationsController do let(:user) { create(:evss_user) } before do sign_in_as(user) end describe '#index' do context 'with a valid bgs response' do it 'returns a list of dependency verifications' do V...