sascha@4085: 2011-12-22 Sascha L. Teichmann sascha@4085: sascha@4085: * src/main/java/de/intevation/aft/River.java: Figure out sascha@4085: which gauges must be updated, which must be created. sascha@4085: sascha@4085: * src/main/java/de/intevation/aft/DIPSGauge.java: Store sascha@4085: info from AFT and FLYS, too. sascha@4085: sascha@4085: * src/main/resources/sql/flys-common.properties: Fetch the sascha@4085: official number, too. sascha@4084: 2011-12-20 Sascha L. Teichmann sascha@4084: sascha@4084: * src/main/java/de/intevation/aft/River.java: Removed sascha@4084: index DIPS gauge number -> DIPS gauge. sascha@4084: sascha@4084: * src/main/java/de/intevation/aft/SyncContext.java: Readded sascha@4084: here, because the index can be shared by all rivers. sascha@4084: sascha@4083: 2011-12-20 Sascha L. Teichmann sascha@4083: sascha@4083: * doc/repair.xsl: Repair XSL transform which brings the sascha@4083: DIPS gauge numbers of the 15 FLYS gauges to the same sascha@4083: numbers as they are used in "Pegel Online". sascha@4083: sascha@4083: !!! The purpose of this script is to do more repairing !!! sascha@4083: sascha@4083: * doc/pegelstationen.xml: Sub document of repair. Used sascha@4083: for lookup the correct pegel numbers. sascha@4083: sascha@4083: * doc/conf.xml: Changed to optionally load the repair XSLT. sascha@4083: sascha@4083: * src/main/java/de/intevation/aft/Sync.java: Load the sascha@4083: repair XSL transformation if configured. sascha@4083: sascha@4083: * src/main/java/de/intevation/utils/XML.java: Added code sascha@4083: to make XSL transforms possible. sascha@4083: sascha@4083: * src/main/java/de/intevation/aft/River.java, sascha@4083: src/main/java/de/intevation/aft/Rivers.java: Fixed logging. sascha@4083: sascha@4082: 2011-12-20 Sascha L. Teichmann sascha@4082: sascha@4082: * src/main/java/de/intevation/aft/River.java, sascha@4082: src/main/java/de/intevation/aft/DIPSGauge.java: Make DIPS check sascha@4082: more verbose. sascha@4082: sascha@4076: 2011-12-16 Sascha L. Teichmann sascha@4076: sascha@4076: * src/main/java/de/intevation/db/SymbolicStatement.java: sascha@4076: Made the setX() methods cascadable. sascha@4076: sascha@4076: * src/main/java/de/intevation/aft/River.java: Fetches sascha@4076: the gauges from the database. sascha@4076: sascha@4076: * src/main/resources/sql/aft-common.properties, sascha@4076: src/main/resources/sql/flys-common.properties: Added gauges sascha@4076: statements. sascha@4076: sascha@4075: 2011-12-14 Sascha L. Teichmann sascha@4075: sascha@4075: * src/main/java/de/intevation/db/SymbolicStatement.java: sascha@4075: Added execute(), executeQuery() & Co. sascha@4075: sascha@4075: * src/main/java/de/intevation/aft/IdPair.java: New. Base class sascha@4075: for id pairs to identify same object in both databases. sascha@4075: sascha@4075: * src/main/java/de/intevation/aft/River.java: New. To sync sascha@4075: the objects of one river. sascha@4075: sascha@4075: * src/main/java/de/intevation/aft/Rivers.java: Figure out sascha@4075: only the rivers which are in both databases and sync them. sascha@4075: sascha@4075: * src/main/java/de/intevation/aft/Sync.java: Only pass the sascha@4075: connected statements to the sync. sascha@4075: sascha@4075: * src/main/resources/sql/flys-common.properties: Fixed SQL for sascha@4075: fetching the rivers. sascha@4075: sascha@4075: * pom.xml: Added dependency to PostgreSQL. sascha@4075: sascha@4075: * doc/conf.xml: SQLite needs a driver class. sascha@4075: sascha@4074: 2011-12-13 Sascha L. Teichmann sascha@4074: sascha@4074: * src/main/java/de/intevation/db/ConnectionBuilder.java: Removed sascha@4074: statements here. sascha@4074: sascha@4074: * src/main/java/de/intevation/db/Statements.java: Added method sascha@4074: to access the hole map of statements. sascha@4074: sascha@4074: * src/main/java/de/intevation/db/ConnectedStatements.java: New. sascha@4074: A cache that binds prepared statements to a connection. sascha@4074: sascha@4073: 2011-12-13 Sascha L. Teichmann sascha@4073: sascha@4073: * src/main/java/de/intevation/db/ConnectionBuilder.java: Added sascha@4073: access to Statements. sascha@4073: sascha@4073: * src/main/java/de/intevation/db/SymbolicStatement.java: New. sascha@4073: Made top level from inner class of Statements. sascha@4073: sascha@4073: * src/main/java/de/intevation/db/Statements.java: Moved SymbolicStatement sascha@4073: out to top level class. sascha@4073: sascha@4073: * src/main/java/de/intevation/aft/Rivers.java: Syncing beginns at sascha@4073: river level. sascha@4073: sascha@4073: * src/main/java/de/intevation/aft/Sync.java: Start the syncing with sascha@4073: the rivers of both dbs. sascha@4073: sascha@4072: 2011-12-13 Sascha L. Teichmann sascha@4072: sascha@4072: * doc/conf.xml: Adjusted structure to be more generic. sascha@4072: sascha@4072: * src/main/java/de/intevation/utils/XML.java: Allow namespace aware sascha@4072: file parsing. sascha@4072: sascha@4072: * src/main/java/de/intevation/db/ConnectionBuilder.java: New. Evaluate sascha@4072: config and builds a new db connection. sascha@4072: sascha@4072: * src/main/java/de/intevation/aft/Sync.java: Load config file. sascha@4072: sascha@4072: * pom.xml: Added dependency to SQLite JDBC driver. sascha@4072: sascha@4071: 2011-12-13 Sascha L. Teichmann sascha@4071: sascha@4071: * doc/conf.xml: New. Configuration file. sascha@4071: sascha@4070: 2011-12-13 Sascha L. Teichmann sascha@4070: sascha@4070: * ChangeLog: New. Argh! Forgot to check it in before. sascha@4070: sascha@4070: * src/main/java/de/intevation/utils/XML.java: New. XML/XPath support. sascha@4070: Mainly a stripped down version of sascha@4070: de.intevation.artifacts.common.utils.XMLUtils sascha@4070: sascha@4070: 2011-12-12 Sascha L. Teichmann sascha@4070: sascha@4070: * src/main/java/de/intevation/db/Statements.java: Added support sascha@4070: for symbolic prepared statements. sascha@4070: sascha@4070: 2011-12-12 Sascha L. Teichmann sascha@4070: sascha@4070: * src/main/java/de/intevation/db/Statements.java: New. Load statements sascha@4070: from ressources. sascha@4070: sascha@4070: * src/main/resources/sql/aft-common.properties: New. Common statements sascha@4070: for the AFT side of the sync. sascha@4070: sascha@4070: * src/main/resources/sql/flys-common.properties: New. Common statements sascha@4070: for the FLYS side of the sync. sascha@4070: sascha@4070: * pom.xml: Added dependency to log4j