view gnv-artifacts/src/test/ressources/conf.xml @ 75:9345835e2bc1

Make the Interfaces Serializable to make them usable in the Artifactdatabase gnv-artifacts/trunk@82 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Mon, 14 Sep 2009 13:38:20 +0000
parents 504570de21fd
children 969faa37a11b
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?>
<artifact-database>
    <factories>
        <context-factory>de.intevation.gnv.artifacts.context.GNVArtifactContextFactory</context-factory>
        <artifact-factories>
            <artifact-factory name="fis_marnet" description="Artiefactfactory for Instantiating the Artifact for the FIS Marnet"  
                              ttl="60000" artifact="de.intevation.gnv.artifacts.fis.FISArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="fis_imis" description="Artiefactfactory for Instantiating the Artifact for the FIS IMIS"  
                              ttl="60000" artifact="de.intevation.gnv.artifacts.fis.FISArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="fis_staun" description="Artiefactfactory for Instantiating the Artifact for the FIS STAUN"  
                              ttl="60000" artifact="de.intevation.gnv.artifacts.fis.FISArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="fis_modeldata" description="Artiefactfactory for Instantiating the Artifact for the FIS Modeldata"  
                              ttl="60000" artifact="de.intevation.gnv.artifacts.fis.FISArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
        </artifact-factories>
    </factories>
    <artifacts>
        <artifact name="fis_marnet">
            <products>
                <product name= "timeSeries">
                    <artifact-factory name="timeSeries" description="Artiefactfactory for Instantiating the Artifact for the FIS Modeldata"  
                              ttl="60000" artifact="de.intevation.gnv.timeseries.TimeSeriesArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
                    <parameters>
                        <parameter name="sourceid" value="4"/>
                    </parameters>
                </product>
            </products>
        </artifact>
        <artifact name="fis_imis">
            <products>
                <product name= "timeSeries">
                    <artifact-factory name="timeSeries" description="Artiefactfactory for Instantiating the Artifact for the FIS Modeldata"  
                              ttl="60000" artifact="de.intevation.gnv.timeseries.TimeSeriesArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
                    <parameters>
                        <parameter name="sourceid" value="18"/>
                    </parameters>
                </product>
            </products>
        </artifact>
        <artifact name="fis_staun">
            <products>
                <product name= "timeSeries">
                    <artifact-factory name="timeSeries" description="Artiefactfactory for Instantiating the Artifact for the FIS Modeldata"  
                              ttl="60000" artifact="de.intevation.gnv.timeseries.TimeSeriesArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
                    <parameters>
                        <parameter name="sourceid" value="17"/>
                    </parameters>
                </product>
            </products>
        </artifact>
        <artifact name="fis_modeldata">
            <products>
            </products>
        </artifact>
        <artifact name="timeSeries">
            <transitions>
                
                <transition id="timeseries_timeseriespoint" description="timeseries_timeseriespoint" transition="de.intevation.gnv.transition.DefaultTransition">
                    <queryID>timeseries_timeseriespoint</queryID>
                    <reachableTransitions>
                        <transition>timeseries_parameter</transition>
                    </reachableTransitions>
                    <inputvalues>
                        <inputvalue name="sourceid" type="Integer"/>
                    </inputvalues>
                </transition>
                
                <transition id="timeseries_parameter" description="timeseries_parameter" transition="de.intevation.gnv.transition.DefaultTransition">
                    <queryID>timeseries_parameter</queryID>
                    <reachableTransitions>
                        <transition>timeseries_depth_height</transition>
                    </reachableTransitions>
                    <inputvalues>
                        <inputvalue name="featureid" type="Integer"/>
                    </inputvalues>
                </transition>
                
                 <transition id="timeseries_depth_height" description="timeseries_depth_height" transition="de.intevation.gnv.transition.DefaultTransition">
                    <queryID>timeseries_depth_height</queryID>
                    <reachableTransitions>
                         <transition>timeseries_interval</transition>
                    </reachableTransitions>
                    <inputvalues>
                        <inputvalue name="featureid" type="Integer"/>
                        <inputvalue name="parameterid" type="Integer"/>
                    </inputvalues>
                </transition>
                
                <transition id="timeseries_interval" description="timeseries_interval" transition="de.intevation.gnv.transition.MinMaxTransition">
                    <queryID>timeseries_interval</queryID>
                    <reachableTransitions>
                        <transition>timeseries_calculate_results</transition>
                    </reachableTransitions>
                    <inputvalues>
                        <inputvalue name="parameterid" type="Integer"/>
                        <inputvalue name="measurementid" type="Integer"/>
                    </inputvalues>
                </transition>
                
                <transition id="timeseries_calculate_results" description="timeseries_interval" transition="de.intevation.gnv.transition.timeseries.TimeSeriesOutputTransition">
                    <queryID>timeseries_chart_data</queryID>
                    <inputvalues>
                        <inputvalue name="parameterid" type="Integer"/>
                        <inputvalue name="measurementid" type="Integer"/>
                        <inputvalue name="minvalue" type="Integer"/>
                        <inputvalue name="maxvalue" type="Integer"/>
                    </inputvalues>
                    <outputsModes>
                        <outputsMode name="chart" description="Chartrepresentation of the Values" mime-type="image/png"/>
                        <outputsMode name="csv" description="CSV-Export der Daten" mime-type="test/plain"/>
                        <outputsMode name="statistics" description="Statistik zu den Daten" mime-type="test/plain"/>
                    </outputsModes>
                </transition>
                
            </transitions>
        </artifact>
    </artifacts>
    <geo-backend>
        <backend-configuration>../geo-backend/src/test/ressources/ArcSDEConnectionPoolTestCase.properties</backend-configuration>
        <query-configuration>src/test/ressources/queries.properties</query-configuration>
    </geo-backend>
    <rest-server>
        <port>8181</port>
    </rest-server>
    <!-- garbage collection of outdated artifacts -->
    <cleaner>
        <sleep-time>60000</sleep-time>
    </cleaner>
    <database>
        <user>tim</user>
        <password>test</password>
        <!--url>jdbc:h2:src/test/ressources/artifacts.db</url>
        <driver>org.h2.Driver</driver> 
        <sql></sql> -->
    </database>
</artifact-database>

http://dive4elements.wald.intevation.org