Question managed by a remote engine

Question behaviour ::: qbehaviour_opaque
Maintained by Tim at Lone Pine Koala SanctuaryTim Hunt
This question behaviour uses web services to connect to other question engines like OpenMark or ounit, so that their questions can be used in a Moodle quiz.

Question managed by a remote engine 2.7 For Moodle 2.7+

Moodle 2.7, 2.8, 2.9, 3.0, 3.1
Released: Sunday, May 10, 2015, 10:48 PM
The Opaque question type and behaviour

Opaque (http://docs.moodle.org/en/Development:Opaque) is the Open protocol for
accessing question engines.

The Opaque protocol was originally created by sam marshall of the Open
University (http://www.open.ac.uk/) as part of the OpenMark project
(http://java.net/projects/openmark/). The Moodle implementation of Opaque was
done by Tim Hunt.

As well as OpenMark, this question type can also be used to connect to
ounit (http://code.google.com/p/ounit/) and possibly other question systems we
don't know about.


Opaque has been available since Moodle 1.8, but this version is compatible with
Moodle 2.6+.

This question behaviour also requires the Opaque question type to be installed.

To install using git, type this command in the root of your Moodle install
git clone -b MOODLE_25_STABLE git://github.com/moodleou/moodle-qtype_opaque.git question/type/opaque
echo '/question/type/opaque/' >> .git/info/exclude
git clone -b MOODLE_25_STABLE git://github.com/moodleou/moodle-qbehaviour_opaque.git question/behaviour/opaque
echo '/question/behaviour/opaque/' >> .git/info/exclude

Alternatively, download the zip from
https://github.com/moodleou/moodle-qtype_opaque/zipball/master
unzip it into the question/type folder, and then rename the new
folder to opaque. Then download the zip
https://github.com/moodleou/moodle-qbehaviour_opaque/zipball/master
unzip it into the question/behaviour folder, and then rename the new
folder to opaque.


Once installed you need to go to the question type settings page
(Site administration -> Plugins -> Question types -> Opaque) to
set up the URLs of the question engines you wish to use.


https://github.com/moodleou/moodle-local_testopaqueqe can be used to test that
Opaque is working.


To be able to run the unit tests, you need to add
define('QTYPE_OPAQUE_TEST_ENGINE_QE', 'http://example.com/om-qe/services/Om');
define('QTYPE_OPAQUE_TEST_ENGINE_TN', 'http://example.com/openmark/!question');
define('QTYPE_OPAQUE_TEST_ENGINE_PASSKEY', 'abc123');
define('QTYPE_OPAQUE_TEST_ENGINE_TIMEOUT', '5');
to your config.php file. Of these, only the first is required. The remaining
ones are optional. Specify them if your set-up needs them.

Version information

Version build number
2015051000
Version release name
2.7 For Moodle 2.7+
Maturity
Stable version
MD5 Sum
9b6ba3e77fb03de379c1f06b2ccb3c83
Supported software
Moodle 2.7, Moodle 2.8, Moodle 2.9, Moodle 3.0, Moodle 3.1
  • Latest release for Moodle 2.7
  • Latest release for Moodle 2.8
  • Latest release for Moodle 2.9
  • Latest release for Moodle 3.0
  • Latest release for Moodle 3.1

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS branch
master
VCS tag
v2.7

Default installation instructions for plugins of the type Question behaviour

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (eg "myqbehaviour") in the "question/behaviour" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation