smart_app_launch_test_kit 1.0.1 → 1.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/execution_scripts/README.md +16 -0
- data/execution_scripts/client_vs_server/access_data_and_continue_client.rb +37 -0
- data/execution_scripts/client_vs_server/smart_v22_backend_services_with_commands.yaml +69 -0
- data/execution_scripts/client_vs_server/smart_v22_backend_services_with_commands_client_expected.json +1 -0
- data/execution_scripts/client_vs_server/smart_v22_backend_services_with_commands_server_expected.json +478 -0
- data/execution_scripts/client_vs_server/smart_v22_backend_services_with_commands_server_no_tls_expected.json +479 -0
- data/execution_scripts/client_vs_server/smart_v22_confidential_symmetric_with_commands.yaml +122 -0
- data/execution_scripts/client_vs_server/smart_v22_confidential_symmetric_with_commands_client_expected.json +1 -0
- data/execution_scripts/client_vs_server/smart_v22_confidential_symmetric_with_commands_client_no_tls_expected.json +1 -0
- data/execution_scripts/client_vs_server/smart_v22_confidential_symmetric_with_commands_server_expected.json +1 -0
- data/execution_scripts/client_vs_server/smart_v22_confidential_symmetric_with_commands_server_no_tls_expected.json +1 -0
- data/execution_scripts/client_vs_server/smart_v22_public_with_commands.yaml +123 -0
- data/execution_scripts/client_vs_server/smart_v22_public_with_commands_client_expected.json +1 -0
- data/execution_scripts/client_vs_server/smart_v22_public_with_commands_client_no_tls_expected.json +1 -0
- data/execution_scripts/client_vs_server/smart_v22_public_with_commands_server_expected.json +1 -0
- data/execution_scripts/client_vs_server/smart_v22_public_with_commands_server_no_tls_expected.json +1 -0
- data/execution_scripts/client_vs_server/visit_and_wait_to_return_to_inferno.rb +17 -0
- data/execution_scripts/reference_server/base_ref_server_authorize.rb +24 -0
- data/execution_scripts/reference_server/base_ref_server_ehr_launch.rb +24 -0
- data/execution_scripts/reference_server/ref_server_authorize_85_all_scopes.rb +3 -0
- data/execution_scripts/reference_server/ref_server_authorize_launched_all_scopes.rb +3 -0
- data/execution_scripts/reference_server/ref_server_ehr_launch_85.rb +3 -0
- data/execution_scripts/reference_server/smart_v1_vs_reference_server_with_commands.yaml +60 -0
- data/execution_scripts/reference_server/smart_v1_vs_reference_server_with_commands_expected.json +1 -0
- data/execution_scripts/reference_server/smart_v22_vs_reference_server_with_commands.yaml +93 -0
- data/execution_scripts/reference_server/smart_v22_vs_reference_server_with_commands_expected.json +1 -0
- data/execution_scripts/reference_server/smart_v22_vs_reference_server_with_commands_same_host_expected.json +4166 -0
- data/execution_scripts/reference_server/smart_v2_vs_reference_server_with_commands.yaml +81 -0
- data/execution_scripts/reference_server/smart_v2_vs_reference_server_with_commands_expected.json +1 -0
- data/lib/smart_app_launch/app_launch_test.rb +4 -0
- data/lib/smart_app_launch/app_redirect_test.rb +2 -1
- data/lib/smart_app_launch/client_suite/access_alca_interaction_test.rb +5 -1
- data/lib/smart_app_launch/client_suite/access_alcs_interaction_test.rb +5 -1
- data/lib/smart_app_launch/client_suite/access_alp_interaction_test.rb +6 -2
- data/lib/smart_app_launch/client_suite/access_bsca_interaction_test.rb +4 -1
- data/lib/smart_app_launch/client_suite/authentication_verification.rb +1 -1
- data/lib/smart_app_launch/client_suite/client_descriptions.rb +4 -3
- data/lib/smart_app_launch/cors_metadata_request_test.rb +11 -4
- data/lib/smart_app_launch/cors_openid_fhir_user_claim_test.rb +8 -4
- data/lib/smart_app_launch/cors_token_exchange_test.rb +8 -4
- data/lib/smart_app_launch/cors_well_known_endpoint_test.rb +8 -4
- data/lib/smart_app_launch/version.rb +2 -2
- metadata +34 -6
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
sessions:
|
|
2
|
+
- suite: smart_stu2
|
|
3
|
+
preset: smart_stu2_reference_server
|
|
4
|
+
|
|
5
|
+
comparison_config:
|
|
6
|
+
normalized_strings:
|
|
7
|
+
- replacement: <INFERNO_HOST>
|
|
8
|
+
patterns:
|
|
9
|
+
- http://localhost:4567/inferno # local inferno core ruby
|
|
10
|
+
- http://localhost:4567 # local ruby
|
|
11
|
+
- http://localhost # local docker
|
|
12
|
+
- https://inferno.healthit.gov/suites # prod
|
|
13
|
+
- https://inferno-qa.healthit.gov/suites # qa
|
|
14
|
+
- replacement: <REFERENCE_SERVER_URL>
|
|
15
|
+
patterns:
|
|
16
|
+
- https://inferno.healthit.gov/reference-server # prod reference server
|
|
17
|
+
- https://inferno-qa.healthit.gov/reference-server # qa reference server
|
|
18
|
+
- replacement: code_challenge=<CODE_CHALLENGE>
|
|
19
|
+
pattern: /code_challenge=[A-Za-z0-9+\/=_-]{43}/
|
|
20
|
+
- replacement: <UUID>
|
|
21
|
+
pattern: /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/i
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
steps:
|
|
25
|
+
- state_description: Session Created
|
|
26
|
+
status: created
|
|
27
|
+
start_run:
|
|
28
|
+
runnable: 1
|
|
29
|
+
action_description: Run Group 1 Standalone Launch
|
|
30
|
+
|
|
31
|
+
- state_description: Wait at test 1.2.02 OAuth server redirects client browser to app redirect URI
|
|
32
|
+
status: waiting
|
|
33
|
+
last_completed: 1.2.02
|
|
34
|
+
command: bundle exec ruby execution_scripts/reference_server/ref_server_authorize_85_all_scopes.rb '{wait_outputs.authorization_url}'
|
|
35
|
+
action_description: Authorize patient 85
|
|
36
|
+
|
|
37
|
+
- state_description: Finished Group 1 Standalone Launch
|
|
38
|
+
status: done
|
|
39
|
+
last_completed: 1
|
|
40
|
+
start_run:
|
|
41
|
+
runnable: 2
|
|
42
|
+
action_description: Run Group 2 EHR Launch
|
|
43
|
+
|
|
44
|
+
- state_description: Wait at test 2.2.01 EHR server redirects client browser to Inferno app launch URI
|
|
45
|
+
status: waiting
|
|
46
|
+
last_completed: 2.2.01
|
|
47
|
+
command: bundle exec ruby execution_scripts/reference_server/ref_server_ehr_launch_85.rb '{wait_outputs.launch_uri}' '{wait_outputs.target_iss}'
|
|
48
|
+
action_description: Launch Inferno as a SMART app using patient 85 as the patient context
|
|
49
|
+
|
|
50
|
+
- state_description: Wait at test 2.2.04 OAuth server redirects client browser to app redirect URI
|
|
51
|
+
status: waiting
|
|
52
|
+
last_completed: 2.2.04
|
|
53
|
+
command: bundle exec ruby execution_scripts/reference_server/ref_server_authorize_launched_all_scopes.rb '{wait_outputs.authorization_url}'
|
|
54
|
+
action_description: Authorize all requested scopes for launched patient
|
|
55
|
+
|
|
56
|
+
- state_description: Finished Group 2 EHR Launch
|
|
57
|
+
status: done
|
|
58
|
+
last_completed: 2
|
|
59
|
+
start_run:
|
|
60
|
+
runnable: 3
|
|
61
|
+
action_description: Run Group 3 Backend Services
|
|
62
|
+
|
|
63
|
+
- state_description: Finished Group 3 Backend Services
|
|
64
|
+
status: done
|
|
65
|
+
last_completed: 3
|
|
66
|
+
start_run:
|
|
67
|
+
runnable: 4
|
|
68
|
+
action_description: Run Group 4 Token Introspection
|
|
69
|
+
|
|
70
|
+
- state_description: Wait at test 4.1.2.02 OAuth server redirects client browser to app redirect URI
|
|
71
|
+
status: waiting
|
|
72
|
+
last_completed: 4.1.2.02
|
|
73
|
+
command: bundle exec ruby execution_scripts/reference_server/ref_server_authorize_85_all_scopes.rb '{wait_outputs.authorization_url}'
|
|
74
|
+
action_description: Authorize patient 85
|
|
75
|
+
|
|
76
|
+
- state_description: Finished Group 4 Token Introspection
|
|
77
|
+
status: done
|
|
78
|
+
last_completed: 4
|
|
79
|
+
action: END_SCRIPT
|
|
80
|
+
action_description: Finished Script
|
|
81
|
+
|