Commit Graph

42 Commits

Author SHA1 Message Date
Robert von Burg 77ef27a7f2 moved everything to a subdirectory for repo merge 2014-09-16 08:54:07 +02:00
Robert von Burg a703361db0 [Minor] code cleanup 2014-09-14 12:20:58 +02:00
Robert von Burg a8d25c2dd1 [Minor] removed underscore in test objects 2014-09-14 12:14:25 +02:00
Robert von Burg b6a0938dc3 [Project] set version to 1.0.0-SNAPSHOT 2014-08-24 17:24:10 +02:00
Robert von Burg cc9cfcadba [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:50:28 +02:00
Robert von Burg 54c9038c9f [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:07:06 +02:00
Robert von Burg c16685dfc6 [New] added tests for ElementMap.removeAll() 2014-07-31 16:12:56 +02:00
Robert von Burg 88e3c6961e [Project] fixed urls of projects 2014-03-14 14:37:11 +01:00
Robert von Burg c8d41ac497 [Minor] RuntimeMock.assertServiceResult is static 2014-03-03 23:35:45 +01:00
Robert von Burg 859ca6a89d [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:49:33 +01:00
Robert von Burg 9d72df10b1 [Minor] allow for overriding the realm in which the tests run 2014-02-19 00:11:46 +01:00
Robert von Burg 0189eab99a [New] Implemented separate DataStoreMode for each StrolchRealm 2014-02-17 22:08:27 +01:00
Robert von Burg c37792fead [New] added RuntimeMock.assertServiceResult() 2014-02-14 21:17:30 +01:00
Robert von Burg bb3f3e7854 [Minor] there is no getDefaultRealm() method anymore 2014-02-13 22:22:11 +01:00
Robert von Burg 5ce91bfe4b [Minor] added RuntimeMock.getServiceHandler() 2014-02-02 20:41:39 +01:00
Robert von Burg be67876faf [Minor] RuntimeMock now has a parameterless startContainer()-method
the root path passed when mocking is started when startContainer() is
called. the existing startContainer(File)-method is marked deprecated
2014-02-02 20:34:10 +01:00
Robert von Burg e667ca9001 [Minor] code cleanup 2014-01-31 16:14:47 +01:00
Robert von Burg 3eed58f19a [Project] added Jenkins build badge to README.md 2014-01-23 22:52:52 +01:00
Robert von Burg a3a0b4cacb [New] added querySize() methods to ElementMap 2014-01-15 22:09:32 +01:00
Robert von Burg 21502ddf82 [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:56:12 +01:00
Robert von Burg 3b7927bdac [Major] moved the package li.strolch.runtime.agent to li.strolch.agent 2014-01-10 23:23:34 +01:00
Robert von Burg d1d51587db [New] Modified the RuntimeMock to simply copy all root source 2014-01-10 23:15:03 +01:00
Robert von Burg a012c7fff8 [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:11:01 +01:00
Robert von Burg e855378780 [Major] renamed project li.strolch.runtime to li.strolch.agent 2014-01-10 17:17:04 +01:00
Robert von Burg 3081e08828 [Major] TXs are opened from ElementMap and all methods need a TX now 2013-12-26 00:05:03 +01:00
Robert von Burg 3cbac517f3 [Minor] reorganized classes for Agent into api and impl packages 2013-12-25 22:31:04 +01:00
Robert von Burg f8ce5f22ec [Major] RuntimeMock now also copies data 2013-12-25 19:04:49 +01:00
Robert von Burg edce1aaba4 [Minor] additional logger 2013-12-25 17:40:42 +01:00
Robert von Burg 0879db1152 [Minor] refactored tests for persistence layers to remove duplicate code 2013-12-25 17:33:55 +01:00
Robert von Burg 1538570711 [Minor] refactored tests for persistence layers to remove duplicate code 2013-12-25 17:02:09 +01:00
Robert von Burg 8c786d4fbc [Minor] set artifact name to artifactId for easier reading of build log 2013-12-24 02:44:06 +01:00
Robert von Burg 2c10b1b727 [Major] moved OrderDao and ResourceDao factory methods to transaction
It makes using transaction feel easier.
2013-12-24 00:36:36 +01:00
Robert von Burg 111d8a97c5 [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:42:57 +01:00
Robert von Burg 0dd1a5b3f9 [Project] Changed all licence references to Apache License 2.0 2013-12-15 13:10:31 +01:00
Robert von Burg 9bd1453f7f [Minor] moved the ModelBuilder to li.strolch.model ModelGenerator
now generating objects is available everywhere
2013-12-11 23:53:23 +01:00
Robert von Burg 9bc5f46f2a [New] Implemented EMPTY and TRANSIENT dataStoreModes.
Refactored Agent to be responsible for starting the container. And it
requires the runtime configuration.
2013-11-25 18:53:59 +01:00
Robert von Burg afda69d236 [Minor] Added convenience method to access PrivilegeHandler 2013-11-16 01:10:20 +01:00
Robert von Burg 1e8648bc2a [New] implemented a RuntimeMock for easy mockin the container
This can be used in the different projects to testing components which
need a runtime
2013-11-14 21:31:14 +01:00
Robert von Burg a6fe2dce67 [New] added a container mock which creates the required directory struct 2013-10-31 00:44:29 +01:00
Robert von Burg 9de31a136e [Minor] cleaned up .gitignore 2013-10-28 18:58:36 +01:00
Robert von Burg c57693d9c3 [New] Added a ModelBuilder to conveniently create Resources and Orders 2013-10-24 21:49:04 +02:00
Robert von Burg 8efe85d6c8 Initial commit 2013-10-24 11:29:06 -07:00