forked from department-of-veterans-affairs/vets-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.yml
540 lines (479 loc) · 14.2 KB
/
settings.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
hostname: 127.0.0.1:3000 # possible fallback for unsafe request.host
virtual_hosts: ["127.0.0.1", "localhost"] # Safe host names
# For CORS requests; separate multiple origins with a comma
web_origin: http://localhost:3000,http://localhost:3001,http://127.0.0.1:3000,http://127.0.0.1:3001,null
# Settings for SAML authentication
saml:
cert_path: config/certs/vetsgov-localhost.crt
cert_new_path: config/certs/vetsgov-localhost_new.crt
key_path: config/certs/vetsgov-localhost.key
issuer: saml-rp.vetsgov.localhost
callback_url: http://localhost:3000/auth/saml/callback
metadata_url: https://api.idmelabs.com/saml/metadata/provider
authn_requests_signed: false
# Settings for new SAML authentication with SSOe
saml_ssoe:
idp_metadata_file: /fake/path/to/metadata
cert_path: config/certs/vetsgov-localhost.crt
cert_new_path: ~
key_path: config/certs/vetsgov-localhost.key
issuer: https://ssoe-sp-dev.va.gov
callback_url: http://localhost:3000/v1/sessions/callback
logout_url: https://pint.eauth.va.gov/pkmslogout
session_cookie:
secure: false
# Generate key and iv with: openssl enc -nosalt -aes-256-cbc -k <passphrase> -P
sso:
cookie_enabled: true
cookie_signout_enabled: true
cookie_name: vagov_session_dev
cookie_key: 095B564B0F29EF88A96F1A7584E17516B14F85C2B3AD431E63349AC5272BC86B
cookie_iv: A3C0567C78BEC6DDE75E2FEB92DE11AA
cookie_secure: false
cookie_domain: localhost
ssoe:
redirects:
myvahealth: https://ehrm-va-test.patientportal.us.healtheintent.com/
binaries:
# you can specify a full path in settings.local.yml if necessary
pdfinfo: pdfinfo
pdftk: pdftk
clamdscan: /usr/bin/clamdscan
db_encryption_key: f01ff8ebd1a2b053ad697ae1f0d86adb
database_url: postgis:///vets-api
test_database_url: postgis:///vets-api-test
relative_url_root: /
secret_key_base: 8af0fe1e378586520e4324694897eb269bd0fffa1c5be6cc3b4ffb9dbde095d0bef5c7fdab73cd05685d8fe1dd589287d78b38e4de7116fbe14461e414072677
review_instance_slug: ~
sidekiq_admin_panel: false
salesforce-gibft:
url: 'https://va--rdtcddev.cs33.my.salesforce.com/'
salesforce-carma:
url: 'https://fake-carma.salesforce.com'
consumer_key: 12345ABC.QQ_1234BBfake
signing_key_path: 'spec/fixtures/carma/privatekey.pem' # A dummy private key used for test suite
username: [email protected]
salesforce:
env: dev
signing_key_path: 'spec/fixtures/vic/private.key'
consumer_key: d669f7d339fd25af442bf75bb643c4c45f0f05fb3cb39cc77521e2011c6bb84086bb624d7ef14d715736
# Settings for Education Benefits
edu:
prefill: true
sftp:
host: ~
pass: ~
user: ~
port: ~
dependents:
prefill: true
pension_burial:
prefill: true
sftp:
relative_path: '../VETSGOV_PENSION'
central_mail:
upload:
enabled: true
host: 'icmhs-api-test.csrarad.com'
token: '<PENSIONS_TOKEN>'
# Settings for BIP Services
bip:
claims:
url: "https://claims-uat.dev8.bip.va.gov"
# Settings for Vet360
vet360:
url: "https://int.vet360.va.gov"
contact_information:
cache_enabled: false
enabled: true
timeout: 30
mock: false
address_validation:
hostname: 'sandbox-api.va.gov'
api_key: '<AV_KEY>'
# Settings for IHub
ihub:
url: "https://qacrmdac.np.crm.vrm.vba.va.gov"
appointments:
timeout: 30
mock: true
in_production: false
# Settings for Medical Devices Ordering Tool
mdot:
prefill: true
url: https://dlc-dummy.herokuapp.com
api_key: abcd1234abcd1234abcd1234abcd1234abcd1234
mock: false
enabled: false
# Settings for Decision Reviews
decision_review:
prefill: true
url: https://sandbox-api.va.gov/services/appeals/v3/decision_review
api_key: abcd1234abcd1234abcd1234abcd1234abcd1234
mock: false
higher_level_review_updater_enabled: true
schema_dir: config/schemas
# Settings for EVSS
evss:
prefill: true
url: https://csraciapp6.evss.srarad.com
service_name: "wss-form526-services-web"
alternate_service_name: "wss-form526-services-web-v2"
cert_path: ~
key_path: ~
root_cert_path: ~
versions:
claims: 3.6
common: 11.6
documents: 3.7
s3:
uploads_enabled: false
aws_access_key_id: EVSS_S3_AWS_ACCESS_KEY_ID_XYZ
aws_secret_access_key: EVSS_S3_AWS_SECRET_ACCESS_KEY_XYZ
bucket: evss_s3_bucket
region: evss_s3_region
disability_compensation_form:
timeout: 55 # ~1 minute
submit_timeout: 355 # ~6 minutes
letters:
url: https://csraciapp6.evss.srarad.com
timeout: 55
ppiu:
timeout: 30
pciu:
timeout: 30
pciu_address:
timeout: 30
mock_claims: false
mock_letters: false
mock_gi_bill_status: false
mock_pciu: true
mock_pciu_address: false
mock_ppiu: true
mock_itf: true
mock_disabilities_form: true
mock_common_service: true
mock_vso_search: false
aws:
url: http://fake.evss-reference-data-service.dev/v1
cert_path: ~
key_path: ~
root_ca: ~
jwt:
issuer: fake_issuer
key: fake_key
reference_data_service:
enabled: false
international_postal_codes: 'config/evss/international_postal_codes.json'
# Settings for GI Bill Data Service
gids:
url: https://dev.va.gov/gids
open_timeout: 1
read_timeout: 1
mvi_hca:
url: http://example.com
# Settings for Healthcare Application
# This CA chain is nonsense but allows local development to work with pre-prod environment.
hca:
prefill: true
endpoint: https://test-foo.vets.gov
timeout: 30
ee:
endpoint: 'http://example.com'
user: "HCASvcUsr"
pass: "password"
# Settings for the facility locator
locators:
vha: https://gis.va.gov/server/rest/services/VA/FacilitySitePoint_VHA/FeatureServer/0/
nca: https://services3.arcgis.com/aqgBd3l68G8hEFFE/ArcGIS/rest/services/NCA_Facilities/FeatureServer/0
vba: https://services3.arcgis.com/aqgBd3l68G8hEFFE/ArcGIS/rest/services/VBA_Facilities/FeatureServer/0
vc: https://services3.arcgis.com/aqgBd3l68G8hEFFE/ArcGIS/rest/services/VHA_VetCenters/FeatureServer/0
vha_access_satisfaction: https://www.accesstopwt.va.gov/
vha_access_waittime: https://www.accesstocare.va.gov/
base_path: https://services3.arcgis.com/aqgBd3l68G8hEFFE/ArcGIS/rest/services/
gis_base_path: https://gis.va.gov/server/rest/services/VA
drive_time_band_base_path: https://vhanflwebgistst.v08.med.va.gov
providers_enabled: false
mock_gis: false
ppms:
url: https://some.fakesite.com
open_timeout: 15
read_timeout: 55
# Settings for MyHealthEVet
mhv:
# include ranges first, then individual exceptions to the ranges last.
facility_range: [[358,718],[720,740],[742,758]]
facility_specific: [['741MM']] # 741 is excluded, but 741MM is included
rx:
host: https://mhv-api.example.com
app_token: fake-app-token
collection_caching_enabled: false
mock: true
sm:
host: https://mhv-api.example.com
app_token: fake-app-token
mock: true
bb:
mock: true
collection_caching_enabled: true
account:
mock: false
# Settings for Master Veteran Index
mvi:
url: http://ps-dev.commserv.healthevet.va.gov:8110/psim_webservice/IdMWebService
open_timeout: 15
timeout: 30
mock: false
processing_code: T
client_cert_path: /fake/client/cert/path
client_key_path: /fake/client/key/path
pii_logging: false
vba_orchestration: false
edipi_search: false
# Settings for eMIS
# The certs used here can be obtained from the DevOps team. A different set is required for
# each environment when connecting to the service.
emis:
mock: true
host: https://vaausvrsapp81.aac.va.gov
veteran_status_url: /VIERSService/eMIS/v1/VeteranStatusService
payment_url:
v1: /VIERSService/eMIS/v1/PaymentService
v2: /VIERSService/eMIS/v2/PaymentService
military_information_url:
v1: /VIERSService/eMIS/v1/MilitaryInformationService
v2: /VIERSService/eMIS/v2/MilitaryInformationService
client_cert_path: /fake/client/cert/path
client_key_path: /fake/client/key/path
soap_namespaces:
xmlns:xsd: http://www.w3.org/2001/XMLSchema
xmlns:xsi: http://www.w3.org/2001/XMLSchema-instance
xmlns:soap: http://www.w3.org/2003/05/soap-envelope
xmlns:v1: http://viers.va.gov/cdi/CDI/commonService/v1
xmlns:v12: http://viers.va.gov/cdi/eMIS/RequestResponse/v1
xmlns:v13: http://viers.va.gov/cdi/eMIS/commonService/v1
military_information:
v1:
soap_namespaces:
xmlns:v11: http://viers.va.gov/cdi/eMIS/RequestResponse/MilitaryInfo/v1
v2:
soap_namespaces:
xmlns:v1: http://viers.va.gov/cdi/CDI/commonService/v2
xmlns:v12: http://viers.va.gov/cdi/eMIS/RequestResponse/v2
xmlns:v13: http://viers.va.gov/cdi/eMIS/commonService/v2
xmlns:v11: http://viers.va.gov/cdi/eMIS/RequestResponse/MilitaryInfo/v2
payment:
v1:
soap_namespaces:
xmlns:v11: http://viers.va.gov/cdi/eMIS/RequestResponse/Payment/v1
v2:
soap_namespaces:
xmlns:v1: http://viers.va.gov/cdi/CDI/commonService/v2
xmlns:v12: http://viers.va.gov/cdi/eMIS/RequestResponse/v2
xmlns:v13: http://viers.va.gov/cdi/eMIS/commonService/v2
xmlns:v11: http://viers.va.gov/cdi/eMIS/RequestResponse/Payment/v2
veteran_status:
soap_namespaces:
xmlns:v11: http://viers.va.gov/cdi/eMIS/RequestResponse/VetStatus/v1
caseflow:
mock: true
app_token: PUBLICDEMO123
host: https://dsva-appeals-certification-dev-1895622301.us-gov-west-1.elb.amazonaws.com
vic:
url: https://some.fakesite.com
signing_key_path: /fake/signing/key/path
prefill: true
s3:
aws_access_key_id: "aws_access_key_id"
aws_secret_access_key: "aws_secret_access_key"
region: "region"
bucket: "bucket"
# Settings for (preneeds) burials.
preneeds:
host: http://some.fakesite.com
wsdl: "config/preneeds/wsdl/preneeds.wsdl"
# Settings for VBA Document upload service module
vba_documents:
unsuccessful_report_enabled: false
location:
prefix: http://some.fakesite.com/path
replacement: http://another.fakesite.com/rewrittenpath
s3:
enabled: false
aws_access_key_id: "aws_access_key_id"
aws_secret_access_key: "aws_secret_access_key"
region: "region"
bucket: "bucket"
sns:
topic_arns:
- vetsgov-arn
- vagov-arn
#Settings for Claims Api Module
claims_api:
s3:
enabled: false
aws_access_key_id: ~
aws_secret_access_key: ~
region: ~
bucket: ~
disability_claims_mock_override: false
schema_dir: config/schemas
redis:
host: localhost
port: 6379
app_data:
url: redis://localhost:6379
# secondary_url: redis://localhost:6378
sidekiq:
url: redis://localhost:6379
# Settings for GovDelivery (email delivery)
govdelivery:
staging_service: true
server: stage-tms.govdelivery.com
token: ~
# Settings for Education Benefits report uploading
reports:
send_email: true
aws:
access_key_id: ~
bucket: ~
region: ~
secret_access_key: ~
oidc:
auth_server_metadata_url: ~
issuer: ~
audience: ~
base_api_url: https://example.com
base_api_token: ~
sentry:
dsn: ~
statsd:
host: ~
port: ~
shrine:
claims:
type: local
path: claims
# Settings for maintenance window API
# Services should be a map from logical service name to PagerDuty service id
maintenance:
pagerduty_api_url: https://api.pagerduty.com
pagerduty_api_token: FAKE
services:
appeals: P9S4RFU
arcgis: P45YBFA
dslogon: P9DJJAV
emis: P0HNT0I
es: PH7OPR4
evss: PZKWB6Y
global: PLPSIB0
idme: PVWB4R8
mvi: PCIPVGJ
mhv: PP2ZZ2V
search: PRG8HJI
tims: PUL8OQ4
vet360: PHVOGQ1
vic: P7LW3MS
aws:
access_key_id: ~
bucket: ~
region: ~
secret_access_key: ~
# Note: in addition to enabling / disabling betamocks here, you _must_ also
# change the 'mock' bool for each service you want to mock in this settings file
betamocks:
enabled: true
recording: false
cache_dir: /cache
services_config: config/betamocks/services_config.yml
faraday_socks_proxy:
enabled: false
uri: socks5://localhost:2002
google_analytics_tracking_id: ~
# Settings for search
search:
access_key: SEARCH_GOV_ACCESS_KEY
affiliate: va
mock_search: true
url: https://search.usa.gov/api/v2
bing:
base_api_url: "https://dev.virtualearth.net/REST/v1"
key: fake_key
flipper:
admin_user_emails:
- [email protected] # Robin Garrison - AdHoc
bgs:
application: ~
client_station_id: ~
client_username: ~
env: ~
mock_response_location: ~
mock_responses: ~
ssl_verify_mode: 'peer'
va_mobile:
url: 'https://veteran.apps.va.gov'
mock: false
key_path: /fake/client/key/path
timeout: 15
lighthouse:
api_key: fake_key
facilities:
url: https://sandbox-api.va.gov
api_key: fake_key
forms:
url: https://sandbox-api.va.gov/services/va_forms/v0/
mock: false
vbms:
url: "https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4449"
saml: "vetsapi.client.vbms.aide.oit.va.gov.saml-token.xml"
ca_cert: VBMS-Client-Signing-CA.crt
cert: vetsapi.client.vbms.aide.oit.va.gov.crt
client_keyfile: vetsapi.client.vbms.aide.oit.va.gov.p12
server_cert: vbms.aide.oit.va.gov.crt
environment_directory: /srv/vets-api/secret
env: test
vet_verification:
key_path: modules/veteran_verification/spec/fixtures/verification_test.pem
github_stats:
username: github-stats-rake
token: fake_token
# Settings for the coronavirus chatbot tokens
coronavirus_chatbot:
app_secret: fake_secret
directline_uri: northamerica.directline.botframework.com
webchat_secret: fake_secret