Last change
on this file since 2029 was
2029,
checked in by mwindhouwer, 12 years ago
|
Initial import of all the *cats, i.e., ISOcat, RELcat and SCHEMAcat.
|
File size:
1.8 KB
|
Line | |
---|
1 | <accessor debug="false"> |
---|
2 | <name>ISOcat.access.data.forum.sync</name> |
---|
3 | <descr>Sync ISOcat and the forums user accounts.</descr> |
---|
4 | <idoc> |
---|
5 | <if> |
---|
6 | <cond> |
---|
7 | <instr> |
---|
8 | <type>sloot.xpath2eval</type> |
---|
9 | <operand>active:ISOcat.access.system.config.forum</operand> |
---|
10 | <operator> |
---|
11 | <xpath>normalize-space(//forum_dir)!=''</xpath> |
---|
12 | </operator> |
---|
13 | <target>this:cond</target> |
---|
14 | </instr> |
---|
15 | </cond> |
---|
16 | <then> |
---|
17 | <instr> |
---|
18 | <type>sloot.debug</type> |
---|
19 | <debug>var:accessor-debug</debug> |
---|
20 | <operand> |
---|
21 | <message>DBG: start forum sync</message> |
---|
22 | </operand> |
---|
23 | </instr> |
---|
24 | <instr> |
---|
25 | <type>sloot.render</type> |
---|
26 | <template>ffcpl:/access/forum-sync-script.acc</template> |
---|
27 | <attributes>active:ISOcat.access.system.config.forum</attributes> |
---|
28 | <target>var:script</target> |
---|
29 | </instr> |
---|
30 | <accessor-debug> |
---|
31 | <instr> |
---|
32 | <type>copy</type> |
---|
33 | <operand>var:script</operand> |
---|
34 | <target>ffcpl:/trace/forum-sync-script.acc</target> |
---|
35 | </instr> |
---|
36 | </accessor-debug> |
---|
37 | <instr> |
---|
38 | <type>sloot.accessor</type> |
---|
39 | <operand>var:script</operand> |
---|
40 | <target>var:void</target> |
---|
41 | </instr> |
---|
42 | <instr> |
---|
43 | <type>sloot.debug</type> |
---|
44 | <debug>var:accessor-debug</debug> |
---|
45 | <operand> |
---|
46 | <message>DBG: stop forum sync</message> |
---|
47 | </operand> |
---|
48 | </instr> |
---|
49 | </then> |
---|
50 | <else> |
---|
51 | <instr> |
---|
52 | <type>sloot.debug</type> |
---|
53 | <debug>var:accessor-debug</debug> |
---|
54 | <operand> |
---|
55 | <message>DBG: skipped forum sync</message> |
---|
56 | </operand> |
---|
57 | </instr> |
---|
58 | </else> |
---|
59 | </if> |
---|
60 | <instr> |
---|
61 | <type>copy</type> |
---|
62 | <operand> |
---|
63 | <null/> |
---|
64 | </operand> |
---|
65 | <target>this:response</target> |
---|
66 | </instr> |
---|
67 | </idoc> |
---|
68 | <exception> |
---|
69 | <debug/> |
---|
70 | <trace>ffcpl:/trace/forum-sync.exception.xml</trace> |
---|
71 | <throw/> |
---|
72 | </exception> |
---|
73 | <response> |
---|
74 | <debug>ffcpl:/trace/forum-sync.response.xml</debug> |
---|
75 | <expire>now</expire> |
---|
76 | </response> |
---|
77 | </accessor> |
---|
78 | |
---|
Note: See
TracBrowser
for help on using the repository browser.