annotate flys-artifacts/doc/conf/conf.xml @ 957:e91996b46e3c

Meta data template: Added new choose/when/otherwise construct similiar to XSLT flys-artifacts/trunk@2376 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 20 Jul 2011 14:59:25 +0000
parents 1cf7b4ee7b6d
children ae198bef4ba0
rev   line source
105
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
1 <artifact-database>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
2 <export-secret>YOUR_SECRET</export-secret>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
3 <factories>
106
5864c41219db Initializes a TransitionEngine storing all transitions for each artifact at the application start.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 105
diff changeset
4 <context-factory>de.intevation.flys.artifacts.context.FLYSContextFactory</context-factory>
117
1a025ff0f7fd Added a nodes for the user-factory and collection-factory to the configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 106
diff changeset
5
1a025ff0f7fd Added a nodes for the user-factory and collection-factory to the configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 106
diff changeset
6 <collection-factory
1a025ff0f7fd Added a nodes for the user-factory and collection-factory to the configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 106
diff changeset
7 name="DefaultArtifactCollectionFactory"
1a025ff0f7fd Added a nodes for the user-factory and collection-factory to the configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 106
diff changeset
8 description="The default artifact collection factory"
651
e6cecb661bff Set collection ttl to 6 hours.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 647
diff changeset
9 ttl="21600000"
147
76cc1a66a05f Implemented a FLYSArtifactCollection that will be used in this application now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 131
diff changeset
10 artifact-collection="de.intevation.flys.collections.FLYSArtifactCollection">de.intevation.artifactdatabase.DefaultArtifactCollectionFactory</collection-factory>
117
1a025ff0f7fd Added a nodes for the user-factory and collection-factory to the configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 106
diff changeset
11
105
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
12 <artifact-factories>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
13 <!-- All Artifactfactories which are available in this Database.
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
14 Each Artifactfactory represents one river. -->
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
15 <artifact-factory name="winfo" description="Factory to create an artifact to be used in WINFO"
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
16 ttl="3600000"
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
17 artifact="de.intevation.flys.artifacts.WINFOArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
942
796c54058dc4 Added artifacts/states for WMS background an river axis and a configuration for the output-defaults.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 731
diff changeset
18 <artifact-factory name="riveraxis" description="Factory to create an artifact to be used in WINFO"
796c54058dc4 Added artifacts/states for WMS background an river axis and a configuration for the output-defaults.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 731
diff changeset
19 ttl="3600000"
796c54058dc4 Added artifacts/states for WMS background an river axis and a configuration for the output-defaults.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 731
diff changeset
20 artifact="de.intevation.flys.artifacts.RiverAxisArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
796c54058dc4 Added artifacts/states for WMS background an river axis and a configuration for the output-defaults.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 731
diff changeset
21 <artifact-factory name="wmsbackground" description="Factory to create an artifact to be used in WINFO"
796c54058dc4 Added artifacts/states for WMS background an river axis and a configuration for the output-defaults.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 731
diff changeset
22 ttl="3600000"
796c54058dc4 Added artifacts/states for WMS background an river axis and a configuration for the output-defaults.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 731
diff changeset
23 artifact="de.intevation.flys.artifacts.WMSBackgroundArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
105
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
24 </artifact-factories>
117
1a025ff0f7fd Added a nodes for the user-factory and collection-factory to the configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 106
diff changeset
25
1a025ff0f7fd Added a nodes for the user-factory and collection-factory to the configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 106
diff changeset
26 <user-factory name="default" description="Factory to create new users">de.intevation.artifactdatabase.DefaultUserFactory</user-factory>
118
888e3b1dcdd9 Added a RiverService (/service/rivers) that retrieves a list of provided rivers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 117
diff changeset
27
888e3b1dcdd9 Added a RiverService (/service/rivers) that retrieves a list of provided rivers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 117
diff changeset
28 <service-factories>
888e3b1dcdd9 Added a RiverService (/service/rivers) that retrieves a list of provided rivers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 117
diff changeset
29 <service-factory
888e3b1dcdd9 Added a RiverService (/service/rivers) that retrieves a list of provided rivers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 117
diff changeset
30 name="rivers"
888e3b1dcdd9 Added a RiverService (/service/rivers) that retrieves a list of provided rivers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 117
diff changeset
31 service="de.intevation.flys.artifacts.services.RiverService"
888e3b1dcdd9 Added a RiverService (/service/rivers) that retrieves a list of provided rivers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 117
diff changeset
32 description="This service returns a list of provided rivers by the artifact server.">de.intevation.artifactdatabase.DefaultServiceFactory</service-factory>
301
1a00cb4998a8 Implemented a service that retrieves distance information for a specific river.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 147
diff changeset
33 <service-factory
1a00cb4998a8 Implemented a service that retrieves distance information for a specific river.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 147
diff changeset
34 name="distanceinfo"
1a00cb4998a8 Implemented a service that retrieves distance information for a specific river.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 147
diff changeset
35 service="de.intevation.flys.artifacts.services.DistanceInfoService"
1a00cb4998a8 Implemented a service that retrieves distance information for a specific river.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 147
diff changeset
36 description="Returns a list of distances supported by a specific river.">de.intevation.artifactdatabase.DefaultServiceFactory</service-factory>
331
5a2df8677b3e Added a service that returns the MainValues of a Gauge based on a river name and a stationing.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 310
diff changeset
37 <service-factory
5a2df8677b3e Added a service that returns the MainValues of a Gauge based on a river name and a stationing.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 310
diff changeset
38 name="mainvalues"
5a2df8677b3e Added a service that returns the MainValues of a Gauge based on a river name and a stationing.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 310
diff changeset
39 service="de.intevation.flys.artifacts.services.MainValuesService"
5a2df8677b3e Added a service that returns the MainValues of a Gauge based on a river name and a stationing.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 310
diff changeset
40 description="Returns the main values of a river's gauge based on a start and end point of the river.">de.intevation.artifactdatabase.DefaultServiceFactory</service-factory>
371
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 359
diff changeset
41 <service-factory
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 359
diff changeset
42 name="metadata"
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 359
diff changeset
43 service="de.intevation.flys.artifacts.services.MetaDataService"
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 359
diff changeset
44 description="The service provides some introspection into the database content.">de.intevation.artifactdatabase.DefaultServiceFactory</service-factory>
118
888e3b1dcdd9 Added a RiverService (/service/rivers) that retrieves a list of provided rivers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 117
diff changeset
45 </service-factories>
888e3b1dcdd9 Added a RiverService (/service/rivers) that retrieves a list of provided rivers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 117
diff changeset
46
105
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
47 </factories>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
48
310
6d2c8915e22c Finalized the SessionCallContextListener and registered it as CallContext.Listener in the configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 301
diff changeset
49 <callcontext-listener
6d2c8915e22c Finalized the SessionCallContextListener and registered it as CallContext.Listener in the configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 301
diff changeset
50 name="SessionCallContextListener"
6d2c8915e22c Finalized the SessionCallContextListener and registered it as CallContext.Listener in the configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 301
diff changeset
51 description="A CallContext.Listener to open and close Hibernatesessions">de.intevation.flys.artifacts.context.SessionCallContextListener</callcontext-listener>
6d2c8915e22c Finalized the SessionCallContextListener and registered it as CallContext.Listener in the configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 301
diff changeset
52
105
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
53 <artifacts>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
54 <artifact name="winfo" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/artifacts/winfo.xml" />
942
796c54058dc4 Added artifacts/states for WMS background an river axis and a configuration for the output-defaults.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 731
diff changeset
55 <artifact name="riveraxis" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/artifacts/riveraxis.xml" />
796c54058dc4 Added artifacts/states for WMS background an river axis and a configuration for the output-defaults.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 731
diff changeset
56 <artifact name="wmsbackground" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/artifacts/wmsbackground.xml" />
105
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
57 </artifacts>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
58
942
796c54058dc4 Added artifacts/states for WMS background an river axis and a configuration for the output-defaults.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 731
diff changeset
59
796c54058dc4 Added artifacts/states for WMS background an river axis and a configuration for the output-defaults.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 731
diff changeset
60 <hooks>
796c54058dc4 Added artifacts/states for WMS background an river axis and a configuration for the output-defaults.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 731
diff changeset
61 <hook
796c54058dc4 Added artifacts/states for WMS background an river axis and a configuration for the output-defaults.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 731
diff changeset
62 class="de.intevation.flys.artifacts.CollectionMonitor"
796c54058dc4 Added artifacts/states for WMS background an river axis and a configuration for the output-defaults.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 731
diff changeset
63 applies="post-feed,post-advance"
796c54058dc4 Added artifacts/states for WMS background an river axis and a configuration for the output-defaults.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 731
diff changeset
64 xmlns:xlink="http://www.w3.org/1999/xlink"
796c54058dc4 Added artifacts/states for WMS background an river axis and a configuration for the output-defaults.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 731
diff changeset
65 xlink:href="${artifacts.config.dir}/output-defaults.xml">
796c54058dc4 Added artifacts/states for WMS background an river axis and a configuration for the output-defaults.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 731
diff changeset
66 </hook>
796c54058dc4 Added artifacts/states for WMS background an river axis and a configuration for the output-defaults.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 731
diff changeset
67 </hooks>
796c54058dc4 Added artifacts/states for WMS background an river axis and a configuration for the output-defaults.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 731
diff changeset
68
358
f530114182d2 Bugfix: Added missing <output-generators> section to the global configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 341
diff changeset
69 <output-generators>
f530114182d2 Bugfix: Added missing <output-generators> section to the global configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 341
diff changeset
70 <output-generator name="discharge_curve">de.intevation.flys.exports.DischargeCurveGenerator</output-generator>
647
bb484489d3df Introduced a new output generators for creating chart info documents.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 407
diff changeset
71 <output-generator name="discharge_curve_chartinfo">de.intevation.flys.exports.DischargeCurveInfoGenerator</output-generator>
392
72177020db92 Improved the transition model and added classes to enable the WINFO artifact to create computed discharge curves - NOTE: each of the new classes is just a stub.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 391
diff changeset
72 <output-generator name="computed_discharge_curve">de.intevation.flys.exports.ComputedDischargeCurveGenerator</output-generator>
647
bb484489d3df Introduced a new output generators for creating chart info documents.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 407
diff changeset
73 <output-generator name="computed_discharge_curve_chartinfo">de.intevation.flys.exports.ComputedDischargeCurveInfoGenerator</output-generator>
359
e5ea6a01526c Added an OutGenerator for creating longitudinal section curves.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 358
diff changeset
74 <output-generator name="longitudinal_section">de.intevation.flys.exports.LongitudinalSectionGenerator</output-generator>
647
bb484489d3df Introduced a new output generators for creating chart info documents.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 407
diff changeset
75 <output-generator name="longitudinal_section_chartinfo">de.intevation.flys.exports.LongitudinalSectionInfoGenerator</output-generator>
385
478940d06876 Enabled the WINFO artifact to create duration curves - new OutGenerator, added methods for data computation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 373
diff changeset
76 <output-generator name="duration_curve">de.intevation.flys.exports.DurationCurveGenerator</output-generator>
647
bb484489d3df Introduced a new output generators for creating chart info documents.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 407
diff changeset
77 <output-generator name="duration_curve_chartinfo">de.intevation.flys.exports.DurationCurveInfoGenerator</output-generator>
403
1ed48e2ddc1b Added an OutGenerator to create discharge longitudinal section charts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 392
diff changeset
78 <output-generator name="discharge_longitudinal_section">de.intevation.flys.exports.DischargeLongitudinalSectionGenerator</output-generator>
647
bb484489d3df Introduced a new output generators for creating chart info documents.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 407
diff changeset
79 <output-generator name="discharge_longitudinal_section_chartinfo">de.intevation.flys.exports.DischargeLongitudinalSectionInfoGenerator</output-generator>
389
69d05357c177 Added an exporter (OutGenerator) for waterlevels which currently supports CSV exports.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 385
diff changeset
80 <output-generator name="waterlevel_export">de.intevation.flys.exports.WaterlevelExporter</output-generator>
391
5d6988836f01 Added an exporter to export the computed data of a duration curve.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 389
diff changeset
81 <output-generator name="durationcurve_export">de.intevation.flys.exports.DurationCurveExporter</output-generator>
392
72177020db92 Improved the transition model and added classes to enable the WINFO artifact to create computed discharge curves - NOTE: each of the new classes is just a stub.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 391
diff changeset
82 <output-generator name="computed_dischargecurve_export">de.intevation.flys.exports.ComputedDischargeCurveExporter</output-generator>
407
9eb5f0c8fe7f Added a CSV exporter for the discharge longitudinal section computation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 403
diff changeset
83 <output-generator name="discharge_longitudinal_section_export">de.intevation.flys.exports.DischargeLongitudinalSectionExporter</output-generator>
725
51afeced47de Corrected configuration for error reports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 710
diff changeset
84 <!-- error report generators -->
51afeced47de Corrected configuration for error reports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 710
diff changeset
85 <output-generator name="discharge_longitudinal_section_report">de.intevation.flys.exports.ReportGenerator</output-generator>
51afeced47de Corrected configuration for error reports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 710
diff changeset
86 <output-generator name="waterlevel_report">de.intevation.flys.exports.ReportGenerator</output-generator>
51afeced47de Corrected configuration for error reports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 710
diff changeset
87 <output-generator name="computed_dischargecurve_report">de.intevation.flys.exports.ReportGenerator</output-generator>
51afeced47de Corrected configuration for error reports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 710
diff changeset
88 <output-generator name="durationcurve_report">de.intevation.flys.exports.ReportGenerator</output-generator>
731
5ddb1b568f38 Added generation and configuration of AT facets.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 725
diff changeset
89 <!-- AT exporter -->
5ddb1b568f38 Added generation and configuration of AT facets.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 725
diff changeset
90 <output-generator name="computed_dischargecurve_at_export">de.intevation.flys.exports.ATExporter</output-generator>
358
f530114182d2 Bugfix: Added missing <output-generators> section to the global configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 341
diff changeset
91 </output-generators>
f530114182d2 Bugfix: Added missing <output-generators> section to the global configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 341
diff changeset
92
947
db8d93cb65fd Made meta data template configurable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 942
diff changeset
93 <!-- path to the template file of the meta data -->
db8d93cb65fd Made meta data template configurable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 942
diff changeset
94 <metadata template="${artifacts.config.dir}/meta-data-template.xml"/>
db8d93cb65fd Made meta data template configurable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 942
diff changeset
95
956
1cf7b4ee7b6d Made the background layer in floodmaps configurable.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 947
diff changeset
96 <!-- the WMS layer that is displayed as background layer in floodmaps. -->
1cf7b4ee7b6d Made the background layer in floodmaps configurable.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 947
diff changeset
97 <floodmap>
1cf7b4ee7b6d Made the background layer in floodmaps configurable.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 947
diff changeset
98 <background-layer url="http://vmap0.tiles.osgeo.org/wms/vmap0" layer="basic"/>
1cf7b4ee7b6d Made the background layer in floodmaps configurable.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 947
diff changeset
99 </floodmap>
1cf7b4ee7b6d Made the background layer in floodmaps configurable.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 947
diff changeset
100
105
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
101 <rest-server>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
102 <!-- at this Point it is possible to Change the Port the ArtifactDatabase will bind to.-->
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
103 <port>8181</port>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
104 <listen>localhost</listen>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
105 </rest-server>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
106 <!-- garbage collection of outdated artifacts -->
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
107 <cleaner>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
108 <sleep-time>60000</sleep-time>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
109 </cleaner>
373
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
110
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
111 <cache>
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
112 <config-file>${artifacts.config.dir}/cache.xml</config-file>
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
113 </cache>
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
114
105
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
115 <database>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
116 <!-- This Section configures the Settings for connecting to the
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
117 Artifact-Database instance. e.g. SQLite -->
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
118 <user>SA</user>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
119 <password></password>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
120 <url>jdbc:h2:${artifacts.config.dir}/../artifactdb/artifacts.db</url>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
121 </database>
131
0bab3a39a474 Added section in configuration for database backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 118
diff changeset
122 <!-- This is the default backend db configuration -->
0bab3a39a474 Added section in configuration for database backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 118
diff changeset
123 <!--
0bab3a39a474 Added section in configuration for database backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 118
diff changeset
124 <backend-database>
0bab3a39a474 Added section in configuration for database backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 118
diff changeset
125 <user>flys</user>
0bab3a39a474 Added section in configuration for database backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 118
diff changeset
126 <password>flys</password>
0bab3a39a474 Added section in configuration for database backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 118
diff changeset
127 <dialect>org.hibernate.dialect.PostgreSQLDialect</dialect>
0bab3a39a474 Added section in configuration for database backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 118
diff changeset
128 <driver>org.postgresql.Driver</driver>
0bab3a39a474 Added section in configuration for database backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 118
diff changeset
129 <url>jdbc:postgresql://localhost:5432/flys</url>
0bab3a39a474 Added section in configuration for database backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 118
diff changeset
130 </backend-database>
0bab3a39a474 Added section in configuration for database backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 118
diff changeset
131 -->
341
eca7892bf8ff Added a first small theme configuration and code to read it.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 331
diff changeset
132
eca7892bf8ff Added a first small theme configuration and code to read it.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 331
diff changeset
133 <flys>
eca7892bf8ff Added a first small theme configuration and code to read it.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 331
diff changeset
134 <themes>
eca7892bf8ff Added a first small theme configuration and code to read it.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 331
diff changeset
135 <configuration>${artifacts.config.dir}/themes.xml</configuration>
eca7892bf8ff Added a first small theme configuration and code to read it.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 331
diff changeset
136 </themes>
eca7892bf8ff Added a first small theme configuration and code to read it.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 331
diff changeset
137 </flys>
105
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
138 </artifact-database>

http://dive4elements.wald.intevation.org