oat-sa / extension-tao-ltideliveryprovider
extension to manage LTI delivery provider for TAO
Installs: 76 800
Dependents: 3
Suggesters: 0
Security: 0
Stars: 3
Watchers: 46
Forks: 3
Type:tao-extension
Requires
- oat-sa/extension-tao-delivery: >=15.8.0
- oat-sa/extension-tao-delivery-rdf: >=14.0.0
- oat-sa/extension-tao-lti: >=15.11.0
- oat-sa/extension-tao-outcome: >=13.3.0
- oat-sa/extension-tao-outcomeui: >=10.0.0
- oat-sa/extension-tao-testqti: >=48.4.1
- oat-sa/generis: >=15.24.2
- oat-sa/oatbox-extension-installer: ~1.1||dev-master
- oat-sa/tao-core: >=50.24.6
- dev-master
- v12.21.4
- v12.21.3
- v12.21.2
- v12.21.1.1
- v12.21.1
- v12.21.0
- v12.20.0
- v12.19.2
- v12.19.1
- v12.19.0
- v12.18.0
- v12.17.1
- v12.17.0
- v12.16.1
- v12.16.0
- v12.15.6
- v12.15.5.1
- v12.15.5
- v12.15.4
- v12.15.3
- v12.15.2
- v12.15.1
- v12.15.0
- v12.14.2
- v12.14.1
- v12.14.0.1
- v12.14.0
- v12.13.0
- v12.12.6.2
- v12.12.6.1
- v12.12.6
- v12.12.5
- v12.12.4
- v12.12.3
- v12.12.2
- v12.12.1
- v12.12.0
- v12.11.0.1
- v12.11.0
- v12.10.0
- v12.9.0
- v12.8.0
- v12.7.0
- v12.6.0
- v12.5.0
- v12.4.0
- v12.3.1
- v12.3.0.1
- v12.3.0
- v12.2.0
- v12.1.0
- v12.0.1
- v12.0.0
- v11.5.0
- v11.4.3
- 11.4.2.1
- v11.4.2
- v11.4.1
- v11.4.0
- v11.3.1.4
- v11.3.1.3
- v11.3.1.2
- v11.3.1.1
- v11.3.1
- v11.3.0
- v11.2.1
- v11.0.1
- v11.0.0
- v10.6.1
- v10.5.0
- v10.4.0
- v10.2.0
- v10.1.8.1
- v10.1.8
- v10.1.7
- v10.1.5
- v10.1.4.1
- v10.1.4
- v10.1.2
- v10.1.1.1
- v10.1.1
- v10.1.0
- v10.0.1
- v10.0.0
- v9.5.1.1
- v9.5.1
- v9.4.1
- v9.4.0
- v9.3.0
- v9.2.0
- v9.0.0
- v8.1.2
- v8.1.1
- v8.0.3
- v8.0.2
- v8.0.1
- v8.0.0
- v7.2.0.1
- v7.2.0
- v7.0.1
- v6.5.4
- v6.5.2
- v6.5.1
- v6.5.0
- v6.4.2
- v6.4.1
- v6.4.0
- v6.3.0
- v6.2.0
- v6.1.0
- v5.5.0
- v5.4.0
- v5.3.0
- v5.1.1
- v5.1.0
- v5.0.1
- v4.0.1
- v4.0.0
- v3.11.5
- v3.11.3
- v3.9.1
- v3.9.0
- v3.7.2
- v3.7.1
- v3.7.0
- v3.5.1
- v3.4.0
- v3.3.2
- v3.3.1
- v3.2.1
- v3.1.1
- v3.1.0
- v3.0.1
- v3.0.0
- v2.8.1
- v2.8.0
- v2.4.2
- v2.4.0
- v2.2.0
- v2.1.0
- 1.7.1
- v1.5.1
- v1.5.0
- v1.3.2
- v1.3.1
- v1.3.0
- v1.2.1
- v1.2
- v1.1
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0
- 1.0-beta
- dev-develop
- dev-feature/AUT-3624/add-new-terminology
- dev-release/backport/12.21.1.1
- dev-release/v12.12.6.2
- dev-backport/LSI-2325/backport-for-invalsi
- dev-release/v12.15.7
- dev-release-12.15.5.1
- dev-backport/INF-251-use-get-identifier-method
- dev-bugfix/INF-251-use-get-identifier-method
- dev-release-12.15.6
- dev-backport/rfe-748
- dev-release-12.15.5
- dev-backport/INF-248-not-send-ags-with-outcome-processing-set-to-none
- dev-bugfix/INF-248-not-send-ags-with-outcome-processing-set-to-none
- dev-release-12.15.4
- dev-bugfix/INF-235-use-SCORE-TOTAL-timestamp
- dev-release-12.15.3
- dev-backport/INF-235-timestamp
- dev-bugfix/INF-235-milliseconds-in-the-timestamp-when-AGS-is-sent-via-the-API-are-being-truncated
- dev-fix/update-autoRelease-action-with-bot-user
- dev-backport/v12.3.0.1
- dev-release-12.14.0.1
- dev-hotfix/AUT-2995/add-brazilian-portuguese-language
- dev-fix/INF-183_grading_progress_status
- dev-release-12.12.6
- dev-hotfix/INV-639/delivery-max-execution-limit-issue
- dev-fix/INV-639/delivery-max-execution-limit-issue
- dev-feature/TR-4956/api_to_send_ags_scores_on_demand
- dev-feature/TR-4778/extend_ags_send_error_log_message_payload_with_delivery_execution_id
- dev-hotfix/release/v12.11.0.1
- dev-feature/TR-3948-add-own-graduated-feature
- dev-feature/AUT-1825/update_nb-no
- dev-feature/TR-1729/automate_e2e_env_setup
- dev-fix/TR-2296/added_japanese_locales
- dev-feature/TR-1953/send-ags-on-start-test
- dev-release/11.4.2.1
- dev-release_v10.1.8.1
- dev-release/v11.3.1.4
- dev-release_v11.3.1.3
- dev-fix/INV-309/update-translations
- dev-fix/INV-301-translation-support-on-launch-queue
- dev-release/11.3.1.2
- dev-release/10.1.4.1
- dev-backport/10.1.4/update-translations
- dev-release/10.1.5
- dev-release/11.3.1
- dev-feature/REF-58_resume_on_item_parameter
- dev-feature/TCA-443/lri_redirect_instead_of_error_page
- dev-fix/TDR-22/remove_tao_proctoring_dependency
- dev-fix/NCC-152/AssignmentsReportKeepsTracksOfAssignment
- dev-fix/NEX-671/fix-release
- dev-fix/TAO-9800-launch-queue-csrf-token-issue
- dev-release-9.5.1.1
- dev-feature/TAO-9579/check-capacity-endpoint
- dev-feature/TAO-9579/lti-endpoint-fe-part
- dev-feature/TAO-9579/lti-endpoint
- dev-feature/NEC-20/add-lithuanian-language
- dev-refactor/result-alias
- dev-feature/TAO-8616/config-options-documented
- dev-release-33/TAO-8153/translation
- dev-release_v7.2.0.1
- dev-fix/NEX-1/change-lti-link-name
- dev-doc/lti-log-message
- dev-feature/explicit-queue-enabler
- dev-hotfix/v3.9.1
- dev-fix/remove-de-constraint
- dev-fix/pause_authorized_execution_during_lti_launch
- dev-fix/tao-4128_test_launch_lti
- dev-doc/readme
- dev-fix/dependencies
- dev-release-1.5.0
- dev-mpdeploy
- dev-dev-act
- dev-quality
This package is auto-updated.
Last update: 2024-11-16 09:07:43 UTC
README
The LTI Delivery extension allows test-takers to take a delivery (delivered test) via LTI
The endpoint for this service to proctor a specific delivery is:
https://YOUR_DOMAIN/ltiDeliveryProvider/DeliveryTool/launch?delivery=YOUR_DELIVERY_URI
or
https://YOUR_DOMAIN/ltiDeliveryProvider/DeliveryTool/{"delivery":"YOUR_URI"}(base64 encoded)
This link can retrieved using the LTI button in the deliveries section in the TAO admin user interface.
Alternatively a configurable link can be used by omitting the delivery parameter
https://YOUR_DOMAIN/ltiDeliveryProvider/DeliveryTool/launch
In this scenario the instructor would need to call the LTI service first, and will be presented with a list of deliveries. Once he has chosen one of these deliveries it can no longer be changed. Test-takers subsequently clicking on the same link (as identified by Resource ID) will start the delivery chosen by the instructor.
The expected roles are:
Learner
for people taking a testInstructor
for people configuring a link
Custom parameters:
max_attempts
Overrides the number of executions allowed on the delivery. Expects a positive integer value or 0 for unlimited attempts. Attempts on LTI calls are calculated perresource_link_id
instead of per delivery.
Return Values:
log message
will contain the status of the delivery execution- 100 for an active delivery
- 101 for a paused delivery
- 200 for a finished delivery
- 201 for a terminated delivery
Installation instructions
These instructions assume that you have already a TAO installation on your system. If you don't, go to package/tao and follow the installation instructions.
If you installed your TAO instance through package/tao,
oat-sa/extension-tao-ltideliveryprovider
is very likely already installed. You can verify this under Settings -> Extension
manager, where it would appear on the left hand side as ltiDeliveryProvider
. Alternatively you would find it in
the code at /config/generis/installation.conf.php
.
Note, that you have to be logged in as System Administrator to do this.
Add the extension to your TAO composer and to the autoloader:
composer require oat-sa/extension-tao-ltideliveryprovider
Install the extension on the CLI from the project root:
Linux:
sudo php tao/scripts/installExtension oat-sa/extension-tao-ltideliveryprovider
Windows:
php tao\scripts\installExtension oat-sa/extension-tao-ltideliveryprovider
As a system administrator you also install it through the TAO Extension Manager:
- Settings (the gears on the right hand side of the menu) -> Extension manager
- Select ltiDeliveryProvider on the right hand side, check the box and hit install
REST API
Configuration options
Feature flags
FEATURE_FLAG_AGS_SCORE_SENDING_RETRY
A bool
-typed environment variable, controlling whether AGS score should be resent if it fails to be sent.
"false"
– the application won't try to resend another request when it fails. Default behavior."true"
– the application will try to resend requests until the number of max retries is reached.
LaunchQueue.conf.php
Configuration option relaunchInterval
Description: specifies time (in seconds) for a test taker to wait before the page is reloaded when waiting in LTI queue
Possible values:
- Any numerical value (> 0)
Configuration option relaunchIntervalDeviation
Description: specifies time (in seconds) to pick a random amount of seconds between 0 and relaunchIntervalDeviation
, then the random result is randomly added to or subtracted from relaunchInterval for each time the queue page is being reloaded.
The goal of this option is to prevent knocking the backend simultaneously by multiple clients.
Possible values:
- Any numerical value between 0 and
relaunchInterval
LtiDeliveryExecution.conf.php
Configuration option queue_persistence
Description: a persistence that LTI delivery execution service should work based on. Should be a persistence name that's registered in generis/persistences.conf.php
Value example:
default
cache
LtiNavigation.conf.php
Configuration option thankyouScreen
Description: whether the 'thank you' screen should be shown once a test is passed through LTI.
It only takes effect if the custom_skip_thankyou
LTI parameter is omitted. Otherwise, it's only depends on the LTI parameter.
Possible values:
true
false
Configuration option delivery_return_status
Description: if enabled, the deliveryExecutionStatus
return parameter will be included in a consumer return URL.
This parameter will always be set to a delivery execution state label.
Possible values:
true
: include the parameter in consumer return URLsfalse
: omit the parameter
Configuration option message
Description: a factory for producing LTI messages
Possible values:
- an instance of any class that has the
getLtiMessage
method
Value example:
new oat\ltiDeliveryProvider\model\navigation\DefaultMessageFactory()
LtiResultIdStorage.conf.php
Configuration option persistence
Description: a persistence that LTI result aliases should be stored in. Should be a persistence name that's registered in generis/persistences.conf.php
Value example:
default
cache
Extension Wiki
You can find the extension wiki here.