diff options
Diffstat (limited to 'sca-cpp/trunk/modules/edit/apps/myprofile/app.composite')
-rw-r--r-- | sca-cpp/trunk/modules/edit/apps/myprofile/app.composite | 64 |
1 files changed, 63 insertions, 1 deletions
diff --git a/sca-cpp/trunk/modules/edit/apps/myprofile/app.composite b/sca-cpp/trunk/modules/edit/apps/myprofile/app.composite index bc24ad1500..414176f316 100644 --- a/sca-cpp/trunk/modules/edit/apps/myprofile/app.composite +++ b/sca-cpp/trunk/modules/edit/apps/myprofile/app.composite @@ -1,2 +1,64 @@ <?xml version="1.0" encoding="UTF-8"?> -<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:t="http://tuscany.apache.org/xmlns/sca/1.1" targetNamespace="http://myprofile" name="myprofile"><component t:x="425" t:y="244" name="fbprofile" t:color="blue1"><documentation>facebook profile</documentation><t:implementation.python script="fbprofile.py"/><service name="fbprofile"/><reference target="first" name="id"/></component><component t:x="425" t:y="287" name="twprofile" t:color="blue1"><documentation>twitter profile</documentation><t:implementation.python script="twprofile.py"/><service name="twprofile"/><reference target="first2" name="id"/></component><component t:x="549" t:y="243" name="first" t:color="yellow1"><documentation>first</documentation><t:implementation.python script="first.py"/><service name="first"/><reference target="rest" name="value"/></component><component t:x="679" t:y="251" name="rest" t:color="yellow1"><documentation>rest</documentation><t:implementation.python script="rest.py"/><service name="rest"/><reference target="path" name="value"/></component><component t:x="726" t:y="253" name="path" t:color="orange1"><documentation>path</documentation><t:implementation.python script="path.py"/><service name="path"/><property name="path" t:visible="false"/></component><component t:x="625" t:y="323" name="path2" t:color="orange1"><documentation>path</documentation><t:implementation.python script="path.py"/><service name="path"/><property name="path" t:visible="false"/></component><component t:x="575" t:y="325" name="rest2" t:color="yellow1"><documentation>rest</documentation><t:implementation.python script="rest.py"/><service name="rest"/><reference target="path2" name="value"/></component><service name="page" promote="page"/><component t:x="25" t:y="25" name="page" t:color="green1"><documentation>page</documentation><t:implementation.python script="page.py"/><service name="page" t:visible="false"/><property>/mypage.html</property><reference target="list" name="value"/></component><component t:x="389" t:y="158" name="first2" t:color="yellow1"><documentation>first</documentation><t:implementation.python script="first.py"/><service name="first"/><reference target="rest2" name="value"/></component><component t:x="436" t:y="123" name="text" t:color="orange1"><t:implementation.python script="text.py"/><service name="text"/><property>This is my combined social profile</property></component><component t:x="128" t:y="25" name="list" t:color="yellow1"><documentation>list</documentation><t:implementation.python script="list_.py"/><service name="list"/><reference target="append" name="rest"/><property>This is my combined social profile</property></component><component t:x="352" t:y="26" name="append" t:color="yellow1"><documentation>append</documentation><t:implementation.python script="list_.py"/><service name="append"/><reference target="fbprofile" name="first"/><reference target="twprofile" name="second"/></component></composite> +<!-- + * 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://me360" name="me360"> + <component t:x="240" t:y="57" name="text" t:title="text" t:color="orange1"> + <t:implementation.python script="text.py"/> + <service name="text"/> + <property>12345678</property> + </component> + <service name="opened" promote="opened"/> + <component t:x="3" t:y="2" name="opened" t:title="when page opened" t:color="green1"> + <t:implementation.python script="opened.py"/> + <service name="opened" t:visible="false"/> + <reference target="assoc2" name="content"/> + </component> + <component t:x="135" t:y="2" name="assoc2" t:title="assoc" t:color="orange1"> + <t:implementation.python script="assoc.py"/> + <service name="assoc"/> + <reference target="name2" name="name"/> + <reference target="append" name="value"/> + </component> + <component t:x="225" t:y="52" name="append" t:title="append" t:color="yellow1"> + <t:implementation.python script="append.py"/> + <service name="append"/> + <reference target="fbprofile" name="first"/> + <reference target="twprofile" name="second"/> + </component> + <component t:x="297" t:y="53" name="fbprofile" t:title="facebook profile" t:color="blue1"> + <t:implementation.python script="fbprofile.py"/> + <service name="fbprofile"/> + <reference target="text" name="id"/> + </component> + <component t:x="293" t:y="105" name="twprofile" t:title="twitter profile" t:color="blue1"> + <t:implementation.python script="twprofile.py"/> + <service name="twprofile"/> + <reference target="text2" name="id"/> + </component> + <component t:x="219" t:y="0" name="name2" t:title="name" t:color="orange1"> + <t:implementation.python script="name.py"/> + <service name="name"/> + <property>profiles</property> + </component> + <component t:x="358" t:y="98" name="text2" t:title="text" t:color="orange1"> + <t:implementation.python script="text.py"/> + <service name="text"/> + <property>joe</property> + </component> +</composite> |