Skip to content

Commit

Permalink
Standardize validator env var (#25)
Browse files Browse the repository at this point in the history
* Standardize validator environment variable

* reset inadvertent change
  • Loading branch information
dehall committed May 3, 2024
1 parent 1da52f4 commit a495ec8
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 8 deletions.
1 change: 0 additions & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
JS_HOST=""
BULK_DATA_FHIR_RESOURCE_VALIDATOR_URL=http://hl7_validator_service:3500
REDIS_URL=redis://redis:6379/0

# Full path to a custom JWKS json file, will use lib/bulk_data_test_kit/bulk_data_jwks.json if left blank
Expand Down
2 changes: 1 addition & 1 deletion .env.development
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
BULK_DATA_FHIR_RESOURCE_VALIDATOR_URL=http://localhost/hl7validatorapi
FHIR_RESOURCE_VALIDATOR_URL=http://localhost/hl7validatorapi
REDIS_URL=redis://localhost:6379/0
INFERNO_HOST=http://localhost:4567
2 changes: 1 addition & 1 deletion .env.production
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
REDIS_URL=redis://redis:6379/0
BULK_DATA_FHIR_RESOURCE_VALIDATOR_URL=http://hl7_validator_service:3500
FHIR_RESOURCE_VALIDATOR_URL=http://hl7_validator_service:3500
INFERNO_HOST=http://localhost
2 changes: 1 addition & 1 deletion .env.test
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
BULK_DATA_VALIDATOR_URL=https://example.com/validatorapi
FHIR_RESOURCE_VALIDATOR_URL=https://example.com/validatorapi
ASYNC_JOBS=false
2 changes: 0 additions & 2 deletions lib/bulk_data_test_kit/v1.0.1/bulk_data_test_suite.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ class BulkDataTestSuite < Inferno::TestSuite
VERSION_SPECIFIC_MESSAGE_FILTERS = [].freeze

fhir_resource_validator do
url ENV.fetch('BULK_DATA_FHIR_RESOURCE_VALIDATOR_URL', 'http://hl7_validator_service:3500')

message_filters = VALIDATION_MESSAGE_FILTERS + VERSION_SPECIFIC_MESSAGE_FILTERS

$num_messages = 0
Expand Down
2 changes: 0 additions & 2 deletions lib/bulk_data_test_kit/v2.0.0/bulk_data_test_suite.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ class BulkDataTestSuite < Inferno::TestSuite
VERSION_SPECIFIC_MESSAGE_FILTERS = [].freeze

fhir_resource_validator do
url ENV.fetch('BULK_DATA_FHIR_RESOURCE_VALIDATOR_URL', 'http://hl7_validator_service:3500')

message_filters = VALIDATION_MESSAGE_FILTERS + VERSION_SPECIFIC_MESSAGE_FILTERS

$num_messages = 0
Expand Down

0 comments on commit a495ec8

Please sign in to comment.