changeset 918:8a63b0d53003

Added Example for adding a new Product to a FIS doc/trunk@1053 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Tue, 04 May 2010 12:54:42 +0000
parents 8c813d136298
children 29a4a1a99a22
files doc/ChangeLog doc/config-manual/model_of_transitions.tex
diffstat 2 files changed, 36 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/doc/ChangeLog	Tue May 04 11:50:53 2010 +0000
+++ b/doc/ChangeLog	Tue May 04 12:54:42 2010 +0000
@@ -1,3 +1,8 @@
+2010-05-04  Tim Englich <tim@intevation.de>
+
+	* config-manual/model_of_transitions.tex:
+	Added Example for adding a new Product to a FIS.
+
 2010-05-04  Tim Englich <tim@intevation.de>
 
 	* config-manual/model_of_transitions.tex:
--- a/doc/config-manual/model_of_transitions.tex	Tue May 04 11:50:53 2010 +0000
+++ b/doc/config-manual/model_of_transitions.tex	Tue May 04 12:54:42 2010 +0000
@@ -683,6 +683,37 @@
 and VALUEOFSOURCEID with the value for the new FIS as defined in the Table 
 MEDIAN.SOURCEINFO.
 
+\paragraph{Example}
+Now we will add a Product to the new FIS.
+To let the Products work we will choose a Product which
+will contain the sourceid of an existing FIS (e.g 4 Marnet).
+
+At first add the following XMl-Fragment to the new Artifact.
+\begin{lstlisting}
+<product name= "timeSeries">
+    <artifact-factory name="timeSeries" 
+                      description="Artiefactfactory for Instantiating the Artifact for TimeSeries on TimeSeriesPoints"  
+                      ttl="300000" 
+                      artifact="de.intevation.gnv.timeseries.TimeSeriesArtifact">
+                      de.intevation.gnv.artifacts.GNVArtifactFactory
+    </artifact-factory>
+    <parameters>
+        <parameter name="sourceid" 
+                 value="4"/>
+        <parameter name="fisname" 
+                 value="fis\_justanewfis"/>
+    </parameters>
+ </product>
+\end{lstlisting}
+
+Restart the Artifact-Database:
+
+/etc/init.d/artifactdb restart
+ 
+Now we should be able to choose the Product Timeseries for FIS justanewfis.
+This Product should work and you should be able to generate even the defined
+Outputformats.
+
 \subsubsection{Putting SourceID to specific Artifact}
 \subsection{Adding a new Product}
 To add a new Product to the System it is necessary that the required 

http://dive4elements.wald.intevation.org