bulk_data_test_kit 0.9.3 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bulk_data_test_kit/export_cancel_tests.rb +4 -1
- data/lib/bulk_data_test_kit/export_operation_tests.rb +8 -2
- data/lib/bulk_data_test_kit/export_parameters_tests.rb +8 -2
- data/lib/bulk_data_test_kit/v1.0.1/bulk_data_export_cancel_test.rb +2 -0
- data/lib/bulk_data_test_kit/v1.0.1/bulk_data_export_kick_off_test.rb +2 -0
- data/lib/bulk_data_test_kit/v1.0.1/bulk_data_export_tests_test_group.rb +2 -0
- data/lib/bulk_data_test_kit/v1.0.1/bulk_data_group_export_cancel_test.rb +16 -0
- data/lib/bulk_data_test_kit/v1.0.1/bulk_data_group_export_kick_off_test.rb +16 -0
- data/lib/bulk_data_test_kit/v1.0.1/bulk_data_group_no_auth_test.rb +16 -0
- data/lib/bulk_data_test_kit/v1.0.1/bulk_data_ndjson_download_test.rb +2 -0
- data/lib/bulk_data_test_kit/v1.0.1/bulk_data_no_auth_test.rb +3 -0
- data/lib/bulk_data_test_kit/v1.0.1/bulk_data_status_check_test.rb +3 -1
- data/lib/bulk_data_test_kit/v1.0.1/bulk_data_test_suite.rb +12 -9
- data/lib/bulk_data_test_kit/v1.0.1/group/bulk_data_group_export_cancel_group.rb +4 -10
- data/lib/bulk_data_test_kit/v1.0.1/group/bulk_data_group_export_group.rb +4 -13
- data/lib/bulk_data_test_kit/v1.0.1/patient/bulk_data_patient_export_cancel_group.rb +2 -4
- data/lib/bulk_data_test_kit/v1.0.1/patient/bulk_data_patient_export_group.rb +0 -3
- data/lib/bulk_data_test_kit/v1.0.1/system_export/bulk_data_system_export_cancel_group.rb +2 -4
- data/lib/bulk_data_test_kit/v1.0.1/system_export/bulk_data_system_export_group.rb +0 -3
- data/lib/bulk_data_test_kit/v2.0.0/bulk_data_export_cancel_test.rb +2 -0
- data/lib/bulk_data_test_kit/v2.0.0/bulk_data_export_tests_test_group.rb +2 -0
- data/lib/bulk_data_test_kit/v2.0.0/bulk_data_group_outputFormat_param_test.rb +16 -0
- data/lib/bulk_data_test_kit/v2.0.0/bulk_data_group_since_param_test.rb +16 -0
- data/lib/bulk_data_test_kit/v2.0.0/bulk_data_outputFormat_param_test.rb +3 -0
- data/lib/bulk_data_test_kit/v2.0.0/bulk_data_since_param_test.rb +2 -0
- data/lib/bulk_data_test_kit/v2.0.0/bulk_data_test_suite.rb +12 -9
- data/lib/bulk_data_test_kit/v2.0.0/group/bulk_data_group_export_parameters_group.rb +4 -14
- data/lib/bulk_data_test_kit/v2.0.0/patient/bulk_data_patient_export_parameters_group.rb +0 -3
- data/lib/bulk_data_test_kit/v2.0.0/system_export/bulk_data_system_export_parameters_group.rb +0 -3
- data/lib/bulk_data_test_kit/version.rb +1 -1
- metadata +8 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2bfb916cc050c63ebe26930f4dfb6ac113cf67235914b91434e44ef72ad6cb17
|
4
|
+
data.tar.gz: 6c0f7b6aec477e345b3f31050ce39b25aea5b1b069dff66166595f5aab834136
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3272834d0daa2d68c910307a1efe43b6d99f15295a3b8229741e638b5f42814661350ca02299c04ac1b68881b4494c9a08a24156cbfd33dd7521a49095fd7987
|
7
|
+
data.tar.gz: 7e300733bea3d4bb601f5c30f25bca7032d80869689191878dfb3931737fa7701e648cf9d700218e71613ee175aa5a0557f8ff0a5cb91538e02077b0811a5de0
|
@@ -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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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 " \
|
@@ -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
|
@@ -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
|
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
|
-
|
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
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
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
|
-
|
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 '../
|
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
|
-
|
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: :
|
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: :
|
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: :
|
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
|
-
|
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
|
-
|
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,
|
@@ -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
|
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
|
-
|
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
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
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
|
-
|
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: :
|
28
|
-
|
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,
|
data/lib/bulk_data_test_kit/v2.0.0/system_export/bulk_data_system_export_parameters_group.rb
CHANGED
@@ -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,
|
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.
|
4
|
+
version: 0.10.0
|
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-
|
11
|
+
date: 2024-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bloomer
|
@@ -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.
|
276
|
+
rubygems_version: 3.5.9
|
272
277
|
signing_key:
|
273
278
|
specification_version: 4
|
274
279
|
summary: Bulk Data Test Kit
|