Commit Graph

59 Commits

Author SHA1 Message Date
Robert von Burg 376278cc25 [New] Added privilege checking for StrolchQueries 2014-09-08 13:35:57 +02:00
Robert von Burg 71973e8597 [New] Implemented param null selector and ParameterBagSelector 2014-09-04 20:30:40 +02:00
Robert von Burg 7f5f207214 [Major] Implemented PostgreSql AuditQuery 2014-08-28 21:46:44 +02:00
Robert von Burg 4cdfb9b667 [Devel] adding PostgreSqlAuditQueryVisitor 2014-08-26 22:07:37 +02:00
Robert von Burg c7ad5d21c2 [New] Implemented querying of StringParameter 2014-08-26 22:02:49 +02:00
Robert von Burg 65402e9006 [New] Implemented PostgreSQL querying 2014-08-25 22:53:16 +02:00
Robert von Burg 0e75f9b0d2 [Minor] fixed broken tests due to wrong checking for observer updates 2014-08-24 19:29:43 +02:00
Robert von Burg 0b67cc9802 [Major] moved ObserverHandler to StrolchRealm - no component anymore
Now the ObserverHandler is not a StrolchComponent anymore, and can be
retrieved from the StrolchRealm. This makes the observer model be part
of the realm, not global of the agent.
2014-08-24 19:18:13 +02:00
Robert von Burg 353d39a0b1 [Project] set version to 1.0.0-SNAPSHOT 2014-08-24 17:23:48 +02:00
Robert von Burg a7f7cae641 [Major] Moved the auditing trail to the ElementMaps themselves
This means that we can't access the ElementMaps from the Realms, but
must use the TX (this was better anyhow)
2014-08-24 12:45:14 +02:00
Robert von Burg 9ca21c29f8 [New] Implemented opt-in audit trail in Strolch
The audit trail has its own map on the Realm and a trail is written by
realm at the end of the transaction.

You can write your own audit trail using tx.getAuditTrail().

Enable the audit trail by setting the realm configuration value
'enableAuditTrail'.
2014-08-23 20:49:52 +02:00
Robert von Burg bfc27cebaf [Project] added resource filtering for componentVersion.properties 2014-08-13 23:52:57 +02:00
Robert von Burg 4432a141ce [Project] added resource filtering for componentVersion.properties 2014-08-13 23:37:52 +02:00
Robert von Burg 0b68acc803 [Major] Refactored StrolchConfiguration.xml to use environments
Now the agent requires an environment parameter to start, and the
configuration of that environment is used to load different sections of
the configuration file
2014-08-13 16:06:09 +02:00
Robert von Burg cd15808bde [New] Moved *Visitor transformations in query into query method
This is better than keeping the Visitor in the instance of the query,
where it might be to early to instantiate it.
2014-08-06 18:42:50 +02:00
Robert von Burg 72d5bdce9e [Bugfix] fixed wrong implementation of Dao.hasElement() 2014-08-04 15:36:25 +02:00
Robert von Burg 5623f27f2d [New] Implemented StrolchDao.hasElement() 2014-08-04 11:47:51 +02:00
Robert von Burg 7b6ad39060 [Major] added new methods ElementMap.removeAll() 2014-07-31 16:12:00 +02:00
Robert von Burg 7c0e64808d [Minor] documenting how to run tests by adding user for postgresql 2014-06-13 17:54:01 +02:00
Robert von Burg 3b8444894a [Project] fixed urls of projects 2014-03-14 14:36:53 +01:00
Robert von Burg 692f80fa61 [Bugfix] Don't close unopened connection
When a PostgreSQL transaction is opened without any objects being
modified or queried, then the connection won't be opened, thus no need
to close it.
2014-03-03 23:22:55 +01:00
Robert von Burg 9555f562fa [Bugfix] don't check db connection for realms which are transient 2014-03-03 18:42:12 +01:00
Robert von Burg 17bf200d3c [Minor] cleaned up exception message 2014-03-03 18:41:26 +01:00
Robert von Burg 911a92ad5e [Minor] Added update count checking when executing INSERT, UPDATE, DEL 2014-02-25 21:19:10 +01:00
Robert von Burg 902a153043 [New] Implemented locking for Strolch elements
Also cleaned up hierarchy of StrolchTransaction by moving up everything
into AbstractTransaction as made sense and added special delegation
methods for the actual commit() and rollback() ind the concrete
implementations.
2014-02-24 21:48:59 +01:00
Robert von Burg a7a4d4f5dd [Minor] fixed broken test due to typo 2014-02-19 01:03:48 +01:00
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 7322894078 [New] Implemented separate DataStoreMode for each StrolchRealm 2014-02-17 22:08:06 +01:00
Robert von Burg 3c1988b27d [Minor] there is no getDefaultRealm() method anymore 2014-02-13 22:21:35 +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 6db4b5ddd0 [Project] added Jenkins build badge to README.md 2014-01-23 22:52:43 +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 64fed84708 [Major] renamed project li.strolch.runtime to li.strolch.agent 2014-01-10 17:16:55 +01:00
Robert von Burg 61cd1e1096 [Major] removed project li.strolch.persistence.api
Moved all classes to li.strolch.runtime
2014-01-10 16:50:10 +01:00
Robert von Burg 58bc33696a [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:03:15 +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 d83b6a4ea7 [Major] TXs are opened from ElementMap and all methods need a TX now 2013-12-26 00:05:11 +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 2960fda079 [Major] RuntimeMock now also copies data 2013-12-25 19:05:00 +01:00
Robert von Burg fe3cca7cb3 [Minor] schema must be dropped in all tests... 2013-12-25 17:40:30 +01:00
Robert von Burg 36c02bad0c [Minor] refactored tests for persistence layers to remove duplicate code 2013-12-25 17:34:03 +01:00
Robert von Burg 295a5e0063 [Minor] refactored tests for persistence layers to remove duplicate code 2013-12-25 17:02:27 +01:00
Robert von Burg 08c2baf4e8 [Minor] fixed issue where eclipse couldn't validate log4j.xml 2013-12-25 11:56:11 +01:00