comparison gnv-artifacts/src/test/ressources/conf.xml @ 69:f24c825144bc

TestCase Refactored to the new Folder-Based Configuration. Also added further steps to the Testcase. gnv-artifacts/trunk@56 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Thu, 10 Sep 2009 07:57:30 +0000
parents
children 1fece4da4f2f
comparison
equal deleted inserted replaced
68:d117fd4b82e5 69:f24c825144bc
1 <?xml version="1.0" encoding="UTF-8"?>
2 <artifact-database>
3 <factories>
4 <context-factory>de.intevation.gnv.artifacts.context.GNVArtifactContextFactory</context-factory>
5 <artifact-factories>
6 <artifact-factory
7 name="timeSeries" description="Artiefactfactory for instantiating TimeSeriesArtifacts" ttl="60000"
8 artifact="de.intevation.gnv.timeseries.TimeSeriesArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
9 </artifact-factories>
10 </factories>
11 <artifacts>
12 <artifact name="timeSeries">
13 <transitions>
14
15 <transition id="timeseries_timeseriespoint" description="timeseries_timeseriespoint" transition="de.intevation.gnv.transition.DefaultTransition">
16 <queryID>timeseries_timeseriespoint</queryID>
17 <reachableTransitions>
18 <transition>timeseries_parameter</transition>
19 </reachableTransitions>
20 <inputvalues>
21 <inputvalue name="sourceid" type="Integer"/>
22 </inputvalues>
23 </transition>
24
25 <transition id="timeseries_parameter" description="timeseries_parameter" transition="de.intevation.gnv.transition.DefaultTransition">
26 <queryID>timeseries_parameter</queryID>
27 <reachableTransitions>
28 <transition>timeseries_depth_height</transition>
29 </reachableTransitions>
30 <inputvalues>
31 <inputvalue name="featureid" type="Integer"/>
32 </inputvalues>
33 </transition>
34
35 <transition id="timeseries_depth_height" description="timeseries_depth_height" transition="de.intevation.gnv.transition.DefaultTransition">
36 <queryID>timeseries_depth_height</queryID>
37 <reachableTransitions>
38 <transition>timeseries_interval</transition>
39 </reachableTransitions>
40 <inputvalues>
41 <inputvalue name="featureid" type="Integer"/>
42 <inputvalue name="parameterid" type="Integer"/>
43 </inputvalues>
44 </transition>
45
46 <transition id="timeseries_interval" description="timeseries_interval" transition="de.intevation.gnv.transition.MinMaxTransition">
47 <queryID>timeseries_interval</queryID>
48 <reachableTransitions>
49 <transition>timeseries_calculate_results</transition>
50 </reachableTransitions>
51 <inputvalues>
52 <inputvalue name="parameterid" type="Integer"/>
53 <inputvalue name="measurementid" type="Integer"/>
54 </inputvalues>
55 </transition>
56
57 <transition id="timeseries_calculate_results" description="timeseries_interval" transition="de.intevation.gnv.transition.timeseries.TimeSeriesOutputTransition">
58 <queryID>timeseries_chart_data</queryID>
59 <inputvalues>
60 <inputvalue name="parameterid" type="Integer"/>
61 <inputvalue name="measurementid" type="Integer"/>
62 <inputvalue name="minvalue" type="Integer"/>
63 <inputvalue name="maxvalue" type="Integer"/>
64 </inputvalues>
65 <outputsModes>
66 <outputsMode name="chart" description="Chartrepresentation of the Values" mime-type="image/png"/>
67 <outputsMode name="csv" description="CSV-Export der Daten" mime-type="test/plain"/>
68 <outputsMode name="statistics" description="Statistik zu den Daten" mime-type="test/plain"/>
69 </outputsModes>
70 </transition>
71
72 </transitions>
73 </artifact>
74 </artifacts>
75 <geo-backend>
76 <backend-configuration>../geo-backend/src/test/ressources/ArcSDEConnectionPoolTestCase.properties</backend-configuration>
77 <query-configuration>src/test/ressources/queries.properties</query-configuration>
78 </geo-backend>
79 <database>
80 <user></user>
81 <password></password>
82 <!-- <url>jdbc:h2:artifacts.db</url> -->
83 <!-- <driver>org.h2.Driver</driver> -->
84 <!-- <sql></sql> -->
85 </database>
86 </artifact-database>

http://dive4elements.wald.intevation.org