perfsonar-dev - [pS-dev] [GEANT/SA2/ps-java-services] r5823 - trunk/perfsonar-java-rrd-sql-ma/conf
Subject: perfsonar development work
List archive
[pS-dev] [GEANT/SA2/ps-java-services] r5823 - trunk/perfsonar-java-rrd-sql-ma/conf
Chronological Thread
- From:
- To:
- Subject: [pS-dev] [GEANT/SA2/ps-java-services] r5823 - trunk/perfsonar-java-rrd-sql-ma/conf
- Date: Tue, 30 Aug 2011 10:27:19 +0100
Author: psnc.pikusa
Date: 2011-08-30 10:27:18 +0100 (Tue, 30 Aug 2011)
New Revision: 5823
Added:
trunk/perfsonar-java-rrd-sql-ma/conf/configuration.xml.template
Log:
template needed
Added: trunk/perfsonar-java-rrd-sql-ma/conf/configuration.xml.template
===================================================================
--- trunk/perfsonar-java-rrd-sql-ma/conf/configuration.xml.template
(rev 0)
+++ trunk/perfsonar-java-rrd-sql-ma/conf/configuration.xml.template
2011-08-30 09:27:18 UTC (rev 5823)
@@ -0,0 +1,165 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- $Id: configuration-ma.xml 4915M
2010-03-18 12:05:18Z (local) $ --><configuration
xmlns="http://service.perfsonar.org/ns/config/base/0.9/">
+
+
+ <service name="PerfsonarService">
+
+
+ <!--
....................................................................................
-->
+
+ <!-- Lookup Info of the LS instance -->
+
+ <lookupInformation>
+
+ <option name="accessPoint" value="${service.r.access_point}"/>
+ <option name="serviceName" value="perfsonar-java-rrd-ma"/>
+ <option name="serviceType" value="${service.r.service_name}"/>
+
+ </lookupInformation>
+
+ <!--
....................................................................................
-->
+
+ <!-- Message Handlers - message types and service engines -->
+
+ <messageHandler>
+
+ <message
handler="org.perfsonar.base2.service.messages.GenericMessageHandler"
type="EchoRequest">
+ <option name="ServiceEngine"
value="org.perfsonar.service.measurementArchive.rrdType.EchoServiceEngine"/>
+ <option name="authN" value="no"/>
+ </message>
+
+ <message
handler="org.perfsonar.service.measurementArchive.rrdType.MetadataKeyMessageHandler"
type="MetadataKeyRequest">
+ <option name="ServiceEngine"
value="org.perfsonar.service.measurementArchive.rrdType.MetadataKeyServiceEngine"/>
+ <option name="authN" value="no"/>
+ </message>
+
+ <message
handler="org.perfsonar.base2.service.messages.GenericMessageHandler"
type="SetupDataRequest">
+ <option name="ServiceEngine"
value="org.perfsonar.service.measurementArchive.rrdType.SetupDataServiceEngine"/>
+ <option name="authN" value="no"/>
+ </message>
+
+ </messageHandler>
+
+ <!--
....................................................................................
-->
+
+ <!-- Additional auxiliary components -->
+
+ <auxiliaryComponents>
+
+ <component
className="org.perfsonar.base2.service.storage.xml.XMLDBComponent"
name="exist">
+ <option name="dataStorageClassName"
value="org.perfsonar.base2.service.storage.xml.exist.ExistHTTPDataStorage"/>
+ <option name="uri" value="#replace(string
"${component.ma.xmldb.db_uri}" regexp
"xmldb:exist://(.+)/exist/xmlrpc/db/(.*)" with
"http://$1/exist/rest/db/$2")"/>
+ <option name="username" value="${component.ma.xmldb.db_username}"/>
+ <option name="password" value="${component.ma.xmldb.db_password}"/>
+ </component>
+
+ <component
className="org.perfsonar.service.measurementArchive.rrdType.storage.exist.QueryGeneratorManager"
name="queryGeneratorManager">
+
+ <option name="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"
value="org.perfsonar.service.measurementArchive.rrdType.storage.exist.query.UtilizationQueryGenerator"/>
+
+ <option name="http://ggf.org/ns/nmwg/characteristic/errors/2.0"
value="org.perfsonar.service.measurementArchive.rrdType.storage.exist.query.ErrorsQueryGenerator"/>
+
+ <option name="http://ggf.org/ns/nmwg/characteristic/discards/2.0"
value="org.perfsonar.service.measurementArchive.rrdType.storage.exist.query.DiscardsQueryGenerator"/>
+
+ <option name="http://ggf.org/ns/nmwg/tools/snmp/2.0"
value="org.perfsonar.service.measurementArchive.rrdType.storage.exist.query.SNMPQueryGenerator"/>
+
+ <option
name="http://schemas.perfsonar.net/tools/admin/selftest/1.0/random-fetch-test"
value="org.perfsonar.service.measurementArchive.rrdType.storage.exist.query.RandomFetchTestQueryGenerator"/>
+
+ <option
name="http://schemas.perfsonar.net/tools/admin/selftest/1.0/xmldb-access-test"
value="org.perfsonar.service.measurementArchive.rrdType.storage.exist.query.XmlDbAccessTestQueryGenerator"/>
+
+ <option
name="http://schemas.perfsonar.net/tools/admin/selftest/1.0/xmldb-content-test"
value="org.perfsonar.service.measurementArchive.rrdType.storage.exist.query.XmlDbContentTestQueryGenerator"/>
+
+ </component>
+
+ <component
className="org.perfsonar.service.measurementArchive.rrdType.storage.exist.ExistMetadataStorageDAOImpl"
name="metadataStorageDAO">
+ <option name="exist-config" value="exist"/> <!-- reference to eXist
DB XML component config-->
+ <option name="queryGeneratorManager-config"
value="queryGeneratorManager"/> <!-- reference to queryGeneratorManager
component config-->
+ </component>
+
+ <component
className="org.perfsonar.service.measurementArchive.rrdType.storage.rrd.RRDDataStorageDAOImpl"
name="dataStorageDAO">
+ <option
name="eventType::http://ggf.org/ns/nmwg/characteristic/utilization/2.0"
value="org.perfsonar.service.measurementArchive.rrdType.storage.rrd.UtilizationResponseGenerator"/>
+ <option
name="eventType::http://ggf.org/ns/nmwg/characteristic/discards/2.0"
value="org.perfsonar.service.measurementArchive.rrdType.storage.rrd.DiscardsResponseGenerator"/>
+ <option
name="eventType::http://ggf.org/ns/nmwg/characteristic/errors/2.0"
value="org.perfsonar.service.measurementArchive.rrdType.storage.rrd.ErrorsResponseGenerator"/>
+ </component>
+
+
+ <!-- Scheduler -->
+ <component
className="org.perfsonar.base2.service.scheduler.SchedulingComponent"
name="scheduling">
+
+ <option name="schedulerClassName"
value="org.perfsonar.base2.service.scheduler.SimpleScheduler"/>
+ <option name="interval" value="1800"/> <!-- sec -->
+
+ <actions>
+
+ <action
className="org.perfsonar.base2.service.registration.LSRegistrationAction"
name="registration">
+
+ <option name="status" value="on"/>
+ <option name="interval" value="3500"/> <!-- sec -->
+ <option name="registerDataSource"
value="org.perfsonar.base2.service.registration.MetadataExistDBRegisterDataSource"/>
+ <option name="registerEventType"
value="http://ogf.org/ns/nmwg/tools/org/perfsonar/service/lookup/registration/summary/2.0"/>
+ <option name="registrator"
value="org.perfsonar.base2.service.registration.GenericLSRegistrator"/>
+ <option name="lsAddress-1" value="${service.r.ls_url}"/>
+ <!--
+ <option name ="lsAddress-2"></option>
+ <option name ="lsAddress-3"></option>
+ <option name ="lsAddress-4"></option>
+ <option name ="lsAddress-5"></option>
+ -->
+
+ </action>
+
+ </actions>
+ </component>
+
+
+ <!-- auth configuration -->
+ <component
className="org.perfsonar.base2.service.authn.component.wssec.WSSecAuthNComponent"
name="auth">
+ <option name="as_endpoint"
value="http://homer.rediris.es:8080/geant2-java-as-1.2/services/SimpleService"/>
+ <option name="comp_id" value="urn:compId"/>
+ </component>
+
+ </auxiliaryComponents>
+
+
+
+ <extension name="registerExtension-registerDataSource">
+ <option name="exist-config" value="exist"/>
+ </extension>
+
+
+
+ <!--
....................................................................................
-->
+
+
+ <!-- Protocol mappings, XML elements and their bingings -->
+
+ <protocolMappings>
+
+ <!-- default mapping -->
+ <element mapping="org.perfsonar.base2.xml.Element" name="*"/>
+
+ <!-- general mappings -->
+ <element mapping="org.perfsonar.base2.xml.nmwg.Message"
name="{http://ggf.org/ns/nmwg/base/2.0/}message"/>
+ <element mapping="org.perfsonar.base2.xml.nmwg.Metadata"
name="{http://ggf.org/ns/nmwg/base/2.0/}metadata"/>
+ <element mapping="org.perfsonar.base2.xml.nmwg.EventType"
name="{http://ggf.org/ns/nmwg/base/2.0/}eventType"/>
+ <element mapping="org.perfsonar.base2.xml.nmwg.Data"
name="{http://ggf.org/ns/nmwg/base/2.0/}data"/>
+ <element mapping="org.perfsonar.base2.xml.nmwg.Parameters"
name="{http://ggf.org/ns/nmwg/base/2.0/}parameters"/>
+ <element mapping="org.perfsonar.base2.xml.nmwg.Parameter"
name="{http://ggf.org/ns/nmwg/base/2.0/}parameter"/>
+ <element mapping="org.perfsonar.base2.xml.nmwg.Key"
name="{http://ggf.org/ns/nmwg/base/2.0/}key"/>
+
+ <element mapping="org.perfsonar.base2.xml.nmwg.Subject"
name="{http://ggf.org/ns/nmwg/base/2.0/}subject"/>
+ <element mapping="org.perfsonar.base2.xml.nmwg.Subject"
name="{http://ggf.org/ns/nmwg/characteristic/utilization/2.0/}subject"/>
+ <element mapping="org.perfsonar.base2.xml.nmwg.Subject"
name="{http://ggf.org/ns/nmwg/characteristic/errors/2.0/}subject"/>
+ <element mapping="org.perfsonar.base2.xml.nmwg.Subject"
name="{http://ggf.org/ns/nmwg/characteristic/discards/2.0/}subject"/>
+ <element mapping="org.perfsonar.base2.xml.nmwg.Subject"
name="{http://ggf.org/ns/nmwg/ops/select/2.0/}subject"/>
+ <element mapping="org.perfsonar.base2.xml.nmwg.Parameters"
name="{http://ggf.org/ns/nmwg/ops/select/2.0/}parameters"/>
+ <element mapping="org.perfsonar.base2.xml.Element"
name="{http://ggf.org/ns/nmwg/time/2.0/}time"/>
+
+ </protocolMappings>
+
+ <!--
....................................................................................
-->
+
+
+ </service>
+
+
+</configuration>
- [pS-dev] [GEANT/SA2/ps-java-services] r5823 - trunk/perfsonar-java-rrd-sql-ma/conf, svn-noreply, 08/30/2011
Archive powered by MHonArc 2.6.16.