blob: 66523f4754e56c21696e2a5e058d8dcbecc6db8e (
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
|
<?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="item" promote="property"/>
<service name="send" promote="send"/>
<component x="280" y="260" name="format2" title="format" color="cyan1">
<implementation.python script="nuvem/format_.py"/>
<service name="format"/>
<reference target="text12" name="pattern"/>
<reference target="list31" name="values"/>
</component>
<component x="100" y="10" name="format4" title="format" color="cyan1">
<implementation.python script="nuvem/format_.py"/>
<service name="format"/>
<reference target="text1" name="pattern"/>
<reference target="list6" name="values"/>
</component>
<component x="180" y="330" name="list11" title="list" color="yellow1">
<implementation.python script="nuvem/single.py"/>
<service name="list1"/>
<reference target="format2" name="value"/>
</component>
<component x="110" y="180" name="list21" title="list" color="yellow1">
<implementation.python script="nuvem/pair.py"/>
<service name="list2"/>
<reference target="text15" name="first"/>
<reference target="list11" name="second"/>
</component>
<component x="410" y="310" name="list31" title="list" color="yellow1">
<implementation.python script="nuvem/triple.py"/>
<service name="list3"/>
<reference target="param4" name="first"/>
<reference target="param5" name="second"/>
<reference target="param6" name="third"/>
</component>
<component name="list6" title="list.." color="yellow1">
<implementation.python script="nuvem/list_.py"/>
<service name="list"/>
<reference target="param1" name="item" clonable="true"/>
<reference target="param3" name="item" clonable="true"/>
<reference target="param2" name="item" clonable="true"/>
<reference target="text10" name="item" clonable="true"/>
<reference name="item" clonable="true"/>
</component>
<component x="480" y="200" name="param1" title="?param" color="green1">
<implementation.python script="nuvem/param.py"/>
<service name="param"/>
<property>sid</property>
<property name="query" visible="false"/>
</component>
<component x="480" y="250" name="param2" title="?param" color="green1">
<implementation.python script="nuvem/param.py"/>
<service name="param"/>
<property>sid</property>
<property name="query" visible="false"/>
</component>
<component x="490" y="220" name="param3" title="?param" color="green1">
<implementation.python script="nuvem/param.py"/>
<service name="param"/>
<property>token</property>
<property name="query" visible="false"/>
</component>
<component x="430" y="310" name="param4" title="?param" color="green1">
<implementation.python script="nuvem/param.py"/>
<service name="param"/>
<property>from</property>
<property name="query" visible="false"/>
</component>
<component x="430" y="330" name="param5" title="?param" color="green1">
<implementation.python script="nuvem/param.py"/>
<service name="param"/>
<property>to</property>
<property name="query" visible="false"/>
</component>
<component x="440" y="370" name="param6" title="?param" color="green1">
<implementation.python script="nuvem/param.py"/>
<service name="param"/>
<property>msg</property>
<property name="query" visible="false"/>
</component>
<component x="80" y="10" name="post1" title="post" color="green1">
<implementation.cpp path="lib/http" library="libhttppost"/>
<service name="post"/>
<reference target="format4" name="url"/>
<reference target="list21" name="content"/>
</component>
<component x="10" y="10" name="send" title="{compname}" color="green1">
<implementation.python script="nuvem/service.py"/>
<service name="service" visible="false"/>
<reference target="post1" name="content"/>
</component>
<component x="430" y="80" name="text1" title=" '{propval}'" color="orange1">
<implementation.python script="nuvem/text.py"/>
<service name="text"/>
<property>https://{0}:{1}@api.twilio.com/2010-04-01/Accounts/{2}/SMS/Messages</property>
</component>
<component x="490" y="270" name="text10" title=" '{propval}'" color="orange1">
<implementation.python script="nuvem/text.py"/>
<service name="text"/>
<property>SMS/Messages</property>
</component>
<component x="410" y="280" name="text12" title=" '{propval}'" color="orange1">
<implementation.python script="nuvem/text.py"/>
<service name="text"/>
<property>From={0}&To={1}&Body={2}</property>
</component>
<component x="180" y="300" name="text15" title=" '{propval}'" color="orange1">
<implementation.python script="nuvem/text.py"/>
<service name="text"/>
<property>application/x-www-form-urlencoded</property>
</component>
</composite>
|