scorm_engine 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/scorm_engine/faraday/request.rb +4 -2
- data/lib/scorm_engine/version.rb +1 -1
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about/is_successful.yml +24 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about/knows_the_platform.yml +24 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about/knows_the_version.yml +24 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about_user_count/accepts_before_option.yml +23 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about_user_count/accepts_since_option.yml +23 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about_user_count/is_successful.yml +23 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about_user_count/tracks_combined_counts.yml +23 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about_user_count/tracks_per_tenantcounts.yml +23 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_get_app_configuration/is_successful.yml +10 -10
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_get_app_configuration/returns_settings_and_values.yml +10 -10
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_post_app_configuration/fails_when_settings_are_invalid.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_post_app_configuration/is_successful.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_post_app_configuration/persists_the_settings.yml +34 -34
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_delete_course/fails_when_id_is_invalid.yml +23 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_delete_course/works.yml +19 -9
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_detail/fails_when_id_is_invalid.yml +23 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_detail/is_successful.yml +24 -16
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_detail/results/sucessfully_creates_the_Course_attributes.yml +24 -16
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_preview/fails_when_id_is_invalid.yml +23 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_preview/is_successful.yml +23 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_preview/results/returns_a_URL_string.yml +23 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_preview/results/returns_a_URL_string_containing_a_signed_jwt.yml +46 -0
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/_course_id_option/fetches_a_single_course_but_perhaps_multiple_versions.yml +23 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/_course_id_option/returns_404_when_ID_is_invalid.yml +23 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/_more_option_pagination_/returns_all_the_courses.yml +109 -44
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/_more_option_pagination_/returns_the_more_key_in_the_raw_response.yml +32 -24
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/_since_option/fails_when_passed_an_invalid_value.yml +20 -10
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/_since_option/works.yml +39 -19
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/is_successful.yml +32 -19
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/results/is_an_enumerator_of_Course_models.yml +32 -19
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/results/sucessfully_creates_the_Course_attributes.yml +32 -19
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration/fails_when_id_is_invalid.yml +23 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration/is_successful.yml +23 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration/results/makes_settings_available_as_key/value_pairs.yml +23 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration_setting/fails_when_course_id_is_invalid.yml +23 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration_setting/fails_when_setting_id_is_invalid.yml +20 -10
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration_setting/is_successful.yml +41 -19
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration_setting/results/returns_the_value_as_a_string.yml +41 -19
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_post_course_configuration/fails_when_id_is_invalid.yml +25 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_post_course_configuration/fails_when_settings_are_invalid.yml +24 -12
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_post_course_configuration/is_successful.yml +21 -9
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_post_course_configuration/persists_the_settings.yml +88 -48
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_put_course_configuration_setting/fails_when_course_id_is_invalid.yml +25 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_put_course_configuration_setting/fails_when_setting_id_is_invalid.yml +20 -10
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_put_course_configuration_setting/is_successful.yml +44 -22
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_put_course_configuration_setting/results/persists_the_changes.yml +66 -34
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Import/_get_course_import/successful_imports/works.yml +102 -95
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Import/_get_course_import/unsuccessful_imports/fails_to_import_given_an_invalid_url.yml +100 -278
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Import/_post_course_import/unsuccessful_imports/fails_to_import_a_previously_existing_course.yml +21 -9
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_delete_destination/returns_success_even_when_id_is_invalid.yml +19 -9
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_delete_destination/works.yml +19 -9
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destination/fails_when_id_is_invalid.yml +22 -14
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destination/is_successful.yml +22 -14
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destination/results/sucessfully_creates_the_destination_attributes.yml +22 -14
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destination_dispatches_registration_count/fails_when_invalid.yml +22 -14
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destination_dispatches_registration_count/works.yml +20 -10
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/_more_option_pagination_/returns_all_the_destinations.yml +48 -31
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/_more_option_pagination_/returns_the_more_key_in_the_raw_response.yml +23 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/_since_option/fails_when_passed_an_invalid_value.yml +22 -13
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/_since_option/works.yml +23 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/is_successful.yml +23 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/results/is_an_enumerator_of_Destination_models.yml +23 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/results/sucessfully_creates_the_Destination_attributes.yml +23 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination/is_successful.yml +40 -18
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination/is_successful_even_if_the_destination_id_is_not_unique.yml +21 -9
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination_dispatches_enabled/fails_when_invalid.yml +24 -12
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination_dispatches_enabled/works_when_false.yml +21 -9
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination_dispatches_enabled/works_when_true.yml +21 -9
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination_dispatches_registration_instancing/fails_when_invalid.yml +24 -12
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination_dispatches_registration_instancing/works_when_false.yml +21 -9
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination_dispatches_registration_instancing/works_when_true.yml +21 -9
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_put_destination/is_successful.yml +21 -9
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_put_destination/results/sucessfully_creates_the_destination_attributes.yml +43 -23
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_delete_dispatch/returns_success_even_when_id_is_invalid.yml +19 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_delete_dispatch/works.yml +19 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_delete_dispatch_registration_count/is_successful.yml +19 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_delete_dispatch_registration_count/succeeds_even_when_id_is_invalid.yml +19 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch/fails_when_id_is_invalid.yml +22 -12
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch/is_successful.yml +23 -13
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch/results/sucessfully_creates_the_dispatch_attributes.yml +23 -13
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_enabled/is_false_when_disabled.yml +39 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_enabled/is_true_when_enabled.yml +39 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_registration_count/fails_when_id_is_invalid.yml +41 -19
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_registration_count/is_successful.yml +42 -20
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_registration_count/results/sucessfully_creates_the_dispatch_attributes.yml +42 -20
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/fails_given_an_invalid_id.yml +22 -12
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/fails_given_an_invalid_type.yml +20 -8
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/works.yml +24 -12
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/works_when_type_is_AICC.yml +24 -12
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/works_when_type_is_SCORM12.yml +24 -12
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/works_when_type_is_SCORM2004-3RD.yml +24 -12
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/_more_option_pagination_/returns_all_the_dispatches.yml +47 -27
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/_more_option_pagination_/returns_the_more_key_in_the_raw_response.yml +23 -13
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/_since_option/fails_when_passed_an_invalid_value.yml +20 -8
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/_since_option/works.yml +23 -13
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/is_successful.yml +23 -13
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/results/is_an_enumerator_of_dispatch_models.yml +23 -13
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/results/sucessfully_creates_the_dispatch_attributes.yml +21 -44
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_post_dispatch/is_successful.yml +38 -14
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_post_dispatch/updates_if_same_dispatch_id.yml +65 -33
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_put_dispatch/is_successful.yml +19 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_put_dispatch/results/sucessfully_creates_the_dispatch_attributes.yml +42 -20
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_put_dispatch_enabled/fails_when_invalid.yml +22 -10
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_put_dispatch_enabled/works_when_false.yml +19 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_put_dispatch_enabled/works_when_true.yml +19 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Ping/_get_ping/is_successful.yml +23 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Ping/_get_ping/reports_the_api_is_up.yml +23 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Ping/_get_ping/with_invalid_password/is_unsuccessful.yml +25 -17
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Ping/_get_ping/with_invalid_password/returns_status_403.yml +25 -17
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_delete_registration/is_failure_when_registration_does_not_exist.yml +23 -13
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_delete_registration/is_successful_when_registration_exists.yml +19 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_exists/is_false_when_registration_does_not_exist.yml +23 -13
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_exists/is_true_when_registration_exists.yml +20 -8
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_instances/includes_results_we_expect.yml +26 -14
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_instances/is_successful.yml +26 -14
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_instances/returns_an_array_of_registrations.yml +26 -14
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_launch_link/fails_when_id_is_invalid.yml +23 -13
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_launch_link/is_successful.yml +23 -13
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_launch_link/results/returns_a_URL_string.yml +23 -13
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_progress/detail/does_not_return_activity_details_by_default.yml +24 -14
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_progress/detail/returns_activity_details_if_requested.yml +24 -14
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_progress/fails_when_registration_does_not_exist.yml +23 -13
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_progress/returns_a_registration_when_it_exists.yml +24 -14
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/filtering_by_course_id/excludes_results.yml +22 -12
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/filtering_by_course_id/includes_results.yml +26 -14
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/filtering_by_learner_id/excludes_results.yml +22 -12
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/filtering_by_learner_id/includes_results.yml +26 -14
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/includes_results_we_expect.yml +26 -14
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/is_successful.yml +26 -14
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/returns_an_array_of_registrations.yml +26 -14
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_post_registration/fails_if_course_id_is_invalid.yml +22 -10
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_post_registration/fails_if_registration_id_already_exists.yml +20 -8
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_post_registration/is_successful.yml +38 -14
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_post_registration/is_successful_even_when_given_a_UTF8/slashed_username.yml +38 -14
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration/fails_when_id_is_invalid.yml +23 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration/is_successful.yml +23 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration/results/makes_settings_available_as_key/value_pairs.yml +23 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration_setting/fails_when_registration_id_is_invalid.yml +23 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration_setting/fails_when_setting_id_is_invalid.yml +20 -10
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration_setting/is_successful.yml +41 -19
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration_setting/results/returns_the_value_as_a_string.yml +41 -19
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_post_registration_configuration/fails_when_id_is_invalid.yml +25 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_post_registration_configuration/fails_when_settings_are_invalid.yml +24 -12
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_post_registration_configuration/is_successful.yml +21 -9
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_post_registration_configuration/persists_the_settings.yml +88 -48
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_put_registration_configuration_setting/fails_when_registration_id_is_invalid.yml +25 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_put_registration_configuration_setting/fails_when_setting_id_is_invalid.yml +20 -10
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_put_registration_configuration_setting/is_successful.yml +43 -21
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_put_registration_configuration_setting/results/persists_the_changes.yml +64 -32
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_LaunchHistory/_get_registration_launch_history/fails_when_registration_does_not_exist.yml +23 -15
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_LaunchHistory/_get_registration_launch_history/is_successful.yml +23 -31
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_LaunchHistory/_get_registration_launch_history/returns_an_array_of_registration_launch_histories.yml +23 -31
- data/spec/scorm_engine/api/endpoints/about_spec.rb +1 -1
- data/spec/scorm_engine/api/endpoints/courses/configuration_spec.rb +5 -5
- data/spec/scorm_engine/api/endpoints/courses_spec.rb +8 -7
- data/spec/scorm_engine/api/endpoints/destinations_spec.rb +2 -2
- data/spec/scorm_engine/api/endpoints/dispatches_spec.rb +1 -1
- data/spec/scorm_engine/api/endpoints/registrations/configuration_spec.rb +5 -5
- data/spec/scorm_engine/api/endpoints/registrations_spec.rb +2 -2
- data/spec/scorm_engine/api/endpoints/tenants/configuration_spec.rb +1 -1
- metadata +3 -4
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_delete_destination/raises_ArgumentError_when_destination_id_is_missing.yml +0 -32
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_registration_count/when_dispatch_has_registrations/knows_it_s_registration_count.yml +0 -63
@@ -7,32 +7,42 @@ http_interactions:
|
|
7
7
|
encoding: UTF-8
|
8
8
|
string: '{"value":"42"}'
|
9
9
|
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
10
|
User-Agent:
|
13
|
-
- ScormEngine Ruby Gem 0.1
|
11
|
+
- ScormEngine Ruby Gem 0.8.1
|
14
12
|
Authorization:
|
15
13
|
- Basic <BASIC_AUTH>
|
14
|
+
Content-Type:
|
15
|
+
- application/json
|
16
16
|
response:
|
17
17
|
status:
|
18
18
|
code: 404
|
19
|
-
message:
|
19
|
+
message: Not Found
|
20
20
|
headers:
|
21
21
|
content-type:
|
22
22
|
- application/json
|
23
|
-
date:
|
24
|
-
- Tue, 24 Jul 2018 20:56:36 GMT
|
25
|
-
server:
|
26
|
-
- nginx
|
27
|
-
vary:
|
28
|
-
- Accept-Encoding
|
29
23
|
content-length:
|
30
|
-
- '
|
24
|
+
- '59'
|
31
25
|
connection:
|
32
|
-
-
|
26
|
+
- close
|
27
|
+
date:
|
28
|
+
- Fri, 25 Sep 2020 23:05:09 GMT
|
29
|
+
p3p:
|
30
|
+
- CP="NOI"
|
31
|
+
server:
|
32
|
+
- Apache
|
33
|
+
x-xss-protection:
|
34
|
+
- 1; mode=block
|
35
|
+
x-cache:
|
36
|
+
- Error from cloudfront
|
37
|
+
via:
|
38
|
+
- 1.1 3beac575dd806b6224c0825634a28bc8.cloudfront.net (CloudFront)
|
39
|
+
x-amz-cf-pop:
|
40
|
+
- SLC50-C1
|
41
|
+
x-amz-cf-id:
|
42
|
+
- xphjaAAw9fLjVTxY6donROVUArowzjNhwPhY0bovszGtD6iWV0eaaw==
|
33
43
|
body:
|
34
|
-
encoding:
|
35
|
-
string: '{"message":"
|
44
|
+
encoding: UTF-8
|
45
|
+
string: '{"message":"Course ID ''nonexistent-course'' does not exist"}'
|
36
46
|
http_version:
|
37
|
-
recorded_at:
|
47
|
+
recorded_at: Fri, 25 Sep 2020 23:05:09 GMT
|
38
48
|
recorded_with: VCR 4.0.0
|
@@ -7,30 +7,40 @@ http_interactions:
|
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
10
|
User-Agent:
|
13
|
-
- ScormEngine Ruby Gem 0.1
|
11
|
+
- ScormEngine Ruby Gem 0.8.1
|
14
12
|
Authorization:
|
15
13
|
- Basic <BASIC_AUTH>
|
16
14
|
response:
|
17
15
|
status:
|
18
16
|
code: 400
|
19
|
-
message:
|
17
|
+
message: Bad Request
|
20
18
|
headers:
|
21
19
|
content-type:
|
22
20
|
- application/json
|
23
|
-
date:
|
24
|
-
- Tue, 24 Jul 2018 20:56:35 GMT
|
25
|
-
server:
|
26
|
-
- nginx
|
27
21
|
content-length:
|
28
22
|
- '86'
|
29
23
|
connection:
|
30
|
-
-
|
24
|
+
- close
|
25
|
+
date:
|
26
|
+
- Fri, 25 Sep 2020 23:05:07 GMT
|
27
|
+
p3p:
|
28
|
+
- CP="NOI"
|
29
|
+
server:
|
30
|
+
- Apache
|
31
|
+
x-xss-protection:
|
32
|
+
- 1; mode=block
|
33
|
+
x-cache:
|
34
|
+
- Error from cloudfront
|
35
|
+
via:
|
36
|
+
- 1.1 f8e91eeca584f530dcca3e3417221c89.cloudfront.net (CloudFront)
|
37
|
+
x-amz-cf-pop:
|
38
|
+
- SLC50-C1
|
39
|
+
x-amz-cf-id:
|
40
|
+
- ZvoxDYFRWUiiMvkzz6ZT3V5HENnlG94n5TGb2FdFeSR5ibaKlcEDgg==
|
31
41
|
body:
|
32
42
|
encoding: UTF-8
|
33
43
|
string: '{"message":"No configuration setting found with id: \"NonExistentSettingTotesBogus\""}'
|
34
44
|
http_version:
|
35
|
-
recorded_at:
|
45
|
+
recorded_at: Fri, 25 Sep 2020 23:05:08 GMT
|
36
46
|
recorded_with: VCR 4.0.0
|
@@ -7,59 +7,81 @@ http_interactions:
|
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
10
|
User-Agent:
|
13
|
-
- ScormEngine Ruby Gem 0.1
|
11
|
+
- ScormEngine Ruby Gem 0.8.1
|
14
12
|
Authorization:
|
15
13
|
- Basic <BASIC_AUTH>
|
16
14
|
response:
|
17
15
|
status:
|
18
16
|
code: 200
|
19
|
-
message:
|
17
|
+
message: OK
|
20
18
|
headers:
|
21
19
|
content-type:
|
22
20
|
- application/json
|
23
|
-
date:
|
24
|
-
- Tue, 24 Jul 2018 20:56:37 GMT
|
25
|
-
server:
|
26
|
-
- nginx
|
27
21
|
content-length:
|
28
|
-
- '
|
22
|
+
- '13'
|
29
23
|
connection:
|
30
|
-
-
|
24
|
+
- close
|
25
|
+
date:
|
26
|
+
- Fri, 25 Sep 2020 23:05:08 GMT
|
27
|
+
p3p:
|
28
|
+
- CP="NOI"
|
29
|
+
server:
|
30
|
+
- Apache
|
31
|
+
x-xss-protection:
|
32
|
+
- 1; mode=block
|
33
|
+
x-cache:
|
34
|
+
- Miss from cloudfront
|
35
|
+
via:
|
36
|
+
- 1.1 4459c2044bad72015f32a80513665f32.cloudfront.net (CloudFront)
|
37
|
+
x-amz-cf-pop:
|
38
|
+
- SLC50-C1
|
39
|
+
x-amz-cf-id:
|
40
|
+
- uT0J6rHRBOon3q36F3co7p37Gv6p4MgBRjFtOFk80GQpbX770A0viA==
|
31
41
|
body:
|
32
42
|
encoding: UTF-8
|
33
|
-
string: '{"value":"
|
43
|
+
string: '{"value":"0"}'
|
34
44
|
http_version:
|
35
|
-
recorded_at:
|
45
|
+
recorded_at: Fri, 25 Sep 2020 23:05:08 GMT
|
36
46
|
- request:
|
37
47
|
method: put
|
38
48
|
uri: https://<SCORM_ENGINE_HOST>/ScormEngineInterface/api/v1/ScormEngineGemTesting-default/courses/testing-golf-explained/configuration/PlayerStatusRollupModeThresholdScore
|
39
49
|
body:
|
40
50
|
encoding: UTF-8
|
41
|
-
string: '{"value":"
|
51
|
+
string: '{"value":"1"}'
|
42
52
|
headers:
|
43
|
-
Content-Type:
|
44
|
-
- application/json
|
45
53
|
User-Agent:
|
46
|
-
- ScormEngine Ruby Gem 0.1
|
54
|
+
- ScormEngine Ruby Gem 0.8.1
|
47
55
|
Authorization:
|
48
56
|
- Basic <BASIC_AUTH>
|
57
|
+
Content-Type:
|
58
|
+
- application/json
|
49
59
|
response:
|
50
60
|
status:
|
51
61
|
code: 204
|
52
|
-
message:
|
62
|
+
message: No Content
|
53
63
|
headers:
|
64
|
+
connection:
|
65
|
+
- close
|
54
66
|
date:
|
55
|
-
-
|
67
|
+
- Fri, 25 Sep 2020 23:05:08 GMT
|
68
|
+
p3p:
|
69
|
+
- CP="NOI"
|
56
70
|
server:
|
57
|
-
-
|
58
|
-
|
59
|
-
-
|
71
|
+
- Apache
|
72
|
+
x-xss-protection:
|
73
|
+
- 1; mode=block
|
74
|
+
x-cache:
|
75
|
+
- Miss from cloudfront
|
76
|
+
via:
|
77
|
+
- 1.1 3460152017718aa24664bf5b7ddf58de.cloudfront.net (CloudFront)
|
78
|
+
x-amz-cf-pop:
|
79
|
+
- SLC50-C1
|
80
|
+
x-amz-cf-id:
|
81
|
+
- 19vv4dKmxrz4smRJBTOmr-TrZvpq4rkpuWV2hwVbzVlxMiiEUwWHzA==
|
60
82
|
body:
|
61
83
|
encoding: UTF-8
|
62
84
|
string: ''
|
63
85
|
http_version:
|
64
|
-
recorded_at:
|
86
|
+
recorded_at: Fri, 25 Sep 2020 23:05:08 GMT
|
65
87
|
recorded_with: VCR 4.0.0
|
@@ -7,61 +7,83 @@ http_interactions:
|
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
10
|
User-Agent:
|
13
|
-
- ScormEngine Ruby Gem 0.1
|
11
|
+
- ScormEngine Ruby Gem 0.8.1
|
14
12
|
Authorization:
|
15
13
|
- Basic <BASIC_AUTH>
|
16
14
|
response:
|
17
15
|
status:
|
18
16
|
code: 200
|
19
|
-
message:
|
17
|
+
message: OK
|
20
18
|
headers:
|
21
19
|
content-type:
|
22
20
|
- application/json
|
23
|
-
date:
|
24
|
-
- Tue, 24 Jul 2018 20:56:38 GMT
|
25
|
-
server:
|
26
|
-
- nginx
|
27
21
|
content-length:
|
28
|
-
- '
|
22
|
+
- '13'
|
29
23
|
connection:
|
30
|
-
-
|
24
|
+
- close
|
25
|
+
date:
|
26
|
+
- Fri, 25 Sep 2020 23:05:09 GMT
|
27
|
+
p3p:
|
28
|
+
- CP="NOI"
|
29
|
+
server:
|
30
|
+
- Apache
|
31
|
+
x-xss-protection:
|
32
|
+
- 1; mode=block
|
33
|
+
x-cache:
|
34
|
+
- Miss from cloudfront
|
35
|
+
via:
|
36
|
+
- 1.1 34d83bdced2ff151ec8c14c89b681519.cloudfront.net (CloudFront)
|
37
|
+
x-amz-cf-pop:
|
38
|
+
- SLC50-C1
|
39
|
+
x-amz-cf-id:
|
40
|
+
- "-fanIbYvzGxeMlOJtEtpePGI3vX8ZzM1GXU8rMBK539wOJXSlHULuw=="
|
31
41
|
body:
|
32
42
|
encoding: UTF-8
|
33
|
-
string: '{"value":"
|
43
|
+
string: '{"value":"1"}'
|
34
44
|
http_version:
|
35
|
-
recorded_at:
|
45
|
+
recorded_at: Fri, 25 Sep 2020 23:05:09 GMT
|
36
46
|
- request:
|
37
47
|
method: put
|
38
48
|
uri: https://<SCORM_ENGINE_HOST>/ScormEngineInterface/api/v1/ScormEngineGemTesting-default/courses/testing-golf-explained/configuration/PlayerStatusRollupModeThresholdScore
|
39
49
|
body:
|
40
50
|
encoding: UTF-8
|
41
|
-
string: '{"value":"
|
51
|
+
string: '{"value":"2"}'
|
42
52
|
headers:
|
43
|
-
Content-Type:
|
44
|
-
- application/json
|
45
53
|
User-Agent:
|
46
|
-
- ScormEngine Ruby Gem 0.1
|
54
|
+
- ScormEngine Ruby Gem 0.8.1
|
47
55
|
Authorization:
|
48
56
|
- Basic <BASIC_AUTH>
|
57
|
+
Content-Type:
|
58
|
+
- application/json
|
49
59
|
response:
|
50
60
|
status:
|
51
61
|
code: 204
|
52
|
-
message:
|
62
|
+
message: No Content
|
53
63
|
headers:
|
64
|
+
connection:
|
65
|
+
- close
|
54
66
|
date:
|
55
|
-
-
|
67
|
+
- Fri, 25 Sep 2020 23:05:09 GMT
|
68
|
+
p3p:
|
69
|
+
- CP="NOI"
|
56
70
|
server:
|
57
|
-
-
|
58
|
-
|
59
|
-
-
|
71
|
+
- Apache
|
72
|
+
x-xss-protection:
|
73
|
+
- 1; mode=block
|
74
|
+
x-cache:
|
75
|
+
- Miss from cloudfront
|
76
|
+
via:
|
77
|
+
- 1.1 dc20c07954a9ed19de10771d33e5e35a.cloudfront.net (CloudFront)
|
78
|
+
x-amz-cf-pop:
|
79
|
+
- SLC50-C1
|
80
|
+
x-amz-cf-id:
|
81
|
+
- rlvnM1i2-rA07w72Mbw8lC3njAn9bo0OcBlmz0FuNQlx3bKopt_bBg==
|
60
82
|
body:
|
61
83
|
encoding: UTF-8
|
62
84
|
string: ''
|
63
85
|
http_version:
|
64
|
-
recorded_at:
|
86
|
+
recorded_at: Fri, 25 Sep 2020 23:05:09 GMT
|
65
87
|
- request:
|
66
88
|
method: get
|
67
89
|
uri: https://<SCORM_ENGINE_HOST>/ScormEngineInterface/api/v1/ScormEngineGemTesting-default/courses/testing-golf-explained/configuration/PlayerStatusRollupModeThresholdScore
|
@@ -69,30 +91,40 @@ http_interactions:
|
|
69
91
|
encoding: US-ASCII
|
70
92
|
string: ''
|
71
93
|
headers:
|
72
|
-
Content-Type:
|
73
|
-
- application/json
|
74
94
|
User-Agent:
|
75
|
-
- ScormEngine Ruby Gem 0.1
|
95
|
+
- ScormEngine Ruby Gem 0.8.1
|
76
96
|
Authorization:
|
77
97
|
- Basic <BASIC_AUTH>
|
78
98
|
response:
|
79
99
|
status:
|
80
100
|
code: 200
|
81
|
-
message:
|
101
|
+
message: OK
|
82
102
|
headers:
|
83
103
|
content-type:
|
84
104
|
- application/json
|
85
|
-
date:
|
86
|
-
- Tue, 24 Jul 2018 20:56:39 GMT
|
87
|
-
server:
|
88
|
-
- nginx
|
89
105
|
content-length:
|
90
|
-
- '
|
106
|
+
- '13'
|
91
107
|
connection:
|
92
|
-
-
|
108
|
+
- close
|
109
|
+
date:
|
110
|
+
- Fri, 25 Sep 2020 23:05:09 GMT
|
111
|
+
p3p:
|
112
|
+
- CP="NOI"
|
113
|
+
server:
|
114
|
+
- Apache
|
115
|
+
x-xss-protection:
|
116
|
+
- 1; mode=block
|
117
|
+
x-cache:
|
118
|
+
- Miss from cloudfront
|
119
|
+
via:
|
120
|
+
- 1.1 aa3540758216629202cc04ae30ab5604.cloudfront.net (CloudFront)
|
121
|
+
x-amz-cf-pop:
|
122
|
+
- SLC50-C1
|
123
|
+
x-amz-cf-id:
|
124
|
+
- rxCDMODiWuFv2K2snfw5tm2vWEUT9eiC0a1zdddkNC0nZtW7bKNVPg==
|
93
125
|
body:
|
94
126
|
encoding: UTF-8
|
95
|
-
string: '{"value":"
|
127
|
+
string: '{"value":"2"}'
|
96
128
|
http_version:
|
97
|
-
recorded_at:
|
129
|
+
recorded_at: Fri, 25 Sep 2020 23:05:09 GMT
|
98
130
|
recorded_with: VCR 4.0.0
|
@@ -5,10 +5,10 @@ http_interactions:
|
|
5
5
|
uri: https://<SCORM_ENGINE_HOST>/ScormEngineInterface/api/v1/ScormEngineGemTesting-default/courses/importJobs?course=a-valid-course-url&mayCreateNewVersion=true
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"
|
8
|
+
string: '{"url":"https://github.com/instructure-bridge/scorm_engine/raw/master/spec/fixtures/zip/RuntimeBasicCalls_SCORM20043rdEdition.zip","courseName":"a-valid-course-url"}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- ScormEngine Ruby Gem 0.
|
11
|
+
- ScormEngine Ruby Gem 0.8.1
|
12
12
|
Authorization:
|
13
13
|
- Basic <BASIC_AUTH>
|
14
14
|
Content-Type:
|
@@ -16,159 +16,166 @@ http_interactions:
|
|
16
16
|
response:
|
17
17
|
status:
|
18
18
|
code: 200
|
19
|
-
message:
|
19
|
+
message: OK
|
20
20
|
headers:
|
21
21
|
content-type:
|
22
22
|
- application/json
|
23
|
-
date:
|
24
|
-
- Mon, 10 Sep 2018 17:29:02 GMT
|
25
|
-
server:
|
26
|
-
- nginx
|
27
|
-
vary:
|
28
|
-
- Accept-Encoding
|
29
23
|
content-length:
|
30
|
-
- '
|
24
|
+
- '152'
|
31
25
|
connection:
|
32
|
-
-
|
33
|
-
body:
|
34
|
-
encoding: ASCII-8BIT
|
35
|
-
string: '{"result":"08e0a9a6-86b0-4b19-9e23-46d825a4c114","importResult":{"status":"RUNNING","parserWarnings":[],"courseLanguages":[]}}'
|
36
|
-
http_version:
|
37
|
-
recorded_at: Mon, 10 Sep 2018 17:29:02 GMT
|
38
|
-
- request:
|
39
|
-
method: get
|
40
|
-
uri: https://<SCORM_ENGINE_HOST>/ScormEngineInterface/api/v1/ScormEngineGemTesting-default/courses/importJobs/08e0a9a6-86b0-4b19-9e23-46d825a4c114
|
41
|
-
body:
|
42
|
-
encoding: US-ASCII
|
43
|
-
string: ''
|
44
|
-
headers:
|
45
|
-
User-Agent:
|
46
|
-
- ScormEngine Ruby Gem 0.6.3
|
47
|
-
Authorization:
|
48
|
-
- Basic <BASIC_AUTH>
|
49
|
-
response:
|
50
|
-
status:
|
51
|
-
code: 200
|
52
|
-
message: ''
|
53
|
-
headers:
|
54
|
-
content-type:
|
55
|
-
- application/json
|
26
|
+
- close
|
56
27
|
date:
|
57
|
-
-
|
28
|
+
- Fri, 25 Sep 2020 23:09:02 GMT
|
29
|
+
p3p:
|
30
|
+
- CP="NOI"
|
58
31
|
server:
|
59
|
-
-
|
60
|
-
|
61
|
-
-
|
62
|
-
|
63
|
-
-
|
64
|
-
|
65
|
-
-
|
32
|
+
- Apache
|
33
|
+
x-xss-protection:
|
34
|
+
- 1; mode=block
|
35
|
+
x-cache:
|
36
|
+
- Miss from cloudfront
|
37
|
+
via:
|
38
|
+
- 1.1 6499018181503258b63542f68301cbb1.cloudfront.net (CloudFront)
|
39
|
+
x-amz-cf-pop:
|
40
|
+
- SLC50-C1
|
41
|
+
x-amz-cf-id:
|
42
|
+
- EwTX0rm-nFd7QMGvLrQ7WX4Ys_Oi2jwuFngwA3iZ3X8PHKmJT2Qcsg==
|
66
43
|
body:
|
67
|
-
encoding:
|
68
|
-
string: '{"
|
69
|
-
http_version:
|
70
|
-
recorded_at:
|
44
|
+
encoding: UTF-8
|
45
|
+
string: '{"result":"e2794bab-fc56-437a-9b64-a2d41e4985fe","importResult":{"jobId":"e2794bab-fc56-437a-9b64-a2d41e4985fe","status":"RUNNING","parserWarnings":[]}}'
|
46
|
+
http_version:
|
47
|
+
recorded_at: Fri, 25 Sep 2020 23:09:02 GMT
|
71
48
|
- request:
|
72
49
|
method: get
|
73
|
-
uri: https://<SCORM_ENGINE_HOST>/ScormEngineInterface/api/v1/ScormEngineGemTesting-default/courses/importJobs/
|
50
|
+
uri: https://<SCORM_ENGINE_HOST>/ScormEngineInterface/api/v1/ScormEngineGemTesting-default/courses/importJobs/e2794bab-fc56-437a-9b64-a2d41e4985fe
|
74
51
|
body:
|
75
52
|
encoding: US-ASCII
|
76
53
|
string: ''
|
77
54
|
headers:
|
78
55
|
User-Agent:
|
79
|
-
- ScormEngine Ruby Gem 0.
|
56
|
+
- ScormEngine Ruby Gem 0.8.1
|
80
57
|
Authorization:
|
81
58
|
- Basic <BASIC_AUTH>
|
82
59
|
response:
|
83
60
|
status:
|
84
61
|
code: 200
|
85
|
-
message:
|
62
|
+
message: OK
|
86
63
|
headers:
|
87
64
|
content-type:
|
88
65
|
- application/json
|
89
|
-
date:
|
90
|
-
- Mon, 10 Sep 2018 17:29:08 GMT
|
91
|
-
server:
|
92
|
-
- nginx
|
93
|
-
vary:
|
94
|
-
- Accept-Encoding
|
95
66
|
content-length:
|
96
|
-
- '
|
67
|
+
- '87'
|
97
68
|
connection:
|
98
|
-
-
|
69
|
+
- close
|
70
|
+
date:
|
71
|
+
- Fri, 25 Sep 2020 23:09:02 GMT
|
72
|
+
p3p:
|
73
|
+
- CP="NOI"
|
74
|
+
server:
|
75
|
+
- Apache
|
76
|
+
x-xss-protection:
|
77
|
+
- 1; mode=block
|
78
|
+
x-cache:
|
79
|
+
- Miss from cloudfront
|
80
|
+
via:
|
81
|
+
- 1.1 93602184543f38c8cb58276d2ff471a9.cloudfront.net (CloudFront)
|
82
|
+
x-amz-cf-pop:
|
83
|
+
- SLC50-C1
|
84
|
+
x-amz-cf-id:
|
85
|
+
- 76kft9RzHslSxIaej6soT1XXfVV2Bgbq4Gil-tx4D1U0zItQ0DsgNQ==
|
99
86
|
body:
|
100
|
-
encoding:
|
101
|
-
string: '{"
|
102
|
-
http_version:
|
103
|
-
recorded_at:
|
87
|
+
encoding: UTF-8
|
88
|
+
string: '{"jobId":"e2794bab-fc56-437a-9b64-a2d41e4985fe","status":"RUNNING","parserWarnings":[]}'
|
89
|
+
http_version:
|
90
|
+
recorded_at: Fri, 25 Sep 2020 23:09:02 GMT
|
104
91
|
- request:
|
105
92
|
method: get
|
106
|
-
uri: https://<SCORM_ENGINE_HOST>/ScormEngineInterface/api/v1/ScormEngineGemTesting-default/courses/importJobs/
|
93
|
+
uri: https://<SCORM_ENGINE_HOST>/ScormEngineInterface/api/v1/ScormEngineGemTesting-default/courses/importJobs/e2794bab-fc56-437a-9b64-a2d41e4985fe
|
107
94
|
body:
|
108
95
|
encoding: US-ASCII
|
109
96
|
string: ''
|
110
97
|
headers:
|
111
98
|
User-Agent:
|
112
|
-
- ScormEngine Ruby Gem 0.
|
99
|
+
- ScormEngine Ruby Gem 0.8.1
|
113
100
|
Authorization:
|
114
101
|
- Basic <BASIC_AUTH>
|
115
102
|
response:
|
116
103
|
status:
|
117
104
|
code: 200
|
118
|
-
message:
|
105
|
+
message: OK
|
119
106
|
headers:
|
120
107
|
content-type:
|
121
108
|
- application/json
|
122
|
-
date:
|
123
|
-
- Mon, 10 Sep 2018 17:29:13 GMT
|
124
|
-
server:
|
125
|
-
- nginx
|
126
|
-
vary:
|
127
|
-
- Accept-Encoding
|
128
109
|
content-length:
|
129
|
-
- '
|
110
|
+
- '473'
|
130
111
|
connection:
|
131
|
-
-
|
112
|
+
- close
|
113
|
+
date:
|
114
|
+
- Fri, 25 Sep 2020 23:09:08 GMT
|
115
|
+
p3p:
|
116
|
+
- CP="NOI"
|
117
|
+
server:
|
118
|
+
- Apache
|
119
|
+
x-xss-protection:
|
120
|
+
- 1; mode=block
|
121
|
+
x-cache:
|
122
|
+
- Miss from cloudfront
|
123
|
+
via:
|
124
|
+
- 1.1 b8444affadcd7ea54dc019ee69ff275f.cloudfront.net (CloudFront)
|
125
|
+
x-amz-cf-pop:
|
126
|
+
- SLC50-C1
|
127
|
+
x-amz-cf-id:
|
128
|
+
- 2gUWR29EnlZ-4nTPX1dfm3LUpAicfzDcwpRGw6d0j_zirviOEslIdw==
|
132
129
|
body:
|
133
|
-
encoding:
|
134
|
-
string: '{"jobId":"
|
135
|
-
Successful","courseTitle":"Golf Explained - Run-time Basic Calls","webPathToCourse":"/courses/ScormEngineGemTesting-default/a-valid-course-url/0","parserWarnings":[],"
|
136
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount"
|
137
|
-
http_version:
|
138
|
-
recorded_at:
|
130
|
+
encoding: UTF-8
|
131
|
+
string: '{"jobId":"e2794bab-fc56-437a-9b64-a2d41e4985fe","status":"COMPLETE","message":"Import
|
132
|
+
Successful","courseTitle":"Golf Explained - Run-time Basic Calls","webPathToCourse":"/courses/ScormEngineGemTesting-default/a-valid-course-url/0","parserWarnings":[],"course":{"id":"a-valid-course-url","version":0,"title":"Golf
|
133
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":-1,"updated":"2020-09-25T23:09:05.795Z","metadata":{}}}'
|
134
|
+
http_version:
|
135
|
+
recorded_at: Fri, 25 Sep 2020 23:09:08 GMT
|
139
136
|
- request:
|
140
137
|
method: get
|
141
|
-
uri: https://<SCORM_ENGINE_HOST>/ScormEngineInterface/api/v1/ScormEngineGemTesting-default/courses/importJobs/
|
138
|
+
uri: https://<SCORM_ENGINE_HOST>/ScormEngineInterface/api/v1/ScormEngineGemTesting-default/courses/importJobs/e2794bab-fc56-437a-9b64-a2d41e4985fe
|
142
139
|
body:
|
143
140
|
encoding: US-ASCII
|
144
141
|
string: ''
|
145
142
|
headers:
|
146
143
|
User-Agent:
|
147
|
-
- ScormEngine Ruby Gem 0.
|
144
|
+
- ScormEngine Ruby Gem 0.8.1
|
148
145
|
Authorization:
|
149
146
|
- Basic <BASIC_AUTH>
|
150
147
|
response:
|
151
148
|
status:
|
152
149
|
code: 200
|
153
|
-
message:
|
150
|
+
message: OK
|
154
151
|
headers:
|
155
152
|
content-type:
|
156
153
|
- application/json
|
157
|
-
date:
|
158
|
-
- Mon, 10 Sep 2018 17:29:14 GMT
|
159
|
-
server:
|
160
|
-
- nginx
|
161
|
-
vary:
|
162
|
-
- Accept-Encoding
|
163
154
|
content-length:
|
164
|
-
- '
|
155
|
+
- '473'
|
165
156
|
connection:
|
166
|
-
-
|
157
|
+
- close
|
158
|
+
date:
|
159
|
+
- Fri, 25 Sep 2020 23:09:08 GMT
|
160
|
+
p3p:
|
161
|
+
- CP="NOI"
|
162
|
+
server:
|
163
|
+
- Apache
|
164
|
+
x-xss-protection:
|
165
|
+
- 1; mode=block
|
166
|
+
x-cache:
|
167
|
+
- Miss from cloudfront
|
168
|
+
via:
|
169
|
+
- 1.1 dc11c8b7421c6da6c05e64d48aa3e898.cloudfront.net (CloudFront)
|
170
|
+
x-amz-cf-pop:
|
171
|
+
- SLC50-C1
|
172
|
+
x-amz-cf-id:
|
173
|
+
- fymUTQF2iHURs7nz6nls4bBjDvfVqnvOHpYT_zwHPiyq_Ye16V0yRg==
|
167
174
|
body:
|
168
|
-
encoding:
|
169
|
-
string: '{"jobId":"
|
170
|
-
Successful","courseTitle":"Golf Explained - Run-time Basic Calls","webPathToCourse":"/courses/ScormEngineGemTesting-default/a-valid-course-url/0","parserWarnings":[],"
|
171
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount"
|
172
|
-
http_version:
|
173
|
-
recorded_at:
|
175
|
+
encoding: UTF-8
|
176
|
+
string: '{"jobId":"e2794bab-fc56-437a-9b64-a2d41e4985fe","status":"COMPLETE","message":"Import
|
177
|
+
Successful","courseTitle":"Golf Explained - Run-time Basic Calls","webPathToCourse":"/courses/ScormEngineGemTesting-default/a-valid-course-url/0","parserWarnings":[],"course":{"id":"a-valid-course-url","version":0,"title":"Golf
|
178
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":-1,"updated":"2020-09-25T23:09:05.795Z","metadata":{}}}'
|
179
|
+
http_version:
|
180
|
+
recorded_at: Fri, 25 Sep 2020 23:09:08 GMT
|
174
181
|
recorded_with: VCR 4.0.0
|