onc_certification_g10_test_kit 8.0.1 → 8.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/config/presets/g10_reference_server_preset.json +2 -1
- data/execution_scripts/reference_server/g10_ref_server_usc6_smart2_bulk1_no_terminology_expected.json +1 -0
- data/execution_scripts/reference_server/g10_ref_server_usc6_smart2_bulk1_with_commands.yaml +281 -0
- data/execution_scripts/reference_server/g10_ref_server_usc6_smart2_bulk1_with_commands_expected.json +1 -0
- data/execution_scripts/reference_server/g10_ref_server_usc7_smart2_bulk1_no_terminology_expected.json +1 -0
- data/execution_scripts/reference_server/g10_ref_server_usc7_smart2_bulk1_with_commands.yaml +281 -0
- data/execution_scripts/reference_server/g10_ref_server_usc7_smart2_bulk1_with_commands_expected.json +4054 -0
- data/execution_scripts/reference_server/ref_server_authorize_85_all_scopes.rb +4 -0
- data/execution_scripts/reference_server/ref_server_authorize_85_granular_scopes.rb +15 -0
- data/execution_scripts/reference_server/ref_server_authorize_85_limited_scopes.rb +28 -0
- data/execution_scripts/reference_server/ref_server_authorize_launched_all_scopes.rb +4 -0
- data/execution_scripts/reference_server/ref_server_ehr_launch_85.rb +4 -0
- data/execution_scripts/reference_server/ref_server_invalid_launch_and_attest.rb +20 -0
- data/execution_scripts/reference_server/ref_server_revoke_token_and_run_group.rb +43 -0
- data/lib/onc_certification_g10_test_kit/configuration_checker.rb +1 -1
- data/lib/onc_certification_g10_test_kit/smart_app_launch_invalid_aud_group.rb +18 -3
- data/lib/onc_certification_g10_test_kit/version.rb +2 -2
- metadata +20 -7
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
sessions:
|
|
2
|
+
- suite: g10_certification
|
|
3
|
+
preset: g10-reference-server
|
|
4
|
+
suite_options:
|
|
5
|
+
us_core_version: us_core_6
|
|
6
|
+
smart_app_launch_version: smart_app_launch_2
|
|
7
|
+
multi_patient_version: multi_patient_api_stu1
|
|
8
|
+
|
|
9
|
+
comparison_config:
|
|
10
|
+
normalized_strings:
|
|
11
|
+
- replacement: <INFERNO_HOST>
|
|
12
|
+
patterns:
|
|
13
|
+
- http://localhost:4567/inferno # local inferno core ruby
|
|
14
|
+
- http://localhost:4567 # local ruby
|
|
15
|
+
- http://localhost # local docker
|
|
16
|
+
- https://inferno.healthit.gov/suites # prod
|
|
17
|
+
- https://inferno-qa.healthit.gov/suites # qa
|
|
18
|
+
- replacement: <REFERENCE_SERVER_URL>
|
|
19
|
+
patterns:
|
|
20
|
+
- https://inferno.healthit.gov/reference-server # prod reference server
|
|
21
|
+
- https://inferno-qa.healthit.gov/reference-server # qa reference server
|
|
22
|
+
- replacement: code_challenge=<CODE_CHALLENGE>
|
|
23
|
+
pattern: /code_challenge=[A-Za-z0-9+\/=_-]{43}/
|
|
24
|
+
- replacement: <UUID>
|
|
25
|
+
pattern: /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/i
|
|
26
|
+
alternate_expected_files:
|
|
27
|
+
- file: g10_ref_server_usc6_smart2_bulk1_no_terminology_expected.json
|
|
28
|
+
when:
|
|
29
|
+
- field: inferno_base_url
|
|
30
|
+
not_matches: inferno(-qa)?\.healthit\.gov
|
|
31
|
+
- field: configuration_messages
|
|
32
|
+
matches: ^There is a problem with the terminology resources
|
|
33
|
+
|
|
34
|
+
steps:
|
|
35
|
+
- state_description: Session Created
|
|
36
|
+
status: created
|
|
37
|
+
start_run:
|
|
38
|
+
runnable: 1
|
|
39
|
+
action_description: Run Group 1 Standalone Patient App - Full Access
|
|
40
|
+
|
|
41
|
+
- state_description: Wait at test 1.4.02 OAuth server redirects client browser to app redirect URI
|
|
42
|
+
status: waiting
|
|
43
|
+
last_completed: 1.4.02
|
|
44
|
+
command: bundle exec ruby execution_scripts/reference_server/ref_server_authorize_85_all_scopes.rb '{wait_outputs.authorization_url}'
|
|
45
|
+
action_description: Authorize all requested scopes for patient 85
|
|
46
|
+
|
|
47
|
+
- state_description: Finished Group 1 Standalone Patient App - Full Access
|
|
48
|
+
status: done
|
|
49
|
+
last_completed: 1
|
|
50
|
+
start_run:
|
|
51
|
+
runnable: 2
|
|
52
|
+
action_description: Run Group 2 Standalone Patient App - Limited Access
|
|
53
|
+
|
|
54
|
+
- state_description: Wait at test 2.2.02 OAuth server redirects client browser to app redirect URI
|
|
55
|
+
status: waiting
|
|
56
|
+
last_completed: 2.2.02
|
|
57
|
+
command: bundle exec ruby execution_scripts/reference_server/ref_server_authorize_85_limited_scopes.rb '{wait_outputs.authorization_url}'
|
|
58
|
+
action_description: Authorize a limited set of scopes for patient 85
|
|
59
|
+
|
|
60
|
+
- state_description: Finished Group 2 Standalone Patient App - Limited Access
|
|
61
|
+
status: done
|
|
62
|
+
last_completed: 2
|
|
63
|
+
start_run:
|
|
64
|
+
runnable: 3
|
|
65
|
+
action_description: Run Group 3 EHR Practitioner App
|
|
66
|
+
|
|
67
|
+
- state_description: Wait at test 3.4.01 EHR server redirects client browser to Inferno app launch URI
|
|
68
|
+
status: waiting
|
|
69
|
+
last_completed: 3.4.01
|
|
70
|
+
command: bundle exec ruby execution_scripts/reference_server/ref_server_ehr_launch_85.rb '{wait_outputs.launch_uri}' '{wait_outputs.target_iss}'
|
|
71
|
+
action_description: Launch Inferno as a SMART app using patient 85 as the patient context
|
|
72
|
+
|
|
73
|
+
- state_description: Wait at test 3.4.04 OAuth server redirects client browser to app redirect URI
|
|
74
|
+
status: waiting
|
|
75
|
+
last_completed: 3.4.04
|
|
76
|
+
command: bundle exec ruby execution_scripts/reference_server/ref_server_authorize_launched_all_scopes.rb '{wait_outputs.authorization_url}'
|
|
77
|
+
action_description: Authorize all requested scopes for launched patient
|
|
78
|
+
|
|
79
|
+
- state_description: Finished Group 3 EHR Practitioner App
|
|
80
|
+
status: done
|
|
81
|
+
last_completed: 3
|
|
82
|
+
start_run:
|
|
83
|
+
runnable: 10
|
|
84
|
+
timeout: 600 # single patient API tests take a while
|
|
85
|
+
action_description: Run Group 10 Single Patient API (US Core 6.1.0)
|
|
86
|
+
|
|
87
|
+
- state_description: Finished Group 10 Single Patient API (US Core 6.1.0)
|
|
88
|
+
status: done
|
|
89
|
+
last_completed: 10
|
|
90
|
+
start_run:
|
|
91
|
+
runnable: 7
|
|
92
|
+
timeout: 600 # multi-patient API tests take a while
|
|
93
|
+
action_description: Run Group 7 Multi-Patient Authorization and API
|
|
94
|
+
|
|
95
|
+
- state_description: Finished Group 7 Multi-Patient Authorization and API
|
|
96
|
+
status: done
|
|
97
|
+
last_completed: 7
|
|
98
|
+
start_run:
|
|
99
|
+
runnable: 9.2
|
|
100
|
+
action_description: Run Group 9.2 Public Client Standalone Launch with OpenID Connect
|
|
101
|
+
|
|
102
|
+
- state_description: Wait at test 9.2.02 OAuth server redirects client browser to app redirect URI
|
|
103
|
+
status: waiting
|
|
104
|
+
last_completed: 9.2.02
|
|
105
|
+
command: bundle exec ruby execution_scripts/reference_server/ref_server_authorize_85_all_scopes.rb '{wait_outputs.authorization_url}'
|
|
106
|
+
action_description: Authorize all requested scopes for patient 85
|
|
107
|
+
|
|
108
|
+
- state_description: Finished Group 9.2 Public Client Standalone Launch with OpenID Connect
|
|
109
|
+
status: done
|
|
110
|
+
last_completed: 9.2
|
|
111
|
+
command: bundle exec ruby execution_scripts/reference_server/ref_server_revoke_token_and_run_group.rb {session_id} '9.3' {inferno_base_url}
|
|
112
|
+
action_description: Revoke a token using the reference server's UI and Run Group 9.3 Token Revocation
|
|
113
|
+
|
|
114
|
+
- state_description: Finished Group 9.3 Token Revocation
|
|
115
|
+
status: done
|
|
116
|
+
last_completed: 9.3
|
|
117
|
+
start_run:
|
|
118
|
+
runnable: 9.4
|
|
119
|
+
action_description: Run Group 9.4 Invalid AUD Parameter
|
|
120
|
+
|
|
121
|
+
- state_description: Wait at test 9.4.02 OAuth server redirects client browser to app redirect URI
|
|
122
|
+
status: waiting
|
|
123
|
+
last_completed: 9.4.02
|
|
124
|
+
command: bundle exec ruby execution_scripts/reference_server/ref_server_invalid_launch_and_attest.rb '{wait_outputs.authorization_url}' '{wait_outputs.attest_launch_failed_url}'
|
|
125
|
+
action_description: Perform a launch, confirm it fails, and then attest that it did so
|
|
126
|
+
|
|
127
|
+
- state_description: Finished Group 9.4 Invalid AUD Parameter
|
|
128
|
+
status: done
|
|
129
|
+
last_completed: 9.4
|
|
130
|
+
start_run:
|
|
131
|
+
runnable: 9.6
|
|
132
|
+
action_description: Run Group 9.6 Invalid Access Token Request
|
|
133
|
+
|
|
134
|
+
- state_description: Wait at test 9.6.01 OAuth server redirects client browser to app redirect URI
|
|
135
|
+
status: waiting
|
|
136
|
+
last_completed: 9.6.01
|
|
137
|
+
command: bundle exec ruby execution_scripts/reference_server/ref_server_authorize_85_all_scopes.rb '{wait_outputs.authorization_url}'
|
|
138
|
+
action_description: Authorize all requested scopes for patient 85
|
|
139
|
+
|
|
140
|
+
- state_description: Finished Group 9.6 Invalid Access Token Request
|
|
141
|
+
status: done
|
|
142
|
+
last_completed: 9.6
|
|
143
|
+
start_run:
|
|
144
|
+
runnable: 9.7
|
|
145
|
+
action_description: Run Group 9.7 Invalid PKCE Code Verifier
|
|
146
|
+
|
|
147
|
+
- state_description: Wait at test 9.7.01 OAuth server redirects client browser to app redirect URI
|
|
148
|
+
status: waiting
|
|
149
|
+
last_completed: 9.7.01
|
|
150
|
+
command: bundle exec ruby execution_scripts/reference_server/ref_server_authorize_85_all_scopes.rb '{wait_outputs.authorization_url}'
|
|
151
|
+
action_description: Authorize all requested scopes for patient 85
|
|
152
|
+
|
|
153
|
+
- state_description: Wait at test 9.7.04 OAuth server redirects client browser to app redirect URI
|
|
154
|
+
status: waiting
|
|
155
|
+
last_completed: 9.7.04
|
|
156
|
+
command: bundle exec ruby execution_scripts/reference_server/ref_server_authorize_85_all_scopes.rb '{wait_outputs.authorization_url}'
|
|
157
|
+
action_description: Authorize all requested scopes for patient 85
|
|
158
|
+
|
|
159
|
+
- state_description: Wait at test 9.7.07 OAuth server redirects client browser to app redirect URI
|
|
160
|
+
status: waiting
|
|
161
|
+
last_completed: 9.7.07
|
|
162
|
+
command: bundle exec ruby execution_scripts/reference_server/ref_server_authorize_85_all_scopes.rb '{wait_outputs.authorization_url}'
|
|
163
|
+
action_description: Authorize all requested scopes for patient 85
|
|
164
|
+
|
|
165
|
+
- state_description: Wait at test 9.7.10 OAuth server redirects client browser to app redirect URI
|
|
166
|
+
status: waiting
|
|
167
|
+
last_completed: 9.7.10
|
|
168
|
+
command: bundle exec ruby execution_scripts/reference_server/ref_server_authorize_85_all_scopes.rb '{wait_outputs.authorization_url}'
|
|
169
|
+
action_description: Authorize all requested scopes for patient 85
|
|
170
|
+
|
|
171
|
+
- state_description: Finished Group 9.7 Invalid PKCE Code Verifier
|
|
172
|
+
status: done
|
|
173
|
+
last_completed: 9.7
|
|
174
|
+
start_run:
|
|
175
|
+
runnable: 9.9
|
|
176
|
+
action_description: Run Group 9.9 EHR Launch with Patient Scopes
|
|
177
|
+
|
|
178
|
+
- state_description: Wait at test 9.9.01 EHR server redirects client browser to Inferno app launch URI
|
|
179
|
+
status: waiting
|
|
180
|
+
last_completed: 9.9.01
|
|
181
|
+
command: bundle exec ruby execution_scripts/reference_server/ref_server_ehr_launch_85.rb '{wait_outputs.launch_uri}' '{wait_outputs.target_iss}'
|
|
182
|
+
action_description: Launch Inferno as a SMART app using patient 85 as the patient context
|
|
183
|
+
|
|
184
|
+
- state_description: Wait at test 9.9.04 OAuth server redirects client browser to app redirect URI
|
|
185
|
+
status: waiting
|
|
186
|
+
last_completed: 9.9.04
|
|
187
|
+
command: bundle exec ruby execution_scripts/reference_server/ref_server_authorize_launched_all_scopes.rb '{wait_outputs.authorization_url}'
|
|
188
|
+
action_description: Authorize all requested scopes for launched patient
|
|
189
|
+
|
|
190
|
+
- state_description: Finished Group 9.9 EHR Launch with Patient Scopes
|
|
191
|
+
status: done
|
|
192
|
+
last_completed: 9.9
|
|
193
|
+
start_run:
|
|
194
|
+
runnable: 9.11
|
|
195
|
+
action_description: Run Group 9.11 Token Introspection
|
|
196
|
+
|
|
197
|
+
- state_description: Wait at test 9.11.1.2.02 OAuth server redirects client browser to app redirect URI
|
|
198
|
+
status: waiting
|
|
199
|
+
last_completed: 9.11.1.2.02
|
|
200
|
+
command: bundle exec ruby execution_scripts/reference_server/ref_server_authorize_85_all_scopes.rb '{wait_outputs.authorization_url}'
|
|
201
|
+
action_description: Authorize all requested scopes for patient 85
|
|
202
|
+
|
|
203
|
+
- state_description: Finished Group 9.11 Token Introspection
|
|
204
|
+
status: done
|
|
205
|
+
last_completed: 9.11
|
|
206
|
+
start_run:
|
|
207
|
+
runnable: 9.12
|
|
208
|
+
action_description: Run Group 9.12 Asymmetric Client Standalone Launch
|
|
209
|
+
|
|
210
|
+
- state_description: Wait at test 9.12.2.02 OAuth server redirects client browser to app redirect URI
|
|
211
|
+
status: waiting
|
|
212
|
+
last_completed: 9.12.2.02
|
|
213
|
+
command: bundle exec ruby execution_scripts/reference_server/ref_server_authorize_85_all_scopes.rb '{wait_outputs.authorization_url}'
|
|
214
|
+
action_description: Authorize all requested scopes for patient 85
|
|
215
|
+
|
|
216
|
+
- state_description: Finished Group 9.12 Asymmetric Client Standalone Launch
|
|
217
|
+
status: done
|
|
218
|
+
last_completed: 9.12
|
|
219
|
+
start_run:
|
|
220
|
+
runnable: 9.13
|
|
221
|
+
action_description: Run Group 9.13 App Launch with SMART v1 scopes
|
|
222
|
+
|
|
223
|
+
- state_description: Wait at test 9.13.2.02 OAuth server redirects client browser to app redirect URI
|
|
224
|
+
status: waiting
|
|
225
|
+
last_completed: 9.13.2.02
|
|
226
|
+
command: bundle exec ruby execution_scripts/reference_server/ref_server_authorize_85_all_scopes.rb '{wait_outputs.authorization_url}'
|
|
227
|
+
action_description: Authorize all requested scopes for patient 85
|
|
228
|
+
|
|
229
|
+
- state_description: Finished Group 9.13 App Launch with SMART v1 scopes
|
|
230
|
+
status: done
|
|
231
|
+
last_completed: 9.13
|
|
232
|
+
start_run:
|
|
233
|
+
runnable: 9.14.1
|
|
234
|
+
action_description: Run Group 9.14.1 Granular Scopes 1
|
|
235
|
+
|
|
236
|
+
- state_description: Wait at test 9.14.1.1.2.02 OAuth server redirects client browser to app redirect URI
|
|
237
|
+
status: waiting
|
|
238
|
+
last_completed: 9.14.1.1.2.02
|
|
239
|
+
command: bundle exec ruby execution_scripts/reference_server/ref_server_authorize_85_all_scopes.rb '{wait_outputs.authorization_url}'
|
|
240
|
+
timeout: 600 # granular scopes test take a while
|
|
241
|
+
action_description: Authorize all requested scopes for patient 85
|
|
242
|
+
|
|
243
|
+
- state_description: Finished Group 9.14.1 Granular Scopes 1
|
|
244
|
+
status: done
|
|
245
|
+
last_completed: 9.14.1
|
|
246
|
+
start_run:
|
|
247
|
+
runnable: 9.14.2
|
|
248
|
+
action_description: Run Group 9.14.2 Granular Scopes 2
|
|
249
|
+
|
|
250
|
+
- state_description: Wait at test 9.14.2.1.2.02 OAuth server redirects client browser to app redirect URI
|
|
251
|
+
status: waiting
|
|
252
|
+
last_completed: 9.14.2.1.2.02
|
|
253
|
+
command: bundle exec ruby execution_scripts/reference_server/ref_server_authorize_85_all_scopes.rb '{wait_outputs.authorization_url}'
|
|
254
|
+
timeout: 600 # granular scopes test take a while
|
|
255
|
+
action_description: Authorize all requested scopes for patient 85
|
|
256
|
+
|
|
257
|
+
- state_description: Finished Group 9.14.2 Granular Scopes 2
|
|
258
|
+
status: done
|
|
259
|
+
last_completed: 9.14.2
|
|
260
|
+
start_run:
|
|
261
|
+
runnable: 9.15
|
|
262
|
+
action_description: Run Group 9.15 SMART Granular Scope Selection
|
|
263
|
+
|
|
264
|
+
- state_description: Wait at test 9.15.2.02 OAuth server redirects client browser to app redirect URI
|
|
265
|
+
status: waiting
|
|
266
|
+
last_completed: 9.15.2.02
|
|
267
|
+
command: bundle exec ruby execution_scripts/reference_server/ref_server_authorize_85_granular_scopes.rb '{wait_outputs.authorization_url}'
|
|
268
|
+
action_description: Authorize granular scopes instead of requested scopes for patient 85
|
|
269
|
+
|
|
270
|
+
- state_description: Finished Group 9.15 SMART Granular Scope Selection
|
|
271
|
+
status: done
|
|
272
|
+
last_completed: 9.15
|
|
273
|
+
start_run:
|
|
274
|
+
runnable: 11
|
|
275
|
+
action_description: Run Group 11 Visual Inspection and Attestation
|
|
276
|
+
|
|
277
|
+
- state_description: Finished Group 11 Visual Inspection and Attestation
|
|
278
|
+
status: done
|
|
279
|
+
last_completed: 11
|
|
280
|
+
action: END_SCRIPT
|
|
281
|
+
action_description: Script Completed
|