summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/node-manager/src/test/resources
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2012-04-04 18:42:37 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2012-04-04 18:42:37 +0000
commite268815f4085df0b4aee30c8083ac0d20922cbce (patch)
tree34dff94db5b4ef0ae2b38c437261bcdba33836ea /sca-java-2.x/trunk/modules/node-manager/src/test/resources
parent945f8268dfcd6213164a32470077319a196398b5 (diff)
Enhancing domain asset manager to support resources that is not directly exposed with rest binding
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1309527 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/node-manager/src/test/resources')
-rw-r--r--sca-java-2.x/trunk/modules/node-manager/src/test/resources/node-asset-manager-test.composite18
1 files changed, 13 insertions, 5 deletions
diff --git a/sca-java-2.x/trunk/modules/node-manager/src/test/resources/node-asset-manager-test.composite b/sca-java-2.x/trunk/modules/node-manager/src/test/resources/node-asset-manager-test.composite
index f76a979864..6cfb0b71e5 100644
--- a/sca-java-2.x/trunk/modules/node-manager/src/test/resources/node-asset-manager-test.composite
+++ b/sca-java-2.x/trunk/modules/node-manager/src/test/resources/node-asset-manager-test.composite
@@ -33,21 +33,29 @@
</component>
<component name="Resource">
- <implementation.java class="services.MyResourceImpl"/>
- <service name="ManageableResource">
+ <implementation.java class="services.impl.MyResourceImpl"/>
+ <service name="MyResource">
<tuscany:binding.rest uri="/services/resource" />
</service>
</component>
<component name="LongRunningResource">
- <implementation.java class="services.MyLongRunningResourceImpl"/>
+ <implementation.java class="services.impl.MyLongRunningResourceImpl"/>
+ <service name="MyResource">
+ <tuscany:binding.rest uri="/services/long/resource" />
+ </service>
+ </component>
+
+ <component name="OtherResource">
+ <implementation.java class="services.impl.MyOtherResourceImpl"/>
<service name="ManageableResource">
- <tuscany:binding.rest uri="/services/another/resource" />
+ <tuscany:binding.rest uri="/services/other/resource" />
</service>
</component>
+
<component name="Service">
- <implementation.java class="services.MyServiceImpl"/>
+ <implementation.java class="services.impl.MyServiceImpl"/>
<service name="ManageableService">
<binding.sca />
</service>