diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2012-05-29 00:17:18 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2012-05-29 00:17:18 +0000 |
commit | 136d9fa1c8b17d472741e9dcca68af6a0c99462a (patch) | |
tree | 8f9c5210513f1a5cb649d8c7a2349a2d82980bb2 /sca-cpp/trunk/hosting/server/data/apps/testsms/app.composite | |
parent | a7a8f4f9c9bbbd3bd16605235440dec29f581ad7 (diff) |
Refactor sample app definitions into proper ATOM entries.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1343439 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/hosting/server/data/apps/testsms/app.composite')
-rw-r--r-- | sca-cpp/trunk/hosting/server/data/apps/testsms/app.composite | 165 |
1 files changed, 86 insertions, 79 deletions
diff --git a/sca-cpp/trunk/hosting/server/data/apps/testsms/app.composite b/sca-cpp/trunk/hosting/server/data/apps/testsms/app.composite index d2abbaae28..ad36e93e7f 100644 --- a/sca-cpp/trunk/hosting/server/data/apps/testsms/app.composite +++ b/sca-cpp/trunk/hosting/server/data/apps/testsms/app.composite @@ -17,82 +17,89 @@ * 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="twsms1" promote="twsms1"/> - <component x="180" y="30" name="keychain1" title="keychain" color="green1"> - <implementation.python script="nuvem/keychain.py"/> - <service name="keychain"/> - <reference target="name1" name="name"/> - <reference name="account" target="Accounts" visible="false"/> - </component> - <component x="190" y="70" name="keychain3" title="keychain" color="green1"> - <implementation.python script="nuvem/keychain.py"/> - <service name="keychain"/> - <reference target="name3" name="name"/> - <reference name="account" target="Accounts" visible="false"/> - </component> - <component x="190" y="100" name="keychain4" title="keychain" color="green1"> - <implementation.python script="nuvem/keychain.py"/> - <service name="keychain"/> - <reference target="name5" name="name"/> - <reference name="account" target="Accounts" visible="false"/> - </component> - <component x="180" y="140" name="keychain5" title="keychain" color="green1"> - <implementation.python script="nuvem/keychain.py"/> - <service name="keychain"/> - <reference target="name4" name="name"/> - <reference name="account" target="Accounts" visible="false"/> - </component> - <component name="list2" title="list" color="yellow1"> - <implementation.python script="nuvem/list_.py"/> - <service name="list"/> - <reference target="text14" name="item" clonable="true"/> - <reference name="item" clonable="true"/> - </component> - <component x="630" y="350" name="name1" title="" color="orange1"> - <implementation.python script="nuvem/name.py"/> - <service name="name"/> - <property>twiliosid</property> - </component> - <component x="780" y="320" name="name3" title="" color="orange1"> - <implementation.python script="nuvem/name.py"/> - <service name="name"/> - <property>twiliotoken</property> - </component> - <component x="250" y="140" name="name4" title="" color="orange1"> - <implementation.python script="nuvem/name.py"/> - <service name="name"/> - <property>tophone</property> - </component> - <component x="520" y="270" name="name5" title="" color="orange1"> - <implementation.python script="nuvem/name.py"/> - <service name="name"/> - <property>fromphone</property> - </component> - <component x="180" y="170" name="text1" title=" '{propval}'" color="orange1"> - <implementation.python script="nuvem/text.py"/> - <service name="text"/> - <property>Hello Again!</property> - </component> - <component x="550" y="450" 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="250" y="340" name="text14" title=" '{propval}'" color="orange1"> - <implementation.python script="nuvem/text.py"/> - <service name="text"/> - <property>Hello there</property> - </component> - <component x="20" y="10" name="twsms1" title="sms" color="blue1"> - <implementation.python script="nuvem/twsms.py"/> - <service name="twsms"/> - <reference target="keychain1" name="sid"/> - <reference target="keychain3" name="token"/> - <reference target="keychain4" name="from"/> - <reference target="keychain5" name="to"/> - <reference target="text1" name="msg"/> - <reference name="s" wiredByImpl="true" visible="false"/> - </component> -</composite> +<entry xmlns="http://www.w3.org/2005/Atom"> + <title type="text">testsms</title> + <id>testsms</id> + <content type="application/xml"> + <composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" name="app" targetNamespace="http://app"> + <service name="item" promote="property"/> + <service name="twsms1" promote="twsms1"/> + <component x="180" y="30" name="keychain1" title="keychain" color="green1"> + <implementation.python script="nuvem/keychain.py"/> + <service name="keychain"/> + <reference target="name1" name="name"/> + <reference name="account" target="Accounts" visible="false"/> + </component> + <component x="190" y="70" name="keychain3" title="keychain" color="green1"> + <implementation.python script="nuvem/keychain.py"/> + <service name="keychain"/> + <reference target="name3" name="name"/> + <reference name="account" target="Accounts" visible="false"/> + </component> + <component x="190" y="100" name="keychain4" title="keychain" color="green1"> + <implementation.python script="nuvem/keychain.py"/> + <service name="keychain"/> + <reference target="name5" name="name"/> + <reference name="account" target="Accounts" visible="false"/> + </component> + <component x="180" y="140" name="keychain5" title="keychain" color="green1"> + <implementation.python script="nuvem/keychain.py"/> + <service name="keychain"/> + <reference target="name4" name="name"/> + <reference name="account" target="Accounts" visible="false"/> + </component> + <component name="list2" title="list" color="yellow1"> + <implementation.python script="nuvem/list_.py"/> + <service name="list"/> + <reference target="text14" name="item" clonable="true"/> + <reference name="item" clonable="true"/> + </component> + <component x="630" y="350" name="name1" title="" color="orange1"> + <implementation.python script="nuvem/name.py"/> + <service name="name"/> + <property>twiliosid</property> + </component> + <component x="780" y="320" name="name3" title="" color="orange1"> + <implementation.python script="nuvem/name.py"/> + <service name="name"/> + <property>twiliotoken</property> + </component> + <component x="250" y="140" name="name4" title="" color="orange1"> + <implementation.python script="nuvem/name.py"/> + <service name="name"/> + <property>tophone</property> + </component> + <component x="520" y="270" name="name5" title="" color="orange1"> + <implementation.python script="nuvem/name.py"/> + <service name="name"/> + <property>fromphone</property> + </component> + <component x="180" y="170" name="text1" title=" '{propval}'" color="orange1"> + <implementation.python script="nuvem/text.py"/> + <service name="text"/> + <property>Hello Again!</property> + </component> + <component x="550" y="450" 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="250" y="340" name="text14" title=" '{propval}'" color="orange1"> + <implementation.python script="nuvem/text.py"/> + <service name="text"/> + <property>Hello there</property> + </component> + <component x="20" y="10" name="twsms1" title="sms" color="blue1"> + <implementation.python script="nuvem/twsms.py"/> + <service name="twsms"/> + <reference target="keychain1" name="sid"/> + <reference target="keychain3" name="token"/> + <reference target="keychain4" name="from"/> + <reference target="keychain5" name="to"/> + <reference target="text1" name="msg"/> + <reference name="s" wiredByImpl="true" visible="false"/> + </component> + </composite> + </content> + <link href="testsms"/> +</entry> |