Issue Details (XML | Word | Printable)

Key: MDL-16805
Type: Sub-task Sub-task
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Tusefomal
Reporter: Ludo ( Marc Alier)
Votes: 0
Watchers: 1
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle
MDL-12886

Create REST test application for this API

Created: 06/Oct/08 11:04 PM   Updated: 11/Nov/09 10:41 AM
Return to search
Component/s: Administration
Affects Version/s: 1.9.2, 2.0
Fix Version/s: None

Issue Links:
Cloners
 

Participants: Jerome Mouneyrac, Ludo ( Marc Alier), Martin Dougiamas and Tusefomal
Security Level: None
Resolved date: 11/Nov/09
Affected Branches: MOODLE_19_STABLE, MOODLE_20_STABLE


 Description  « Hide
The idea is that this set of functionalities need to be accompanied of a test run application. This simpletest application will be usefull for testing purposes and as sample documentation for developers that whish to use them.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
David Castro made changes - 08/Oct/08 10:33 PM
Field Original Value New Value
Status Open [ 1 ] In Progress [ 3 ]
Tusefomal added a comment - 22/Oct/08 08:07 PM
There's a test client in the CVS:

http://cvs.moodle.org/contrib/patches/dfws/client/clientrest/

It work just copying directory into public apache dir, edit the "config_rest.php" and set $CFG->serveurl to you moodle webservice rest connector url.

For example, if you moodle url is:

http://localhost/moodle

the $CFG->serverurl must be:

$CFG->serverurl = 'http://localhost/moodle/webservice/inout/rest/inout.php';

That's all!

For daredevils only!

We will keep this example updated to test every API functionality.


Tusefomal made changes - 24/Oct/08 01:44 AM
Assignee David Castro [ dcastro ] Tusefomal [ tusefomal ]
Tusefomal added a comment - 24/Oct/08 01:47 AM
Testing REST application is implemented, we will improve functionalities when REST webservice connector implements more wrappers

Tusefomal made changes - 24/Oct/08 01:47 AM
Status In Progress [ 3 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Ludo ( Marc Alier) made changes - 06/Nov/08 07:29 PM
Resolution Fixed [ 1 ]
Status Resolved [ 5 ] Reopened [ 4 ]
Martin Dougiamas added a comment - 03/Feb/09 04:22 PM
The REST test application is now here: http://cvs.moodle.org/moodle/webservice/rest/testclient/

Martin Dougiamas made changes - 03/Feb/09 04:24 PM
Summary Create a testing application for this API Create REST test application for this API
Martin Dougiamas made changes - 03/Feb/09 04:26 PM
Link This issue has a clone MDL-16806 [ MDL-16806 ]
Jerome Mouneyrac added a comment - 11/Nov/09 10:41 AM
Petr, did it. It's in CVS.

Jerome Mouneyrac made changes - 11/Nov/09 10:41 AM
Status Reopened [ 4 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]