summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/hosting/server/data/apps/testdb/app.composite
blob: 32a023f8a7361f727e5f93b26f4c006a61a7a7bd (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
<?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="delete" promote="delete"/>
 <service name="get" promote="get"/>
 <service name="put" promote="put"/>
 <component x="150" y="10" name="delete" title="delete" color="pink1">
  <implementation.python script="nuvem/delete.py"/>
  <service name="delete"/>
  <reference target="filedb2" name="collection"/>
  <reference target="list3" name="id"/>
 </component>
 <component name="filedb" title="file" color="pink1">
  <implementation.python script="nuvem/filedb.py"/>
  <service name="filedb"/>
  <reference name="db" target="Cache" visible="false"/>
  <property name="host" visible="false"/>
 </component>
 <component name="filedb2" title="file" color="pink1">
  <implementation.python script="nuvem/filedb.py"/>
  <service name="filedb"/>
  <reference name="db" target="Cache" visible="false"/>
  <property name="host" visible="false"/>
 </component>
 <component name="filedb3" title="file" color="pink1">
  <implementation.python script="nuvem/filedb.py"/>
  <service name="filedb"/>
  <reference name="db" target="Cache" visible="false"/>
  <property name="host" visible="false"/>
 </component>
 <component x="20" y="120" name="get" title="get" color="pink1">
  <implementation.python script="nuvem/get.py"/>
  <service name="get"/>
  <reference target="filedb3" name="collection"/>
  <reference target="list2" name="id"/>
 </component>
 <component name="list" title="list" color="yellow1">
  <implementation.python script="nuvem/list_.py"/>
  <service name="list"/>
  <reference target="text" name="item" clonable="true"/>
  <reference name="item" clonable="true"/>
 </component>
 <component name="list2" title="list" color="yellow1">
  <implementation.python script="nuvem/list_.py"/>
  <service name="list"/>
  <reference target="text3" 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="text4" name="item" clonable="true"/>
  <reference name="item" clonable="true"/>
 </component>
 <component x="13" y="1" name="put" title="put" color="pink1">
  <implementation.python script="nuvem/put.py"/>
  <service name="put"/>
  <reference target="filedb" name="collection"/>
  <reference target="list" name="id"/>
  <reference target="text2" name="value"/>
 </component>
 <component name="text" title=" '{propval}'" color="orange1">
  <implementation.python script="nuvem/text.py"/>
  <service name="text"/>
  <property>testkey</property>
 </component>
 <component name="text2" title=" '{propval}'" color="orange1">
  <implementation.python script="nuvem/text.py"/>
  <service name="text"/>
  <property>testvalue</property>
 </component>
 <component name="text3" title=" '{propval}'" color="orange1">
  <implementation.python script="nuvem/text.py"/>
  <service name="text"/>
  <property>testkey</property>
 </component>
 <component name="text4" title=" '{propval}'" color="orange1">
  <implementation.python script="nuvem/text.py"/>
  <service name="text"/>
  <property>testkey</property>
 </component>
</composite>