view gnv-artifacts/src/test/ressources/conf.xml @ 78:969faa37a11b

Added Multiselectsupport for InputValues gnv-artifacts/trunk@94 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Wed, 16 Sep 2009 12:38:24 +0000
parents 504570de21fd
children e33c61735a4e
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" multiselect="false"/>
                    </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" multiselect="false"/>
                    </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" multiselect="false"/>
                        <inputvalue name="parameterid" type="Integer" multiselect="true"/>
                    </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" multiselect="true"/>
                        <inputvalue name="measurementid" type="Integer" multiselect="true"/>
                    </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" multiselect="true"/>
                        <inputvalue name="measurementid" type="Integer" multiselect="true"/>
                        <inputvalue name="minvalue" type="Integer" multiselect="false"/>
                        <inputvalue name="maxvalue" type="Integer" multiselect="false"/>
                    </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