Mercurial > dive4elements > river
view flys-artifacts/doc/conf/conf.xml @ 1026:a39511688679
Added initial version of AnnotationArtifact and friends.
flys-artifacts/trunk@2486 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 11 Aug 2011 12:24:31 +0000 |
parents | 9a1a3080ad98 |
children | a60d2a46f0a8 |
line wrap: on
line source
<artifact-database> <export-secret>YOUR_SECRET</export-secret> <factories> <context-factory>de.intevation.flys.artifacts.context.FLYSContextFactory</context-factory> <collection-factory name="DefaultArtifactCollectionFactory" description="The default artifact collection factory" ttl="21600000" artifact-collection="de.intevation.flys.collections.FLYSArtifactCollection">de.intevation.artifactdatabase.DefaultArtifactCollectionFactory</collection-factory> <artifact-factories> <!-- All Artifactfactories which are available in this Database. --> <artifact-factory name="winfo" description="Factory to create an artifact to be used in WINFO" ttl="3600000" artifact="de.intevation.flys.artifacts.WINFOArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory> <artifact-factory name="riveraxis" description="Factory to create an artifact to be used in WINFO" ttl="3600000" artifact="de.intevation.flys.artifacts.RiverAxisArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory> <artifact-factory name="wmsbackground" description="Factory to create an artifact to be used in WINFO" ttl="3600000" artifact="de.intevation.flys.artifacts.WMSBackgroundArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory> </artifact-factories> <user-factory name="default" description="Factory to create new users">de.intevation.artifactdatabase.DefaultUserFactory</user-factory> <service-factories> <service-factory name="rivers" service="de.intevation.flys.artifacts.services.RiverService" description="This service returns a list of provided rivers by the artifact server.">de.intevation.artifactdatabase.DefaultServiceFactory</service-factory> <service-factory name="distanceinfo" service="de.intevation.flys.artifacts.services.DistanceInfoService" description="Returns a list of distances supported by a specific river.">de.intevation.artifactdatabase.DefaultServiceFactory</service-factory> <service-factory name="mainvalues" service="de.intevation.flys.artifacts.services.MainValuesService" description="Returns the main values of a river's gauge based on a start and end point of the river.">de.intevation.artifactdatabase.DefaultServiceFactory</service-factory> <service-factory name="metadata" service="de.intevation.flys.artifacts.services.MetaDataService" description="The service provides some introspection into the database content.">de.intevation.artifactdatabase.DefaultServiceFactory</service-factory> </service-factories> </factories> <lifetime-listeners> <listener>de.intevation.flys.artifacts.datacage.Datacage</listener> </lifetime-listeners> <backend-listeners> <listener>de.intevation.flys.artifacts.datacage.DatacageBackendListener</listener> </backend-listeners> <callcontext-listener name="SessionCallContextListener" description="A CallContext.Listener to open and close Hibernatesessions">de.intevation.flys.artifacts.context.SessionCallContextListener</callcontext-listener> <artifacts> <artifact name="winfo" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/artifacts/winfo.xml" /> <artifact name="riveraxis" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/artifacts/riveraxis.xml" /> <artifact name="wmsbackground" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/artifacts/wmsbackground.xml" /> </artifacts> <hooks> <hook class="de.intevation.flys.artifacts.CollectionMonitor" applies="post-feed,post-advance" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/output-defaults.xml"> </hook> </hooks> <output-generators> <output-generator name="discharge_curve">de.intevation.flys.exports.DischargeCurveGenerator</output-generator> <output-generator name="discharge_curve_chartinfo">de.intevation.flys.exports.DischargeCurveInfoGenerator</output-generator> <output-generator name="computed_discharge_curve">de.intevation.flys.exports.ComputedDischargeCurveGenerator</output-generator> <output-generator name="computed_discharge_curve_chartinfo">de.intevation.flys.exports.ComputedDischargeCurveInfoGenerator</output-generator> <output-generator name="longitudinal_section">de.intevation.flys.exports.LongitudinalSectionGenerator</output-generator> <output-generator name="longitudinal_section_chartinfo">de.intevation.flys.exports.LongitudinalSectionInfoGenerator</output-generator> <output-generator name="duration_curve">de.intevation.flys.exports.DurationCurveGenerator</output-generator> <output-generator name="duration_curve_chartinfo">de.intevation.flys.exports.DurationCurveInfoGenerator</output-generator> <output-generator name="discharge_longitudinal_section">de.intevation.flys.exports.DischargeLongitudinalSectionGenerator</output-generator> <output-generator name="discharge_longitudinal_section_chartinfo">de.intevation.flys.exports.DischargeLongitudinalSectionInfoGenerator</output-generator> <output-generator name="waterlevel_export">de.intevation.flys.exports.WaterlevelExporter</output-generator> <output-generator name="durationcurve_export">de.intevation.flys.exports.DurationCurveExporter</output-generator> <output-generator name="computed_dischargecurve_export">de.intevation.flys.exports.ComputedDischargeCurveExporter</output-generator> <output-generator name="discharge_longitudinal_section_export">de.intevation.flys.exports.DischargeLongitudinalSectionExporter</output-generator> <!-- Error report generators. --> <output-generator name="discharge_longitudinal_section_report">de.intevation.flys.exports.ReportGenerator</output-generator> <output-generator name="waterlevel_report">de.intevation.flys.exports.ReportGenerator</output-generator> <output-generator name="computed_dischargecurve_report">de.intevation.flys.exports.ReportGenerator</output-generator> <output-generator name="durationcurve_report">de.intevation.flys.exports.ReportGenerator</output-generator> <!-- AT exporter. --> <output-generator name="computed_dischargecurve_at_export">de.intevation.flys.exports.ATExporter</output-generator> </output-generators> <!-- Path to the template file of the meta data. --> <metadata> <system template="${artifacts.config.dir}/meta-data-system.xml"/> <user template="${artifacts.config.dir}/meta-data-user.xml"/> </metadata> <!-- The WMS layer that is displayed as background layer in floodmaps. --> <floodmap> <background-layer url="http://vmap0.tiles.osgeo.org/wms/vmap0" layer="basic"/> <river-wms river="Saar" url="http://flys-devel.intevation.de/cgi-bin/saar-wms"/> <river-wms river="Mosel" url="http://flys-devel.intevation.de/cgi-bin/mosel-wms"/> <river-wms river="Elbe" url="http://flys-devel.intevation.de/cgi-bin/elbe-wms"/> </floodmap> <rest-server> <!-- The port which the ArtifactDatabase will bind to. --> <port>8181</port> <listen>localhost</listen> </rest-server> <!-- Garbage collection of outdated artifacts. --> <cleaner> <sleep-time>60000</sleep-time> </cleaner> <cache> <config-file>${artifacts.config.dir}/cache.xml</config-file> </cache> <!-- This is the default configuration of the datacage db: <datacage> <user/> <password/> <driver>org.h2.Driver</driver> <url>jdbc:h2:mem:datacage;INIT=RUNSCRIPT FROM '${artifacts.config.dir}/datacage.sql'</url> </datacage> --> <database> <!-- This Section configures the Settings for connecting to the Artifact-Database instance. e.g. SQLite --> <user>SA</user> <password></password> <url>jdbc:h2:${artifacts.config.dir}/../artifactdb/artifacts.db</url> </database> <!-- This is the default backend db configuration. --> <!-- <backend-database> <user>flys</user> <password>flys</password> <dialect>org.hibernate.dialect.PostgreSQLDialect</dialect> <driver>org.postgresql.Driver</driver> <url>jdbc:postgresql://localhost:5432/flys</url> </backend-database> --> <flys> <themes> <configuration>${artifacts.config.dir}/themes.xml</configuration> </themes> </flys> </artifact-database>