view gnv-artifacts/src/test/ressources/GNVArtifactsTestCase_Configuration.xml @ 67:0e9762ebd18d

Refactor ChartFactory so that it is able to be compiled without errors. gnv-artifacts/trunk@50 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Wed, 09 Sep 2009 13:14:12 +0000
parents 9f57053d0384
children
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="timeSeries" description="Artiefactfactory for instantiating TimeSeriesArtifacts"  ttl="60000"
             artifact="de.intevation.gnv.timeseries.TimeSeriesArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
        </artifact-factories>
    </factories>
    <artifacts>
        <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="messurement_parameter" 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="messurement_parameter" type="Integer"/>
                        <inputvalue name="depthid" type="Integer"/>
                    </inputvalues>
                </transition>
                
                <transition id="timeseries_calculate_results" description="timeseries_interval" transition="de.intevation.gnv.transition.MinMaxTransition">
                    <queryID>timeseries_calculate_resulst</queryID>
                    <reachableTransitions>
                    </reachableTransitions>
                    <inputvalues>
                        <inputvalue name="minvalue" type="Integer"/>
                        <inputvalue name="maxvalue" type="Integer"/>
                    </inputvalues>
                </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>
    <database>
        <user></user>
        <password></password>
        <!-- <url>jdbc:h2:artifacts.db</url> -->
        <!-- <driver>org.h2.Driver</driver> -->
        <!-- <sql></sql> -->
    </database>
</artifact-database>

http://dive4elements.wald.intevation.org