diff gnv-artifacts/src/test/ressources/conf.xml @ 116:820238357bab

Added Horizontal-Profile-Support for Meshes. Modify the Workflow for Horizontal-Profile-InstantaneousPoint gnv-artifacts/trunk@169 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Fri, 02 Oct 2009 08:07:00 +0000
parents d8d38a4dd965
children ef157bd2fa92
line wrap: on
line diff
--- a/gnv-artifacts/src/test/ressources/conf.xml	Thu Oct 01 08:57:49 2009 +0000
+++ b/gnv-artifacts/src/test/ressources/conf.xml	Fri Oct 02 08:07:00 2009 +0000
@@ -11,6 +11,12 @@
                               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-factory name="fis_delphin" 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-factory name="fis_thermosalinograph" 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-factory name="fis_chemusurvey" 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-factory name="fis_instantaneouspoint" 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>
@@ -82,9 +88,49 @@
                              ttl="300000" artifact="de.intevation.gnv.profile.vertical.VerticalProfileMeshArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
                     <parameters></parameters>
                 </product>
+                <product name= "horizontalProfile">
+                    <artifact-factory name="horizontalProfilehorizontalProfileMesh" description="Artiefactfactory for Instantiating the Artifact for the FIS Modeldata"  
+                             ttl="300000" artifact="de.intevation.gnv.profile.horizontal.HorizontalProfileMeshArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
+                    <parameters></parameters>
+                </product>
             </products>
         </artifact>
-        
+        <artifact name="fis_delphin">
+            <products>
+                <product name= "horizontalProfile">
+                    <artifact-factory name="horizontalProfileInstantaneousPoint" description="Artiefactfactory for Instantiating the Artifact for the FIS Modeldata"  
+                             ttl="300000" artifact="de.intevation.gnv.profile.horizontal.HorizontalProfileInstantaneousPointArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
+                    <parameters>
+                        <parameter name="sourceid" value="34"/>
+                    </parameters>
+                </product>
+                
+            </products>
+        </artifact>
+        <artifact name="fis_thermosalinograph">
+            <products>
+                <product name= "horizontalProfile">
+                    <artifact-factory name="horizontalProfileInstantaneousPoint" description="Artiefactfactory for Instantiating the Artifact for the FIS Modeldata"  
+                             ttl="300000" artifact="de.intevation.gnv.profile.horizontal.HorizontalProfileInstantaneousPointArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
+                    <parameters>
+                        <parameter name="sourceid" value="35"/>
+                    </parameters>
+                </product>
+                
+            </products>
+        </artifact>
+        <artifact name="fis_chemusurvey">
+            <products>
+                <product name= "horizontalProfile">
+                    <artifact-factory name="horizontalProfileInstantaneousPoint" description="Artiefactfactory for Instantiating the Artifact for the FIS Modeldata"  
+                             ttl="300000" artifact="de.intevation.gnv.profile.horizontal.HorizontalProfileInstantaneousPointArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
+                    <parameters>
+                        <parameter name="sourceid" value="37"/>
+                    </parameters>
+                </product>
+                
+            </products>
+        </artifact>
          <artifact name="fis_instantaneouspoint">
             <products>
                 <product name= "verticalProfile">
@@ -92,12 +138,6 @@
                              ttl="300000" artifact="de.intevation.gnv.profile.vertical.VerticalProfileInstantaneousPointArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
                     <parameters></parameters>
                 </product>
-                <product name= "horizontalProfile">
-                    <artifact-factory name="horizontalProfileInstantaneousPoint" description="Artiefactfactory for Instantiating the Artifact for the FIS Modeldata"  
-                             ttl="300000" artifact="de.intevation.gnv.profile.horizontal.HorizontalProfileInstantaneousPointArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
-                    <parameters></parameters>
-                </product>
-                
             </products>
         </artifact>
         
@@ -486,6 +526,17 @@
            
            <artifact name="horizontalProfileInstantaneousPoint">
             <transitions>
+                <transition id="horizontalprofile_instantaneouspoint_vehicle" description="horizontalprofile_instantaneouspoint_vehicle" transition="de.intevation.gnv.transition.DefaultTransition">
+                    <queryID>horizontalprofile_instantaneouspoint_vehicle</queryID>
+                    <dataname>vehicleid</dataname>
+                    <data-multiselect>false</data-multiselect>
+                    <reachableTransitions>
+                        <transition>horizontalprofile_instantaneouspoint_cruise</transition>
+                    </reachableTransitions>
+                    <inputvalues>
+                        <inputvalue name="sourceid" type="Integer" multiselect="false"/>
+                    </inputvalues>
+                </transition>
                 <transition id="horizontalprofile_instantaneouspoint_cruise" description="horizontalprofile_instantaneouspoint_cruise" transition="de.intevation.gnv.transition.DefaultTransition">
                     <queryID>horizontalprofile_instantaneouspoint_cruise</queryID>
                     <dataname>cruiseid</dataname>
@@ -494,6 +545,8 @@
                            <transition>horizontalprofile_instantaneouspoint_track</transition>
                     </reachableTransitions>
                     <inputvalues>
+                        <inputvalue name="vehicleid" type="Integer" multiselect="false"/>
+                        <inputvalue name="sourceid" type="Integer" multiselect="false"/>
                     </inputvalues>
                 </transition>
                 <transition id="horizontalprofile_instantaneouspoint_track" description="horizontalprofile_instantaneouspoint_track" transition="de.intevation.gnv.transition.DefaultTransition">
@@ -568,6 +621,128 @@
                 </transition>
             </transitions>
            </artifact>
+           
+           <artifact name="horizontalProfileMesh">
+            <transitions>
+             <transition id="horizontalprofile_mesh" description="horizontalprofile_mesh" transition="de.intevation.gnv.transition.DefaultTransition">
+                    <queryID>verticalprofile_mesh</queryID>
+                    <dataname>featureid</dataname>
+                    <data-multiselect>false</data-multiselect>
+                    <reachableTransitions>
+                           <transition>horizontalprofile_mesh_coordinate</transition>
+                    </reachableTransitions>
+                    <inputvalues>
+                    </inputvalues>
+                </transition>
+                
+                <transition id="horizontalprofile_mesh_coordinate" description="horizontalprofile_mesh_coordinate" transition="de.intevation.gnv.transition.SingleInputTransition">
+                    <dataname>verticalprofile_mesh_coordinate</dataname>
+                    <data-multiselect>false</data-multiselect>
+                    <reachableTransitions>
+                           <transition>horizontalprofile_mesh_point</transition>v
+                    </reachableTransitions>
+                    <inputvalues>
+                         <inputvalue name="featureid" type="Integer" multiselect="false"/>
+                    </inputvalues>
+                </transition>
+                
+                <transition id="horizontalprofile_mesh_point" description="horizontalprofile_mesh_point" transition="de.intevation.gnv.transition.DefaultTransition">
+                    <queryID>verticalprofile_mesh_point</queryID>
+                    <dataname>mesh_point</dataname>
+                    <data-multiselect>false</data-multiselect>
+                    <reachableTransitions>
+                        <transition>horizontalprofile_mesh_axis</transition>v
+                    </reachableTransitions>
+                    <inputvalues>
+                         <inputvalue name="featureid" type="Integer" multiselect="false"/>
+                         <inputvalue name="mesh_coordinate" type="Integer" multiselect="false"/>
+                    </inputvalues>
+                </transition>
+                 <transition id="horizontalprofile_mesh_axis" description="horizontalprofile_mesh_point" transition="de.intevation.gnv.transition.profile.horizontal.NorthSouthEastWestTransition">
+                   <dataname>axisid</dataname>
+                    <data-multiselect>false</data-multiselect>
+                    <reachableTransitions>
+                        <transition>horizontalprofile_meshpoint_parameter</transition>v
+                    </reachableTransitions>
+                    <inputvalues>
+                         <inputvalue name="featureid" type="Integer" multiselect="false"/>
+                         <inputvalue name="mesh_point" type="Integer" multiselect="false"/>
+                    </inputvalues>
+                </transition>
+                <transition id="horizontalprofile_meshpoint_parameter" description="horizontalprofile_meshpoint_parameter" transition="de.intevation.gnv.transition.DefaultTransition">
+                    <queryID>verticalprofile_mesh_parameter</queryID>
+                    <dataname>parameterid</dataname>
+                    <data-multiselect>true</data-multiselect>
+                    <reachableTransitions>
+                        <transition>horizontalprofile_meshpoint_depth</transition>
+                    </reachableTransitions>
+                    <inputvalues>
+                         <inputvalue name="featureid" type="Integer" multiselect="false" usedinquery="1"/>
+                         <inputvalue name="mesh_point" type="Integer" multiselect="false" usedinquery="0"/>
+                         <inputvalue name="axisid" type="AttributeName" multiselect="false" usedinquery="0"/>
+                    </inputvalues>
+                </transition>
+                
+                
+                 <transition id="horizontalprofile_meshpoint_depth" description="horizontalprofile_meshpoint_depth" transition="de.intevation.gnv.transition.DefaultTransition">
+                    <queryID>horizontalprofile_meshpoint_depth</queryID>
+                    <dataname>depthid</dataname>
+                    <data-multiselect>true</data-multiselect>
+                    <reachableTransitions>
+                        <transition>horizontalprofile_mesh_date</transition>v
+                    </reachableTransitions>
+                    <inputvalues>
+                         <inputvalue name="featureid" type="Integer" multiselect="false" usedinquery="1"/>
+                         <inputvalue name="mesh_point" type="Integer" multiselect="false" usedinquery="2"/>
+                         <inputvalue name="axisid" type="AttributeName" multiselect="false" usedinquery="0"/>
+                         <inputvalue name="parameterid" type="Integer" multiselect="true" useinquery="0"/>
+                    </inputvalues>
+                </transition>
+                
+                <transition id="horizontalprofile_mesh_date" description="horizontalprofile_mesh_date" transition="de.intevation.gnv.transition.DefaultTransition">
+                    <queryID>verticalprofile_mesh_date</queryID>
+                    <dataname>dateid</dataname>
+                    <data-multiselect>true</data-multiselect>
+                    <reachableTransitions>
+                         <transition>horizontalprofile_mesh_calculate_results</transition>
+                    </reachableTransitions>
+                    <inputvalues>
+                        <inputvalue name="featureid" type="Integer" multiselect="false" usedinquery="1"/>
+                        <inputvalue name="mesh_point" type="Integer" multiselect="false" usedinquery="0"/>
+                        <inputvalue name="axisid" type="AttributeName" multiselect="false" usedinquery="0"/>
+                        <inputvalue name="parameterid" type="Integer" multiselect="true"  usedinquery="0"/>
+                        <inputvalue name="depthid" type="Integer" multiselect="true"  usedinquery="0"/>
+                    </inputvalues>
+                </transition>
+                
+                <transition id="horizontalprofile_mesh_calculate_results" description="horizontalprofile_mesh_calculate_results" transition="de.intevation.gnv.transition.profile.horizontal.HorizontalProfileOutputTransition">
+                    <queryID>horizontalprofile_mesh_chart_data</queryID>
+                    <inputvalues>
+                        <inputvalue name="parameterid" type="Integer" multiselect="true" usedinquery="1"/>
+                        <inputvalue name="dateid" type="Date" multiselect="true" usedinquery="1"/>
+                        <inputvalue name="featureid" type="Integer" multiselect="false" usedinquery="2"/>
+                        <inputvalue name="depthid" type="Integer" multiselect="true"  usedinquery="1"/>
+                        <inputvalue name="axisid" type="AttributeName" multiselect="false" usedinquery="2"/>
+                        <inputvalue name="mesh_point" type="Integer" multiselect="false" usedinquery="1"/> 
+                    </inputvalues>
+                    <outputsModes>
+                        <outputsMode name="chart" description="Chartrepresentation of the Values" mime-type="image/png">
+                            <parameters>
+                                <inputvalue name="width" type="Integer" value="600"/>
+                                <inputvalue name="height" type="Integer" value="400"/>
+                            </parameters>
+                        </outputsMode>
+                        <outputsMode name="csv" description="CSV-Export der Daten" mime-type="test/plain"/>
+                        <outputsMode name="statistics" description="Statistik zu den Daten" mime-type="text/xml"/>
+                    </outputsModes>
+                </transition>
+            </transitions>
+         </artifact>
+           
+           
+           
+           
+           
     </artifacts>
     <ehcache>
         <configuration>src/test/ressources/ehcache.xml</configuration>

http://dive4elements.wald.intevation.org