diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2011-03-29 18:26:07 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2011-03-29 18:26:07 +0000 |
commit | c6297b85e1e6e88dafd19d284bb4b7c1d8466c57 (patch) | |
tree | 04cc8889488854d9a2b04549e55340f9bd983402 /sca-java-2.x/trunk/modules/node-manager/src/test/resources/node-manager-test.composite | |
parent | 7c6da5191ac78103fb5bab26a8c1d0c6240b062b (diff) |
Simple strawman to provide some management rest services for nodes.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1086674 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/node-manager/src/test/resources/node-manager-test.composite')
-rw-r--r-- | sca-java-2.x/trunk/modules/node-manager/src/test/resources/node-manager-test.composite | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/node-manager/src/test/resources/node-manager-test.composite b/sca-java-2.x/trunk/modules/node-manager/src/test/resources/node-manager-test.composite new file mode 100644 index 0000000000..6f107a392d --- /dev/null +++ b/sca-java-2.x/trunk/modules/node-manager/src/test/resources/node-manager-test.composite @@ -0,0 +1,40 @@ +<?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:tuscany="http://tuscany.apache.org/xmlns/sca/1.1" + targetNamespace="http://node-manager" + name="NodeManager"> + + <component name="NodeManagerUI"> + <tuscany:implementation.widget location="ui/index.html" /> + <service name="Widget"> + <tuscany:binding.rest uri="/manager/ui" /> + </service> + </component> + + <component name="NodeManagerComponent"> + <implementation.java class="org.apache.tuscany.sca.node.manager.impl.DomainCompositeResourceImpl"/> + <service name="DomainCompositeResource"> + <tuscany:binding.rest uri="/domain"> + <tuscany:operationSelector.jaxrs /> + </tuscany:binding.rest> + </service> + </component> +</composite> |