Commit Graph

736 Commits

Author SHA1 Message Date
Robert von Burg eb33a5d31a [Project] fixed urls of projects 2014-03-14 14:37:20 +01:00
Robert von Burg 03735eaab8 [Project] fixed urls of projects 2014-03-14 14:37:15 +01:00
Robert von Burg 88e3c6961e [Project] fixed urls of projects 2014-03-14 14:37:11 +01:00
Robert von Burg 3942103d3b [Project] fixed urls of projects 2014-03-14 14:37:02 +01:00
Robert von Burg 236ccb8014 [Project] fixed urls of projects 2014-03-14 14:36:57 +01:00
Robert von Burg 3b8444894a [Project] fixed urls of projects 2014-03-14 14:36:53 +01:00
Robert von Burg d40ea5616b [Project] fixed urls of projects 2014-03-14 14:36:45 +01:00
Robert von Burg 66415dea5f [Project] fixed urls of projects 2014-03-14 14:36:39 +01:00
Robert von Burg 5ee34360ba [Project] fixed urls of projects 2014-03-14 14:36:33 +01:00
Robert von Burg 9992a5dbca [Project] added pom.xml for importing in IDEs and a .ignore 2014-03-11 07:47:35 +01:00
Robert von Burg 3ec337a847 [Minor] added Google webmaster tools verfication 2014-03-11 07:46:01 +01:00
Robert von Burg 9ba616ce94 [Project] added ignore of directory data 2014-03-11 07:43:48 +01:00
Robert von Burg 5e088b7a52 [New] Added tests for Command.undo() for all Command implementations
Except for the XML Import and Export commands...
2014-03-10 22:34:36 +01:00
Robert von Burg 2894b5b157 [Bugfix] Fixed two bugs in CachedElementMap
First bug was a situation where the update() method returned a list of
null elements due to removing and then trying to "replace" the existing
element.

Then fixed a bug where when an element was removed its ID was not
removed the key set.
2014-03-10 22:33:22 +01:00
Robert von Burg acc9e8128d [New] Initial commit 2014-03-09 12:03:31 +01:00
Robert von Burg d7d1225162 [New] added new li.strolch.website project to projects.lst 2014-03-09 11:55:31 +01:00
Robert von Burg c3d8a9c2b8 Initial commit 2014-03-09 03:53:46 -07:00
Robert von Burg d88bb9d074 [Project] added eitchnet dependencies to module build 2014-03-08 18:32:05 +01:00
Robert von Burg fcfdbbd9f7 [Project] fixed empty problem when iterating projects list 2014-03-08 17:36:33 +01:00
Robert von Burg d93b25751e [Project] modifies scripts to use project.lst for iteration and added relevant ch.eitchnet.* projects to list 2014-03-08 17:30:21 +01:00
Robert von Burg 13a158c868 [Project] modifies scripts to use project.lst for iteration and added relevant ch.eitchnet.* projects to list 2014-03-08 17:22:35 +01:00
Robert von Burg b0b580677b [Bugfix] fixed lower case name attribute in Enums.xml 2014-03-03 23:36:21 +01:00
Robert von Burg cfe36bcfeb [Bugfix] fixed lower case name attribute in Enums.xml 2014-03-03 23:36:04 +01:00
Robert von Burg c8d41ac497 [Minor] RuntimeMock.assertServiceResult is static 2014-03-03 23:35:45 +01:00
Robert von Burg 411b7e00df [Major] Implemented tests for all Services
These tests are simple success tests, failure tests come later. Each
tests makes tests that the service works in CACHED, TRANSACTIONAL and
TRANSIENT data store mode.
2014-03-03 23:35:17 +01:00
Robert von Burg ffc8be7498 [Minor] Testbase dependency management is scope test
also added postgresql dependency management
2014-03-03 23:33:21 +01:00
Robert von Burg 0dae330e72 [Major] Multiple issues
- setId() and setName() don't allow empty values
- added Locator.newBuilder(String)
- fixed wrong locator created by ParameterizedElement
- Better exception handling when parsing from XML as Sax
2014-03-03 23:32:33 +01:00
Robert von Burg c7cb42724e [Major] Multiple issues
- Documented ComponentContainer.getComponent()
- StrolchRealm try lock timeout is configurable
- added DataStoreMode.isTransient()
- documented Command
- fixed lower case name attributes in Enums.xml
2014-03-03 23:30:35 +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 1f287fe121 [Minor] all commands now lock their elements before doing their work 2014-02-26 21:32:12 +01:00
Robert von Burg b1e24f8a59 [New] Implemented StrolchTransaction.addCommand(), Command.undo()
Commands are now supposed to be added to the StrolchTransaction so that
when a TX is committed, the commands are first verified and then
Command.doCommand() is called.

But most important of all, in case of an exception, Command.undo() is
called so that each Command can properly undo its changes so that also
in memory changes are rolled back.

Now all Services call tx.addCommand(Command) instead of directly calling
Command.doCommand()
2014-02-26 21:13:47 +01:00
Robert von Burg 66e70fce75 [New] Implemented StrolchTransaction.addCommand(), Command.undo()
Commands are now supposed to be added to the StrolchTransaction so that
when a TX is committed, the commands are first verified and then
Command.doCommand() is called.

But most important of all, in case of an exception, Command.undo() is
called so that each Command can properly undo its changes so that also
in memory changes are rolled back.
2014-02-26 20:43:26 +01:00
Robert von Burg d15d163ebf [New] Added New StrolchElementVisitor for StrolchRootElement
Also added getParent() and getRootElement() on StrolchElement
2014-02-26 20:37:42 +01:00
Robert von Burg b8981cc592 [New] Implemented Command.undo() for all commands
This lead to the ElementMaps returning replaced elements when calling
update() or updateAll().

Further now the StrolchTransaction has methods to check the state easier
than comparing with the TransactionState enum
2014-02-25 21:21:42 +01:00
Robert von Burg 20f0417d93 [New] Implemented Command.undo() for all commands 2014-02-25 21:19:41 +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 2446682c9a [New] Added SetParameterService and Command 2014-02-24 22:29:02 +01:00
Robert von Burg c3a556df81 [Minor] trying to fix broken LockingTest which has an infinite loop 2014-02-24 21:57:57 +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 069361f476 [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:24 +01:00
Robert von Burg 4a0e26d05b [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:17 +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 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 7147bc1570 [New] added a new StrolchRootElement interface for Resource and Order 2014-02-24 21:48:53 +01:00
Robert von Burg 9f3cbf06f1 [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:47:45 +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 9d72df10b1 [Minor] allow for overriding the realm in which the tests run 2014-02-19 00:11:46 +01:00