Robert von Burg
4f28ec129f
[New] Added privilege checking for StrolchQueries
2014-09-08 13:36:00 +02:00
Robert von Burg
d8a7231855
[Minor] throw an exception for not implemented method
2014-08-25 22:52:52 +02:00
Robert von Burg
0b4a1a921c
[Minor] fixed broken tests due to wrong checking for observer updates
2014-08-24 19:32:37 +02:00
Robert von Burg
970cf99094
[Minor] fixed broken tests due to wrong checking for observer updates
2014-08-24 19:30:07 +02:00
Robert von Burg
e2629c8f3f
[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:20 +02:00
Robert von Burg
7696a366a2
[Project] set version to 1.0.0-SNAPSHOT
2014-08-24 17:23:56 +02:00
Robert von Burg
e84daf14b7
[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:20 +02:00
Robert von Burg
72ff553e74
[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:01 +02:00
Robert von Burg
78cc555141
[Project] added resource filtering for componentVersion.properties
2014-08-13 23:37:55 +02:00
Robert von Burg
6a0199a544
[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:14 +02:00
Robert von Burg
8140192441
[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:54 +02:00
Robert von Burg
abf2a06b9e
[New] Implemented StrolchDao.hasElement()
2014-08-04 11:47:56 +02:00
Robert von Burg
348b2121e9
[Major] added new methods ElementMap.removeAll()
2014-07-31 16:12:07 +02:00
Robert von Burg
236ccb8014
[Project] fixed urls of projects
2014-03-14 14:36:57 +01:00
Robert von Burg
e11625998a
[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:02 +01:00
Robert von Burg
b9c7278911
[New] Implemented separate DataStoreMode for each StrolchRealm
2014-02-17 22:08:09 +01:00
Robert von Burg
262e7e204a
[Minor] there is no getDefaultRealm() method anymore
2014-02-13 22:21:40 +01:00
Robert von Burg
2f015592d2
[Major] changed constructor of StrolchComponent
...
Should have interface ComponentContainer in constructor
2014-01-25 22:14:46 +01:00
Robert von Burg
39df4cf6cf
[Project] added Jenkins build badge to README.md
2014-01-23 22:52:45 +01:00
Robert von Burg
5e1dafadc6
[New] added version info metadata to agent
2014-01-23 22:01:09 +01:00
Robert von Burg
ace469227d
[New] added querySize() methods to ElementMap
2014-01-15 22:09:53 +01:00
Robert von Burg
5ac8d4f875
[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:07 +01:00
Robert von Burg
fa2f927856
[Major] moved the package li.strolch.runtime.agent to li.strolch.agent
2014-01-10 23:23:25 +01:00
Robert von Burg
4a0fb74d21
[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:45 +01:00
Robert von Burg
28f4353405
[Major] renamed project li.strolch.runtime to li.strolch.agent
2014-01-10 17:16:59 +01:00
Robert von Burg
11403a8d21
[Major] removed project li.strolch.persistence.api
...
Moved all classes to li.strolch.runtime
2014-01-10 16:50:14 +01:00
Robert von Burg
407ce80eec
[Project] renamed package li.strolch.persistence.impl to .xml
2013-12-26 18:07:43 +01:00
Robert von Burg
3fb804178b
[New] Added doQuery() methods to DAOs and hooked up InMemory querying
2013-12-26 01:12:54 +01:00
Robert von Burg
2bfeb2ff99
[Major] TXs are opened from ElementMap and all methods need a TX now
2013-12-26 00:05:09 +01:00
Robert von Burg
dce500bced
[Minor] reorganized classes for Agent into api and impl packages
2013-12-25 22:30:56 +01:00
Robert von Burg
b66c0876c5
[Major] RuntimeMock now also copies data
2013-12-25 19:04:58 +01:00
Robert von Burg
f5f1d85edb
[Minor] refactored tests for persistence layers to remove duplicate code
2013-12-25 17:33:59 +01:00
Robert von Burg
0a4fe91230
[Minor] refactored tests for persistence layers to remove duplicate code
2013-12-25 17:02:23 +01:00
Robert von Burg
d4aa1d9675
[Minor] fixed issue where eclipse couldn't validate log4j.xml
2013-12-25 11:56:13 +01:00
Robert von Burg
ddc91c75f9
[New] methods to generate bulk objects now pad the id
...
This allows for easier lexical sorting
2013-12-24 02:47:01 +01:00
Robert von Burg
5f3b584c30
[Minor] set artifact name to artifactId for easier reading of build log
2013-12-24 02:43:55 +01:00
Robert von Burg
76d8d24ebd
[New] Added Unit tests to test the bulk operations
2013-12-24 02:12:38 +01:00
Robert von Burg
38d1cf61dd
[New] Added Unit tests to test the bulk operations
2013-12-24 01:48:09 +01:00
Robert von Burg
86dddde196
[Major] moved OrderDao and ResourceDao factory methods to transaction
...
It makes using transaction feel easier.
2013-12-24 00:36:29 +01:00
Robert von Burg
96e679c973
[New] Implemented CACHED mode for Strolch
2013-12-24 00:18:03 +01:00
Robert von Burg
4ef8e990a9
[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:11 +01:00
Robert von Burg
a0d4f2587e
[New] Using visitor pattern to perform DOM actions
2013-12-23 01:54:07 +01:00
Robert von Burg
c76d6cebc4
[Minor] moved defaultRealm constant
2013-12-18 17:47:26 +01:00
Robert von Burg
7a2bd6045c
[Project] Changed all licence references to Apache License 2.0
2013-12-15 13:10:19 +01:00
Robert von Burg
a7e17d22d1
[Minor] moved the ModelBuilder to li.strolch.model ModelGenerator
...
now generating objects is available everywhere
2013-12-11 23:51:45 +01:00
Robert von Burg
daba472769
[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:54:04 +01:00
Robert von Burg
6ed0cceffd
[Minor] fixed compile errors in tests due to refactoring of Dates
2013-11-20 07:50:03 +01:00
Robert von Burg
0741165c71
[Minor] removed unneeded logger
2013-11-14 22:42:50 +01:00
Robert von Burg
904b89f809
[New] Implemented notifying of observers of changed objects after a TX
...
So that components/observers can be notified of changes to the model,
the completion of a TX now triggers an ObserverHandler update of the
modified objects
2013-11-14 21:36:01 +01:00
Robert von Burg
ede49b6d20
[Devel] busy implementing a component directed acyclic dependency tree
...
This is needed to start/stop in the right order
2013-11-05 20:42:14 +01:00