oat-sa/extension-tao-outcome

extension to manage resultservers

Installs: 92 520

Dependents: 15

Suggesters: 0

Security: 0

Stars: 5

Watchers: 48

Forks: 3

Type:tao-extension

v13.8.3 2024-11-08 11:54 UTC

This package is auto-updated.

Last update: 2024-11-28 11:36:39 UTC


README

TAO Logo

GitHub GitHub release GitHub commit activity codecov

Result Core Extension. Provides a results server management, exposes interfaces for results data submission

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-outcome is very likely already installed. You can verify this under Settings -> Extension manager, where it would appear on the left hand side as taoResultServer. 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-outcome

Install the extension on the CLI from the project root:

Linux:

sudo php tao/scripts/installExtension oat-sa/extension-tao-outcome

Windows:

php tao\scripts\installExtension oat-sa/extension-tao-outcome

As a system administrator you can also install it through the TAO Extension Manager:

  • Settings (the gears on the right hand side of the menu) -> Extension manager
  • Select taoResultServer on the right hand side, check the box and hit install

REST API

QTI Result REST API

Configuration options

qtiResultsService.conf.php

Description: Returns the storage engine of the result server.

Possible values:

  • Objects of a class that implements the QtiResultsService interface.

ResultAliasService.conf.php

Description: Default implementation of service treats delivery execution id as result id and vice versa.

Possible values:

  • Objects of a class that implements the ResultAliasService interface.

resultservice.conf.php

Configuration option result_storage

Description: Gets tao results storage.

Possible values:

  • Objects of a class that implements the ResultServerService interface.

Command to switch to file storage

php index.php '\oat\taoResultServer\scripts\install\InstallFileStorage'

Extension Wiki

You can find the extension wiki here.