Mercurial > dive4elements > gnv-client
annotate doc/config-manual/model_of_transitions.tex @ 907:29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
doc/trunk@1041 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Fri, 30 Apr 2010 12:18:47 +0000 |
parents | 03d58951889e |
children | babeef4f8480 |
rev | line source |
---|---|
906
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
1 \section{Model of transitions} |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
2 \subsection{General principle of model of transitions} |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
3 - FIS -> product -> transitions in data model |
907
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
4 The configuration of the provided FIS are devided in three parts. |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
5 |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
6 * Configuration of the Artifactfactories which represents the FIS. |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
7 * Configuration of main Artifacts which will be instantiated if an |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
8 Artifactfactory was called. |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
9 * Configuration of the different Artifacts which provides Products which can be |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
10 served by the FIS. |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
11 |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
12 \subsubsection{Configuration of ArtifactFactories} |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
13 The Point of Enty into the system is to configure an Artifactfactory. |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
14 Each Artifactfactory represents one FIS. |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
15 It is possible to configure several Artifactfactories. |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
16 The Artifactfactories will be vonfigured in the Section |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
17 /artifact-database/artifact-factories of the Configurationfile. |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
18 |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
19 \begin{lstlisting} |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
20 <artifact-factory name='fis\_marnet' |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
21 description='Factory to create an artifact to be used with the FIS NEWFISNAME' |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
22 ttl='3600000' |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
23 artifact='de.intevation.artifactdatabase.ProxyArtifact'> |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
24 de.intevation.gnv.artifacts.GNVProductArtifactFactory |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
25 </artifact-factory> |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
26 \end{lstlisting} |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
27 |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
28 At this moment the following Attributes of an Artifact-Factory are configurabel. |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
29 * name: The Name of the Artifact. Must be unique in one Artifact-Server |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
30 * description: Short description which Job the Artifactfactory has to do. |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
31 * ttl: The Time to Live: The Time using Milliseconds an Artifact created by this |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
32 factory can live without any Userinteraction. |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
33 * artifact: The Name of the Class of the Artifact which should be created. |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
34 |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
35 // TODO: List of Artifacts which currently used in this Configuration? |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
36 |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
37 \subsubsection{Configuration of main Artifact} |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
38 To each Artifact-Factory it is necessary to configure one Artifact which will be |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
39 created from the Factory. |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
40 This Artifact is the representation of the specific FIS. |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
41 It contains the Configuration which product will be serverd for ths FIS. |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
42 |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
43 The Artifacts are configured in the Section /artifact-database/artifacts of |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
44 the Configurationfile. |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
45 |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
46 \begin{lstlisting} |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
47 <artifact name='fis\_marnet'> |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
48 <products> |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
49 ... |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
50 </products> |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
51 </artifact> |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
52 \end{lstlisting} |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
53 |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
54 The Key is to use the same Name for the Artifact as used for the Artifactfactory. |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
55 The Name has to be unique. |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
56 In the Section /artifact/products it is possible to define several Products as |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
57 explained in the next Section. |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
58 |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
59 \paragraph{Products to an Artifact} |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
60 One Artifact can provide several Products. |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
61 To do this it is required to configure them as shown below in the Section |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
62 /artifact/products |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
63 |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
64 \begin{lstlisting} |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
65 <product name= "timeSeries"> |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
66 <artifact-factory name="timeSeries" |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
67 description="Artiefactfactory for Instantiating the Artifact for TimeSeries on TimeSeriesPoints" |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
68 ttl="300000" |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
69 artifact="de.intevation.gnv.timeseries.TimeSeriesArtifact"> |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
70 de.intevation.gnv.artifacts.GNVArtifactFactory |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
71 </artifact-factory> |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
72 <parameters> |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
73 <parameter name="sourceid" |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
74 value="4"/> |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
75 <parameter name="fisname" |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
76 value="fis\_marnet"/> |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
77 </parameters> |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
78 </product> |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
79 \end{lstlisting} |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
80 |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
81 Each Product is represented by an Artifact. To create this Artifact we have to |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
82 use an Artifact-Factory which is configured in each product |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
83 (/product/artifact-factory). |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
84 |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
85 Each Product can have several parameters /product/parameters/parameters. |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
86 The Parameter named sourceid and fisname are required Parameters. |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
87 |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
88 The Parameter fisname contains the key to the Name of the FIS. The Key must be |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
89 unique. |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
90 The Parameter sourceid contains the key to identify the FIS in the |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
91 DataWareHouse. (MEDIAN.SOURCEINFO) |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
92 |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
93 |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
94 \subsubsection{Configuration of the Product-Artifacts} |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
95 \paragraph{States} |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
96 \paragraph{Transitions} |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
97 \paragraph{Outputstate} |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
98 |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
99 |
906
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
100 \subsection{Adding a new FIS} |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
101 In this Section it will explained which steps has to be done to integrate a new |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
102 FIS into the Artifact-Server. |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
103 This will be done using the Configuration for an FIS which use data from |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
104 MEDIAN.TIMESERIES Section of the DataWareHouse e.g. MARNET or STAUN |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
105 |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
106 Pay attention that for publishing the Changes to the Artifact-Server you will |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
107 have to restart it. |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
108 |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
109 \subsubsection{Adding a new Artifactfactory} |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
110 First step is to add a new Artifactfactory to the Configuration conf/conf.xml |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
111 To do this you have to add a new XML-Fragment into the Section |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
112 /factories/artifact-factories which look like that: |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
113 |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
114 \begin{lstlisting} |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
115 <artifact-factory name='fis\_NEWFISNAME' |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
116 description='Factory to create an artifact to be used with the FIS NEWFISNAME' |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
117 ttl='3600000' |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
118 artifact='de.intevation.artifactdatabase.ProxyArtifact'> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
119 de.intevation.gnv.artifacts.GNVProductArtifactFactory |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
120 </artifact-factory> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
121 \end{lstlisting} |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
122 |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
123 In this XML-Fragment you only have to replace the placeholder NEWFISNAME with a |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
124 unique short Name for the new FIS. |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
125 |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
126 \subsubsection{Adding a new Artifact for Artifactfactory} |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
127 The next Step is to define the Artifact itself. |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
128 For this it is necessary to add an XML-Fragment into the Section /artifacts of |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
129 the main Configuration-File /conf/conf.xml |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
130 \begin{lstlisting} |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
131 <artifact name='fis\_NEWFISNAME'> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
132 <products> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
133 ... |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
134 </products> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
135 </artifact> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
136 \end{lstlisting} |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
137 |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
138 In this XML- Fragment it is also required to replave the placeholder NEWFISNAME |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
139 with the name which was used to configure the Artifact-Factory. |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
140 |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
141 Now the ArtifactServer can serv an additional FIS without any Products yet. |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
142 |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
143 To prevent needless Configuration-Work it is useful way to clone an Artifact |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
144 which handle the same Kind of work as the new FIS. |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
145 |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
146 \subsubsection{Adding removing Products to the specific Artifact} |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
147 Now it is Time to configure the different Products which the FIS should be able |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
148 to provide. |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
149 To do this it is necessary to Copy the XML-Fragments of the products into the |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
150 XML-Element <products> of the previously integrated Artifact. |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
151 \begin{lstlisting} |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
152 <artifact name='fis\_NEWFISNAME'> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
153 <products> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
154 <product name= "timeSeries"> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
155 <artifact-factory name="timeSeries" |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
156 description="Artiefactfactory for Instantiating the Artifact for TimeSeries on TimeSeriesPoints" |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
157 ttl="300000" |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
158 artifact="de.intevation.gnv.timeseries.TimeSeriesArtifact"> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
159 de.intevation.gnv.artifacts.GNVArtifactFactory |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
160 </artifact-factory> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
161 <parameters> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
162 <parameter name="sourceid" |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
163 value="VALUEOFSOURCEID"/> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
164 <parameter name="fisname" |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
165 value="fis\_NEWFISNAME"/> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
166 </parameters> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
167 </product> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
168 <product name= "verticalProfile"> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
169 <artifact-factory name="verticalProfile" |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
170 description="Artiefactfactory for Instantiating the Artifact for Verticalprofiles on TimeSeriesPoints" |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
171 ttl="300000" |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
172 artifact="de.intevation.gnv.profile.vertical.VerticalProfileArtifact"> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
173 de.intevation.gnv.artifacts.GNVArtifactFactory |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
174 </artifact-factory> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
175 <parameters> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
176 <parameter name="sourceid" |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
177 value="VALUEOFSOURCEID"/> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
178 <parameter name="fisname" |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
179 value="fis\_NEWFISNAME"/> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
180 </parameters> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
181 </product> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
182 </products> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
183 </artifact> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
184 \end{lstlisting} |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
185 |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
186 In this XML Fragment you have to replace the placeholders NEWFISNAME as before |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
187 and VALUEOFSOURCEID with the value for the new FIS as defined in the Table |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
188 MEDIAN.SOURCEINFO. |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
189 |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
190 \subsubsection{Putting SourceID to specific Artifact} |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
191 \subsection{Adding a new Product} |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
192 To add a new Product to the System it is necessary that the required |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
193 Artifactrepresentation is Implemented in the SourceCode. |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
194 Without doing that step it is not possible to create a new Product. |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
195 |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
196 All Products are configured in separate Files that will be included into the |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
197 Mainconfiguration using Xlink-references. |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
198 |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
199 First Step is to create a new File in the Folder products and there in the |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
200 subfolder where the Product belongs to (timeseries,verticalprofile, |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
201 horizontalprofile,horizontalcrosssection,layer,...) |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
202 |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
203 Then you have tor reference this File in the File /conf/conf.xml in the Section |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
204 /artifacts using the following XML-Fragment. |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
205 |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
206 \begin{lstlisting} |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
207 <artifact name="timeSeries" |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
208 xmlns:xlink="http://www.w3.org/1999/xlink" |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
209 xlink:href="${artifacts.config.dir}/products/PATHTOFILE" /> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
210 \end{lstlisting} |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
211 |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
212 The placeholder PATHTOFILE has to be replaced with the relative Path and the |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
213 Name of the File starting in the Folder products. |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
214 |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
215 Then it is possible to add the product to a FIS as explained in the next section. |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
216 Please note that the defined Name of the ArtifactFactory has to match to the |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
217 Name of the added Products which is also designed as an Artifact. |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
218 |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
219 \subsection{Adding a additional Product to a FIS} |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
220 To add a additional Product to a FIS you only have to add the XML-Fragment which |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
221 represents the product to the Artifact-configuration of the FIS in Section |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
222 /artifacts/artifact/products. |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
223 |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
224 \begin{lstlisting} |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
225 <product name= "timeSeries"> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
226 <artifact-factory name="timeSeries" |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
227 description="Artiefactfactory for Instantiating the Artifact for TimeSeries on TimeSeriesPoints" |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
228 ttl="300000" |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
229 artifact="de.intevation.gnv.timeseries.TimeSeriesArtifact"> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
230 de.intevation.gnv.artifacts.GNVArtifactFactory |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
231 </artifact-factory> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
232 <parameters> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
233 <parameter name="sourceid" |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
234 value="VALUEOFSOURCEID"/> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
235 <parameter name="fisname" |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
236 value="fis\_NEWFISNAME"/> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
237 </parameters> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
238 </product> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
239 \end{lstlisting} |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
240 |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
241 Please note that you have to replace the Placeholders as explained above. |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
242 |