diff options
Diffstat (limited to '')
-rw-r--r-- | branches/sca-equinox/modules/domain-manager/src/main/resources/DomainManager.composite | 281 |
1 files changed, 281 insertions, 0 deletions
diff --git a/branches/sca-equinox/modules/domain-manager/src/main/resources/DomainManager.composite b/branches/sca-equinox/modules/domain-manager/src/main/resources/DomainManager.composite new file mode 100644 index 0000000000..ba57ea45d1 --- /dev/null +++ b/branches/sca-equinox/modules/domain-manager/src/main/resources/DomainManager.composite @@ -0,0 +1,281 @@ +<?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://www.osoa.org/xmlns/sca/1.0" + xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0" + targetNamespace="http://tuscany.apache.org/xmlns/sca/1.0" + name="DomainManager"> + + <component name="HomePage"> + <t:implementation.widget location="home.html"/> + <service name="Widget"> + <t:binding.http uri="http://localhost:9990/ui/home"/> + </service> + </component> + + <component name="HomeGadget"> + <t:implementation.widget location="home-gadget.html"/> + <service name="Widget"> + <t:binding.http uri="http://localhost:9990/ui/home-gadget"/> + </service> + </component> + + <component name="WorkspacePage"> + <t:implementation.widget location="workspace.html"/> + <service name="Widget"> + <t:binding.http uri="http://localhost:9990/ui/workspace"/> + </service> + </component> + + <component name="WorkspaceGadget"> + <t:implementation.widget location="workspace-gadget.html"/> + <service name="Widget"> + <t:binding.http uri="http://localhost:9990/ui/workspace-gadget"/> + </service> + <reference name="workspace" target="ContributionCollectionComponent/ItemCollection"> + <t:binding.atom/> + </reference> + </component> + + <component name="FilesPage"> + <t:implementation.widget location="files.html"/> + <service name="Widget"> + <t:binding.http uri="http://localhost:9990/ui/files"/> + </service> + </component> + + <component name="FilesGadget"> + <t:implementation.widget location="files-gadget.html"/> + <service name="Widget"> + <t:binding.http uri="http://localhost:9990/ui/files-gadget"/> + </service> + <reference name="files" target="FileCollectionComponent"> + <t:binding.atom/> + </reference> + </component> + + <component name="DomainCompositePage"> + <t:implementation.widget location="composite.html"/> + <service name="Widget"> + <t:binding.http uri="http://localhost:9990/ui/composite"/> + </service> + </component> + + <component name="DomainCompositeGadget"> + <t:implementation.widget location="composite-gadget.html"/> + <service name="Widget"> + <t:binding.http uri="http://localhost:9990/ui/composite-gadget"/> + </service> + <reference name="domainComposite" target="DomainCompositeCollectionComponent/ItemCollection"> + <t:binding.atom/> + </reference> + <reference name="workspace" target="ContributionCollectionComponent/ItemCollection"> + <t:binding.atom/> + </reference> + </component> + + <component name="CloudPage"> + <t:implementation.widget location="cloud.html"/> + <service name="Widget"> + <t:binding.http uri="http://localhost:9990/ui/cloud"/> + </service> + </component> + + <component name="CloudGadget"> + <t:implementation.widget location="cloud-gadget.html"/> + <service name="Widget"> + <t:binding.http uri="http://localhost:9990/ui/cloud-gadget"/> + </service> + <reference name="cloudComposite" target="CloudCollectionComponent/ItemCollection"> + <t:binding.atom/> + </reference> + <reference name="domainComposite" target="DomainCompositeCollectionComponent/ItemCollection"> + <t:binding.atom/> + </reference> + <reference name="processCollection" target="NodeProcessCollectionFacadeComponent/ItemCollection"> + <t:binding.atom/> + </reference> + </component> + + <component name="ContributionCollectionComponent"> + <implementation.java class="org.apache.tuscany.sca.domain.manager.impl.ContributionCollectionImpl"/> + <property name="workspaceFile">workspace.xml</property> + <property name="deploymentContributionDirectory">cloud</property> + <service name="ItemCollection"> + <t:binding.atom uri="http://localhost:9990/workspace" title="Contributions"/> + </service> + <reference name="domainManagerConfiguration" target="DomainManagerConfigurationComponent"/> + </component> + + <component name="ContributionServiceComponent"> + <implementation.java class="org.apache.tuscany.sca.domain.manager.impl.ContributionServiceImpl"/> + <service name="Servlet"> + <t:binding.http uri="http://localhost:9990/contribution"/> + </service> + <reference name="contributionCollection" target="ContributionCollectionComponent/LocalItemCollection"/> + </component> + + <component name="FileCollectionComponent"> + <implementation.java class="org.apache.tuscany.sca.domain.manager.impl.FileCollectionImpl"/> + <property name="directoryName">files</property> + <service name="ItemCollection"> + <t:binding.atom uri="http://localhost:9990/feed/files" title="Files"/> + </service> + <reference name="domainManagerConfiguration" target="DomainManagerConfigurationComponent"/> + </component> + + <component name="FileServiceComponent"> + <implementation.java class="org.apache.tuscany.sca.domain.manager.impl.FileServiceImpl"/> + <property name="directoryName">files</property> + <service name="Servlet"> + <t:binding.http uri="http://localhost:9990/files"/> + </service> + <reference name="domainManagerConfiguration" target="DomainManagerConfigurationComponent"/> + </component> + + <component name="DomainCompositeCollectionComponent"> + <implementation.java class="org.apache.tuscany.sca.domain.manager.impl.DeployedCompositeCollectionImpl"/> + <property name="compositeFile">domain.composite</property> + <service name="ItemCollection"> + <t:binding.atom uri="http://localhost:9990/composite" title="Domain Composite"/> + </service> + <reference name="deployableCollection" target="DeployableCompositeCollectionComponent/LocalItemCollection"/> + <reference name="domainManagerConfiguration" target="DomainManagerConfigurationComponent"/> + </component> + + <component name="DeployableCompositeServiceComponent"> + <implementation.java class="org.apache.tuscany.sca.domain.manager.impl.DeployableCompositeServiceImpl"/> + <service name="Servlet"> + <t:binding.http uri="http://localhost:9990/composite-source"/> + </service> + <reference name="deployableCollection" target="DeployableCompositeCollectionComponent/LocalItemCollection"/> + <reference name="domainManagerConfiguration" target="DomainManagerConfigurationComponent"/> + </component> + + <component name="DeployableCompositeCollectionComponent"> + <implementation.java class="org.apache.tuscany.sca.domain.manager.impl.DeployableCompositeCollectionImpl"/> + <service name="ItemCollection"> + <t:binding.atom uri="http://localhost:9990/deployable" title="Deployable Composites"/> + </service> + <reference name="domainManagerConfiguration" target="DomainManagerConfigurationComponent"/> + <reference name="contributionCollection" target="ContributionCollectionComponent/LocalItemCollection"/> + </component> + + <component name="CompositeGeneratorServiceComponent"> + <implementation.java class="org.apache.tuscany.sca.domain.manager.impl.CompositeGeneratorServiceImpl"/> + <service name="Servlet"> + <t:binding.http uri="http://localhost:9990/composite-generated"/> + </service> + <reference name="domainManagerConfiguration" target="DomainManagerConfigurationComponent"/> + <reference name="contributionCollection" target="ContributionCollectionComponent/LocalItemCollection"/> + </component> + + <component name="CompositeConfigurationServiceComponent"> + <implementation.java class="org.apache.tuscany.sca.domain.manager.impl.CompositeConfigurationServiceImpl"/> + <service name="Servlet"> + <t:binding.http uri="http://localhost:9990/composite-resolved"/> + </service> + <reference name="domainManagerConfiguration" target="DomainManagerConfigurationComponent"/> + <reference name="contributionCollection" target="ContributionCollectionComponent/LocalItemCollection"/> + <reference name="domainCompositeCollection" target="DomainCompositeCollectionComponent/LocalItemCollection"/> + <reference name="cloudCollection" target="CloudCollectionComponent/LocalItemCollection"/> + </component> + + <component name="CloudCollectionComponent"> + <implementation.java class="org.apache.tuscany.sca.domain.manager.impl.DeployedCompositeCollectionImpl"/> + <property name="compositeFile">cloud.composite</property> + <property name="deploymentContributionDirectory">cloud</property> + <service name="ItemCollection"> + <t:binding.atom uri="http://localhost:9990/cloud" title="Cloud"/> + </service> + <reference name="deployableCollection" target="DeployableCompositeCollectionComponent/LocalItemCollection"/> + <reference name="processCollection" target="NodeProcessCollectionFacadeComponent/LocalItemCollection"/> + <reference name="domainManagerConfiguration" target="DomainManagerConfigurationComponent"/> + </component> + + <component name="CloudCompositeServiceComponent"> + <implementation.java class="org.apache.tuscany.sca.domain.manager.impl.DeployableCompositeServiceImpl"/> + <service name="Servlet"> + <t:binding.http uri="http://localhost:9990/cloud-source"/> + </service> + <reference name="deployableCollection" target="DeployableCompositeCollectionComponent/LocalItemCollection"/> + <reference name="domainManagerConfiguration" target="DomainManagerConfigurationComponent"/> + </component> + + <component name="CompositeConfigurationCollectionComponent"> + <implementation.java class="org.apache.tuscany.sca.domain.manager.impl.CompositeConfigurationCollectionImpl"/> + <service name="ItemCollection"> + <t:binding.atom uri="http://localhost:9990/composite-config" title="Node Configuration"/> + </service> + <reference name="contributionCollection" target="ContributionCollectionComponent/LocalItemCollection"/> + <reference name="cloudCollection" target="CloudCollectionComponent/LocalItemCollection"/> + </component> + + <component name="NodeConfigurationServiceComponent"> + <implementation.java class="org.apache.tuscany.sca.domain.manager.impl.NodeConfigurationServiceImpl"/> + <service name="Servlet"> + <t:binding.http uri="http://localhost:9990/node-config"/> + </service> + <reference name="contributionCollection" target="ContributionCollectionComponent/LocalItemCollection"/> + <reference name="cloudCollection" target="CloudCollectionComponent/LocalItemCollection"/> + </component> + + <component name="QuickStartServiceComponent"> + <implementation.java class="org.apache.tuscany.sca.domain.manager.impl.QuickStartServiceImpl"/> + <service name="Servlet"> + <t:binding.http uri="http://localhost:9990/quickstart"/> + </service> + <reference name="contributionCollection" target="ContributionCollectionComponent/LocalItemCollection"/> + <reference name="deployableCollection" target="DeployableCompositeCollectionComponent/LocalItemCollection"/> + <reference name="domainCompositeCollection" target="DomainCompositeCollectionComponent/LocalItemCollection"/> + <reference name="cloudCollection" target="CloudCollectionComponent/LocalItemCollection"/> + <reference name="processCollection" target="NodeProcessCollectionComponent/LocalItemCollection"/> + </component> + + <component name="NodeProcessCollectionFacadeComponent"> + <implementation.java class="org.apache.tuscany.sca.domain.manager.impl.NodeProcessCollectionFacadeImpl"/> + <service name="ItemCollection"> + <t:binding.atom uri="http://localhost:9990/processes" title="Log"/> + </service> + <reference name="domainManagerConfiguration" target="DomainManagerConfigurationComponent"/> + <reference name="cloudCollection" target="CloudCollectionComponent/LocalItemCollection"/> + <reference name="processCollection" target="NodeProcessCollectionComponent/ItemCollection"> + <t:binding.atom/> + </reference> + </component> + + <component name="NodeProcessCollectionComponent"> + <implementation.java class="org.apache.tuscany.sca.implementation.node.manager.NodeProcessCollectionImpl"/> + <service name="ItemCollection"> + <t:binding.atom uri="http://localhost:9990/node/processes" title="Log"/> + </service> + </component> + + <component name="PingServiceComponent"> + <implementation.java class="org.apache.tuscany.sca.implementation.node.manager.PingServiceImpl"/> + <service name="Servlet"> + <t:binding.http uri="http://localhost:9990/ping"/> + </service> + </component> + + <component name="DomainManagerConfigurationComponent"> + <implementation.java class="org.apache.tuscany.sca.domain.manager.impl.DomainManagerConfigurationImpl"/> + </component> + +</composite> |