1 |
2003-08-22 Bernhard Herzog <[email protected]> |
2003-08-22 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
Implement saving a session with a postgis connection |
4 |
|
|
5 |
|
* Resources/XML/thuban-0.9.dtd (dbconnection, dbshapesource) New |
6 |
|
elements for database connections and shapestores using db |
7 |
|
connections |
8 |
|
(session): Add the dbconnections to the content model |
9 |
|
|
10 |
|
* Thuban/Model/save.py (SessionSaver.write_db_connections): New. |
11 |
|
Write the db connections |
12 |
|
(SessionSaver.write_session): Call write_db_connections to write |
13 |
|
the connection before the data sources |
14 |
|
(SessionSaver.write_data_containers): Handle postgis shapestores |
15 |
|
|
16 |
|
* test/test_save.py (SaveSessionTest.thubanids) |
17 |
|
(SaveSessionTest.thubanidrefs): Update for new DTD |
18 |
|
(SaveSessionTest.test_save_postgis): New. Test saving a session |
19 |
|
with postgis connections |
20 |
|
|
21 |
|
* Thuban/Model/postgisdb.py (PostGISTable.DBConnection) |
22 |
|
(PostGISTable.TableName): New accessor methods for the connection |
23 |
|
and table name |
24 |
|
|
25 |
|
* test/test_postgis_db.py (TestPostGISTable.test_dbconn) |
26 |
|
(TestPostGISTable.test_dbname): New methods to test the new |
27 |
|
PostGISConnection methods |
28 |
|
|
29 |
|
2003-08-22 Bernhard Herzog <[email protected]> |
30 |
|
|
31 |
* Thuban/Model/postgisdb.py (ConnectionError): New exception class |
* Thuban/Model/postgisdb.py (ConnectionError): New exception class |
32 |
for exceptions occurring when establishing a Database connection |
for exceptions occurring when establishing a Database connection |