Commit Graph

3809 Commits

Author SHA1 Message Date
Robert von Burg 3a0f37faad [New] Added StrolchComponent for state of Strolch components 2013-10-27 03:26:43 +01:00
Robert von Burg 74887908e2 [Minor] Added StrolchComponent interface to XmlPersistenceHandler 2013-10-27 03:26:19 +01:00
Robert von Burg f0cbb735b2 [Project] Refactoring projecto to be called .dev 2013-10-26 17:06:27 +02:00
Robert von Burg 2dbbd943f4 [New] initial commit of pom defining strolch bom 2013-10-25 07:40:05 +02:00
Robert von Burg 1cb07f1dd3 [Minor] li.strolch.persistence.impl was renamed to .xml 2013-10-25 07:39:12 +02:00
Robert von Burg eed847576e Initial commit 2013-10-24 22:07:19 -07:00
Robert von Burg 681bf88d96 [Minor] fixed compile error due to wrong typing 2013-10-24 21:57:17 +02:00
Robert von Burg 1c8a15390f [New] added new module li.strolch.testbase 2013-10-24 21:56:56 +02:00
Robert von Burg 459a8c096b [Minor] removed dependency to log4j - using slf4j 2013-10-24 21:53:51 +02:00
Robert von Burg 9ad71317f7 [New] basic implementation of Order and Resource DAOs implemented
Including tests for both DAOs. Only for DOM. SAX is not yet supported!
2013-10-24 21:49:56 +02: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 f5dbc076d4 [New] added basic configuration model 2013-10-24 21:47:16 +02:00
Robert von Burg 42e3173153 [Project] added dependency management of li.strolch.testbase 2013-10-24 21:46:19 +02:00
Robert von Burg 98e7490164 [New] Now all date parsing and formatting is done using ISO8601 2013-10-24 21:45:50 +02:00
Robert von Burg 59635eddf1 [Minor] modified how objects are added to the ObjectFilter
Now objects are not added by their class names, but the type is
retrieved from the object reference
2013-10-24 21:45:11 +02:00
Robert von Burg 2ccccd6b9e [New] added IS8601 formatting helpers 2013-10-24 21:43:16 +02:00
Robert von Burg 5df4b9edc1 [New] added MathHelper for precision assertions 2013-10-24 21:43:06 +02:00
Robert von Burg 8efe85d6c8 Initial commit 2013-10-24 11:29:06 -07:00
Robert von Burg 80a7a326e0 [Minor] JavaDoc clarification 2013-10-24 20:07:34 +02:00
Robert von Burg 6b12b31605 [Minor] cleaned up compiler warnings and added Tags constants class 2013-10-24 18:37:47 +02:00
Robert von Burg 081937d453 [Minor] cleaned up the pom.xml 2013-10-23 23:16:29 +02:00
Robert von Burg 8a6b212248 [New] added basic configuration modl 2013-10-23 23:15:26 +02:00
Robert von Burg 55462432b6 [Project] set a parent to li.strolch.parent for easier managing 2013-10-23 21:11:49 +02:00
Robert von Burg ebc7115565 [Project] added dependency management of ch.eitchnet.privilege 2013-10-23 20:28:52 +02:00
Robert von Burg 364d8dc013 [Project] added module li.strolch.service 2013-10-23 20:10:36 +02:00
Robert von Burg 70258baf7c [Project] set a parent to li.strolch.parent for easier managing 2013-10-23 20:10:00 +02:00
Robert von Burg a5ad111236 Initial Commit 2013-10-23 20:00:48 +02:00
Robert von Burg c7ce6ead76 Initial Commit 2013-10-23 19:59:32 +02:00
Robert von Burg 2f8900374f Initial Commit 2013-10-23 19:59:07 +02:00
Robert von Burg 08a7f29e1b Added ignores of eclipse files 2013-10-23 19:58:24 +02:00
Robert von Burg 703c8081a3 Initial Commit 2013-10-23 19:58:02 +02:00
Robert von Burg d26a369042 Added ignores of eclipse files 2013-10-23 19:56:47 +02:00
Robert von Burg 2d46756427 Added ignores of eclipse files 2013-10-23 19:56:33 +02:00
Robert von Burg 2961211417 Initial Commit 2013-10-23 19:56:05 +02:00
Robert von Burg f5431e0f0e Initial Commit 2013-10-23 19:55:25 +02:00
Robert von Burg cf6b5bbea9 Initial commit 2013-10-23 10:48:13 -07:00
Robert von Burg 61fef4d5c9 Initial commit 2013-10-23 10:47:32 -07:00
Robert von Burg cae2b4d5c4 Initial commit 2013-10-23 10:46:34 -07:00
Robert von Burg 3af2005dd0 Initial commit 2013-10-23 10:44:50 -07:00
Robert von Burg 35e91e0464 Initial commit 2013-10-23 10:43:40 -07:00
Robert von Burg f24a10992c [New] added test to check acquiring locks
Added a test which checks that a TX fails if a lock can not be acquired,
but succeeds before the timeout to acquire the lock is exceeded.

Further fixed the brittle tests by using a different semaphore to
synchronize the threads.
2013-10-21 18:48:23 +02:00
Robert von Burg 87f82e1979 [New] implemented locking for all persistence operations
A LockingTest tests the locking, but still needs to be extended to test
further use cases, but basic locking works.
2013-10-20 01:14:59 +02:00
Robert von Burg f176960ba9 [New] added ObjectFilter.getAll() further informations
added ObjectFilter.getAll(Class, String) and
ObjectFilter.getAll(Class<V> clazz)
2013-10-20 00:17:20 +02:00
Robert von Burg 3c006b541a [New] implemented a test to allow multiple operations
This test makes sure that updating after adding, or any other operation
in the same TX works properly. Found a problem where the
PersistenceContext didn't implement hashCode() and equals() which lead
to each operation being added even though a previous operation was
already registered
2013-10-19 21:28:11 +02:00
Robert von Burg 3c623bd20c [Project] Set maven parent for this project to ch.eitchnet.parent 2013-10-19 21:28:02 +02:00
Robert von Burg 5be5cd3fa0 [Minor] fixed compiler warnings 2013-10-19 17:49:27 +02:00
Robert von Burg 30ddf3cfbf [New] implemented a basic test for multiple realms (mandates) 2013-10-19 17:45:33 +02:00
Robert von Burg 977d604a95 [New] created tests for object with no subType
This is implemented with the Book model in the test folder
2013-10-19 17:44:59 +02:00
Robert von Burg bce78769c0 [New] added testing of the *byId() methods
Here i found a conceptual problem where the *byId() methods didn't
properly resolve ObjectRefs and add them to the TX because, we added the
ObjectRefs to the filter, which made the TX resolve PersistenContexts by
the wrong type.

Now we always add the same type of object to the ObjectFilter; the
PersistentContext. This means that when we call ObjectDao.add(T), etc.
we must already create such the context. This helps resolve another
issue at the back of my mind: We don't want to partially commit a TX if
such a basic information as the object's CTX is not available.
2013-10-19 17:43:36 +02:00
Robert von Burg a0d5904db9 [Minor] added default IoMode, so that it must no be set on each TX 2013-10-16 18:53:32 +02:00