Commit Graph

18 Commits

Author SHA1 Message Date
Robert von Burg ecfb2c8e00 [New] added realm testing with different connections 2014-02-19 00:53:00 +01:00
Robert von Burg be033f3e35 [New] PostgreSqlPersistenceHandler now expects a config for each realm
Now each realm which is CACHED or TRANSACTIONAL and thus uses a
PersistenceHandler must have a dbUrl, dbUsername and dbPassword
configured
2014-02-19 00:11:14 +01:00
Robert von Burg aa0a7c7089 [New] Implemented Export and Import model services and commands 2014-01-30 00:21:23 +01:00
Robert von Burg de72aa225c [Major] changed constructor of StrolchComponent
Should have interface ComponentContainer in constructor
2014-01-25 22:14:41 +01:00
Robert von Burg d287d864e7 [New] added version info metadata to agent 2014-01-23 22:01:03 +01:00
Robert von Burg 65ece12ced [New] added querySize() methods to ElementMap 2014-01-15 22:09:45 +01:00
Robert von Burg 21c5eaf78f [Major] Implemented CACHED mode
This lead to refactoring of other code:
 - removed get*Dao() from StrolchTransaction
 - added StrolchTransaction.getPersistenceHandler()
 - removed unused variables in TransactionalElementMap
   - this lead to removal of constructors in subclasses
 - added ComponentContainer.getDataStoreMode()
 - added ElementMap.addAll(), removeAll() and updateAll() methods
   - implemented in all ElementMap implementations
2014-01-11 17:55:56 +01:00
Robert von Burg 6bb341964e [Major] moved the package li.strolch.runtime.agent to li.strolch.agent 2014-01-10 23:23:17 +01:00
Robert von Burg 8c91c12948 [Major] refactored how transactions are opened
Now the ElementMapHandler is the central object and clients do not use
access DAOs or the PersistenceHandler anymore. This is now transparent.
2014-01-10 19:10:42 +01:00
Robert von Burg 2a1e2db5be [Bugfix] fixed no suitable driver found in Tomcat7 context
It seems the class loader mechanism of Tomcat7 makes problems and the
driver is not properly found. A solution is to manually force the
loading of the driver, before searching for a driver for a URL
2013-12-27 11:02:44 +01:00
Robert von Burg 0225cea0f4 [New] Added doQuery() methods to DAOs and hooked up InMemory querying 2013-12-26 01:12:56 +01:00
Robert von Burg ae630d6dda [Minor] reorganized classes for Agent into api and impl packages 2013-12-25 22:30:53 +01:00
Robert von Burg e27b5a96d8 [New] Added Unit tests to test the bulk operations 2013-12-24 02:12:32 +01:00
Robert von Burg 941b52a511 [Major] moved OrderDao and ResourceDao factory methods to transaction
It makes using transaction feel easier.
2013-12-24 00:36:26 +01:00
Robert von Burg bf8e41d70e [New] Implemented CACHED mode for Strolch 2013-12-24 00:18:00 +01:00
Robert von Burg 99c911258d [Major] refactored Element maps for better handling
Now they are not components, now there is an ElementMapHandler which
is the component and the OrderMap and ResourceMap can be retrieved from
the ElementMapHandler
2013-12-23 18:43:15 +01:00
Robert von Burg 29527a2496 [New] Implemented a basic PostgreSQL for Resources and Orders 2013-12-23 01:55:34 +01:00
Robert von Burg 0ea999d921 [New] Initial commit 2013-12-18 16:29:45 +01:00