scorm_engine 0.7.2 → 0.8.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (182) hide show
  1. checksums.yaml +4 -4
  2. data/lib/scorm_engine/api/endpoints.rb +4 -0
  3. data/lib/scorm_engine/api/endpoints/configuration.rb +94 -0
  4. data/lib/scorm_engine/api/endpoints/courses/configuration.rb +1 -1
  5. data/lib/scorm_engine/api/endpoints/registrations/configuration.rb +1 -1
  6. data/lib/scorm_engine/api/endpoints/tenants/configuration.rb +108 -0
  7. data/lib/scorm_engine/configuration.rb +4 -2
  8. data/lib/scorm_engine/faraday/connection.rb +10 -4
  9. data/lib/scorm_engine/faraday/request.rb +19 -4
  10. data/lib/scorm_engine/models.rb +1 -0
  11. data/lib/scorm_engine/models/tenant_configuration.rb +34 -0
  12. data/lib/scorm_engine/version.rb +1 -1
  13. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about/is_successful.yml +24 -15
  14. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about/knows_the_platform.yml +24 -15
  15. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about/knows_the_version.yml +24 -15
  16. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about_user_count/accepts_before_option.yml +23 -15
  17. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about_user_count/accepts_since_option.yml +23 -15
  18. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about_user_count/is_successful.yml +23 -15
  19. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about_user_count/tracks_combined_counts.yml +23 -15
  20. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about_user_count/tracks_per_tenantcounts.yml +23 -15
  21. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_delete_app_configuration/fails_when_settings_are_invalid.yml +46 -0
  22. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_delete_app_configuration/is_successful.yml +42 -0
  23. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_get_app_configuration/includeMetadata/is_successful.yml +931 -0
  24. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_get_app_configuration/includeMetadata/returns_metadata_in_raw_response_when_included_in_options.yml +931 -0
  25. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_get_app_configuration/is_successful.yml +64 -0
  26. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_get_app_configuration/returns_settings_and_values.yml +64 -0
  27. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_post_app_configuration/fails_when_settings_are_invalid.yml +48 -0
  28. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_post_app_configuration/is_successful.yml +44 -0
  29. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_post_app_configuration/persists_the_settings.yml +207 -0
  30. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_delete_course/fails_when_id_is_invalid.yml +23 -15
  31. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_delete_course/works.yml +19 -9
  32. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_detail/fails_when_id_is_invalid.yml +23 -15
  33. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_detail/is_successful.yml +24 -16
  34. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_detail/results/sucessfully_creates_the_Course_attributes.yml +24 -16
  35. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_preview/fails_when_id_is_invalid.yml +23 -15
  36. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_preview/is_successful.yml +23 -15
  37. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_preview/results/returns_a_URL_string.yml +23 -15
  38. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/_course_id_option/fetches_a_single_course_but_perhaps_multiple_versions.yml +23 -15
  39. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/_course_id_option/returns_404_when_ID_is_invalid.yml +23 -15
  40. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/_more_option_pagination_/returns_all_the_courses.yml +65 -45
  41. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/_more_option_pagination_/returns_the_more_key_in_the_raw_response.yml +32 -24
  42. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/_since_option/fails_when_passed_an_invalid_value.yml +20 -10
  43. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/_since_option/works.yml +42 -19
  44. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/is_successful.yml +32 -19
  45. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/results/is_an_enumerator_of_Course_models.yml +32 -19
  46. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/results/sucessfully_creates_the_Course_attributes.yml +32 -19
  47. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration/fails_when_id_is_invalid.yml +23 -15
  48. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration/is_successful.yml +23 -15
  49. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration/results/makes_settings_available_as_key/value_pairs.yml +23 -15
  50. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration_setting/fails_when_course_id_is_invalid.yml +23 -15
  51. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration_setting/fails_when_setting_id_is_invalid.yml +20 -10
  52. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration_setting/is_successful.yml +41 -19
  53. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration_setting/results/returns_the_value_as_a_string.yml +41 -19
  54. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_post_course_configuration/fails_when_id_is_invalid.yml +25 -15
  55. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_post_course_configuration/fails_when_settings_are_invalid.yml +24 -12
  56. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_post_course_configuration/is_successful.yml +21 -9
  57. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_post_course_configuration/persists_the_settings.yml +88 -48
  58. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_put_course_configuration_setting/fails_when_course_id_is_invalid.yml +25 -15
  59. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_put_course_configuration_setting/fails_when_setting_id_is_invalid.yml +20 -10
  60. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_put_course_configuration_setting/is_successful.yml +41 -19
  61. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_put_course_configuration_setting/results/persists_the_changes.yml +61 -29
  62. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Import/_get_course_import/successful_imports/works.yml +102 -95
  63. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Import/_get_course_import/unsuccessful_imports/fails_to_import_given_an_invalid_url.yml +73 -294
  64. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Import/_post_course_import/unsuccessful_imports/fails_to_import_a_previously_existing_course.yml +21 -9
  65. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_delete_destination/returns_success_even_when_id_is_invalid.yml +19 -9
  66. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_delete_destination/works.yml +19 -9
  67. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destination/fails_when_id_is_invalid.yml +22 -14
  68. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destination/is_successful.yml +22 -14
  69. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destination/results/sucessfully_creates_the_destination_attributes.yml +22 -14
  70. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destination_dispatches_registration_count/fails_when_invalid.yml +22 -14
  71. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destination_dispatches_registration_count/works.yml +20 -10
  72. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/_more_option_pagination_/returns_all_the_destinations.yml +48 -31
  73. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/_more_option_pagination_/returns_the_more_key_in_the_raw_response.yml +23 -15
  74. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/_since_option/fails_when_passed_an_invalid_value.yml +22 -13
  75. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/_since_option/works.yml +24 -15
  76. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/is_successful.yml +23 -15
  77. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/results/is_an_enumerator_of_Destination_models.yml +23 -15
  78. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/results/sucessfully_creates_the_Destination_attributes.yml +65 -13
  79. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination/is_successful.yml +40 -18
  80. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination/is_successful_even_if_the_destination_id_is_not_unique.yml +21 -9
  81. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination_dispatches_enabled/fails_when_invalid.yml +24 -12
  82. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination_dispatches_enabled/works_when_false.yml +21 -9
  83. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination_dispatches_enabled/works_when_true.yml +21 -9
  84. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination_dispatches_registration_instancing/fails_when_invalid.yml +24 -12
  85. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination_dispatches_registration_instancing/works_when_false.yml +21 -9
  86. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination_dispatches_registration_instancing/works_when_true.yml +21 -9
  87. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_put_destination/is_successful.yml +21 -9
  88. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_put_destination/results/sucessfully_creates_the_destination_attributes.yml +43 -23
  89. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_delete_dispatch/returns_success_even_when_id_is_invalid.yml +19 -7
  90. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_delete_dispatch/works.yml +19 -7
  91. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_delete_dispatch_registration_count/is_successful.yml +19 -7
  92. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_delete_dispatch_registration_count/succeeds_even_when_id_is_invalid.yml +19 -7
  93. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch/fails_when_id_is_invalid.yml +22 -12
  94. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch/is_successful.yml +23 -13
  95. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch/results/sucessfully_creates_the_dispatch_attributes.yml +23 -13
  96. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_enabled/is_false_when_disabled.yml +39 -15
  97. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_enabled/is_true_when_enabled.yml +39 -15
  98. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_registration_count/fails_when_id_is_invalid.yml +41 -19
  99. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_registration_count/is_successful.yml +42 -20
  100. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_registration_count/results/sucessfully_creates_the_dispatch_attributes.yml +42 -20
  101. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/fails_given_an_invalid_id.yml +22 -12
  102. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/fails_given_an_invalid_type.yml +20 -8
  103. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/works.yml +24 -12
  104. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/works_when_type_is_AICC.yml +24 -12
  105. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/works_when_type_is_SCORM12.yml +24 -12
  106. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/works_when_type_is_SCORM2004-3RD.yml +23 -11
  107. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/_more_option_pagination_/returns_all_the_dispatches.yml +47 -27
  108. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/_more_option_pagination_/returns_the_more_key_in_the_raw_response.yml +23 -13
  109. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/_since_option/fails_when_passed_an_invalid_value.yml +20 -8
  110. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/_since_option/works.yml +23 -13
  111. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/is_successful.yml +23 -13
  112. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/results/is_an_enumerator_of_dispatch_models.yml +23 -13
  113. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/results/sucessfully_creates_the_dispatch_attributes.yml +21 -44
  114. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_post_dispatch/is_successful.yml +38 -14
  115. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_post_dispatch/updates_if_same_dispatch_id.yml +65 -33
  116. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_put_dispatch/is_successful.yml +19 -7
  117. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_put_dispatch/results/sucessfully_creates_the_dispatch_attributes.yml +42 -20
  118. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_put_dispatch_enabled/fails_when_invalid.yml +22 -10
  119. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_put_dispatch_enabled/works_when_false.yml +19 -7
  120. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_put_dispatch_enabled/works_when_true.yml +19 -7
  121. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Ping/_get_ping/is_successful.yml +23 -15
  122. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Ping/_get_ping/reports_the_api_is_up.yml +23 -15
  123. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Ping/_get_ping/with_invalid_password/is_unsuccessful.yml +25 -17
  124. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Ping/_get_ping/with_invalid_password/returns_status_403.yml +25 -17
  125. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_delete_registration/is_failure_when_registration_does_not_exist.yml +23 -13
  126. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_delete_registration/is_successful_when_registration_exists.yml +19 -7
  127. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_exists/is_false_when_registration_does_not_exist.yml +23 -13
  128. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_exists/is_true_when_registration_exists.yml +20 -8
  129. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_instances/includes_results_we_expect.yml +26 -14
  130. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_instances/is_successful.yml +26 -14
  131. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_instances/returns_an_array_of_registrations.yml +26 -14
  132. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_launch_link/fails_when_id_is_invalid.yml +23 -13
  133. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_launch_link/is_successful.yml +23 -13
  134. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_launch_link/results/returns_a_URL_string.yml +23 -13
  135. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_progress/detail/does_not_return_activity_details_by_default.yml +24 -14
  136. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_progress/detail/returns_activity_details_if_requested.yml +24 -14
  137. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_progress/fails_when_registration_does_not_exist.yml +23 -13
  138. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_progress/returns_a_registration_when_it_exists.yml +24 -14
  139. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/filtering_by_course_id/excludes_results.yml +22 -12
  140. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/filtering_by_course_id/includes_results.yml +26 -14
  141. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/filtering_by_learner_id/excludes_results.yml +22 -12
  142. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/filtering_by_learner_id/includes_results.yml +26 -14
  143. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/includes_results_we_expect.yml +26 -14
  144. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/is_successful.yml +26 -14
  145. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/returns_an_array_of_registrations.yml +26 -14
  146. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_post_registration/fails_if_course_id_is_invalid.yml +22 -10
  147. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_post_registration/fails_if_registration_id_already_exists.yml +20 -8
  148. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_post_registration/is_successful.yml +38 -14
  149. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_post_registration/is_successful_even_when_given_a_UTF8/slashed_username.yml +38 -14
  150. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration/fails_when_id_is_invalid.yml +23 -15
  151. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration/is_successful.yml +23 -15
  152. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration/results/makes_settings_available_as_key/value_pairs.yml +23 -15
  153. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration_setting/fails_when_registration_id_is_invalid.yml +23 -15
  154. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration_setting/fails_when_setting_id_is_invalid.yml +20 -10
  155. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration_setting/is_successful.yml +41 -19
  156. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration_setting/results/returns_the_value_as_a_string.yml +41 -19
  157. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_post_registration_configuration/fails_when_id_is_invalid.yml +25 -15
  158. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_post_registration_configuration/fails_when_settings_are_invalid.yml +24 -12
  159. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_post_registration_configuration/is_successful.yml +21 -9
  160. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_post_registration_configuration/persists_the_settings.yml +88 -48
  161. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_put_registration_configuration_setting/fails_when_registration_id_is_invalid.yml +25 -15
  162. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_put_registration_configuration_setting/fails_when_setting_id_is_invalid.yml +20 -10
  163. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_put_registration_configuration_setting/is_successful.yml +41 -19
  164. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_put_registration_configuration_setting/results/persists_the_changes.yml +61 -29
  165. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_LaunchHistory/_get_registration_launch_history/fails_when_registration_does_not_exist.yml +23 -15
  166. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_LaunchHistory/_get_registration_launch_history/is_successful.yml +23 -31
  167. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_LaunchHistory/_get_registration_launch_history/returns_an_array_of_registration_launch_histories.yml +23 -31
  168. data/spec/scorm_engine/api/endpoints/about_spec.rb +1 -1
  169. data/spec/scorm_engine/api/endpoints/configuration_spec.rb +82 -0
  170. data/spec/scorm_engine/api/endpoints/courses/configuration_spec.rb +5 -5
  171. data/spec/scorm_engine/api/endpoints/courses_spec.rb +6 -6
  172. data/spec/scorm_engine/api/endpoints/destinations_spec.rb +2 -2
  173. data/spec/scorm_engine/api/endpoints/dispatches_spec.rb +1 -1
  174. data/spec/scorm_engine/api/endpoints/registrations/configuration_spec.rb +5 -5
  175. data/spec/scorm_engine/api/endpoints/registrations_spec.rb +2 -2
  176. data/spec/scorm_engine/api/endpoints/tenants/configuration_spec.rb +126 -0
  177. data/spec/scorm_engine/faraday/connection_spec.rb +23 -5
  178. data/spec/scorm_engine/models/tenant_configuration_spec.rb +16 -0
  179. data/spec/support/vcr.rb +1 -0
  180. metadata +28 -13
  181. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_delete_destination/raises_ArgumentError_when_destination_id_is_missing.yml +0 -32
  182. 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,28 +7,40 @@ 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.0
11
+ - ScormEngine Ruby Gem 0.8.2
14
12
  Authorization:
15
13
  - Basic <BASIC_AUTH>
14
+ Content-Type:
15
+ - application/json
16
16
  response:
17
17
  status:
18
18
  code: 204
19
- message: ''
19
+ message: No Content
20
20
  headers:
21
+ connection:
22
+ - close
21
23
  date:
22
- - Tue, 24 Jul 2018 20:52:26 GMT
24
+ - Tue, 10 Nov 2020 22:57:24 GMT
25
+ p3p:
26
+ - CP="NOI"
23
27
  server:
24
- - nginx
25
- connection:
26
- - Close
28
+ - Apache
29
+ x-xss-protection:
30
+ - 1; mode=block
31
+ x-cache:
32
+ - Miss from cloudfront
33
+ via:
34
+ - 1.1 3a3c5f259ae7ff22c721cf2dd9f734af.cloudfront.net (CloudFront)
35
+ x-amz-cf-pop:
36
+ - SLC50-C1
37
+ x-amz-cf-id:
38
+ - YWhb-S7VYqg3B1wKW_etWN37dp1ddoAx1t3e0i63xy9IhnpeejT6XA==
27
39
  body:
28
40
  encoding: UTF-8
29
41
  string: ''
30
42
  http_version:
31
- recorded_at: Tue, 24 Jul 2018 20:52:26 GMT
43
+ recorded_at: Tue, 10 Nov 2020 22:57:24 GMT
32
44
  - request:
33
45
  method: get
34
46
  uri: https://<SCORM_ENGINE_HOST>/ScormEngineInterface/api/v1/ScormEngineGemTesting-default/courses/testing-golf-explained/configuration/PlayerStatusRollupModeThresholdScore
@@ -36,30 +48,40 @@ http_interactions:
36
48
  encoding: US-ASCII
37
49
  string: ''
38
50
  headers:
39
- Content-Type:
40
- - application/json
41
51
  User-Agent:
42
- - ScormEngine Ruby Gem 0.1.0
52
+ - ScormEngine Ruby Gem 0.8.2
43
53
  Authorization:
44
54
  - Basic <BASIC_AUTH>
45
55
  response:
46
56
  status:
47
57
  code: 200
48
- message: ''
58
+ message: OK
49
59
  headers:
50
60
  content-type:
51
61
  - application/json
52
- date:
53
- - Tue, 24 Jul 2018 20:52:26 GMT
54
- server:
55
- - nginx
56
62
  content-length:
57
63
  - '14'
58
64
  connection:
59
- - Close
65
+ - close
66
+ date:
67
+ - Tue, 10 Nov 2020 22:57:24 GMT
68
+ p3p:
69
+ - CP="NOI"
70
+ server:
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
+ - ikDT0xVyUxw3mC2B7Nncu2T5LnJEPwVCChM8U6hrwCckuqkXI3v-LQ==
60
82
  body:
61
83
  encoding: UTF-8
62
84
  string: '{"value":"42"}'
63
85
  http_version:
64
- recorded_at: Tue, 24 Jul 2018 20:52:26 GMT
86
+ recorded_at: Tue, 10 Nov 2020 22:57:24 GMT
65
87
  recorded_with: VCR 4.0.0
@@ -7,32 +7,42 @@ http_interactions:
7
7
  encoding: UTF-8
8
8
  string: '{"settings":[]}'
9
9
  headers:
10
- Content-Type:
11
- - application/json
12
10
  User-Agent:
13
- - ScormEngine Ruby Gem 0.1.0
11
+ - ScormEngine Ruby Gem 0.8.2
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:37:01 GMT
25
- server:
26
- - nginx
27
- vary:
28
- - Accept-Encoding
29
23
  content-length:
30
- - '73'
24
+ - '59'
31
25
  connection:
32
- - Close
26
+ - close
27
+ date:
28
+ - Tue, 10 Nov 2020 22:57:24 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 dc11c8b7421c6da6c05e64d48aa3e898.cloudfront.net (CloudFront)
39
+ x-amz-cf-pop:
40
+ - SLC50-C1
41
+ x-amz-cf-id:
42
+ - RSxOviFZlmXRoIdyTN8vK_ZbYBtKdabFg5xDq0BiBZyexCqDB3rZeQ==
33
43
  body:
34
- encoding: ASCII-8BIT
35
- string: '{"message":"External Package ID ''nonexistent-course''"}'
44
+ encoding: UTF-8
45
+ string: '{"message":"Course ID ''nonexistent-course'' does not exist"}'
36
46
  http_version:
37
- recorded_at: Tue, 24 Jul 2018 20:37:01 GMT
47
+ recorded_at: Tue, 10 Nov 2020 22:57:25 GMT
38
48
  recorded_with: VCR 4.0.0
@@ -7,30 +7,42 @@ http_interactions:
7
7
  encoding: UTF-8
8
8
  string: '{"settings":[{"settingId":"NonExistentSettingTotesBogus","value":"YES"}]}'
9
9
  headers:
10
- Content-Type:
11
- - application/json
12
10
  User-Agent:
13
- - ScormEngine Ruby Gem 0.1.0
11
+ - ScormEngine Ruby Gem 0.8.2
14
12
  Authorization:
15
13
  - Basic <BASIC_AUTH>
14
+ Content-Type:
15
+ - application/json
16
16
  response:
17
17
  status:
18
18
  code: 400
19
- message: ''
19
+ message: Bad Request
20
20
  headers:
21
21
  content-type:
22
22
  - application/json
23
- date:
24
- - Tue, 24 Jul 2018 20:37:04 GMT
25
- server:
26
- - nginx
27
23
  content-length:
28
- - '86'
24
+ - '68'
29
25
  connection:
30
- - Close
26
+ - close
27
+ date:
28
+ - Tue, 10 Nov 2020 22:57:24 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 07c02ae6c53d85283eb15380264d9998.cloudfront.net (CloudFront)
39
+ x-amz-cf-pop:
40
+ - SLC50-C1
41
+ x-amz-cf-id:
42
+ - VEYxhiZL3XlRTSXY6eNKfdkgYgoUunfGK6I6SXfWwPwJ9Di0ZuRSQg==
31
43
  body:
32
44
  encoding: UTF-8
33
- string: '{"message":"No configuration setting found with id: \"NonExistentSettingTotesBogus\""}'
45
+ string: '{"message":"NonExistentSettingTotesBogus is not a valid setting ID"}'
34
46
  http_version:
35
- recorded_at: Tue, 24 Jul 2018 20:37:04 GMT
47
+ recorded_at: Tue, 10 Nov 2020 22:57:24 GMT
36
48
  recorded_with: VCR 4.0.0
@@ -7,26 +7,38 @@ http_interactions:
7
7
  encoding: UTF-8
8
8
  string: '{"settings":[{"settingId":"PlayerCaptureHistoryDetailed","value":"NO"},{"settingId":"PlayerStatusRollupModeThresholdScore","value":"80"}]}'
9
9
  headers:
10
- Content-Type:
11
- - application/json
12
10
  User-Agent:
13
- - ScormEngine Ruby Gem 0.1.0
11
+ - ScormEngine Ruby Gem 0.8.2
14
12
  Authorization:
15
13
  - Basic <BASIC_AUTH>
14
+ Content-Type:
15
+ - application/json
16
16
  response:
17
17
  status:
18
18
  code: 204
19
- message: ''
19
+ message: No Content
20
20
  headers:
21
+ connection:
22
+ - close
21
23
  date:
22
- - Tue, 24 Jul 2018 20:37:00 GMT
24
+ - Tue, 10 Nov 2020 22:57:26 GMT
25
+ p3p:
26
+ - CP="NOI"
23
27
  server:
24
- - nginx
25
- connection:
26
- - Close
28
+ - Apache
29
+ x-xss-protection:
30
+ - 1; mode=block
31
+ x-cache:
32
+ - Miss from cloudfront
33
+ via:
34
+ - 1.1 5eba6942302eb68c1d27c1cd82dcda27.cloudfront.net (CloudFront)
35
+ x-amz-cf-pop:
36
+ - SLC50-C1
37
+ x-amz-cf-id:
38
+ - 1Gvt4mjaEKvpv1rmsDi5SaHcNIwcNnaiJnKY7K5y3E9e3RTl2reXjA==
27
39
  body:
28
40
  encoding: UTF-8
29
41
  string: ''
30
42
  http_version:
31
- recorded_at: Tue, 24 Jul 2018 20:37:00 GMT
43
+ recorded_at: Tue, 10 Nov 2020 22:57:26 GMT
32
44
  recorded_with: VCR 4.0.0
@@ -7,28 +7,40 @@ http_interactions:
7
7
  encoding: UTF-8
8
8
  string: '{"settings":[{"settingId":"PlayerCaptureHistoryDetailed","value":"NO"},{"settingId":"PlayerStatusRollupModeThresholdScore","value":"80"}]}'
9
9
  headers:
10
- Content-Type:
11
- - application/json
12
10
  User-Agent:
13
- - ScormEngine Ruby Gem 0.1.0
11
+ - ScormEngine Ruby Gem 0.8.2
14
12
  Authorization:
15
13
  - Basic <BASIC_AUTH>
14
+ Content-Type:
15
+ - application/json
16
16
  response:
17
17
  status:
18
18
  code: 204
19
- message: ''
19
+ message: No Content
20
20
  headers:
21
+ connection:
22
+ - close
21
23
  date:
22
- - Tue, 24 Jul 2018 20:37:02 GMT
24
+ - Tue, 10 Nov 2020 22:57:25 GMT
25
+ p3p:
26
+ - CP="NOI"
23
27
  server:
24
- - nginx
25
- connection:
26
- - Close
28
+ - Apache
29
+ x-xss-protection:
30
+ - 1; mode=block
31
+ x-cache:
32
+ - Miss from cloudfront
33
+ via:
34
+ - 1.1 dc1008da8748ae0c60c93323ff766e49.cloudfront.net (CloudFront)
35
+ x-amz-cf-pop:
36
+ - SLC50-C1
37
+ x-amz-cf-id:
38
+ - LnrCGZEbwFsnHrFrZHAepSUxBpQMtLItRGXpsgDXnzy0pT7WLS2g1g==
27
39
  body:
28
40
  encoding: UTF-8
29
41
  string: ''
30
42
  http_version:
31
- recorded_at: Tue, 24 Jul 2018 20:37:02 GMT
43
+ recorded_at: Tue, 10 Nov 2020 22:57:25 GMT
32
44
  - request:
33
45
  method: get
34
46
  uri: https://<SCORM_ENGINE_HOST>/ScormEngineInterface/api/v1/ScormEngineGemTesting-default/courses/testing-golf-explained/configuration
@@ -36,34 +48,42 @@ http_interactions:
36
48
  encoding: US-ASCII
37
49
  string: ''
38
50
  headers:
39
- Content-Type:
40
- - application/json
41
51
  User-Agent:
42
- - ScormEngine Ruby Gem 0.1.0
52
+ - ScormEngine Ruby Gem 0.8.2
43
53
  Authorization:
44
54
  - Basic <BASIC_AUTH>
45
55
  response:
46
56
  status:
47
57
  code: 200
48
- message: ''
58
+ message: OK
49
59
  headers:
50
60
  content-type:
51
61
  - application/json
62
+ transfer-encoding:
63
+ - chunked
64
+ connection:
65
+ - close
52
66
  date:
53
- - Tue, 24 Jul 2018 20:37:02 GMT
67
+ - Tue, 10 Nov 2020 22:57:25 GMT
68
+ p3p:
69
+ - CP="NOI"
54
70
  server:
55
- - nginx
56
- vary:
57
- - Accept-Encoding
58
- content-length:
59
- - '1847'
60
- connection:
61
- - Close
71
+ - Apache
72
+ x-xss-protection:
73
+ - 1; mode=block
74
+ x-cache:
75
+ - Miss from cloudfront
76
+ via:
77
+ - 1.1 f8e91eeca584f530dcca3e3417221c89.cloudfront.net (CloudFront)
78
+ x-amz-cf-pop:
79
+ - SLC50-C1
80
+ x-amz-cf-id:
81
+ - L_N3mqO5_O9MwNFJgmxBCq6dP_Z576ecrtF8yCpqxw3Pv83QR7beGQ==
62
82
  body:
63
- encoding: ASCII-8BIT
64
- string: '{"configurationItems":[{"id":"PlayerLaunchType","value":"FRAMESET"},{"id":"PlayerFinalScoCourseNotSatisfiedTimeoutExitAction","value":"EXIT_COURSE"},{"id":"PlayerCaptureHistoryDetailed","value":"NO"},{"id":"PlayerOfflineSynchMode","value":"Simple"},{"id":"PlayerStatusRollupModeThresholdScore","value":"80"},{"id":"ApiRollupRegistrationDuringSession","value":"true"},{"id":"PlayerSatisfiedCausesCompletion","value":"NO"},{"id":"PlayerCommMaxFailedSubmissions","value":"2"},{"id":"PlayerSuspendDataMaxLength","value":"64000"},{"id":"NoNavbarWhenForcedFrameset","value":"false"},{"id":"PlayerLookaheadSequencerMode","value":"ENABLED"},{"id":"PlayerEnableChoiceNav","value":"NO"},{"id":"PlayerIntermediateScoSatisfiedTimeoutExitAction","value":"DISPLAY_MESSAGE"},{"id":"PlayerUseQuickLookaheadSequencer","value":"YES"},{"id":"SupplementalQueryStringParametersForAllActivities","value":""},{"id":"PlayerShowCloseItem","value":"NO"},{"id":"PlayerShowProgressBar","value":"NO"},{"id":"PlayerDebugLookAheadAudit","value":"false"},{"id":"PlayerDebugLookAheadDetailed","value":"false"},{"id":"PlayerCourseStructureStartsOpen","value":"NO"},{"id":"PlayerCompletionStatOfFailedSuccessStat","value":"Unknown"},{"id":"PlayerIntermediateScoSatisfiedLogoutExitAction","value":"DISPLAY_MESSAGE"},{"id":"PlayerRequiredWidth","value":"0"},{"id":"PlayerIntermediateScoNotSatisfiedNormalExitAction","value":"DISPLAY_MESSAGE"},{"id":"PlayerIsSatisfactionTracked","value":"YES"},{"id":"TinCanInteractionsEnabled","value":"true"},{"id":"PlayerForceObjectiveCompletionSetByContent","value":"NO"},{"id":"EnableClientDebugger","value":"false"},{"id":"PlayerWrapScoWindowWithApi","value":"NO"},{"id":"WhenToRestartRegistration","value":"2"},{"id":"MaxPersistRuntimeDataAttempts","value":"1"},{"id":"LegacyPlayerCustomizationStylesheetUrl","value":""},{"id":"PlayerScoreOverridesStatus","value":"NO"},{"id":"PlayerCourseStructureWidth","value":"0"},{"id":"AssignLatestVersionInsteadOfRestartRegistration","value":"false"},{"id":"ApiRollupRegistrationAuthUser","value":""},{"id":"PrivacyPolicyUrl","value":""},{"id":"PlayerIsAvailableOffline","value":"NO"},{"id":"UsePlayerForTinCanLaunches","value":"false"},{"id":"SuppressNavbarWhenForcedFrameset","value":"false"},{"id":"PlayerFinalScoCourseNotSatisfiedNormalExitAction","value":"EXIT_COURSE"},{"id":"PlayerReturnToLmsAction","value":"Legacy"},{"id":"PlayerFinalScoCourseSatisfiedSuspendExitAction","value":"EXIT_COURSE"},{"id":"PlayerFinalScoCourseSatisfiedTimeoutExitAction","value":"EXIT_COURSE"},{"id":"PlayerPreventWindowResize","value":"NO"},{"id":"PlayerLogoutCausesPlayerExit","value":"YES"},{"id":"PlayerIntermediateScoNotSatisfiedLogoutExitAction","value":"DISPLAY_MESSAGE"},{"id":"PlayerDebugSequencingDetailed","value":"false"},{"id":"PlayerDesiredFullScreen","value":"NO"},{"id":"PlayerPreventRightClick","value":"NO"},{"id":"PromptOnPlayerClose","value":"false"},{"id":"PlayerDebugControlDetailed","value":"false"},{"id":"PlayerDebugSequencingAudit","value":"false"},{"id":"PlayerScaleRawScore","value":"NO"},{"id":"PlayerShowCourseStructure","value":"NO"},{"id":"PlayerCaptureHistory","value":"YES"},{"id":"PlayerIntermediateScoSatisfiedNormalExitAction","value":"DISPLAY_MESSAGE"},{"id":"PlayerStatusRollupModeValue","value":"COMPLETE_WHEN_ALL_UNITS_COMPLETE_AND_NOT_FAILED"},{"id":"AlwaysUseModernPlayer","value":"true"},{"id":"PlayerInvokeRollupAtSuspendAll","value":"NO"},{"id":"UseLegacyMobileFramesetBehavior","value":"false"},{"id":"PlayerIsCompletionTracked","value":"YES"},{"id":"PlayerIntermediateScoNotSatisfiedTimeoutExitAction","value":"DISPLAY_MESSAGE"},{"id":"StorePlayerDebugLogsInFileStoreOnExit","value":"false"},{"id":"PlayerFinalScoCourseNotSatisfiedSuspendExitAction","value":"EXIT_COURSE"},{"id":"DeliveryAttempts","value":"1"},{"id":"RedirectLaunchPageOnExit","value":"false"},{"id":"PlayerIntermediateScoSatisfiedSuspendExitAction","value":"DISPLAY_MESSAGE"},{"id":"PlayerUseMeasureProgressBar","value":"NO"},{"id":"RedirectOnExitUrl","value":"/ScormEngineInterface/defaultui/defaultredirect.jsp?registrationId=${RegistrationId}"},{"id":"PlayerIntermediateScoNotSatisfiedSuspendExitAction","value":"DISPLAY_MESSAGE"},{"id":"PlayerLaunchCompletedRegsAsNoCredit","value":"YES"},{"id":"PlayerValidateInteractionResponses","value":"YES"},{"id":"PlayerStatusDisplayPreference","value":"SEPARATE"},{"id":"PlayerInternetExplorerCompatibilityMode","value":"NONE"},{"id":"PlayerDebugRteDetailed","value":"false"},{"id":"PlayerIsIncompleteSatisfactionMeaningful","value":"YES"},{"id":"PlayerResetRunTimeData","value":"WHEN_EXIT_IS_NOT_SUSPEND"},{"id":"PlayerScoLaunchType","value":"NEW_WINDOW"},{"id":"PlayerDesiredWidth","value":"960"},{"id":"PlayerDebugRteAudit","value":"false"},{"id":"ConcurrentLaunchDetectionEnabled","value":"true"},{"id":"PlayerCommCommitFrequency","value":"10000"},{"id":"UseModernPlayer","value":"true"},{"id":"ModernPlayerCustomizationStylesheetUrl","value":""},{"id":"PlayerEnableFlowNav","value":"NO"},{"id":"PlayerFinalScoCourseSatisfiedLogoutExitAction","value":"EXIT_COURSE"},{"id":"PlayerDebugIncludeTimestamps","value":"true"},{"id":"PlayerIsIncompleteScoreMeaningful","value":"YES"},{"id":"ModernPlayerCustomizationScriptUrl","value":""},{"id":"PlayerShowFinishButton","value":"NO"},{"id":"PlayerRollupEmptySetToUnknown","value":"NO"},{"id":"PlayerMakeStudentPrefsGlobalToCourse","value":"NO"},{"id":"PlayerFinishCausesImmediateCommit","value":"YES"},{"id":"PlayerRequiredFullScreen","value":"NO"},{"id":"PlayerAlwaysFlowToFirstSco","value":"YES"},{"id":"ModernPlayerCustomizationLogo","value":""},{"id":"PlayerInvalidMenuItemAction","value":"DISABLE"},{"id":"PlayerRollupRuntimeAtScoUnload","value":"NO"},{"id":"PlayerDebugControlAudit","value":"false"},{"id":"RemoteDeliverPageUrl","value":""},{"id":"DefaultModernPlayerTheme","value":"default"},{"id":"PlayerFirstScoIsPretest","value":"NO"},{"id":"PlayerIsScoreTracked","value":"YES"},{"id":"PlayerTimeLimit","value":"0"},{"id":"PlayerApplyRollupStatusToSuccess","value":"NO"},{"id":"Cmi5EntitlementKeyAlternate","value":""},{"id":"ApiRollupRegistrationSynchronous","value":"true"},{"id":"PlayerShowNavBar","value":"NO"},{"id":"ApiRollupRegistrationAuthType","value":"httpbasic"},{"id":"PlayerDebugSequencingSimple","value":"false"},{"id":"PlayerRequiredHeight","value":"0"},{"id":"PlayerScoreRollupModeNumberOfScoringObjects","value":"-2147483648"},{"id":"PlayerDesiredHeight","value":"600"},{"id":"ApiRollupRegistrationAuthPassword","value":""},{"id":"PlayerShowHelp","value":"NO"},{"id":"PlayerFinalScoCourseNotSatisfiedLogoutExitAction","value":"EXIT_COURSE"},{"id":"LegacyPlayerCustomizationScriptUrl","value":""},{"id":"ApiRollupRegistrationFormat","value":"activity"},{"id":"ApiRollupRegistrationPostBackUrl","value":""},{"id":"PlayerFinalScoCourseSatisfiedNormalExitAction","value":"EXIT_COURSE"},{"id":"PlayerAllowCompleteStatusChange","value":"NO"},{"id":"RedirectOnRefreshUrl","value":""},{"id":"PreferSendBeacon","value":"false"},{"id":"ConcurrentLaunchDetectionHistoryRows","value":"5"},{"id":"PlayerScoreRollupModeValue","value":"AVERAGE_SCORE_OF_ALL_UNITS_WITH_SCORES"},{"id":"PlayerShowTitleBar","value":"NO"},{"id":"PlayerForceDisableRootChoice","value":"NO"}]}'
83
+ encoding: UTF-8
84
+ string: '{"configurationItems":[{"id":"PlayerLaunchType","value":"FRAMESET"},{"id":"PlayerFinalScoCourseNotSatisfiedTimeoutExitAction","value":"EXIT_COURSE"},{"id":"WebContentForceNewWindow","value":"false"},{"id":"PlayerCaptureHistoryDetailed","value":"NO"},{"id":"PlayerOfflineSynchMode","value":"Simple"},{"id":"ContentVaultPathModifyingPrefix","value":"/vault"},{"id":"PlayerStatusRollupModeThresholdScore","value":"80"},{"id":"xAPIRewriteStatementModifier","value":""},{"id":"ApiRollupRegistrationDuringSession","value":"true"},{"id":"Lti11Roles","value":"Learner"},{"id":"PlayerSatisfiedCausesCompletion","value":"NO"},{"id":"PlayerCommMaxFailedSubmissions","value":"2"},{"id":"PlayerSuspendDataMaxLength","value":"64000"},{"id":"PlayerLookaheadSequencerMode","value":"ENABLED"},{"id":"PlayerEnableChoiceNav","value":"NO"},{"id":"PlayerIntermediateScoSatisfiedTimeoutExitAction","value":"DISPLAY_MESSAGE"},{"id":"PlayerUseQuickLookaheadSequencer","value":"YES"},{"id":"SupplementalQueryStringParametersForAllActivities","value":""},{"id":"PlayerShowCloseItem","value":"NO"},{"id":"Lti13Roles","value":"http://purl.imsglobal.org/vocab/lis/v2/institution/person#Student"},{"id":"X_SkipLaunchPage","value":"false"},{"id":"PlayerShowProgressBar","value":"NO"},{"id":"PlayerDebugLookAheadAudit","value":"true"},{"id":"PlayerDebugLookAheadDetailed","value":"true"},{"id":"PlayerCourseStructureStartsOpen","value":"NO"},{"id":"PlayerCompletionStatOfFailedSuccessStat","value":"Unknown"},{"id":"PlayerIntermediateScoSatisfiedLogoutExitAction","value":"DISPLAY_MESSAGE"},{"id":"PlayerRequiredWidth","value":"0"},{"id":"PlayerIntermediateScoNotSatisfiedNormalExitAction","value":"DISPLAY_MESSAGE"},{"id":"PlayerIsSatisfactionTracked","value":"YES"},{"id":"ContentVaultSlidingAuthExpiry","value":"60"},{"id":"TinCanInteractionsEnabled","value":"true"},{"id":"PlayerForceObjectiveCompletionSetByContent","value":"NO"},{"id":"EnableClientDebugger","value":"false"},{"id":"ForceFramesetUserAgentRegex","value":""},{"id":"PlayerWrapScoWindowWithApi","value":"NO"},{"id":"PDFContentStylesheetPath","value":""},{"id":"WhenToRestartRegistration","value":"WHEN_EXISTING_REG_IS_COMPLETE_AND_NEWER_PACKAGE_VERSION_EXISTS"},{"id":"MaxPersistRuntimeDataAttempts","value":"1"},{"id":"LegacyPlayerCustomizationStylesheetUrl","value":""},{"id":"PlayerScoreOverridesStatus","value":"NO"},{"id":"PlayerCourseStructureWidth","value":"0"},{"id":"PDFContentPageDurationThreshold","value":"5"},{"id":"AssignLatestVersionInsteadOfRestartRegistration","value":"false"},{"id":"ApiRollupRegistrationAuthUser","value":"scorm"},{"id":"PrivacyPolicyUrl","value":""},{"id":"PlayerIsAvailableOffline","value":"NO"},{"id":"RecordResultsMaxPayloadSizeInBytes","value":"5242880"},{"id":"UsePlayerForTinCanLaunches","value":"true"},{"id":"SuppressNavbarWhenForcedFrameset","value":"false"},{"id":"PlayerFinalScoCourseNotSatisfiedNormalExitAction","value":"EXIT_COURSE"},{"id":"PlayerReturnToLmsAction","value":"Legacy"},{"id":"PlayerFinalScoCourseSatisfiedSuspendExitAction","value":"EXIT_COURSE"},{"id":"PlayerFinalScoCourseSatisfiedTimeoutExitAction","value":"EXIT_COURSE"},{"id":"UseDeltaRecordResultsPayload","value":"false"},{"id":"PlayerPreventWindowResize","value":"NO"},{"id":"PlayerLogoutCausesPlayerExit","value":"YES"},{"id":"PlayerIntermediateScoNotSatisfiedLogoutExitAction","value":"DISPLAY_MESSAGE"},{"id":"PlayerDebugSequencingDetailed","value":"true"},{"id":"PlayerDesiredFullScreen","value":"NO"},{"id":"MediaContentStylesheetPath","value":""},{"id":"AudioVideoContentStylesheetPath","value":""},{"id":"PlayerPreventRightClick","value":"NO"},{"id":"PromptOnPlayerClose","value":"false"},{"id":"PlayerScaleRawScore","value":"NO"},{"id":"PlayerDebugControlDetailed","value":"true"},{"id":"PlayerDebugSequencingAudit","value":"true"},{"id":"PlayerShowCourseStructure","value":"NO"},{"id":"PlayerCaptureHistory","value":"YES"},{"id":"PlayerIntermediateScoSatisfiedNormalExitAction","value":"DISPLAY_MESSAGE"},{"id":"PlayerStatusRollupModeValue","value":"COMPLETE_WHEN_ALL_UNITS_COMPLETE_AND_NOT_FAILED"},{"id":"MediaContentPathReplacementRegex","value":""},{"id":"PlayerInvokeRollupAtSuspendAll","value":"true"},{"id":"MediaContentCompletionThreshold","value":"95"},{"id":"UseLegacyMobileFramesetBehavior","value":"False"},{"id":"PlayerIsCompletionTracked","value":"YES"},{"id":"PlayerIntermediateScoNotSatisfiedTimeoutExitAction","value":"DISPLAY_MESSAGE"},{"id":"ForceFramesetByRegex","value":"true"},{"id":"StorePlayerDebugLogsInFileStoreOnExit","value":"false"},{"id":"PlayerFinalScoCourseNotSatisfiedSuspendExitAction","value":"EXIT_COURSE"},{"id":"RedirectLaunchPageOnExit","value":"false"},{"id":"PlayerIntermediateScoSatisfiedSuspendExitAction","value":"DISPLAY_MESSAGE"},{"id":"ContentLangToUrl","value":"[]"},{"id":"PlayerUseMeasureProgressBar","value":"NO"},{"id":"RedirectOnExitUrl","value":"noop"},{"id":"PlayerIntermediateScoNotSatisfiedSuspendExitAction","value":"DISPLAY_MESSAGE"},{"id":"PlayerLaunchCompletedRegsAsNoCredit","value":"YES"},{"id":"PlayerValidateInteractionResponses","value":"YES"},{"id":"PlayerStatusDisplayPreference","value":"SEPARATE"},{"id":"PlayerInternetExplorerCompatibilityMode","value":"NONE"},{"id":"ContentVaultIpAddressValidationEnabled","value":"false"},{"id":"PlayerDebugRteDetailed","value":"true"},{"id":"PlayerIsIncompleteSatisfactionMeaningful","value":"YES"},{"id":"PlayerResetRunTimeData","value":"WHEN_EXIT_IS_NOT_SUSPEND"},{"id":"PlayerScoLaunchType","value":"NEW_WINDOW"},{"id":"PlayerDesiredWidth","value":"960"},{"id":"PlayerDebugRteAudit","value":"true"},{"id":"DispatchPollingFrequency","value":"1500"},{"id":"ConcurrentLaunchDetectionEnabled","value":"true"},{"id":"PlayerCommCommitFrequency","value":"20000"},{"id":"UseModernPlayer","value":"true"},{"id":"ModernPlayerCustomizationStylesheetUrl","value":""},{"id":"ContentVaultAuthFingerprintValidationEnabled","value":"true"},{"id":"PlayerEnableFlowNav","value":"NO"},{"id":"PlayerFinalScoCourseSatisfiedLogoutExitAction","value":"EXIT_COURSE"},{"id":"PlayerDebugIncludeTimestamps","value":"true"},{"id":"PlayerIsIncompleteScoreMeaningful","value":"YES"},{"id":"ModernPlayerCustomizationScriptUrl","value":"https://d2wzd4gs88w14e.cloudfront.net/learn/assets/my-learning/scorm-player-customization-script.min.js"},{"id":"PlayerShowFinishButton","value":"NO"},{"id":"PlayerRollupEmptySetToUnknown","value":"NO"},{"id":"PlayerMakeStudentPrefsGlobalToCourse","value":"NO"},{"id":"ForceExitConcurrentLaunches","value":"false"},{"id":"PlayerFinishCausesImmediateCommit","value":"YES"},{"id":"IntermediatePageLoadAtStart","value":"true"},{"id":"PlayerRequiredFullScreen","value":"NO"},{"id":"PlayerAlwaysFlowToFirstSco","value":"YES"},{"id":"ApiCourseDeleteAttemptDeleteFiles","value":"false"},{"id":"ModernPlayerCustomizationLogo","value":""},{"id":"PlayerInvalidMenuItemAction","value":"DISABLE"},{"id":"PlayerRollupRuntimeAtScoUnload","value":"true"},{"id":"PlayerDebugControlAudit","value":"true"},{"id":"ContentVaultAuthExpiry","value":"43200"},{"id":"GenerateTinCanLaunchStatements","value":"true"},{"id":"Lti13PrivacySettings","value":"LEARNER_NAME_ONLY"},{"id":"RemoteDeliverPageUrl","value":""},{"id":"ContentVaultSlidingAuthExpiryEnabled","value":"false"},{"id":"DefaultModernPlayerTheme","value":"default"},{"id":"PlayerFirstScoIsPretest","value":"NO"},{"id":"PlayerIsScoreTracked","value":"YES"},{"id":"DispatchHideGetRegistrationErrorDuringTeardown","value":"false"},{"id":"PlayerTimeLimit","value":"0"},{"id":"PlayerApplyRollupStatusToSuccess","value":"NO"},{"id":"Cmi5EntitlementKeyAlternate","value":""},{"id":"ApiRollupRegistrationSynchronous","value":"true"},{"id":"Lti11PrivacySettings","value":"LEARNER_NAME_ONLY"},{"id":"PlayerShowNavBar","value":"NO"},{"id":"ApiRollupRegistrationAuthType","value":"form"},{"id":"PlayerDebugSequencingSimple","value":"false"},{"id":"ContentVaultEnabled","value":"True"},{"id":"PlayerRequiredHeight","value":"0"},{"id":"PlayerScoreRollupModeNumberOfScoringObjects","value":"-2147483648"},{"id":"PlayerDesiredHeight","value":"600"},{"id":"ApiRollupRegistrationAuthPassword","value":""},{"id":"PlayerShowHelp","value":"NO"},{"id":"PlayerFinalScoCourseNotSatisfiedLogoutExitAction","value":"EXIT_COURSE"},{"id":"LegacyPlayerCustomizationScriptUrl","value":""},{"id":"CompressRecordResultsPayload","value":"false"},{"id":"ApiRollupRegistrationFormat","value":"FULL"},{"id":"ApiRollupRegistrationPostBackUrl","value":""},{"id":"PlayerFinalScoCourseSatisfiedNormalExitAction","value":"EXIT_COURSE"},{"id":"PlayerAllowCompleteStatusChange","value":"NO"},{"id":"RedirectOnRefreshUrl","value":""},{"id":"PreferSendBeacon","value":"false"},{"id":"ConcurrentLaunchDetectionHistoryRows","value":"5"},{"id":"PlayerScoreRollupModeValue","value":"AVERAGE_SCORE_OF_ALL_UNITS_WITH_SCORES"},{"id":"PlayerShowTitleBar","value":"NO"},{"id":"PlayerForceDisableRootChoice","value":"NO"}]}'
65
85
  http_version:
66
- recorded_at: Tue, 24 Jul 2018 20:37:02 GMT
86
+ recorded_at: Tue, 10 Nov 2020 22:57:25 GMT
67
87
  - request:
68
88
  method: post
69
89
  uri: https://<SCORM_ENGINE_HOST>/ScormEngineInterface/api/v1/ScormEngineGemTesting-default/courses/testing-golf-explained/configuration
@@ -71,28 +91,40 @@ http_interactions:
71
91
  encoding: UTF-8
72
92
  string: '{"settings":[{"settingId":"PlayerCaptureHistoryDetailed","value":"YES"},{"settingId":"PlayerStatusRollupModeThresholdScore","value":"42"}]}'
73
93
  headers:
74
- Content-Type:
75
- - application/json
76
94
  User-Agent:
77
- - ScormEngine Ruby Gem 0.1.0
95
+ - ScormEngine Ruby Gem 0.8.2
78
96
  Authorization:
79
97
  - Basic <BASIC_AUTH>
98
+ Content-Type:
99
+ - application/json
80
100
  response:
81
101
  status:
82
102
  code: 204
83
- message: ''
103
+ message: No Content
84
104
  headers:
105
+ connection:
106
+ - close
85
107
  date:
86
- - Tue, 24 Jul 2018 20:37:03 GMT
108
+ - Tue, 10 Nov 2020 22:57:25 GMT
109
+ p3p:
110
+ - CP="NOI"
87
111
  server:
88
- - nginx
89
- connection:
90
- - Close
112
+ - Apache
113
+ x-xss-protection:
114
+ - 1; mode=block
115
+ x-cache:
116
+ - Miss from cloudfront
117
+ via:
118
+ - 1.1 52271e90b57cafa189a2830b7c04a6f9.cloudfront.net (CloudFront)
119
+ x-amz-cf-pop:
120
+ - SLC50-C1
121
+ x-amz-cf-id:
122
+ - NHRXlFo1ZYzHTLH05RIKcBmJDe3c9ODHmL5VrOBqusKxWOtPDaRMEg==
91
123
  body:
92
124
  encoding: UTF-8
93
125
  string: ''
94
126
  http_version:
95
- recorded_at: Tue, 24 Jul 2018 20:37:03 GMT
127
+ recorded_at: Tue, 10 Nov 2020 22:57:25 GMT
96
128
  - request:
97
129
  method: get
98
130
  uri: https://<SCORM_ENGINE_HOST>/ScormEngineInterface/api/v1/ScormEngineGemTesting-default/courses/testing-golf-explained/configuration
@@ -100,32 +132,40 @@ http_interactions:
100
132
  encoding: US-ASCII
101
133
  string: ''
102
134
  headers:
103
- Content-Type:
104
- - application/json
105
135
  User-Agent:
106
- - ScormEngine Ruby Gem 0.1.0
136
+ - ScormEngine Ruby Gem 0.8.2
107
137
  Authorization:
108
138
  - Basic <BASIC_AUTH>
109
139
  response:
110
140
  status:
111
141
  code: 200
112
- message: ''
142
+ message: OK
113
143
  headers:
114
144
  content-type:
115
145
  - application/json
116
- date:
117
- - Tue, 24 Jul 2018 20:37:03 GMT
118
- server:
119
- - nginx
120
- vary:
121
- - Accept-Encoding
122
146
  content-length:
123
- - '1846'
147
+ - '8893'
124
148
  connection:
125
- - Close
149
+ - close
150
+ date:
151
+ - Tue, 10 Nov 2020 22:57:25 GMT
152
+ p3p:
153
+ - CP="NOI"
154
+ server:
155
+ - Apache
156
+ x-xss-protection:
157
+ - 1; mode=block
158
+ x-cache:
159
+ - Miss from cloudfront
160
+ via:
161
+ - 1.1 27b097f1b9769d8459cc46b29d99a61b.cloudfront.net (CloudFront)
162
+ x-amz-cf-pop:
163
+ - SLC50-C1
164
+ x-amz-cf-id:
165
+ - Syd7wpHhDLwxjcHqRffu5EidDedCu62paTQ3zyaWWqwA4cJpxKdlpw==
126
166
  body:
127
- encoding: ASCII-8BIT
128
- string: '{"configurationItems":[{"id":"PlayerLaunchType","value":"FRAMESET"},{"id":"PlayerFinalScoCourseNotSatisfiedTimeoutExitAction","value":"EXIT_COURSE"},{"id":"PlayerCaptureHistoryDetailed","value":"YES"},{"id":"PlayerOfflineSynchMode","value":"Simple"},{"id":"PlayerStatusRollupModeThresholdScore","value":"42"},{"id":"ApiRollupRegistrationDuringSession","value":"true"},{"id":"PlayerSatisfiedCausesCompletion","value":"NO"},{"id":"PlayerCommMaxFailedSubmissions","value":"2"},{"id":"PlayerSuspendDataMaxLength","value":"64000"},{"id":"NoNavbarWhenForcedFrameset","value":"false"},{"id":"PlayerLookaheadSequencerMode","value":"ENABLED"},{"id":"PlayerEnableChoiceNav","value":"NO"},{"id":"PlayerIntermediateScoSatisfiedTimeoutExitAction","value":"DISPLAY_MESSAGE"},{"id":"PlayerUseQuickLookaheadSequencer","value":"YES"},{"id":"SupplementalQueryStringParametersForAllActivities","value":""},{"id":"PlayerShowCloseItem","value":"NO"},{"id":"PlayerShowProgressBar","value":"NO"},{"id":"PlayerDebugLookAheadAudit","value":"false"},{"id":"PlayerDebugLookAheadDetailed","value":"false"},{"id":"PlayerCourseStructureStartsOpen","value":"NO"},{"id":"PlayerCompletionStatOfFailedSuccessStat","value":"Unknown"},{"id":"PlayerIntermediateScoSatisfiedLogoutExitAction","value":"DISPLAY_MESSAGE"},{"id":"PlayerRequiredWidth","value":"0"},{"id":"PlayerIntermediateScoNotSatisfiedNormalExitAction","value":"DISPLAY_MESSAGE"},{"id":"PlayerIsSatisfactionTracked","value":"YES"},{"id":"TinCanInteractionsEnabled","value":"true"},{"id":"PlayerForceObjectiveCompletionSetByContent","value":"NO"},{"id":"EnableClientDebugger","value":"false"},{"id":"PlayerWrapScoWindowWithApi","value":"NO"},{"id":"WhenToRestartRegistration","value":"2"},{"id":"MaxPersistRuntimeDataAttempts","value":"1"},{"id":"LegacyPlayerCustomizationStylesheetUrl","value":""},{"id":"PlayerScoreOverridesStatus","value":"NO"},{"id":"PlayerCourseStructureWidth","value":"0"},{"id":"AssignLatestVersionInsteadOfRestartRegistration","value":"false"},{"id":"ApiRollupRegistrationAuthUser","value":""},{"id":"PrivacyPolicyUrl","value":""},{"id":"PlayerIsAvailableOffline","value":"NO"},{"id":"UsePlayerForTinCanLaunches","value":"false"},{"id":"SuppressNavbarWhenForcedFrameset","value":"false"},{"id":"PlayerFinalScoCourseNotSatisfiedNormalExitAction","value":"EXIT_COURSE"},{"id":"PlayerReturnToLmsAction","value":"Legacy"},{"id":"PlayerFinalScoCourseSatisfiedSuspendExitAction","value":"EXIT_COURSE"},{"id":"PlayerFinalScoCourseSatisfiedTimeoutExitAction","value":"EXIT_COURSE"},{"id":"PlayerPreventWindowResize","value":"NO"},{"id":"PlayerLogoutCausesPlayerExit","value":"YES"},{"id":"PlayerIntermediateScoNotSatisfiedLogoutExitAction","value":"DISPLAY_MESSAGE"},{"id":"PlayerDebugSequencingDetailed","value":"false"},{"id":"PlayerDesiredFullScreen","value":"NO"},{"id":"PlayerPreventRightClick","value":"NO"},{"id":"PromptOnPlayerClose","value":"false"},{"id":"PlayerDebugControlDetailed","value":"false"},{"id":"PlayerDebugSequencingAudit","value":"false"},{"id":"PlayerScaleRawScore","value":"NO"},{"id":"PlayerShowCourseStructure","value":"NO"},{"id":"PlayerCaptureHistory","value":"YES"},{"id":"PlayerIntermediateScoSatisfiedNormalExitAction","value":"DISPLAY_MESSAGE"},{"id":"PlayerStatusRollupModeValue","value":"COMPLETE_WHEN_ALL_UNITS_COMPLETE_AND_NOT_FAILED"},{"id":"AlwaysUseModernPlayer","value":"true"},{"id":"PlayerInvokeRollupAtSuspendAll","value":"NO"},{"id":"UseLegacyMobileFramesetBehavior","value":"false"},{"id":"PlayerIsCompletionTracked","value":"YES"},{"id":"PlayerIntermediateScoNotSatisfiedTimeoutExitAction","value":"DISPLAY_MESSAGE"},{"id":"StorePlayerDebugLogsInFileStoreOnExit","value":"false"},{"id":"PlayerFinalScoCourseNotSatisfiedSuspendExitAction","value":"EXIT_COURSE"},{"id":"DeliveryAttempts","value":"1"},{"id":"RedirectLaunchPageOnExit","value":"false"},{"id":"PlayerIntermediateScoSatisfiedSuspendExitAction","value":"DISPLAY_MESSAGE"},{"id":"PlayerUseMeasureProgressBar","value":"NO"},{"id":"RedirectOnExitUrl","value":"/ScormEngineInterface/defaultui/defaultredirect.jsp?registrationId=${RegistrationId}"},{"id":"PlayerIntermediateScoNotSatisfiedSuspendExitAction","value":"DISPLAY_MESSAGE"},{"id":"PlayerLaunchCompletedRegsAsNoCredit","value":"YES"},{"id":"PlayerValidateInteractionResponses","value":"YES"},{"id":"PlayerStatusDisplayPreference","value":"SEPARATE"},{"id":"PlayerInternetExplorerCompatibilityMode","value":"NONE"},{"id":"PlayerDebugRteDetailed","value":"false"},{"id":"PlayerIsIncompleteSatisfactionMeaningful","value":"YES"},{"id":"PlayerResetRunTimeData","value":"WHEN_EXIT_IS_NOT_SUSPEND"},{"id":"PlayerScoLaunchType","value":"NEW_WINDOW"},{"id":"PlayerDesiredWidth","value":"960"},{"id":"PlayerDebugRteAudit","value":"false"},{"id":"ConcurrentLaunchDetectionEnabled","value":"true"},{"id":"PlayerCommCommitFrequency","value":"10000"},{"id":"UseModernPlayer","value":"true"},{"id":"ModernPlayerCustomizationStylesheetUrl","value":""},{"id":"PlayerEnableFlowNav","value":"NO"},{"id":"PlayerFinalScoCourseSatisfiedLogoutExitAction","value":"EXIT_COURSE"},{"id":"PlayerDebugIncludeTimestamps","value":"true"},{"id":"PlayerIsIncompleteScoreMeaningful","value":"YES"},{"id":"ModernPlayerCustomizationScriptUrl","value":""},{"id":"PlayerShowFinishButton","value":"NO"},{"id":"PlayerRollupEmptySetToUnknown","value":"NO"},{"id":"PlayerMakeStudentPrefsGlobalToCourse","value":"NO"},{"id":"PlayerFinishCausesImmediateCommit","value":"YES"},{"id":"PlayerRequiredFullScreen","value":"NO"},{"id":"PlayerAlwaysFlowToFirstSco","value":"YES"},{"id":"ModernPlayerCustomizationLogo","value":""},{"id":"PlayerInvalidMenuItemAction","value":"DISABLE"},{"id":"PlayerRollupRuntimeAtScoUnload","value":"NO"},{"id":"PlayerDebugControlAudit","value":"false"},{"id":"RemoteDeliverPageUrl","value":""},{"id":"DefaultModernPlayerTheme","value":"default"},{"id":"PlayerFirstScoIsPretest","value":"NO"},{"id":"PlayerIsScoreTracked","value":"YES"},{"id":"PlayerTimeLimit","value":"0"},{"id":"PlayerApplyRollupStatusToSuccess","value":"NO"},{"id":"Cmi5EntitlementKeyAlternate","value":""},{"id":"ApiRollupRegistrationSynchronous","value":"true"},{"id":"PlayerShowNavBar","value":"NO"},{"id":"ApiRollupRegistrationAuthType","value":"httpbasic"},{"id":"PlayerDebugSequencingSimple","value":"false"},{"id":"PlayerRequiredHeight","value":"0"},{"id":"PlayerScoreRollupModeNumberOfScoringObjects","value":"-2147483648"},{"id":"PlayerDesiredHeight","value":"600"},{"id":"ApiRollupRegistrationAuthPassword","value":""},{"id":"PlayerShowHelp","value":"NO"},{"id":"PlayerFinalScoCourseNotSatisfiedLogoutExitAction","value":"EXIT_COURSE"},{"id":"LegacyPlayerCustomizationScriptUrl","value":""},{"id":"ApiRollupRegistrationFormat","value":"activity"},{"id":"ApiRollupRegistrationPostBackUrl","value":""},{"id":"PlayerFinalScoCourseSatisfiedNormalExitAction","value":"EXIT_COURSE"},{"id":"PlayerAllowCompleteStatusChange","value":"NO"},{"id":"RedirectOnRefreshUrl","value":""},{"id":"PreferSendBeacon","value":"false"},{"id":"ConcurrentLaunchDetectionHistoryRows","value":"5"},{"id":"PlayerScoreRollupModeValue","value":"AVERAGE_SCORE_OF_ALL_UNITS_WITH_SCORES"},{"id":"PlayerShowTitleBar","value":"NO"},{"id":"PlayerForceDisableRootChoice","value":"NO"}]}'
167
+ encoding: UTF-8
168
+ string: '{"configurationItems":[{"id":"PlayerLaunchType","value":"FRAMESET"},{"id":"PlayerFinalScoCourseNotSatisfiedTimeoutExitAction","value":"EXIT_COURSE"},{"id":"WebContentForceNewWindow","value":"false"},{"id":"PlayerCaptureHistoryDetailed","value":"YES"},{"id":"PlayerOfflineSynchMode","value":"Simple"},{"id":"ContentVaultPathModifyingPrefix","value":"/vault"},{"id":"PlayerStatusRollupModeThresholdScore","value":"42"},{"id":"xAPIRewriteStatementModifier","value":""},{"id":"ApiRollupRegistrationDuringSession","value":"true"},{"id":"Lti11Roles","value":"Learner"},{"id":"PlayerSatisfiedCausesCompletion","value":"NO"},{"id":"PlayerCommMaxFailedSubmissions","value":"2"},{"id":"PlayerSuspendDataMaxLength","value":"64000"},{"id":"PlayerLookaheadSequencerMode","value":"ENABLED"},{"id":"PlayerEnableChoiceNav","value":"NO"},{"id":"PlayerIntermediateScoSatisfiedTimeoutExitAction","value":"DISPLAY_MESSAGE"},{"id":"PlayerUseQuickLookaheadSequencer","value":"YES"},{"id":"SupplementalQueryStringParametersForAllActivities","value":""},{"id":"PlayerShowCloseItem","value":"NO"},{"id":"Lti13Roles","value":"http://purl.imsglobal.org/vocab/lis/v2/institution/person#Student"},{"id":"X_SkipLaunchPage","value":"false"},{"id":"PlayerShowProgressBar","value":"NO"},{"id":"PlayerDebugLookAheadAudit","value":"true"},{"id":"PlayerDebugLookAheadDetailed","value":"true"},{"id":"PlayerCourseStructureStartsOpen","value":"NO"},{"id":"PlayerCompletionStatOfFailedSuccessStat","value":"Unknown"},{"id":"PlayerIntermediateScoSatisfiedLogoutExitAction","value":"DISPLAY_MESSAGE"},{"id":"PlayerRequiredWidth","value":"0"},{"id":"PlayerIntermediateScoNotSatisfiedNormalExitAction","value":"DISPLAY_MESSAGE"},{"id":"PlayerIsSatisfactionTracked","value":"YES"},{"id":"ContentVaultSlidingAuthExpiry","value":"60"},{"id":"TinCanInteractionsEnabled","value":"true"},{"id":"PlayerForceObjectiveCompletionSetByContent","value":"NO"},{"id":"EnableClientDebugger","value":"false"},{"id":"ForceFramesetUserAgentRegex","value":""},{"id":"PlayerWrapScoWindowWithApi","value":"NO"},{"id":"PDFContentStylesheetPath","value":""},{"id":"WhenToRestartRegistration","value":"WHEN_EXISTING_REG_IS_COMPLETE_AND_NEWER_PACKAGE_VERSION_EXISTS"},{"id":"MaxPersistRuntimeDataAttempts","value":"1"},{"id":"LegacyPlayerCustomizationStylesheetUrl","value":""},{"id":"PlayerScoreOverridesStatus","value":"NO"},{"id":"PlayerCourseStructureWidth","value":"0"},{"id":"PDFContentPageDurationThreshold","value":"5"},{"id":"AssignLatestVersionInsteadOfRestartRegistration","value":"false"},{"id":"ApiRollupRegistrationAuthUser","value":"scorm"},{"id":"PrivacyPolicyUrl","value":""},{"id":"PlayerIsAvailableOffline","value":"NO"},{"id":"RecordResultsMaxPayloadSizeInBytes","value":"5242880"},{"id":"UsePlayerForTinCanLaunches","value":"true"},{"id":"SuppressNavbarWhenForcedFrameset","value":"false"},{"id":"PlayerFinalScoCourseNotSatisfiedNormalExitAction","value":"EXIT_COURSE"},{"id":"PlayerReturnToLmsAction","value":"Legacy"},{"id":"PlayerFinalScoCourseSatisfiedSuspendExitAction","value":"EXIT_COURSE"},{"id":"PlayerFinalScoCourseSatisfiedTimeoutExitAction","value":"EXIT_COURSE"},{"id":"UseDeltaRecordResultsPayload","value":"false"},{"id":"PlayerPreventWindowResize","value":"NO"},{"id":"PlayerLogoutCausesPlayerExit","value":"YES"},{"id":"PlayerIntermediateScoNotSatisfiedLogoutExitAction","value":"DISPLAY_MESSAGE"},{"id":"PlayerDebugSequencingDetailed","value":"true"},{"id":"PlayerDesiredFullScreen","value":"NO"},{"id":"MediaContentStylesheetPath","value":""},{"id":"AudioVideoContentStylesheetPath","value":""},{"id":"PlayerPreventRightClick","value":"NO"},{"id":"PromptOnPlayerClose","value":"false"},{"id":"PlayerScaleRawScore","value":"NO"},{"id":"PlayerDebugControlDetailed","value":"true"},{"id":"PlayerDebugSequencingAudit","value":"true"},{"id":"PlayerShowCourseStructure","value":"NO"},{"id":"PlayerCaptureHistory","value":"YES"},{"id":"PlayerIntermediateScoSatisfiedNormalExitAction","value":"DISPLAY_MESSAGE"},{"id":"PlayerStatusRollupModeValue","value":"COMPLETE_WHEN_ALL_UNITS_COMPLETE_AND_NOT_FAILED"},{"id":"MediaContentPathReplacementRegex","value":""},{"id":"PlayerInvokeRollupAtSuspendAll","value":"true"},{"id":"MediaContentCompletionThreshold","value":"95"},{"id":"UseLegacyMobileFramesetBehavior","value":"False"},{"id":"PlayerIsCompletionTracked","value":"YES"},{"id":"PlayerIntermediateScoNotSatisfiedTimeoutExitAction","value":"DISPLAY_MESSAGE"},{"id":"ForceFramesetByRegex","value":"true"},{"id":"StorePlayerDebugLogsInFileStoreOnExit","value":"false"},{"id":"PlayerFinalScoCourseNotSatisfiedSuspendExitAction","value":"EXIT_COURSE"},{"id":"RedirectLaunchPageOnExit","value":"false"},{"id":"PlayerIntermediateScoSatisfiedSuspendExitAction","value":"DISPLAY_MESSAGE"},{"id":"ContentLangToUrl","value":"[]"},{"id":"PlayerUseMeasureProgressBar","value":"NO"},{"id":"RedirectOnExitUrl","value":"noop"},{"id":"PlayerIntermediateScoNotSatisfiedSuspendExitAction","value":"DISPLAY_MESSAGE"},{"id":"PlayerLaunchCompletedRegsAsNoCredit","value":"YES"},{"id":"PlayerValidateInteractionResponses","value":"YES"},{"id":"PlayerStatusDisplayPreference","value":"SEPARATE"},{"id":"PlayerInternetExplorerCompatibilityMode","value":"NONE"},{"id":"ContentVaultIpAddressValidationEnabled","value":"false"},{"id":"PlayerDebugRteDetailed","value":"true"},{"id":"PlayerIsIncompleteSatisfactionMeaningful","value":"YES"},{"id":"PlayerResetRunTimeData","value":"WHEN_EXIT_IS_NOT_SUSPEND"},{"id":"PlayerScoLaunchType","value":"NEW_WINDOW"},{"id":"PlayerDesiredWidth","value":"960"},{"id":"PlayerDebugRteAudit","value":"true"},{"id":"DispatchPollingFrequency","value":"1500"},{"id":"ConcurrentLaunchDetectionEnabled","value":"true"},{"id":"PlayerCommCommitFrequency","value":"20000"},{"id":"UseModernPlayer","value":"true"},{"id":"ModernPlayerCustomizationStylesheetUrl","value":""},{"id":"ContentVaultAuthFingerprintValidationEnabled","value":"true"},{"id":"PlayerEnableFlowNav","value":"NO"},{"id":"PlayerFinalScoCourseSatisfiedLogoutExitAction","value":"EXIT_COURSE"},{"id":"PlayerDebugIncludeTimestamps","value":"true"},{"id":"PlayerIsIncompleteScoreMeaningful","value":"YES"},{"id":"ModernPlayerCustomizationScriptUrl","value":"https://d2wzd4gs88w14e.cloudfront.net/learn/assets/my-learning/scorm-player-customization-script.min.js"},{"id":"PlayerShowFinishButton","value":"NO"},{"id":"PlayerRollupEmptySetToUnknown","value":"NO"},{"id":"PlayerMakeStudentPrefsGlobalToCourse","value":"NO"},{"id":"ForceExitConcurrentLaunches","value":"false"},{"id":"PlayerFinishCausesImmediateCommit","value":"YES"},{"id":"IntermediatePageLoadAtStart","value":"true"},{"id":"PlayerRequiredFullScreen","value":"NO"},{"id":"PlayerAlwaysFlowToFirstSco","value":"YES"},{"id":"ApiCourseDeleteAttemptDeleteFiles","value":"false"},{"id":"ModernPlayerCustomizationLogo","value":""},{"id":"PlayerInvalidMenuItemAction","value":"DISABLE"},{"id":"PlayerRollupRuntimeAtScoUnload","value":"true"},{"id":"PlayerDebugControlAudit","value":"true"},{"id":"ContentVaultAuthExpiry","value":"43200"},{"id":"GenerateTinCanLaunchStatements","value":"true"},{"id":"Lti13PrivacySettings","value":"LEARNER_NAME_ONLY"},{"id":"RemoteDeliverPageUrl","value":""},{"id":"ContentVaultSlidingAuthExpiryEnabled","value":"false"},{"id":"DefaultModernPlayerTheme","value":"default"},{"id":"PlayerFirstScoIsPretest","value":"NO"},{"id":"PlayerIsScoreTracked","value":"YES"},{"id":"DispatchHideGetRegistrationErrorDuringTeardown","value":"false"},{"id":"PlayerTimeLimit","value":"0"},{"id":"PlayerApplyRollupStatusToSuccess","value":"NO"},{"id":"Cmi5EntitlementKeyAlternate","value":""},{"id":"ApiRollupRegistrationSynchronous","value":"true"},{"id":"Lti11PrivacySettings","value":"LEARNER_NAME_ONLY"},{"id":"PlayerShowNavBar","value":"NO"},{"id":"ApiRollupRegistrationAuthType","value":"form"},{"id":"PlayerDebugSequencingSimple","value":"false"},{"id":"ContentVaultEnabled","value":"True"},{"id":"PlayerRequiredHeight","value":"0"},{"id":"PlayerScoreRollupModeNumberOfScoringObjects","value":"-2147483648"},{"id":"PlayerDesiredHeight","value":"600"},{"id":"ApiRollupRegistrationAuthPassword","value":""},{"id":"PlayerShowHelp","value":"NO"},{"id":"PlayerFinalScoCourseNotSatisfiedLogoutExitAction","value":"EXIT_COURSE"},{"id":"LegacyPlayerCustomizationScriptUrl","value":""},{"id":"CompressRecordResultsPayload","value":"false"},{"id":"ApiRollupRegistrationFormat","value":"FULL"},{"id":"ApiRollupRegistrationPostBackUrl","value":""},{"id":"PlayerFinalScoCourseSatisfiedNormalExitAction","value":"EXIT_COURSE"},{"id":"PlayerAllowCompleteStatusChange","value":"NO"},{"id":"RedirectOnRefreshUrl","value":""},{"id":"PreferSendBeacon","value":"false"},{"id":"ConcurrentLaunchDetectionHistoryRows","value":"5"},{"id":"PlayerScoreRollupModeValue","value":"AVERAGE_SCORE_OF_ALL_UNITS_WITH_SCORES"},{"id":"PlayerShowTitleBar","value":"NO"},{"id":"PlayerForceDisableRootChoice","value":"NO"}]}'
129
169
  http_version:
130
- recorded_at: Tue, 24 Jul 2018 20:37:03 GMT
170
+ recorded_at: Tue, 10 Nov 2020 22:57:25 GMT
131
171
  recorded_with: VCR 4.0.0