User:Strife Onizuka/Projects/TestHost/Coordinator: Difference between revisions
No edit summary |
|||
Line 7: | Line 7: | ||
<pre></pre> | <pre></pre> | ||
---- | ---- | ||
=== Chat Interface === | |||
<div id="box" style="padding: 0.5em"> | |||
Priority: 10 | |||
<pre></pre> | |||
</div> | |||
=== Email Interface Handler === | === Email Interface Handler === | ||
<div id="box" style="padding: 0.5em"> | <div id="box" style="padding: 0.5em"> | ||
Priority: 9 | |||
<pre></pre> | <pre></pre> | ||
==== Email Slaves ==== | ==== Email Slaves ==== | ||
<div id="box" style="padding: 0.5em"> | |||
<pre></pre> | |||
</div></div> | |||
=== Dialog Interface Handler === | |||
<div id="box" style="padding: 0.5em"> | |||
Priority: 8 | |||
<pre></pre> | |||
---- | |||
==== Dialog Box Slaves ==== | |||
<div id="box" style="padding: 0.5em"> | <div id="box" style="padding: 0.5em"> | ||
<pre></pre> | <pre></pre> | ||
Line 16: | Line 31: | ||
=== HTTP Interface === | === HTTP Interface === | ||
<div id="box" style="padding: 0.5em"> | <div id="box" style="padding: 0.5em"> | ||
Priority: 7 | |||
<pre></pre> | <pre></pre> | ||
</div> | </div> | ||
=== XML-RPC Interface === | === XML-RPC Interface === | ||
<div id="box" style="padding: 0.5em"> | <div id="box" style="padding: 0.5em"> | ||
Priority: 2 | |||
<pre></pre> | <pre></pre> | ||
</div> | </div> | ||
== State Handler == | == State Handler == | ||
This script keeps track of the scripts state and handles messages from the IC ([[#Interface Coordinator |Interface Coordinator ]]). If the command cannot be parsed at that time because the script is in the wrong state, then an error message is returned to the {{HoverText|IC|Interface Coordinator}}. In the event of a test start command being sent, it passes the load command on to the TT ([[#Test Tracker|Test Tracker]]). | This script keeps track of the scripts state and handles messages from the IC ([[#Interface Coordinator |Interface Coordinator ]]). If the command cannot be parsed at that time because the script is in the wrong state, then an error message is returned to the {{HoverText|IC|Interface Coordinator}}. In the event of a test start command being sent, it passes the load command on to the TT ([[#Test Tracker|Test Tracker]]). |
Revision as of 18:31, 5 March 2007
Scripts
It was my thought to combine the different types of slave scripts to reduce the number of scripts.
Interface Coordinator
This script handles the bidirectional communication between the high level and the lower level interfaces. It's job is to interpret the commands sent from the user (from a specific Interface script) and relay them to the appropriate script. Likewise it must also send messages from low level interfaces to the user in an understandable fashion.
Chat Interface
Priority: 10
Email Interface Handler
Priority: 9
Email Slaves
Dialog Interface Handler
Priority: 8
Dialog Box Slaves
HTTP Interface
Priority: 7
XML-RPC Interface
Priority: 2
State Handler
This script keeps track of the scripts state and handles messages from the IC (Interface Coordinator ). If the command cannot be parsed at that time because the script is in the wrong state, then an error message is returned to the IC. In the event of a test start command being sent, it passes the load command on to the TT (Test Tracker).
Test Tracker
The Test Tracker keeps track of test names, groups and test keys. It receives the command to start a test from the State Handler and configures the Test Runner.
list groups; list uuids; list tests; //[integer group_index, string name, integer inv_uuid_index]
Test Runner
The test runner receives its configuration information from the Test Tracker and actualy starts the tests specified. As the test information is returned it stores information in the Test Log Slaves.
Test Log Slaves
A simple database for storing test logs.