diff ChangeLog @ 80:8447467cef86

Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT). artifacts/trunk@799 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 19 Mar 2010 09:34:40 +0000
parents f69e5b87f05f
children e9c80fdfee13
line wrap: on
line diff
--- a/ChangeLog	Tue Mar 16 16:03:06 2010 +0000
+++ b/ChangeLog	Fri Mar 19 09:34:40 2010 +0000
@@ -1,6 +1,42 @@
+2010-03-19  Ingo Weinzierl <ingo.weinzierl@intevation.de>
+
+	  Issue208 (Artifact import)
+
+	* artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ImportResource.java:
+	  New server resource to import an artifact from an incoming xml document.
+	  The resource is available as /import and accepts xml documents send via
+	  HTTP POST.
+
+	* artifact-database/src/main/resources/sql/org-postgresql-driver.properties,
+	  artifact-database/src/main/resources/sql/org-h2-driver.properties: New sql
+	  statements to update an existing artifact.
+
+	* artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
+	  New method to import an artifact from an incoming xml document. The data
+	  contained in this document is decoded using the secret.
+
+	* artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
+	  New method to store an artifact into database or replace it if an artifact
+	  with the given id is already existing.
+
+	* artifact-database/src/main/java/de/intevation/artifactdatabase/StringUtils.java:
+	  Removed method to convert a byte array into a string (this is done by
+	  Apache's Hex class in commons codec) and added a new method to convert a
+	  string into a byte array using Apache commons codec as well.
+
+	* artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java:
+	  Register ImportResource to webserver.
+
+
+	* artifact-database/src/main/java/de/intevation/artifactdatabase/DatabaseCleaner.java,
+	  artifact-database/src/main/java/de/intevation/artifactdatabase/SQL.java,
+	  artifact-database/src/main/java/de/intevation/artifactdatabase/Config.java,
+	  artifact-database/src/main/java/de/intevation/artifactdatabase/Id.java:
+	  Converted the author javadocs.
+
 2010-03-16  Ingo Weinzierl <ingo.weinzierl@intevation.de>
 
-	  Issue208
+	  Issue208 (Artifact export)
 
 	* artifact-database/doc/example-conf/conf.xml: Added a section to configure
 	  a secret string used to identify artifact imports for security reason.

http://dive4elements.wald.intevation.org