bulk_data_test_kit 0.9.3 → 0.10.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/lib/bulk_data_test_kit/export_cancel_tests.rb +4 -1
  3. data/lib/bulk_data_test_kit/export_operation_tests.rb +8 -2
  4. data/lib/bulk_data_test_kit/export_parameters_tests.rb +8 -2
  5. data/lib/bulk_data_test_kit/v1.0.1/bulk_data_export_cancel_test.rb +2 -0
  6. data/lib/bulk_data_test_kit/v1.0.1/bulk_data_export_kick_off_test.rb +2 -0
  7. data/lib/bulk_data_test_kit/v1.0.1/bulk_data_export_tests_test_group.rb +2 -0
  8. data/lib/bulk_data_test_kit/v1.0.1/bulk_data_group_export_cancel_test.rb +16 -0
  9. data/lib/bulk_data_test_kit/v1.0.1/bulk_data_group_export_kick_off_test.rb +16 -0
  10. data/lib/bulk_data_test_kit/v1.0.1/bulk_data_group_no_auth_test.rb +16 -0
  11. data/lib/bulk_data_test_kit/v1.0.1/bulk_data_ndjson_download_test.rb +2 -0
  12. data/lib/bulk_data_test_kit/v1.0.1/bulk_data_no_auth_test.rb +3 -0
  13. data/lib/bulk_data_test_kit/v1.0.1/bulk_data_status_check_test.rb +3 -1
  14. data/lib/bulk_data_test_kit/v1.0.1/bulk_data_test_suite.rb +12 -9
  15. data/lib/bulk_data_test_kit/v1.0.1/group/bulk_data_group_export_cancel_group.rb +4 -10
  16. data/lib/bulk_data_test_kit/v1.0.1/group/bulk_data_group_export_group.rb +4 -13
  17. data/lib/bulk_data_test_kit/v1.0.1/patient/bulk_data_patient_export_cancel_group.rb +2 -4
  18. data/lib/bulk_data_test_kit/v1.0.1/patient/bulk_data_patient_export_group.rb +0 -3
  19. data/lib/bulk_data_test_kit/v1.0.1/system_export/bulk_data_system_export_cancel_group.rb +2 -4
  20. data/lib/bulk_data_test_kit/v1.0.1/system_export/bulk_data_system_export_group.rb +0 -3
  21. data/lib/bulk_data_test_kit/v2.0.0/bulk_data_export_cancel_test.rb +2 -0
  22. data/lib/bulk_data_test_kit/v2.0.0/bulk_data_export_tests_test_group.rb +2 -0
  23. data/lib/bulk_data_test_kit/v2.0.0/bulk_data_group_outputFormat_param_test.rb +16 -0
  24. data/lib/bulk_data_test_kit/v2.0.0/bulk_data_group_since_param_test.rb +16 -0
  25. data/lib/bulk_data_test_kit/v2.0.0/bulk_data_outputFormat_param_test.rb +3 -0
  26. data/lib/bulk_data_test_kit/v2.0.0/bulk_data_since_param_test.rb +2 -0
  27. data/lib/bulk_data_test_kit/v2.0.0/bulk_data_test_suite.rb +12 -9
  28. data/lib/bulk_data_test_kit/v2.0.0/group/bulk_data_group_export_parameters_group.rb +4 -14
  29. data/lib/bulk_data_test_kit/v2.0.0/patient/bulk_data_patient_export_parameters_group.rb +0 -3
  30. data/lib/bulk_data_test_kit/v2.0.0/system_export/bulk_data_system_export_parameters_group.rb +0 -3
  31. data/lib/bulk_data_test_kit/version.rb +1 -1
  32. metadata +10 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 99eebefdbb7ecb9ef9efcccd9053b06199d084e44fc98215282120fd1a2ec223
4
- data.tar.gz: a24bc766bda6c86ab463a63df4f3554d94c91f76897cd24c455cb72c0974d0b4
3
+ metadata.gz: d04b828507da383659f26649c8282c7fd5b39d95adf4bf8f73fab4f0e9e0d0ec
4
+ data.tar.gz: 4cbb9a26dcd73eec44382167d68775fa8c75660b1051e9b69498f7cce0b5e39b
5
5
  SHA512:
6
- metadata.gz: ec51b92fc2616984857fd3bcffcd65b5430dd002af70c85ade580e69cceddee34a2df83c1e0c7adc2849108f002c6082d5565597706dd474d775108351f4e2e5
7
- data.tar.gz: f30ebf12a4d4f78fd5972ff7807b8c6bdeabcd66e8d2b64fa59ceee9cd56d6b6767a4692be32f3dbb2e14743e4d28f8c537cb90a4956e6e249cf75fd78ac3af4
6
+ metadata.gz: d1891af6aaa2ab06bc3da74ed825c60940f67f2838efed992bd0356a76f91d1d1f47538ae4e0686ebedda14c7ae5292beb4e2035722e3b3a46a379b8392a5d84
7
+ data.tar.gz: db89d1311dcda1e72737118af328f4f6f277233b2d61f9836b4850fd03aaa1822b28fdc056ee0fc02d2b3453204eb52b0c4fd14a3471dc3e3282b9d873d47847
@@ -15,7 +15,10 @@ module BulkDataTestKit
15
15
  def perform_export_cancel_test
16
16
  use_token = !bearer_token.blank?
17
17
  url = bulk_export_url.dup
18
- url = bulk_export_url.gsub('[group_id]', group_id) if resource_type == 'Group'
18
+ if resource_type == 'Group'
19
+ skip_if group_id.blank?, 'Group id is blank, skipping test.'
20
+ url = bulk_export_url.gsub('[group_id]', group_id) if resource_type == 'Group'
21
+ end
19
22
 
20
23
  perform_export_kick_off_request(use_token:, url:)
21
24
  assert_response_status(202)
@@ -64,7 +64,10 @@ module BulkDataTestKit
64
64
  skip_if bearer_token.blank?, 'Bearer token is not set and thus not required to connect to server.'
65
65
 
66
66
  url = bulk_export_url.dup
67
- url = bulk_export_url.gsub('[group_id]', group_id) if resource_type == 'Group'
67
+ if resource_type == 'Group'
68
+ skip_if group_id.blank?, 'Group id is blank, skipping test.'
69
+ url = bulk_export_url.gsub('[group_id]', group_id) if resource_type == 'Group'
70
+ end
68
71
 
69
72
  perform_export_kick_off_request(use_token: false, url:)
70
73
  assert_response_status([400, 401])
@@ -74,7 +77,10 @@ module BulkDataTestKit
74
77
  use_token = !bearer_token.blank?
75
78
 
76
79
  url = bulk_export_url.dup
77
- url = bulk_export_url.gsub('[group_id]', group_id) if resource_type == 'Group'
80
+ if resource_type == 'Group'
81
+ skip_if group_id.blank?, 'Group id is blank, skipping test.'
82
+ url = bulk_export_url.gsub('[group_id]', group_id) if resource_type == 'Group'
83
+ end
78
84
 
79
85
  perform_export_kick_off_request(use_token:, url:)
80
86
  assert_response_status(202)
@@ -14,7 +14,10 @@ module BulkDataTestKit
14
14
 
15
15
  def perform_outputFormat_param_test
16
16
  url = bulk_export_url.dup
17
- url = bulk_export_url.gsub('[group_id]', group_id) if resource_type == 'Group'
17
+ if resource_type == 'Group'
18
+ skip_if group_id.blank?, 'Group id is blank, skipping test.'
19
+ url = bulk_export_url.gsub('[group_id]', group_id) if resource_type == 'Group'
20
+ end
18
21
 
19
22
  ['application/fhir+ndjson', 'application/ndjson', 'ndjson'].each do |format|
20
23
  kickoff_url = url.dup
@@ -34,7 +37,10 @@ module BulkDataTestKit
34
37
  /x
35
38
 
36
39
  url = bulk_export_url.dup
37
- url = bulk_export_url.gsub('[group_id]', group_id) if resource_type == 'Group'
40
+ if resource_type == 'Group'
41
+ skip_if group_id.blank?, 'Group id is blank, skipping test.'
42
+ url = bulk_export_url.gsub('[group_id]', group_id) if resource_type == 'Group'
43
+ end
38
44
 
39
45
  assert since_timestamp_param.match?(fhir_instant_regex),
40
46
  "The provided `_since` timestamp `#{since_timestamp_param}` is not a valid " \
@@ -17,6 +17,8 @@ module BulkDataTestKit
17
17
  DESCRIPTION
18
18
  # link 'http://hl7.org/fhir/uv/bulkdata/STU1.0.1/export/index.html#bulk-data-delete-request'
19
19
 
20
+ input :bearer_token,
21
+ optional: true
20
22
  output :cancelled_polling_url
21
23
 
22
24
  def self.properties
@@ -19,6 +19,8 @@ module BulkDataTestKit
19
19
  DESCRIPTION
20
20
  # link 'http://hl7.org/fhir/uv/bulkdata/STU1.0.1/export/index.html#response---success'
21
21
 
22
+ input :bearer_token,
23
+ optional: true
22
24
  output :polling_url
23
25
 
24
26
  def self.properties
@@ -10,6 +10,8 @@ module BulkDataTestKit
10
10
  id :bulk_data_export_tests_v101
11
11
  title 'Bulk Data Export Tests'
12
12
 
13
+ input :bulk_server_url
14
+
13
15
  group do
14
16
  id :bulk_data_server_tests
15
17
  title 'Bulk Data Server TLS Tests'
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'bulk_data_export_cancel_test'
4
+
5
+ module BulkDataTestKit
6
+ module BulkDataV101
7
+ class BulkDataGroupExportCancelTest < BulkDataV101::BulkDataExportCancelTest
8
+ id :bulk_data_export_group_cancel
9
+ input :group_id
10
+
11
+ config(
12
+ options: { resource_type: 'Group', bulk_export_url: 'Group/[group_id]/$export' }
13
+ )
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'bulk_data_export_kick_off_test'
4
+
5
+ module BulkDataTestKit
6
+ module BulkDataV101
7
+ class BulkDataGroupKickOffTest < BulkDataV101::BulkDataKickOffTest
8
+ id :bulk_data_group_kick_off
9
+ input :group_id
10
+
11
+ config(
12
+ options: { resource_type: 'Group', bulk_export_url: 'Group/[group_id]/$export' }
13
+ )
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'bulk_data_no_auth_test'
4
+
5
+ module BulkDataTestKit
6
+ module BulkDataV101
7
+ class BulkDataGroupExportNoAuthRejectTest < BulkDataV101::BulkDataExportNoAuthRejectTest
8
+ id :bulk_data_group_no_auth_reject
9
+ input :group_id
10
+
11
+ config(
12
+ options: { resource_type: 'Group', bulk_export_url: 'Group/[group_id]/$export' }
13
+ )
14
+ end
15
+ end
16
+ end
@@ -23,6 +23,8 @@ module BulkDataTestKit
23
23
 
24
24
  input :bulk_download_url
25
25
  input :requires_access_token
26
+ input :bearer_token,
27
+ optional: true
26
28
 
27
29
  run do
28
30
  ndjson_download_requiresAccessToken_check(bulk_data_download_url: bulk_download_url,
@@ -20,6 +20,9 @@ module BulkDataTestKit
20
20
  DESCRIPTION
21
21
  # link 'http://hl7.org/fhir/uv/bulkdata/STU1.0.1/export/index.html#bulk-data-kick-off-request'
22
22
 
23
+ input :bearer_token,
24
+ optional: true
25
+
23
26
  def self.properties
24
27
  @properties ||= BulkDataTestKitProperties.new(
25
28
  resource_type: config.options[:resource_type],
@@ -22,7 +22,9 @@ module BulkDataTestKit
22
22
  DESCRIPTION
23
23
  # link 'http://hl7.org/fhir/uv/bulkdata/STU1.0.1/export/index.html#bulk-data-status-request'
24
24
 
25
- input :polling_url
25
+ input :polling_url, :bulk_timeout
26
+ input :bearer_token,
27
+ optional: true
26
28
 
27
29
  output :status_response, :requires_access_token
28
30
 
@@ -26,14 +26,13 @@ module BulkDataTestKit
26
26
  ]
27
27
 
28
28
  VALIDATION_MESSAGE_FILTERS = [
29
- /Observation\.effective\.ofType\(Period\): .*vs-1:/ # Invalid invariant in FHIR v4.0.1
29
+ /Observation\.effective\.ofType\(Period\): .*vs-1:/, # Invalid invariant in FHIR v4.0.1
30
+ /\A\S+: \S+: URL value '.*' does not resolve/
30
31
  ].freeze
31
32
 
32
33
  VERSION_SPECIFIC_MESSAGE_FILTERS = [].freeze
33
34
 
34
- validator do
35
- url ENV.fetch('BULK_DATA_VALIDATOR_URL', 'http://validator_service:4567')
36
-
35
+ fhir_resource_validator do
37
36
  message_filters = VALIDATION_MESSAGE_FILTERS + VERSION_SPECIFIC_MESSAGE_FILTERS
38
37
 
39
38
  $num_messages = 0
@@ -42,13 +41,17 @@ module BulkDataTestKit
42
41
  $capped_errors = false
43
42
 
44
43
  exclude_message do |message|
45
- if message.type != 'error'
46
- $num_messages += 1
47
- else
48
- $num_errors += 1
44
+ matches_filter = message_filters.any? { |filter| filter.match? message.message }
45
+
46
+ unless matches_filter
47
+ if message.type != 'error'
48
+ $num_messages += 1
49
+ else
50
+ $num_errors += 1
51
+ end
49
52
  end
50
53
 
51
- message_filters.any? { |filter| filter.match? message.message } ||
54
+ matches_filter ||
52
55
  (message.type != 'error' && $num_messages > 50 && !message.message.include?('Inferno is only showing the first')) ||
53
56
  (message.type == 'error' && $num_errors > 20 && !message.message.include?('Inferno is only showing the first'))
54
57
  end
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require_relative '../../export_kick_off_performer'
4
- require_relative '../bulk_data_export_cancel_test'
4
+ require_relative '../bulk_data_group_export_cancel_test'
5
5
 
6
6
  module BulkDataTestKit
7
7
  module BulkDataV101
@@ -14,19 +14,13 @@ module BulkDataTestKit
14
14
  correct behavior.
15
15
  )
16
16
 
17
- input :bearer_token
18
- input :bulk_server_url,
19
- title: 'Bulk Data FHIR URL',
20
- description: 'The URL of the Bulk FHIR server.'
17
+ input :bearer_token,
18
+ optional: true
21
19
  input :group_id,
22
20
  title: 'Group ID',
23
21
  description: 'The Group ID associated with the group of patients to be exported.'
24
22
 
25
- test from: :bulk_data_export_cancel,
26
- id: :bulk_data_group_export_cancel,
27
- config: {
28
- options: { resource_type: 'Group', bulk_export_url: 'Group/[group_id]/$export' }
29
- }
23
+ test from: :bulk_data_export_group_cancel
30
24
  end
31
25
  end
32
26
  end
@@ -3,7 +3,9 @@
3
3
  require 'tls_test_kit'
4
4
  require_relative '../bulk_data_export_operation_support_test'
5
5
  require_relative '../bulk_data_no_auth_test'
6
+ require_relative '../bulk_data_group_no_auth_test'
6
7
  require_relative '../bulk_data_export_kick_off_test'
8
+ require_relative '../bulk_data_group_export_kick_off_test'
7
9
  require_relative '../bulk_data_status_check_test'
8
10
  require_relative '../bulk_data_output_check_test'
9
11
 
@@ -24,9 +26,6 @@ module BulkDataTestKit
24
26
  input :group_id,
25
27
  title: 'Group ID',
26
28
  description: 'The Group ID associated with the group of patients to be exported.'
27
- input :bulk_server_url,
28
- title: 'Bulk Data FHIR URL',
29
- description: 'The URL of the Bulk FHIR server.'
30
29
  input :bulk_timeout,
31
30
  title: 'Export Times Out after (1-600)',
32
31
  description: <<~DESCRIPTION,
@@ -74,17 +73,9 @@ module BulkDataTestKit
74
73
  )
75
74
  end
76
75
 
77
- test from: :bulk_data_no_auth_reject,
78
- id: :bulk_data_group_no_auth_reject,
79
- config: {
80
- options: { resource_type: 'Group', bulk_export_url: 'Group/[group_id]/$export' }
81
- }
76
+ test from: :bulk_data_group_no_auth_reject
82
77
 
83
- test from: :bulk_data_kick_off,
84
- id: :bulk_data_group_kick_off,
85
- config: {
86
- options: { resource_type: 'Group', bulk_export_url: 'Group/[group_id]/$export' }
87
- }
78
+ test from: :bulk_data_group_kick_off
88
79
 
89
80
  test from: :bulk_data_status_check,
90
81
  id: :bulk_data_group_status_check,
@@ -14,10 +14,8 @@ module BulkDataTestKit
14
14
  correct behavior.
15
15
  )
16
16
 
17
- input :bearer_token
18
- input :bulk_server_url,
19
- title: 'Bulk Data FHIR URL',
20
- description: 'The URL of the Bulk FHIR server.'
17
+ input :bearer_token,
18
+ optional: true
21
19
 
22
20
  output :patient_cancelled_polling_url
23
21
 
@@ -21,9 +21,6 @@ module BulkDataTestKit
21
21
  title: 'Bulk Data Authorization Bearer Token',
22
22
  description: 'The authorization bearer token for the Bulk FHIR server. If not required, leave blank.',
23
23
  optional: true
24
- input :bulk_server_url,
25
- title: 'Bulk Data FHIR URL',
26
- description: 'The URL of the Bulk FHIR server.'
27
24
  input :bulk_timeout,
28
25
  title: 'Export Times Out after (1-600)',
29
26
  description: <<~DESCRIPTION,
@@ -14,10 +14,8 @@ module BulkDataTestKit
14
14
  correct behavior.
15
15
  )
16
16
 
17
- input :bearer_token
18
- input :bulk_server_url,
19
- title: 'Bulk Data FHIR URL',
20
- description: 'The URL of the Bulk FHIR server.'
17
+ input :bearer_token,
18
+ optional: true
21
19
 
22
20
  output :system_cancelled_polling_url
23
21
 
@@ -21,9 +21,6 @@ module BulkDataTestKit
21
21
  title: 'Bulk Data Authorization Bearer Token',
22
22
  description: 'The authorization bearer token for the Bulk FHIR server. If not required, leave blank.',
23
23
  optional: true
24
- input :bulk_server_url,
25
- title: 'Bulk Data FHIR URL',
26
- description: 'The URL of the Bulk FHIR server.'
27
24
  input :bulk_timeout,
28
25
  title: 'Export Times Out after (1-600)',
29
26
  description: <<~DESCRIPTION,
@@ -19,6 +19,8 @@ module BulkDataTestKit
19
19
  id :bulk_data_export_cancel_stu2
20
20
 
21
21
  input :cancelled_polling_url
22
+ input :bearer_token,
23
+ optional: true
22
24
 
23
25
  run do
24
26
  perform_cancelled_polling_test(cancelled_polling_url)
@@ -10,6 +10,8 @@ module BulkDataTestKit
10
10
  id :bulk_data_export_tests_v200
11
11
  title 'Bulk Data Export Tests'
12
12
 
13
+ input :bulk_server_url
14
+
13
15
  group do
14
16
  id :bulk_data_server_tests_stu2
15
17
  title 'Bulk Data Server TLS Tests'
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'bulk_data_outputFormat_param_test'
4
+
5
+ module BulkDataTestKit
6
+ module BulkDataV200
7
+ class BulkDataGroupOutputFormatParamTest < BulkDataV200::BulkDataOutputFormatParamTest
8
+ id :output_format_in_group_export_response
9
+ input :group_id
10
+
11
+ config(
12
+ options: { resource_type: 'Group', bulk_export_url: 'Group/[group_id]/$export' }
13
+ )
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'bulk_data_since_param_test'
4
+
5
+ module BulkDataTestKit
6
+ module BulkDataV200
7
+ class BulkDataGroupSinceParamTest < BulkDataV200::BulkDataSinceParamTest
8
+ id :since_in_group_export_response
9
+ input :group_id
10
+
11
+ config(
12
+ options: { resource_type: 'Group', bulk_export_url: 'Group/[group_id]/$export' }
13
+ )
14
+ end
15
+ end
16
+ end
@@ -21,6 +21,9 @@ module BulkDataTestKit
21
21
  as the abbreviated representations application/ndjson and ndjson.
22
22
  DESCRIPTION
23
23
 
24
+ input :bearer_token,
25
+ optional: true
26
+
24
27
  def self.properties
25
28
  @properties ||= BulkDataTestKitProperties.new(
26
29
  resource_type: config.options[:resource_type],
@@ -27,6 +27,8 @@ module BulkDataTestKit
27
27
  After the export was successfully initiated, it is then cancelled.
28
28
  DESCRIPTION
29
29
 
30
+ input :bearer_token,
31
+ optional: true
30
32
  input :since_timestamp,
31
33
  title: 'Timestamp for _since parameter',
32
34
  description: 'A timestamp formatted as a FHIR instant which will be used to test the ' \
@@ -26,14 +26,13 @@ module BulkDataTestKit
26
26
  ]
27
27
 
28
28
  VALIDATION_MESSAGE_FILTERS = [
29
- /Observation\.effective\.ofType\(Period\): .*vs-1:/ # Invalid invariant in FHIR v4.0.1
29
+ /Observation\.effective\.ofType\(Period\): .*vs-1:/, # Invalid invariant in FHIR v4.0.1
30
+ /\A\S+: \S+: URL value '.*' does not resolve/
30
31
  ].freeze
31
32
 
32
33
  VERSION_SPECIFIC_MESSAGE_FILTERS = [].freeze
33
34
 
34
- validator do
35
- url ENV.fetch('BULK_DATA_VALIDATOR_URL', 'http://validator_service:4567')
36
-
35
+ fhir_resource_validator do
37
36
  message_filters = VALIDATION_MESSAGE_FILTERS + VERSION_SPECIFIC_MESSAGE_FILTERS
38
37
 
39
38
  $num_messages = 0
@@ -42,13 +41,17 @@ module BulkDataTestKit
42
41
  $capped_errors = false
43
42
 
44
43
  exclude_message do |message|
45
- if message.type != 'error'
46
- $num_messages += 1
47
- else
48
- $num_errors += 1
44
+ matches_filter = message_filters.any? { |filter| filter.match? message.message }
45
+
46
+ unless matches_filter
47
+ if message.type != 'error'
48
+ $num_messages += 1
49
+ else
50
+ $num_errors += 1
51
+ end
49
52
  end
50
53
 
51
- message_filters.any? { |filter| filter.match? message.message } ||
54
+ matches_filter ||
52
55
  (message.type != 'error' && $num_messages > 50 && !message.message.include?('Inferno is only showing the first')) ||
53
56
  (message.type == 'error' && $num_errors > 20 && !message.message.include?('Inferno is only showing the first'))
54
57
  end
@@ -2,7 +2,9 @@
2
2
 
3
3
  require_relative '../../export_kick_off_performer'
4
4
  require_relative '../bulk_data_outputFormat_param_test'
5
+ require_relative '../bulk_data_group_outputFormat_param_test'
5
6
  require_relative '../bulk_data_since_param_test'
7
+ require_relative '../bulk_data_group_since_param_test'
6
8
 
7
9
  module BulkDataTestKit
8
10
  module BulkDataV200
@@ -17,24 +19,12 @@ module BulkDataTestKit
17
19
  title: 'Bulk Data Authorization Bearer Token',
18
20
  description: 'The authorization bearer token for the Bulk FHIR server. If not required, leave blank.',
19
21
  optional: true
20
- input :bulk_server_url,
21
- title: 'Bulk Data FHIR URL',
22
- description: 'The URL of the Bulk FHIR server.'
23
22
  input :group_id,
24
23
  title: 'Group ID',
25
24
  description: 'The Group ID associated with the group of patients to be exported.'
26
25
 
27
- test from: :output_format_in_export_response,
28
- id: :output_format_in_group_export_response,
29
- config: {
30
- options: { resource_type: 'Group', bulk_export_url: 'Group/[group_id]/$export' }
31
- }
32
-
33
- test from: :since_in_export_response,
34
- id: :since_in_group_export_response,
35
- config: {
36
- options: { resource_type: 'Group', bulk_export_url: 'Group/[group_id]/$export' }
37
- }
26
+ test from: :output_format_in_group_export_response
27
+ test from: :since_in_group_export_response
38
28
  end
39
29
  end
40
30
  end
@@ -17,9 +17,6 @@ module BulkDataTestKit
17
17
  title: 'Bulk Data Authorization Bearer Token',
18
18
  description: 'The authorization bearer token for the Bulk FHIR server. If not required, leave blank.',
19
19
  optional: true
20
- input :bulk_server_url,
21
- title: 'Bulk Data FHIR URL',
22
- description: 'The URL of the Bulk FHIR server.'
23
20
 
24
21
  test from: :output_format_in_export_response,
25
22
  id: :output_format_in_patient_export_response,
@@ -17,9 +17,6 @@ module BulkDataTestKit
17
17
  title: 'Bulk Data Authorization Bearer Token',
18
18
  description: 'The authorization bearer token for the Bulk FHIR server. If not required, leave blank.',
19
19
  optional: true
20
- input :bulk_server_url,
21
- title: 'Bulk Data FHIR URL',
22
- description: 'The URL of the Bulk FHIR server.'
23
20
 
24
21
  test from: :output_format_in_export_response,
25
22
  id: :output_format_in_system_export_response,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BulkDataTestKit
4
- VERSION = '0.9.3'
4
+ VERSION = '0.10.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bulk_data_test_kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.3
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Inferno Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-07 00:00:00.000000000 Z
11
+ date: 2024-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bloomer
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 0.4.20
47
+ version: 0.4.37
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 0.4.20
54
+ version: 0.4.37
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: json-jwt
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -212,7 +212,10 @@ files:
212
212
  - lib/bulk_data_test_kit/v1.0.1/bulk_data_export_kick_off_test.rb
213
213
  - lib/bulk_data_test_kit/v1.0.1/bulk_data_export_operation_support_test.rb
214
214
  - lib/bulk_data_test_kit/v1.0.1/bulk_data_export_tests_test_group.rb
215
+ - lib/bulk_data_test_kit/v1.0.1/bulk_data_group_export_cancel_test.rb
216
+ - lib/bulk_data_test_kit/v1.0.1/bulk_data_group_export_kick_off_test.rb
215
217
  - lib/bulk_data_test_kit/v1.0.1/bulk_data_group_export_test_group.rb
218
+ - lib/bulk_data_test_kit/v1.0.1/bulk_data_group_no_auth_test.rb
216
219
  - lib/bulk_data_test_kit/v1.0.1/bulk_data_multiple_patients_test.rb
217
220
  - lib/bulk_data_test_kit/v1.0.1/bulk_data_ndjson_download_test.rb
218
221
  - lib/bulk_data_test_kit/v1.0.1/bulk_data_no_auth_test.rb
@@ -235,6 +238,8 @@ files:
235
238
  - lib/bulk_data_test_kit/v2.0.0/bulk_data_export_cancel_test.rb
236
239
  - lib/bulk_data_test_kit/v2.0.0/bulk_data_export_tests_test_group.rb
237
240
  - lib/bulk_data_test_kit/v2.0.0/bulk_data_group_export_test_group.rb
241
+ - lib/bulk_data_test_kit/v2.0.0/bulk_data_group_outputFormat_param_test.rb
242
+ - lib/bulk_data_test_kit/v2.0.0/bulk_data_group_since_param_test.rb
238
243
  - lib/bulk_data_test_kit/v2.0.0/bulk_data_outputFormat_param_test.rb
239
244
  - lib/bulk_data_test_kit/v2.0.0/bulk_data_patient_export_test_group.rb
240
245
  - lib/bulk_data_test_kit/v2.0.0/bulk_data_since_param_test.rb
@@ -268,7 +273,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
268
273
  - !ruby/object:Gem::Version
269
274
  version: '0'
270
275
  requirements: []
271
- rubygems_version: 3.3.7
276
+ rubygems_version: 3.5.10
272
277
  signing_key:
273
278
  specification_version: 4
274
279
  summary: Bulk Data Test Kit