view gnv-artifacts/src/test/ressources/conf.xml @ 82:5eb62df21f9a

Added Support for Vertical Profiles Marnet, STAUN, IMIS gnv-artifacts/trunk@111 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Tue, 22 Sep 2009 13:20:30 +0000
parents 9b41f3688610
children 5c8e54726a58
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="300000" 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="300000" 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="300000" 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="300000" 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="300000" artifact="de.intevation.gnv.timeseries.TimeSeriesArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
                    <parameters>
                        <parameter name="sourceid" value="4"/>
                    </parameters>
                </product>
                 <product name= "verticalProfile">
                    <artifact-factory name="timeSeries" description="Artiefactfactory for Instantiating the Artifact for the FIS Modeldata"  
                             ttl="300000" artifact="de.intevation.gnv.profile.vertical.VerticalProfileArtifact">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="300000" artifact="de.intevation.gnv.timeseries.TimeSeriesArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
                    <parameters>
                        <parameter name="sourceid" value="18"/>
                    </parameters>
                </product>
                <product name= "verticalProfile">
                    <artifact-factory name="timeSeries" description="Artiefactfactory for Instantiating the Artifact for the FIS Modeldata"  
                             ttl="300000" artifact="de.intevation.gnv.profile.vertical.VerticalProfileArtifact">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="300000" artifact="de.intevation.gnv.timeseries.TimeSeriesArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
                    <parameters>
                        <parameter name="sourceid" value="17"/>
                    </parameters>
                </product>
                <product name= "verticalProfile">
                    <artifact-factory name="timeSeries" description="Artiefactfactory for Instantiating the Artifact for the FIS Modeldata"  
                             ttl="300000" artifact="de.intevation.gnv.profile.vertical.VerticalProfileArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
                    <parameters>
                        <parameter name="sourceid" value="17"/>
                    </parameters>
                </product>
            </products>
        </artifact>
        <artifact name="fis_modeldata">
            <products>
                <product name= "timeSeriesMesh">
                    <artifact-factory name="timeSeriesMesh" description="Artiefactfactory for Instantiating the Artifact for the FIS Modeldata"  
                              ttl="300000" artifact="de.intevation.gnv.timeseries.TimeSeriesMeshArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
                    <parameters></parameters>
                </product>
            </products>
        </artifact>
        
        <artifact name="timeSeriesMesh">
            <transitions>
                
                <transition id="timeseries_mesh" description="timeseries_mesh" transition="de.intevation.gnv.transition.DefaultTransition">
                    <queryID>timeseries_mesh</queryID>
                    <dataname>featureid</dataname>
                    <data-multiselect>false</data-multiselect>
                    <reachableTransitions>
                           <transition>timeseries_mesh_coordinate</transition>
                    </reachableTransitions>
                    <inputvalues>
                    </inputvalues>
                </transition>
                
                <transition id="timeseries_mesh_coordinate" description="timeseries_mesh_coordinate" transition="de.intevation.gnv.transition.SingleInputTransition">
                    <dataname>mesh_coordinate</dataname>
                    <data-multiselect>false</data-multiselect>
                    <reachableTransitions>
                           <transition>timeseries_meshpoint</transition>v
                    </reachableTransitions>
                    <inputvalues>
                         <inputvalue name="featureid" type="Integer" multiselect="false"/>
                    </inputvalues>
                </transition>
                
                <transition id="timeseries_meshpoint" description="timeseries_meshpoint" transition="de.intevation.gnv.transition.DefaultTransition">
                    <queryID>timeseries_meshpoint</queryID>
                    <dataname>mesh_point</dataname>
                    <data-multiselect>false</data-multiselect>
                    <reachableTransitions>
                        <transition>timeseries_meshpoint_depth</transition>v
                    </reachableTransitions>
                    <inputvalues>
                         <inputvalue name="featureid" type="Integer" multiselect="false"/>
                         <inputvalue name="mesh_coordinate" type="Integer" multiselect="false"/>
                    </inputvalues>
                </transition>
                
                <transition id="timeseries_meshpoint_depth" description="timeseries_meshpoint_depth" transition="de.intevation.gnv.transition.DefaultTransition">
                    <queryID>timeseries_meshpoint_depth</queryID>
                    <dataname>measurementid</dataname>
                    <data-multiselect>true</data-multiselect>
                    <reachableTransitions>
                        <transition>timeseries_meshpoint_parameter</transition>v
                    </reachableTransitions>
                    <inputvalues>
                         <inputvalue name="featureid" type="Integer" multiselect="false"/>
                         <inputvalue name="mesh_point" type="Integer" multiselect="false" usedinquery="2"/>
                    </inputvalues>
                </transition>

                <transition id="timeseries_meshpoint_parameter" description="timeseries_meshpoint_parameter" transition="de.intevation.gnv.transition.DefaultTransition">
                    <queryID>timeseries_mesh_parameter</queryID>
                    <dataname>parameterid</dataname>
                    <data-multiselect>true</data-multiselect>
                    <reachableTransitions>
                        <transition>timeseries_meshpoint_interval</transition>
                    </reachableTransitions>
                    <inputvalues>
                         <inputvalue name="featureid" type="Integer" multiselect="false" usedinquery="1"/>
                         <inputvalue name="measurementid" type="Integer" multiselect="false" usedinquery="0"/>
                         <inputvalue name="mesh_point" type="Integer" multiselect="false" usedinquery="0"/>
                    </inputvalues>
                </transition>
                
                <transition id="timeseries_meshpoint_interval" description="timeseries_interval" transition="de.intevation.gnv.transition.MinMaxTransition">
                    <queryID>timeseries_mesh_interval</queryID>
                    <dataname>minvalue</dataname>
                    <data-multiselect>false</data-multiselect>
                    <reachableTransitions>
                        <transition>timeseries_meshpoint_calculate_results</transition>
                    </reachableTransitions>
                    <inputvalues>
                         <inputvalue name="featureid" type="Integer" multiselect="false" usedinquery="1"/>
                         <inputvalue name="measurementid" type="Integer" multiselect="false" usedinquery="0"/>
                         <inputvalue name="mesh_point" type="Integer" multiselect="false" usedinquery="0"/>
                         <inputvalue name="parameterid"   type="Integer" multiselect="true" usedinquery="0"/>
                    </inputvalues>
                </transition>
                
                <transition id="timeseries_meshpoint_calculate_results" description="timeseries_interval" transition="de.intevation.gnv.transition.timeseries.TimeSeriesOutputTransition">
                    <queryID>timeseries_mesh_chart_data</queryID>
                    <inputvalues>
                        <inputvalue name="featureid" type="Integer" multiselect="false" usedinquery="1"/>
                         <inputvalue name="measurementid" type="Integer" multiselect="false" usedinquery="1"/>
                         <inputvalue name="parameterid"   type="Integer" multiselect="true" usedinquery="1"/>
                         <inputvalue name="mesh_point" type="Integer" multiselect="false" usedinquery="1"/>
                         <inputvalue name="minvalue" type="Integer" multiselect="false" usedinquery="1"/>
                         <inputvalue name="maxvalue" type="Integer" multiselect="false" usedinquery="1"/>
                    </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>
        
        
        <artifact name="timeSeries">
            <transitions>
                <transition id="timeseries_timeseriespoint" description="timeseries_timeseriespoint" transition="de.intevation.gnv.transition.DefaultTransition">
                    <queryID>timeseries_timeseriespoint</queryID>
                    <dataname>featureid</dataname>
                    <data-multiselect>false</data-multiselect>
                    <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>
                    <dataname>parameterid</dataname>
                    <data-multiselect>true</data-multiselect>
                    <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>
                    <dataname>measurementid</dataname>
                    <data-multiselect>true</data-multiselect>
                    <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>
                    <dataname>minvalue</dataname>
                    <data-multiselect>false</data-multiselect>
                    <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>
        
        <artifact name="verticalProfile">
            <transitions>
                <transition id="verticalprofile_timeseriespoint" description="timeseries_timeseriespoint" transition="de.intevation.gnv.transition.DefaultTransition">
                    <queryID>verticalprofile_point</queryID>
                    <dataname>featureid</dataname>
                    <data-multiselect>false</data-multiselect>
                    <reachableTransitions>
                        <transition>verticalprofile_parameter</transition>
                    </reachableTransitions>
                    <inputvalues>
                        <inputvalue name="sourceid" type="Integer" multiselect="false"/>
                    </inputvalues>
                </transition>
                
                <transition id="verticalprofile_parameter" description="timeseries_parameter" transition="de.intevation.gnv.transition.DefaultTransition">
                    <queryID>verticalprofile_parameter</queryID>
                    <dataname>parameterid</dataname>
                    <data-multiselect>true</data-multiselect>
                    <reachableTransitions>
                        <transition>verticalprofile_date</transition>
                    </reachableTransitions>
                    <inputvalues>
                        <inputvalue name="featureid" type="Integer" multiselect="false"/>
                    </inputvalues>
                </transition>
                
                <transition id="verticalprofile_date" description="verticalprofile_date" transition="de.intevation.gnv.transition.DefaultTransition">
                    <queryID>verticalprofile_date</queryID>
                    <dataname>dateid</dataname>
                    <data-multiselect>true</data-multiselect>
                    <reachableTransitions>
                         <transition>verticalprofile_calculate_results</transition>
                    </reachableTransitions>
                    <inputvalues>
                        <inputvalue name="featureid" type="Integer" multiselect="false"/>
                        <inputvalue name="parameterid" type="Integer" multiselect="true"/>
                    </inputvalues>
                </transition>
                
                <transition id="verticalprofile_calculate_results" description="verticalprofile_calculate_results" transition="de.intevation.gnv.transition.profile.vertical.VerticalProfileOutputTransition">
                    <queryID>verticalprofile_chart_data</queryID>
                    <inputvalues>
                        <inputvalue name="featureid" type="Integer" multiselect="false"/>
                        <inputvalue name="parameterid" type="Integer" multiselect="true"/>
                        <inputvalue name="dateid" type="String" multiselect="true"/>
                    </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>300000</sleep-time>
    </cleaner>
    <database>
        <user></user>
        <password></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