summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/node-manager/src/test/resources/node-asset-manager-test.composite
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2012-04-02 17:58:17 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2012-04-02 17:58:17 +0000
commitc33b36c46a763f6a3fa6b3ff0fad5213074b27e9 (patch)
tree35e9f9f82bac8da8b5d08c20eb123e08ab6a154e /sca-java-2.x/trunk/modules/node-manager/src/test/resources/node-asset-manager-test.composite
parenta6d8c8ff0c7d48e5e56728e3dc191ccb0a96418a (diff)
Enhancing management capability to allow setting warning, critical and unavailable tresholds
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1308444 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/node-manager/src/test/resources/node-asset-manager-test.composite')
-rw-r--r--sca-java-2.x/trunk/modules/node-manager/src/test/resources/node-asset-manager-test.composite10
1 files changed, 5 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 c3eeba8149..f76a979864 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
@@ -27,6 +27,9 @@
<service name="DomainAssetManagerResource">
<tuscany:binding.rest uri="/services/manager" />
</service>
+ <property name="warningTreshold">1000</property> <!-- 1s -->
+ <property name="criticalTreshold">30000</property> <!-- 30s -->
+ <property name="unavailableTreshold">60000</property> <!-- 1m -->
</component>
<component name="Resource">
@@ -36,15 +39,12 @@
</service>
</component>
- <!-- -->
- <component name="AnotherResource">
- <implementation.java class="services.MyResourceImpl"/>
+ <component name="LongRunningResource">
+ <implementation.java class="services.MyLongRunningResourceImpl"/>
<service name="ManageableResource">
<tuscany:binding.rest uri="/services/another/resource" />
</service>
</component>
- <!-- -->
-
<component name="Service">
<implementation.java class="services.MyServiceImpl"/>