diff Changelog @ 26:83a059c204f8

Connected /create with artifact db. artifacts/trunk@61 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 10 Sep 2009 12:29:57 +0000
parents ccc6aae25585
children 75bdaf900473
line wrap: on
line diff
--- a/Changelog	Thu Sep 10 09:23:53 2009 +0000
+++ b/Changelog	Thu Sep 10 12:29:57 2009 +0000
@@ -1,4 +1,31 @@
-2009-09-09	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+2009-09-10	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	* artifact-database/src/main/java/de/intevation/artifactdatabase/XMLUtils.java:
+	Added method to get strings from XML documents via XPath.
+
+	* artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java:
+	Used XMLUtils to create new XML documents.
+
+	* artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
+	Forgot to store backend in instance variable.
+
+	* artifacts/src/main/java/de/intevation/artifacts/ArtifactNamespaceContext.java:
+	Added static instance of this class.
+
+	* artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CreateResource.java:
+	Forward call to ArtifactDatabase, do some error handling.
+
+	* artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
+	Treat problems with database errors more gracefully.
+
+	* contrib/run.sh: Added dependencies to common-pool and common-dbcp.
+
+	* artifact-database/doc/data/create-artifact.xml: New. example data set to
+	create an artifact. Usage
+
+	$ curl --data-binary @doc/data/create-artifact.xml -D - http://localhost:8181/create
+
+2009-09-10	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
 
 	* artifact-database/src/main/java/de/intevation/artifactdatabase/rest/FactoriesResource.java:
 	Removed needless import.
@@ -7,7 +34,7 @@
 	artifact-database/src/main/java/de/intevation/artifactdatabase/XMLUtils.java:
 	Moved some XPath stuff from Config into XMLUtils.
 
-2009-09-09	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+2009-09-10	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
 
 	* artifacts/src/main/java/de/intevation/artifacts/Artifact.java(setup): Added
 	callback parameter in form of the creating factory.

http://dive4elements.wald.intevation.org