11 object(Moodle,"Moodle:LMS");
13 object(Mahara,"Mahara:PLE");
19 begin_frame(Moodle,F,"create courselink");
20 message(Moodle,ECS,"POST:cc/courselinks"); active(Moodle); active(ECS); step(); inactive(Moodle); inactive(ECS);
21 message(Mahara,ECS,"*POST:sys/events/fifo"); active(Mahara); active(ECS); step(); inactive(Mahara); inactive(ECS);
22 message(Mahara,ECS,"GET:cc/courselinks/<id>"); active(Mahara); active(ECS); step(); inactive(ECS);
23 message(Mahara,Mahara,"create courselinks"); inactive(Mahara); step();
26 begin_frame(Moodle,F,"consume courselink");
27 message(A,Mahara,"click courselink"); active(Mahara);step(); inactive(Mahara);
28 message(A,Moodle,"redirect(params)"); active(Moodle);step();
29 message(Moodle,ECS,"auth:=DELETE:sys/auths/<hash>");active(ECS)step();inactive(ECS);
30 message(Moodle,Moodle,"check auth token"); step();
31 message(Moodle,Moodle,"check security hash");
32 message(A,Moodle,"confirm enrolment to course"); step();
33 message(Moodle,Moodle,"enrole user to course"); step();
36 begin_frame(Moodle,F,"create enrolm. stat.");
38 message(Moodle,ECS,"POST:cc/enrolment_status"); active(ECS); step(); inactive(ECS); inactive(Moodle);
39 message(Mahara,ECS,"*POST:sys/events/fifo"); active(Mahara); active(ECS); step(); inactive(Mahara); inactive(ECS);
40 message(Mahara,ECS,"DELETE:cc/enrolement_status/<id>"); active(Mahara); active(ECS); step(); inactive(ECS);
41 message(Mahara,Mahara,"update status"); inactive(Mahara); step();
44 # Complete the lifelines