Mercurial > dive4elements > gnv-client
comparison doc/config-manual/model_of_transitions.tex @ 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 |
comparison
equal
deleted
inserted
replaced
917:8c813d136298 | 918:8a63b0d53003 |
---|---|
681 | 681 |
682 In this XML-Fragment you have to replace the placeholders NEWFISNAME as before | 682 In this XML-Fragment you have to replace the placeholders NEWFISNAME as before |
683 and VALUEOFSOURCEID with the value for the new FIS as defined in the Table | 683 and VALUEOFSOURCEID with the value for the new FIS as defined in the Table |
684 MEDIAN.SOURCEINFO. | 684 MEDIAN.SOURCEINFO. |
685 | 685 |
686 \paragraph{Example} | |
687 Now we will add a Product to the new FIS. | |
688 To let the Products work we will choose a Product which | |
689 will contain the sourceid of an existing FIS (e.g 4 Marnet). | |
690 | |
691 At first add the following XMl-Fragment to the new Artifact. | |
692 \begin{lstlisting} | |
693 <product name= "timeSeries"> | |
694 <artifact-factory name="timeSeries" | |
695 description="Artiefactfactory for Instantiating the Artifact for TimeSeries on TimeSeriesPoints" | |
696 ttl="300000" | |
697 artifact="de.intevation.gnv.timeseries.TimeSeriesArtifact"> | |
698 de.intevation.gnv.artifacts.GNVArtifactFactory | |
699 </artifact-factory> | |
700 <parameters> | |
701 <parameter name="sourceid" | |
702 value="4"/> | |
703 <parameter name="fisname" | |
704 value="fis\_justanewfis"/> | |
705 </parameters> | |
706 </product> | |
707 \end{lstlisting} | |
708 | |
709 Restart the Artifact-Database: | |
710 | |
711 /etc/init.d/artifactdb restart | |
712 | |
713 Now we should be able to choose the Product Timeseries for FIS justanewfis. | |
714 This Product should work and you should be able to generate even the defined | |
715 Outputformats. | |
716 | |
686 \subsubsection{Putting SourceID to specific Artifact} | 717 \subsubsection{Putting SourceID to specific Artifact} |
687 \subsection{Adding a new Product} | 718 \subsection{Adding a new Product} |
688 To add a new Product to the System it is necessary that the required | 719 To add a new Product to the System it is necessary that the required |
689 Artifactrepresentation is Implemented in the SourceCode. | 720 Artifactrepresentation is Implemented in the SourceCode. |
690 Without doing that step it is not possible to create a new Product. | 721 Without doing that step it is not possible to create a new Product. |