view gnv-artifacts/doc/conf/conf.xml @ 204:734ac082c8d1

Split the Configuration File in several small Documents to speed up the Artifactinstantiation and also make the administration of the Artifactdatabase easier. issue40 and issue59 gnv-artifacts/trunk@259 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Thu, 22 Oct 2009 08:50:21 +0000
parents 226091ed3cbd
children 17beafef6a97
line wrap: on
line source
<artifact-database>
    <factories>
        <context-factory>de.intevation.gnv.artifacts.context.GNVArtifactContextFactory</context-factory>
        <artifact-factories>
            <artifact-factory name="fis_marnet" description="Artiefactfactory for Instantiating the Artifact for the FIS Marnet"  
                              ttl="300000" artifact="de.intevation.gnv.artifacts.fis.FISArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="fis_imis" description="Artiefactfactory for Instantiating the Artifact for the FIS IMIS"  
                              ttl="300000" artifact="de.intevation.gnv.artifacts.fis.FISArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
            <artifact-factory name="fis_staun" description="Artiefactfactory for Instantiating the Artifact for the FIS STAUN"  
                              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_eisklimatologie" 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_sst" 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_gts" 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_bsh_ctd" 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_bsh_cbt" 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>
    </factories>
    <artifacts>
        <artifact name="fis_marnet">
            <products>
                <product name= "timeSeries">
                    <artifact-factory name="timeSeries" description="Artiefactfactory for Instantiating the Artifact for the FIS Modeldata"  
                             ttl="300000" artifact="de.intevation.gnv.timeseries.TimeSeriesArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
                    <parameters>
                        <parameter name="sourceid" value="4"/>
                        <parameter name="fisname" value="fis_marnet"/>
                    </parameters>
                </product>
                 <product name= "verticalProfile">
                    <artifact-factory name="verticalProfile" description="Artiefactfactory for Instantiating the Artifact for the FIS Modeldata"  
                             ttl="300000" artifact="de.intevation.gnv.profile.vertical.VerticalProfileArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
                    <parameters>
                        <parameter name="sourceid" value="4"/>
                        <parameter name="fisname" value="fis_marnet"/>
                    </parameters>
                </product>
            </products>
        </artifact>
        <artifact name="fis_imis">
            <products>
                <product name= "timeSeries">
                    <artifact-factory name="timeSeries" description="Artiefactfactory for Instantiating the Artifact for the FIS Modeldata"  
                              ttl="300000" artifact="de.intevation.gnv.timeseries.TimeSeriesArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
                    <parameters>
                        <parameter name="sourceid" value="18"/>
                        <parameter name="fisname" value="fis_imis"/>
                    </parameters>
                </product>
                <product name= "verticalProfile">
                    <artifact-factory name="verticalProfile" description="Artiefactfactory for Instantiating the Artifact for the FIS Modeldata"  
                             ttl="300000" artifact="de.intevation.gnv.profile.vertical.VerticalProfileArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
                    <parameters>
                        <parameter name="sourceid" value="18"/>
                        <parameter name="fisname" value="fis_imis"/>
                    </parameters>
                </product>
            </products>
        </artifact>
        <artifact name="fis_staun">
            <products>
                <product name= "timeSeries">
                    <artifact-factory name="timeSeries" description="Artiefactfactory for Instantiating the Artifact for the FIS Modeldata"  
                              ttl="300000" artifact="de.intevation.gnv.timeseries.TimeSeriesArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
                    <parameters>
                        <parameter name="sourceid" value="17"/>
                        <parameter name="fisname" value="fis_staun"/>
                    </parameters>
                </product>
                <product name= "verticalProfile">
                    <artifact-factory name="verticalProfile" description="Artiefactfactory for Instantiating the Artifact for the FIS Modeldata"  
                             ttl="300000" artifact="de.intevation.gnv.profile.vertical.VerticalProfileArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
                    <parameters>
                        <parameter name="sourceid" value="17"/>
                        <parameter name="fisname" value="fis_staun"/>
                    </parameters>
                </product>
            </products>
        </artifact>
        <artifact name="fis_modeldata">
            <products>
                <product name= "timeSeries">
                    <artifact-factory name="timeSeriesMesh" description="Artiefactfactory for Instantiating the Artifact for the FIS Modeldata"  
                              ttl="300000" artifact="de.intevation.gnv.timeseries.TimeSeriesMeshArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
                    <parameters>
                         <parameter name="sourceid" value="2"/>
                         <parameter name="fisname" value="fis_modeldata"/>
                    </parameters>
                </product>
                <product name= "verticalProfile">
                    <artifact-factory name="verticalProfileMesh" description="Artiefactfactory for Instantiating the Artifact for the FIS Modeldata"  
                             ttl="300000" artifact="de.intevation.gnv.profile.vertical.VerticalProfileMeshArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
                    <parameters>
                        <parameter name="sourceid" value="2"/>
                        <parameter name="fisname" value="fis_modeldata"/>
                    </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>
                        <parameter name="sourceid" value="2"/>
                        <parameter name="fisname" value="fis_modeldata"/>
                    </parameters>
                </product>
                 <product name= "verticalcrosssection">
                    <artifact-factory name="verticalCrossSectionMesh" description="Artiefactfactory for Instantiating the Artifact for the FIS Modeldata"  
                             ttl="300000" artifact="de.intevation.gnv.profile.verticalcrosssection.VerticalCrossSectionMeshArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
                    <parameters>
                        <parameter name="sourceid" value="2"/>
                        <parameter name="fisname" value="fis_modeldata"/>
                    </parameters>
                </product>
                
                
                
                
            </products>
        </artifact>
        <artifact name="fis_eisklimatologie">
            <products>
                <product name= "timeSeries">
                    <artifact-factory name="timeSeriesMesh" description="Artiefactfactory for Instantiating the Artifact for the FIS Modeldata"  
                              ttl="300000" artifact="de.intevation.gnv.timeseries.TimeSeriesMeshArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
                    <parameters>
                         <parameter name="sourceid" value="38"/>
                         <parameter name="fisname" value="fis_eisklimatologie"/>
                    </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>
                        <parameter name="sourceid" value="38"/>
                        <parameter name="fisname" value="fis_eisklimatologie"/>
                    </parameters>
                </product>
            </products>
        </artifact>
        <artifact name="fis_sst">
            <products>
                <product name= "timeSeries">
                    <artifact-factory name="timeSeriesMesh" description="Artiefactfactory for Instantiating the Artifact for the FIS Modeldata"  
                              ttl="300000" artifact="de.intevation.gnv.timeseries.TimeSeriesMeshArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
                    <parameters>
                         <parameter name="sourceid" value="39"/>
                         <parameter name="sourceid" value="40"/>
                         <parameter name="sourceid" value="41"/>
                         <parameter name="sourceid" value="42"/>
                         <parameter name="fisname" value="fis_sst"/>
                    </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>
                         <parameter name="sourceid" value="39"/>
                         <parameter name="sourceid" value="40"/>
                         <parameter name="sourceid" value="41"/>
                         <parameter name="sourceid" value="42"/>
                         <parameter name="fisname" value="fis_sst"/>
                    </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"/>
                        <parameter name="fisname" value="fis_delphin"/>
                    </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"/>
                        <parameter name="fisname" value="fis_thermosalinograph"/>
                    </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"/>
                        <parameter name="fisname" value="fis_chemusurvey"/>
                    </parameters>
                </product>
                
            </products>
        </artifact>
        <artifact name="fis_gts">
            <products>
                <product name= "verticalProfile">
                    <artifact-factory name="verticalProfileInstantaneousPoint" description="Artiefactfactory for Instantiating the Artifact for the FIS Modeldata"  
                             ttl="300000" artifact="de.intevation.gnv.profile.vertical.VerticalProfileInstantaneousPointArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
                    <parameters>
                        <parameter name="sourceid" value="5"/>
                        <parameter name="fisname" value="fis_gts"/>
                    </parameters>
                </product>
            </products>
        </artifact>
        <artifact name="fis_bsh_ctd">
            <products>
                <product name= "verticalProfile">
                    <artifact-factory name="verticalProfileInstantaneousPoint" description="Artiefactfactory for Instantiating the Artifact for the FIS Modeldata"  
                             ttl="300000" artifact="de.intevation.gnv.profile.vertical.VerticalProfileInstantaneousPointArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
                    <parameters>
                        <parameter name="sourceid" value="32"/>
                        <parameter name="fisname" value="fis_bsh_ctd"/>
                    </parameters>
                </product>
            </products>
        </artifact>
        <artifact name="fis_bsh_cbt">
            <products>
                <product name= "verticalProfile">
                    <artifact-factory name="verticalProfileInstantaneousPoint" description="Artiefactfactory for Instantiating the Artifact for the FIS Modeldata"  
                             ttl="300000" artifact="de.intevation.gnv.profile.vertical.VerticalProfileInstantaneousPointArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
                    <parameters>
                        <parameter name="sourceid" value="36"/>
                        <parameter name="fisname" value="fis_bsh_cbt"/>
                    </parameters>
                </product>
            </products>
        </artifact>
        
        
        <artifact name="timeSeries" xlink:href="${artifacts.config.dir}/products/timeseries/conf_timeseriespoint.xml" />
        <artifact name="timeSeriesMesh" xlink:href="${artifacts.config.dir}/products/timeseries/conf_mesh.xml" />
        
        <artifact name="verticalProfile" xlink:href="${artifacts.config.dir}/products/verticalprofile/conf_timeseriespoint.xml" />
        <artifact name="verticalProfileMesh" xlink:href="${artifacts.config.dir}/products/verticalprofile/conf_mesh.xml" />
        <artifact name="verticalProfileInstantaneousPoint" xlink:href="${artifacts.config.dir}/products/verticalprofile/conf_instantaneouspoint.xml" />
        
        <artifact name="horizontalProfileMesh" xlink:href="${artifacts.config.dir}/products/horizontalprofile/conf_mesh.xml" />
        <artifact name="horizontalProfileInstantaneousPoint" xlink:href="${artifacts.config.dir}/products/horizontalprofile/conf_instantaneouspoint.xml" />
        
        <artifact name="verticalCrossSectionMesh" xlink:href="${artifacts.config.dir}/products/verticalcrosssection/conf_mesh.xml" />
    </artifacts>
    <ehcache>
        <configuration>${artifacts.config.dir}/ehcache.xml</configuration>
    </ehcache>
    <geo-backend>
        <backend-configuration>${artifacts.config.dir}/arcsdeconnectionpool.properties</backend-configuration>
        <query-configuration>${artifacts.config.dir}/queries.properties</query-configuration>
    </geo-backend>
    <rest-server>
        <port>8181</port>
    </rest-server>
    <!-- garbage collection of outdated artifacts -->
    <cleaner>
        <sleep-time>300000</sleep-time>
    </cleaner>
    <database>
        <user>SA</user>
        <password></password>
        <!--url>jdbc:h2:src/test/ressources/artifacts.db</url>
        <driver>org.h2.Driver</driver> 
        <sql></sql> -->
    </database>
</artifact-database>

http://dive4elements.wald.intevation.org