view flys-artifacts/doc/conf/conf.xml @ 105:beb991dc4827

Added a first stub of an WINFO artifact. flys-artifacts/trunk@1287 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 02 Feb 2011 14:56:22 +0000
parents
children 5864c41219db
line wrap: on
line source
<artifact-database>
    <export-secret>YOUR_SECRET</export-secret>
    <factories>
        <artifact-factories>
            <!-- All Artifactfactories which are available in this Database.
                 Each Artifactfactory represents one river. -->
            <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-factories>
    </factories>

    <artifacts>
        <artifact name="winfo" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/artifacts/winfo.xml" />
    </artifacts>

    <rest-server>
        <!--  at this Point it is possible to Change the Port 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>
    <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>

</artifact-database>

http://dive4elements.wald.intevation.org