-
Notifications
You must be signed in to change notification settings - Fork 7
/
ex-topo-groupname-crashing-expendable-task.xml.in
66 lines (56 loc) · 2.37 KB
/
ex-topo-groupname-crashing-expendable-task.xml.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<topology name="Example">
<declrequirement name="onlineReq" type="groupname" value="online" />
<declrequirement name="calibReq" type="groupname" value="calib" />
<declrequirement name="odc_expendable_task" type="custom" value="true" />
<property name="fmqchan_data1" />
<property name="fmqchan_data2" />
<decltask name="Sampler">
<exe>odc-ex-sampler --color false --channel-config name=data1,type=push,method=bind --rate 100 -P odc --severity trace</exe>
<env reachable="false">@CMAKE_INSTALL_PREFIX@/@PROJECT_INSTALL_BINDIR@/odc-ex-env.sh</env>
<properties>
<name access="write">fmqchan_data1</name>
</properties>
</decltask>
<decltask name="Processor">
<exe>odc-ex-processor --color false --problem crash --problem-state init --problem-paths main/ProcessorGroup/Processors_[02]/Processor_[01] --channel-config name=data1,type=pull,method=connect name=data2,type=push,method=connect -P odc --severity trace</exe>
<env reachable="false">@CMAKE_INSTALL_PREFIX@/@PROJECT_INSTALL_BINDIR@/odc-ex-env.sh</env>
<requirements>
<name>odc_expendable_task</name>
</requirements>
<properties>
<name access="read">fmqchan_data1</name>
<name access="read">fmqchan_data2</name>
</properties>
</decltask>
<decltask name="Sink">
<exe>odc-ex-sink --color false --channel-config name=data2,type=pull,method=bind -P odc --severity trace</exe>
<env reachable="false">@CMAKE_INSTALL_PREFIX@/@PROJECT_INSTALL_BINDIR@/odc-ex-env.sh</env>
<properties>
<name access="write">fmqchan_data2</name>
</properties>
</decltask>
<declcollection name="SamplersSinks">
<requirements>
<name>calibReq</name>
</requirements>
<tasks>
<name>Sampler</name>
<name>Sink</name>
</tasks>
</declcollection>
<declcollection name="Processors">
<requirements>
<name>onlineReq</name>
</requirements>
<tasks>
<name>Processor</name>
<name>Processor</name>
</tasks>
</declcollection>
<main name="main">
<collection>SamplersSinks</collection>
<group name="ProcessorGroup" n="@ODC_VAR_EXAMPLE_N@">
<collection>Processors</collection>
</group>
</main>
</topology>