perfsonar-dev - perfsonar: r4699 - branches/simple-service-with-base2/conf
Subject: perfsonar development work
List archive
- From:
- To:
- Subject: perfsonar: r4699 - branches/simple-service-with-base2/conf
- Date: Thu, 20 Nov 2008 08:32:23 -0500
Author: roman
Date: 2008-11-20 08:32:22 -0500 (Thu, 20 Nov 2008)
New Revision: 4699
Modified:
branches/simple-service-with-base2/conf/configuration-ma.xml
branches/simple-service-with-base2/conf/configuration-rules.xml
Log:
scheduling componenet added (with simple scheduller and example action)
Modified: branches/simple-service-with-base2/conf/configuration-ma.xml
===================================================================
--- branches/simple-service-with-base2/conf/configuration-ma.xml
2008-11-20 13:26:25 UTC (rev 4698)
+++ branches/simple-service-with-base2/conf/configuration-ma.xml
2008-11-20 13:32:22 UTC (rev 4699)
@@ -85,15 +85,33 @@
<option name="queryGeneratorManager-config"
value="queryGeneratorManager"/> <!-- reference to queryGeneratorManager
component config-->
</component>
-
<component name="dataStorageDAO"
className="org.perfsonar.service.measurementArchive.rrdType.storage.rrd.RRDDataStorageDAOImpl">
<option
name="eventType::http://ggf.org/ns/nmwg/characteristic/utilization/2.0"
value="org.perfsonar.service.measurementArchive.rrdType.storage.rrd.UtilizationResponseGenerator"/>
</component>
+ <!--
+ <component name="scheduling"
+
className="org.perfsonar.base2.service.scheduler.SchedulingComponent">
+ <option name="schedulerClassName"
+
value="org.perfsonar.base2.service.scheduler.SimpleScheduler"/>
+ <option name="interval" value="5000"/>
+ <actions>
+ <action name="test1"
className="org.perfsonar.base2.service.scheduler.SimpleAction"> -->
+ <!-- <option name="xxx">yyyy</option> -->
+ <!--
+ </action>
+ <action name="test2"
className="org.perfsonar.base2.service.scheduler.SimpleAction"/>
+ </actions>
+ </component>
+ -->
+
</auxiliaryComponents>
+
+
+
<!--
....................................................................................
-->
<!-- Protocol mappings, XML elements and their bingings -->
Modified: branches/simple-service-with-base2/conf/configuration-rules.xml
===================================================================
--- branches/simple-service-with-base2/conf/configuration-rules.xml
2008-11-20 13:26:25 UTC (rev 4698)
+++ branches/simple-service-with-base2/conf/configuration-rules.xml
2008-11-20 13:32:22 UTC (rev 4699)
@@ -117,6 +117,22 @@
</pattern>
+ <pattern
value="configuration/service/auxiliaryComponents/component/actions">
+ <object-create-rule
+ classname="org.perfsonar.base2.service.configuration.Actions" />
+ <set-next-rule methodname="addActions" />
+ </pattern>
+
+
+ <pattern
value="configuration/service/auxiliaryComponents/component/actions/action">
+ <object-create-rule attrname="className"/>
+ <set-properties-rule>
+ <alias attr-name="name" prop-name="name"/>
+ </set-properties-rule>
+ <set-next-rule methodname="addAction" />
+ </pattern>
+
+
<!-- protocolMappings -->
<pattern value="configuration/service/protocolMappings">
- perfsonar: r4699 - branches/simple-service-with-base2/conf, svnlog, 11/20/2008
Archive powered by MHonArc 2.6.16.