tao-test/app/taoOutcomeUi/README.md

3.2 KiB

TAO taoOutcomeUi extension

TAO Logo

GitHub GitHub release GitHub commit activity

Extension implements resultServer interface to store results using ontology/statements table

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

Install the extension on the CLI from the project root:

Linux:

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

Windows:

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

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 taoOutcomeUi on the right hand side, check the box and hit install

Configuration options

resultService.conf.php

Configuration option class

Description : contains the class name of a delivery results service.

Possible values of the class key:

  • an instance of any class that implements the ServiceLocatorAwareInterface interface.

Configuration option resultColumnsChunkSize

Description : contains a chunk size value.

Possible values of the resultColumnsChunkSize key:

  • a preset integer value of 20

resultViewer.conf.php

Configuration option deleteDeliveryExecutionDataServices

Description: an instance of any class that implements the ServiceLocatorAwareInterface interface.

Possible values:

  • a ResultsViewerService model.

Registering default (phpfile) result page cache

 $ sudo -u www-data php index.php '\oat\taoOutcomeUi\scripts\tools\RegisterDefaultResultCache'

Delete result cache for a delivery execution aka. result

 $ sudo -u www-data php index.php 'oat\taoOutcomeUi\scripts\tools\DeleteResultCache' -u {deliveryExecutionUri}

Extension Wiki

You can find the extension wiki here.