blob: 28ec9654d8535726cf7431c781184f7bf216f6fa (
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
|
<?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" name="app" targetNamespace="http://app">
<service name="sendgtalk" promote="sendgtalk"/>
<service name="start" promote="start"/>
<component name="fbprofile" title="facebook profile" color="blue1">
<implementation.python script="nuvem/fbprofile.py"/>
<service name="fbprofile"/>
<reference target="text" name="id"/>
<reference name="fb" visible="false">
<binding.http uri="https://graph.facebook.com"/>
</reference>
</component>
<component name="format" title="format" color="cyan1">
<implementation.python script="nuvem/format_.py"/>
<service name="format"/>
<reference target="text7" name="pattern"/>
<reference target="list" name="values"/>
</component>
<component name="item" title="{propval}:" color="orange1">
<implementation.python script="nuvem/item.py"/>
<service name="item"/>
<reference target="twprofile" name="value"/>
<property>twitprofile</property>
</component>
<component name="item2" title="{propval}:" color="orange1">
<implementation.python script="nuvem/item.py"/>
<service name="item"/>
<reference target="fbprofile" name="value"/>
<property>name</property>
</component>
<component name="item3" title="{propval}:" color="orange1">
<implementation.python script="nuvem/item.py"/>
<service name="item"/>
<reference target="twtimeline" name="value"/>
<property>twittimeline</property>
</component>
<component name="item4" title="{propval}:" color="orange1">
<implementation.python script="nuvem/item.py"/>
<service name="item"/>
<reference target="twfriends" name="value"/>
<property>twitfriends</property>
</component>
<component name="item5" title="{propval}:" color="orange1">
<implementation.python script="nuvem/item.py"/>
<service name="item"/>
<reference target="twfollowers" name="value"/>
<property>twitfollowers</property>
</component>
<component name="list" title="list" color="yellow1">
<implementation.python script="nuvem/list_.py"/>
<service name="list"/>
<reference target="now" name="item" clonable="true"/>
<reference name="item" clonable="true"/>
</component>
<component name="list3" title="list" color="yellow1">
<implementation.python script="nuvem/list_.py"/>
<service name="list"/>
<reference target="item2" name="item" clonable="true"/>
<reference target="item" name="item" clonable="true"/>
<reference target="item3" name="item" clonable="true"/>
<reference target="item4" name="item" clonable="true"/>
<reference target="item5" name="item" clonable="true"/>
<reference name="item" clonable="true"/>
</component>
<component name="now" title="now" color="orange1">
<implementation.python script="nuvem/now.py"/>
<service name="now"/>
</component>
<component x="20" y="210" name="sendgtalk" title="gtalk" color="blue1">
<implementation.cpp path="lib/chat" library="libchat-sender2"/>
<service name="sendgtalk"/>
<reference target="text8" name="jid"/>
<reference target="text9" name="pass"/>
<reference target="text6" name="to"/>
<reference target="format" name="msg"/>
</component>
<component x="10" y="10" name="start" title="start" color="green1">
<implementation.python script="nuvem/start.py"/>
<service name="start" visible="false">
<binding.http uri="start"/>
</service>
<reference target="list3" name="content"/>
</component>
<component name="text" title=" '{propval}'" color="orange1">
<implementation.python script="nuvem/text.py"/>
<service name="text"/>
<property>100001053301307</property>
</component>
<component name="text2" title=" '{propval}'" color="orange1">
<implementation.python script="nuvem/text.py"/>
<service name="text"/>
<property>jsdelfino</property>
</component>
<component name="text3" title=" '{propval}'" color="orange1">
<implementation.python script="nuvem/text.py"/>
<service name="text"/>
<property>jsdelfino</property>
</component>
<component name="text4" title=" '{propval}'" color="orange1">
<implementation.python script="nuvem/text.py"/>
<service name="text"/>
<property>jsdelfino</property>
</component>
<component name="text5" title=" '{propval}'" color="orange1">
<implementation.python script="nuvem/text.py"/>
<service name="text"/>
<property>jsdelfino</property>
</component>
<component name="text6" title=" '{propval}'" color="orange1">
<implementation.python script="nuvem/text.py"/>
<service name="text"/>
<property>xmppsca.2@gmail.com</property>
</component>
<component name="text7" title=" '{propval}'" color="orange1">
<implementation.python script="nuvem/text.py"/>
<service name="text"/>
<property>Hello, the time is {0}</property>
</component>
<component name="text8" title=" '{propval}'" color="orange1">
<implementation.python script="nuvem/text.py"/>
<service name="text"/>
<property>xmppsca.1@gmail.com</property>
</component>
<component name="text9" title=" '{propval}'" color="orange1">
<implementation.python script="nuvem/text.py"/>
<service name="text"/>
<property>xmpp4sca</property>
</component>
<component name="twfollowers" title="twitter followers" color="blue1">
<implementation.python script="nuvem/twfollowers.py"/>
<service name="twfollowers"/>
<reference target="text5" name="id"/>
<reference name="tw" visible="false">
<binding.http uri="http://api.twitter.com/1/statuses/followers.json"/>
</reference>
</component>
<component name="twfriends" title="twitter friends" color="blue1">
<implementation.python script="nuvem/twfriends.py"/>
<service name="twfriends"/>
<reference target="text4" name="id"/>
<reference name="tw" visible="false">
<binding.http uri="http://api.twitter.com/1/statuses/friends.json"/>
</reference>
</component>
<component name="twprofile" title="twitter profile" color="blue1">
<implementation.python script="nuvem/twprofile.py"/>
<service name="twprofile"/>
<reference target="text3" name="id"/>
<reference name="tw" visible="false">
<binding.http uri="http://api.twitter.com/1/users/show.json"/>
</reference>
</component>
<component name="twtimeline" title="twitter timeline" color="blue1">
<implementation.python script="nuvem/twtimeline.py"/>
<service name="twtimeline"/>
<reference target="text2" name="id"/>
<reference name="tw" visible="false">
<binding.http uri="http://api.twitter.com/1/statuses/user_timeline.json"/>
</reference>
</component>
</composite>
|