diff options
Diffstat (limited to 'sca-cpp/trunk/modules/edit/apps/myprofile2/app.composite')
-rw-r--r-- | sca-cpp/trunk/modules/edit/apps/myprofile2/app.composite | 118 |
1 files changed, 118 insertions, 0 deletions
diff --git a/sca-cpp/trunk/modules/edit/apps/myprofile2/app.composite b/sca-cpp/trunk/modules/edit/apps/myprofile2/app.composite new file mode 100644 index 0000000000..ef2383b1d3 --- /dev/null +++ b/sca-cpp/trunk/modules/edit/apps/myprofile2/app.composite @@ -0,0 +1,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> |