Changed subsequent enrolment status sequence.
[kic.git] / subsequent_enrolment_status_seq.pic
blob2e5c4cfbca20b40f082264d89d58c9109922895e
1 .PS
2 copy "sequence.pic";
4 movewid = 1;
5 maxpsht = 15;
6 maxpswid = 15;
7 spacing = 0.2;
9 # Define objects
11 object(Moodle,"Moodle:LMS");
12 object(ECS,":ECS");
13 object(Mahara,"Mahara:PLE");
14 actor(A,"");
15 step();step();
17 # Message sequences
19 begin_frame(Moodle,F,"consume courselink");
20 step();
21 step();
22 step();
23 end_frame(A,F);
24 step();
25 begin_frame(Moodle,F,"create enrolm. stat.");
26 step();
28 message(Moodle,ECS,"POST:cc/enrolment_status");
29 comment(ECS,C1,down 0.5 left 0.3, wid 1.8 ht .5 "we always POST here" "because we DELETE" "there (nonpersistent)");
30 active(Moodle); active(ECS); step(); inactive(ECS); inactive(Moodle);
32 message(Mahara,ECS,"*POST:sys/events/fifo"); active(Mahara); active(ECS); step(); inactive(Mahara); inactive(ECS);
34 message(Mahara,ECS,"DELETE:cc/enrolement_status/<id>");
35 connect_to_comment(ECS,C1);
36 active(Mahara); active(ECS); step(); inactive(ECS);
38 message(Mahara,Mahara,"update status"); inactive(Mahara); step();
39 end_frame(A,F);
41 # Complete the lifelines
43 complete(Moodle);
44 complete(ECS);
45 complete(Mahara);
46 complete(A);
47 .PE