blob: a7230296c22e6721bbbc8aef0c643560f7a5bcc8 [file] [log] [blame]
<?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://edit"
name="edit">
<component name="User">
<t:implementation.python script="user.py"/>
<property name="user">?</property>
<property name="email">?</property>
<property name="nickname">?</property>
<property name="fullname">?</property>
<property name="firstname">?</property>
<property name="lastname">?</property>
<property name="realm">?</property>
<service name="User">
<t:binding.http uri="user"/>
</service>
</component>
<component name="MenuWidget">
<t:implementation.widget location="/menu.html"/>
<reference name="user" target="User"/>
</component>
<component name="EditWidget">
<t:implementation.widget location="/index.html"/>
<reference name="dashboard" target="Dashboard"/>
<reference name="store" target="AppStore"/>
<reference name="palettes" target="Palettes"/>
<reference name="apps" target="Apps"/>
<reference name="pages" target="Pages"/>
<reference name="log" target="Log"/>
</component>
<component name="Dashboard">
<t:implementation.python script="dashboard.py"/>
<service name="Dashboard">
<t:binding.http uri="dashboard"/>
</service>
<reference name="user" target="User"/>
<reference name="cache" target="DashboardCache"/>
</component>
<component name="AppStore">
<t:implementation.python script="store.py"/>
<service name="AppStore">
<t:binding.http uri="appstore"/>
</service>
<reference name="cache" target="StoreCache"/>
</component>
<component name="Apps">
<t:implementation.python script="apps.py"/>
<service name="Apps">
<t:binding.http uri="apps"/>
</service>
<reference name="cache" target="AppCache"/>
</component>
<component name="Pages">
<t:implementation.python script="pages.py"/>
<service name="Pages">
<t:binding.http uri="pages"/>
</service>
<reference name="cache" target="AppCache"/>
</component>
<component name="Palettes">
<t:implementation.python script="palettes.py"/>
<service name="Palettes">
<t:binding.http uri="palettes"/>
</service>
<reference name="cache" target="PaletteCache"/>
</component>
<component name="DashboardCache">
<implementation.cpp path="../../components/cache" library="libdatacache"/>
<service name="DashboardCache">
<t:binding.http uri="dashboardcache"/>
</service>
<reference name="l1reader" target="Memcache"/>
<reference name="l1writer" target="Memcache"/>
<reference name="l2reader" target="DashboardDB"/>
<reference name="l2writer" target="DashboardDB"/>
</component>
<component name="DashboardDB">
<implementation.cpp path="../../components/filedb" library="libfiledb"/>
<property name="dbname">dashboards</property>
<property name="format">scheme</property>
<service name="DashboardDB">
<t:binding.http uri="dashboarddb"/>
</service>
</component>
<component name="StoreCache">
<implementation.cpp path="../../components/cache" library="libdatacache"/>
<service name="StoreCache">
<t:binding.http uri="storecache"/>
</service>
<reference name="l1reader" target="Memcache"/>
<reference name="l1writer" target="Memcache"/>
<reference name="l2reader" target="StoreDB"/>
<reference name="l2writer" target="StoreDB"/>
</component>
<component name="StoreDB">
<implementation.cpp path="../../components/filedb" library="libfiledb"/>
<property name="dbname">store</property>
<property name="format">scheme</property>
<service name="StoreDB">
<t:binding.http uri="storedb"/>
</service>
</component>
<component name="AppCache">
<implementation.cpp path="../../components/cache" library="libdatacache"/>
<service name="AppCache">
<t:binding.http uri="appcache"/>
</service>
<reference name="l1reader" target="Memcache"/>
<reference name="l1writer" target="Memcache"/>
<reference name="l2reader" target="AppDB"/>
<reference name="l2writer" target="AppDB"/>
</component>
<component name="AppDB">
<implementation.cpp path="../../components/filedb" library="libfiledb"/>
<property name="dbname">apps</property>
<property name="format">xml</property>
<service name="AppDB">
<t:binding.http uri="appdb"/>
</service>
</component>
<component name="PaletteCache">
<implementation.cpp path="../../components/cache" library="libdatacache"/>
<service name="PaletteCache">
<t:binding.http uri="palettecache"/>
</service>
<reference name="l1reader" target="Memcache"/>
<reference name="l1writer" target="Memcache"/>
<reference name="l2reader" target="PaletteDB"/>
<reference name="l2writer" target="PaletteDB"/>
</component>
<component name="PaletteDB">
<implementation.cpp path="../../components/filedb" library="libfiledb"/>
<property name="dbname">palettes</property>
<property name="format">xml</property>
<service name="PaletteDB">
<t:binding.http uri="palettedb"/>
</service>
</component>
<component name="AppDataFileCache">
<implementation.cpp path="../../components/cache" library="libdatacache"/>
<service name="AppDataFileCache">
<t:binding.http uri="appdatafilecache"/>
</service>
<reference name="l1reader" target="Memcache"/>
<reference name="l1writer" target="Memcache"/>
<reference name="l2reader" target="AppDataFileDB"/>
<reference name="l2writer" target="AppDataFileDB"/>
</component>
<component name="AppDataFileDB">
<implementation.cpp path="../../components/filedb" library="libfiledb"/>
<property name="dbname">tmp/appdata/filedb</property>
<property name="format">scheme</property>
<service name="AppDataFileDB">
<t:binding.http uri="appdatafiledb"/>
</service>
</component>
<component name="Memcache">
<implementation.cpp path="../../components/cache" library="libmemcache"/>
<service name="Memcache">
<t:binding.http uri="memcache"/>
</service>
<property name="servers">localhost:11211</property>
</component>
<component name="Log">
<t:implementation.python script="log.py"/>
<service name="Log">
<t:binding.http uri="log"/>
</service>
</component>
</composite>