blob: 86a6ce6cd1c5e788860c2a4445d3eabf5210a65a (
plain)
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
-->
<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:t="http://tuscany.apache.org/xmlns/sca/1.1" targetNamespace="http://myprofile2" name="myprofile2">
<service name="opened" promote="opened"/>
<component t:x="0" t:y="13" name="opened" t:title="when page opened" t:color="green1">
<t:implementation.python script="opened.py"/>
<service name="opened" t:visible="false"/>
<reference target="nothing" name="content"/>
</component>
<component t:x="133" t:y="11" name="nothing" t:color="orange1">
<t:implementation.python script="text.py"/>
<service name="nothing"/>
</component>
<service name="getProfiles" promote="getProfiles"/>
<component name="getProfiles" t:x="0" t:y="99" t:title="when clicked" t:color="green1">
<t:implementation.python script="clicked.py"/>
<service name="clicked" t:visible="false"/>
<property>getProfiles</property>
<reference target="list5" name="content"/>
</component>
<component t:x="98" t:y="100" name="list5" t:title="make list" t:color="yellow1">
<t:implementation.python script="list_.py"/>
<service name="list"/>
<reference target="assoc" name="first"/>
<reference target="list6" name="rest"/>
</component>
<component t:x="223" t:y="140" name="fbprofile2" t:title="facebook profile" t:color="blue1">
<t:implementation.python script="fbprofile.py"/>
<service name="fbprofile"/>
<reference target="find3" name="id"/>
</component>
<component t:x="176" t:y="144" name="list6" t:title="make list" t:color="yellow1">
<t:implementation.python script="list_.py"/>
<service name="list"/>
<reference target="assoc2" name="first"/>
<reference target="empty" name="rest"/>
</component>
<component t:x="176" t:y="99" name="assoc" t:title="assoc" t:color="orange1">
<t:implementation.python script="assoc.py"/>
<service name="assoc"/>
<reference target="name" name="name"/>
<reference target="fbprofile2" name="value"/>
</component>
<component t:x="299" t:y="269" name="twprofile2" t:title="twitter profile" t:color="blue1">
<t:implementation.python script="twprofile.py"/>
<service name="twprofile"/>
<reference target="find4" name="id"/>
</component>
<component t:x="337" t:y="142" name="find3" t:title="find by name" t:color="yellow1">
<t:implementation.python script="find.py"/>
<service name="find"/>
<reference target="name4" name="name"/>
<reference target="params3" name="assoc"/>
</component>
<component t:x="439" t:y="140" name="name4" t:title="name" t:color="orange1">
<t:implementation.python script="name.py"/>
<service name="name"/>
<property>fbid</property>
</component>
<component t:x="399" t:y="344" name="find4" t:title="find by name" t:color="yellow1">
<t:implementation.python script="find.py"/>
<service name="find"/>
<reference target="name5" name="name"/>
<reference target="params4" name="assoc"/>
</component>
<component t:x="495" t:y="345" name="name5" t:title="name" t:color="orange1">
<t:implementation.python script="name.py"/>
<service name="name"/>
<property>twid</property>
</component>
<component t:x="221" t:y="99" name="name" t:title="name" t:color="orange1">
<t:implementation.python script="name.py"/>
<service name="name"/>
<property>fbprofile</property>
</component>
<component t:x="256" t:y="262" name="assoc2" t:title="assoc" t:color="orange1">
<t:implementation.python script="assoc.py"/>
<service name="assoc"/>
<reference target="name3" name="name"/>
<reference target="twprofile2" name="value"/>
</component>
<component t:x="256" t:y="424" name="empty" t:title="empty list" t:color="yellow1">
<t:implementation.python script="empty.py"/>
<service name="empty"/>
</component>
<component t:x="298" t:y="261" name="name3" t:title="name" t:color="orange1">
<t:implementation.python script="name.py"/>
<service name="name"/>
<property>twprofile</property>
</component>
<component t:x="436" t:y="183" name="params3" t:title="?params" t:color="green1">
<t:implementation.python script="params.py"/>
<service name="params"/>
<property>fbid=1234567&twid=joe</property>
</component>
<component t:x="495" t:y="345" name="params4" t:title="?params" t:color="green1">
<t:implementation.python script="params.py"/>
<service name="params"/>
<property>fbid=1234567&twid=joe</property>
</component>
</composite>
|