Mercurial > dive4elements > gnv-client
diff doc/config-manual/model_of_transitions.tex @ 919:29a4a1a99a22
Added Sample calls for creating an FIS
doc/trunk@1054 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Tue, 04 May 2010 13:36:36 +0000 |
parents | 8a63b0d53003 |
children | 63bc0044ff72 |
line wrap: on
line diff
--- a/doc/config-manual/model_of_transitions.tex Tue May 04 12:54:42 2010 +0000 +++ b/doc/config-manual/model_of_transitions.tex Tue May 04 13:36:36 2010 +0000 @@ -591,7 +591,7 @@ Then we check if the new FIS is served by the REST-Server calling the following command: -curl http://localhost:8181/factories |grep fis\_justanewfis +curl http://localhost:8181/factories | xmllint --format - | grep fis\_justanewfis If the FIS was added the new Artifactfactory will be found in the generated XML-Output and it will be shown. @@ -633,11 +633,16 @@ Restart the Artifact-Database: +\begin{lstlisting} /etc/init.d/artifactdb restart +\end{lstlisting} Now we should be able to choose the Artifact. + The Listbox with products will be empty. -//TODO: USE Screenshots the commandline is to complex? +\begin{lstlisting} +curl -d "@sample-documents/create-artifact.xml" http://localhost:8181/create | xmllint --format - +\end{lstlisting} \subsubsection{Adding removing Products to the specific Artifact} Now it is Time to configure the different Products which the FIS should be able @@ -703,14 +708,23 @@ <parameter name="fisname" value="fis\_justanewfis"/> </parameters> - </product> +</product> \end{lstlisting} Restart the Artifact-Database: +\begin{lstlisting} /etc/init.d/artifactdb restart +\end{lstlisting} + +If we call +\begin{lstlisting} +curl -d "@sample-documents/create-artifact.xml" http://localhost:8181/create | xmllint --format - +\end{lstlisting} + +The Product timeSeries should be available for ths FIS justanewfis. -Now we should be able to choose the Product Timeseries for FIS justanewfis. +Now we should be able to choose the Product. This Product should work and you should be able to generate even the defined Outputformats.