diff options
Diffstat (limited to 'sca-cpp/trunk/modules/edit/apps/testdb')
-rw-r--r-- | sca-cpp/trunk/modules/edit/apps/testdb/app.composite | 100 | ||||
-rw-r--r-- | sca-cpp/trunk/modules/edit/apps/testdb/htdocs/app.html (renamed from sca-cpp/trunk/modules/edit/apps/testdb/app.html) | 0 |
2 files changed, 50 insertions, 50 deletions
diff --git a/sca-cpp/trunk/modules/edit/apps/testdb/app.composite b/sca-cpp/trunk/modules/edit/apps/testdb/app.composite index 1a764eb20e..ddad3cd7a1 100644 --- a/sca-cpp/trunk/modules/edit/apps/testdb/app.composite +++ b/sca-cpp/trunk/modules/edit/apps/testdb/app.composite @@ -17,81 +17,81 @@ * 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://testdb" name="testdb"> - <component t:x="177" t:y="36" name="text" t:title=" '{propval}'" t:color="orange1"> - <t:implementation.python script="nuvem/text.py"/> - <service name="text"/> - <property>testkey</property> - </component> - <component t:x="102" t:y="35" name="list" t:title="list" t:color="yellow1"> - <t:implementation.python script="nuvem/list_.py"/> - <service name="list"/> - <reference target="text" name="item" t:clonable="true"/> - <reference name="item" t:clonable="true"/> - </component> - <component t:x="103" t:y="91" name="text2" t:title=" '{propval}'" t:color="orange1"> - <t:implementation.python script="nuvem/text.py"/> - <service name="text"/> - <property>testvalue</property> +<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:t="http://tuscany.apache.org/xmlns/sca/1.1" name="app" targetNamespace="http://app"> + <service name="delete" promote="delete"/> + <service name="get" promote="get"/> + <service name="put" promote="put"/> + <component t:x="176" t:y="11" name="delete" t:title="delete" t:color="red1"> + <t:implementation.python script="nuvem/delete.py"/> + <service name="delete"/> + <reference target="filedb2" name="collection"/> + <reference target="list3" name="id"/> </component> - <component t:x="105" t:y="8" name="filedb" t:title="file" t:color="red1"> + <component name="filedb" t:title="file" t:color="red1"> <t:implementation.python script="nuvem/filedb.py"/> <service name="filedb"/> <reference name="db" target="AppDataFileCache" t:visible="false"/> <property name="host" t:visible="false"/> </component> - <service name="put" promote="put"/> - <component t:x="72" t:y="38" name="put" t:title="put" t:color="red1"> - <t: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 t:x="311" t:y="186" name="list2" t:title="list" t:color="yellow1"> - <t:implementation.python script="nuvem/list_.py"/> - <service name="list"/> - <reference target="text3" name="item" t:clonable="true"/> - <reference name="item" t:clonable="true"/> - </component> - <service name="get" promote="get"/> - <component t:x="263" t:y="42" name="get" t:title="get" t:color="red1"> - <t:implementation.python script="nuvem/get.py"/> - <service name="get"/> - <reference target="filedb3" name="collection"/> - <reference target="list2" name="id"/> - </component> - <component t:x="311" t:y="155" name="filedb3" t:title="file" t:color="red1"> + <component name="filedb2" t:title="file" t:color="red1"> <t:implementation.python script="nuvem/filedb.py"/> <service name="filedb"/> <reference name="db" target="AppDataFileCache" t:visible="false"/> <property name="host" t:visible="false"/> </component> - <service name="delete" promote="delete"/> - <component t:x="457" t:y="44" name="delete" t:title="delete" t:color="red1"> - <t:implementation.python script="nuvem/delete.py"/> - <service name="delete"/> - <reference target="filedb2" name="collection"/> - <reference target="list3" name="id"/> - </component> - <component t:x="113" t:y="223" name="filedb2" t:title="file" t:color="red1"> + <component name="filedb3" t:title="file" t:color="red1"> <t:implementation.python script="nuvem/filedb.py"/> <service name="filedb"/> <reference name="db" target="AppDataFileCache" t:visible="false"/> <property name="host" t:visible="false"/> </component> - <component t:x="111" t:y="243" name="list3" t:title="list" t:color="yellow1"> + <component t:x="18" t:y="137" name="get" t:title="get" t:color="red1"> + <t:implementation.python script="nuvem/get.py"/> + <service name="get"/> + <reference target="filedb3" name="collection"/> + <reference target="list2" name="id"/> + </component> + <component name="list" t:title="list" t:color="yellow1"> + <t:implementation.python script="nuvem/list_.py"/> + <service name="list"/> + <reference target="text" name="item" t:clonable="true"/> + <reference name="item" t:clonable="true"/> + </component> + <component name="list2" t:title="list" t:color="yellow1"> + <t:implementation.python script="nuvem/list_.py"/> + <service name="list"/> + <reference target="text3" name="item" t:clonable="true"/> + <reference name="item" t:clonable="true"/> + </component> + <component name="list3" t:title="list" t:color="yellow1"> <t:implementation.python script="nuvem/list_.py"/> <service name="list"/> <reference target="text4" name="item" t:clonable="true"/> <reference name="item" t:clonable="true"/> </component> - <component t:x="187" t:y="249" name="text4" t:title=" '{propval}'" t:color="orange1"> + <component t:x="13" t:y="1" name="put" t:title="put" t:color="red1"> + <t: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" t:title=" '{propval}'" t:color="orange1"> + <t:implementation.python script="nuvem/text.py"/> + <service name="text"/> + <property>testkey</property> + </component> + <component name="text2" t:title=" '{propval}'" t:color="orange1"> + <t:implementation.python script="nuvem/text.py"/> + <service name="text"/> + <property>testvalue</property> + </component> + <component name="text3" t:title=" '{propval}'" t:color="orange1"> <t:implementation.python script="nuvem/text.py"/> <service name="text"/> <property>testkey</property> </component> - <component t:x="342" t:y="70" name="text3" t:title=" '{propval}'" t:color="orange1"> + <component name="text4" t:title=" '{propval}'" t:color="orange1"> <t:implementation.python script="nuvem/text.py"/> <service name="text"/> <property>testkey</property> diff --git a/sca-cpp/trunk/modules/edit/apps/testdb/app.html b/sca-cpp/trunk/modules/edit/apps/testdb/htdocs/app.html index 734ec8f687..734ec8f687 100644 --- a/sca-cpp/trunk/modules/edit/apps/testdb/app.html +++ b/sca-cpp/trunk/modules/edit/apps/testdb/htdocs/app.html |