changeset 7849:546a6318f681

Added config for porosity artifact.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 30 Apr 2014 15:25:06 +0200
parents 693778752ee7
children 63959d4f3c03
files artifacts/doc/conf/artifacts/porosity.xml artifacts/doc/conf/conf.xml
diffstat 2 files changed, 17 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/artifacts/doc/conf/artifacts/porosity.xml	Wed Apr 30 15:25:06 2014 +0200
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<artifact name="porosity">
+    <load-facets>
+        <facet name="porosity" class="org.dive4elements.river.artifacts.model.minfo.PorosityFacet"/>
+    </load-facets>
+    <states>
+        <state id="state.porosity.datacage"
+               description="state.porosity.datacage"
+               state="org.dive4elements.river.artifacts.states.DefaultState">
+        </state>
+    </states>
+</artifact>
--- a/artifacts/doc/conf/conf.xml	Wed Apr 30 15:22:27 2014 +0200
+++ b/artifacts/doc/conf/conf.xml	Wed Apr 30 15:25:06 2014 +0200
@@ -12,6 +12,7 @@
     <!ENTITY sqrelation-defaults SYSTEM "sqrelation-diagram-defaults.xml">
     <!ENTITY zoom-scales SYSTEM "zoom-scales.xml">
     <!ENTITY modules SYSTEM "modules.xml">
+    <!ENTITY porosity-artifact  SYSTEM "artifacts/porosity.xml">
 ]>
 <artifact-database>
     <export-secret>YOUR_SECRET</export-secret>
@@ -152,6 +153,9 @@
             <artifact-factory name="sedimentyield" description="Factory to create an artifact to show Sediment Yield values."
                 ttl="3600000"
                 artifact="org.dive4elements.river.artifacts.SedimentYieldArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
+            <artifact-factory name="porosity" description="Factory to create an artifact to show porosity values."
+                ttl="3600000"
+                artifact="org.dive4elements.river.artifacts.D4EArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
         </artifact-factories>
 
         <user-factory name="default" description="Factory to create new users">org.dive4elements.artifactdatabase.DefaultUserFactory</user-factory>
@@ -279,6 +283,7 @@
         <artifact name="gaugedischargecurve" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/artifacts/gaugedischargecurve.xml" />
         <artifact name="qsector" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/artifacts/qsector.xml" />
         <artifact name="staticsqrelation" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/artifacts/sqrelation.xml" />
+        &porosity-artifact;
     </artifacts>
 
     &modules;

http://dive4elements.wald.intevation.org