Commit Graph

60 Commits

Author SHA1 Message Date
Robert von Burg 0fbd156929 [New] Added convenience method Locator.newLocatorBuilder(String...) 2014-08-21 17:52:00 +02:00
Robert von Burg a5f00f990c [Major] added missing parsing of StrolchTimedState and fixed locators
Locators are now a bit different, to handle finding StrolchTimedState as
well, the Locator has the form:
Resource/<type>/<id>/State/<id>
Resource/<type>/<id>/Bag/<id>/<param_id>
2014-08-21 17:42:26 +02:00
Robert von Burg 5e181fe5c3 [Project] added resource filtering for componentVersion.properties 2014-08-13 23:39:05 +02:00
Robert von Burg 3a62c76ae0 [Minor] fixed compiler warning 2014-08-13 23:38:59 +02:00
Robert von Burg 2033c6b942 [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:23 +02:00
Robert von Burg 66276b5ced [New] added StrolchQuery.getSelection() and cleaned up some constants 2014-08-04 14:51:09 +02:00
Robert von Burg ef15d4af1f [New] extended XmlExportModelService to handle overwriting existing 2014-07-31 20:05:54 +02:00
Robert von Burg b1622eab47 [Major] refactored Service tests for easier re-use
It is now also very easy to inject a before, after and validator to
validate the services execution
2014-07-31 17:57:08 +02:00
Robert von Burg 29ca8ba3c5 [New] Added ClearModelServiceTest 2014-07-31 16:34:58 +02:00
Robert von Burg 14d9c66a78 [Major] added ClearModelCommand and Service 2014-07-31 16:12:31 +02:00
Robert von Burg 40de765eca [Minor] documenting how to run tests by adding user for postgresql 2014-06-13 18:12:35 +02:00
Robert von Burg f12d731145 [Minor] documenting how to run tests by adding user for postgresql 2014-06-13 17:53:42 +02:00
Robert von Burg ff9b864ee9 [Minor] only log message every 10 seconds when exporting XML model 2014-03-28 18:43:31 +01:00
Robert von Burg e9f9a24981 Merge branch 'master' of git@github.com:eitch/li.strolch.service.git 2014-03-27 18:59:29 +01:00
Robert von Burg ac8c76868a [Minor] added more debugging when exporting
This is useful for long running exports
2014-03-27 18:53:32 +01:00
Robert von Burg 53ea7bc7de [Project] fixed urls of projects 2014-03-14 14:38:10 +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 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 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 20f0417d93 [New] Implemented Command.undo() for all commands 2014-02-25 21:19:41 +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 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 1f4755939a [New] Implemented separate DataStoreMode for each StrolchRealm 2014-02-17 22:08:24 +01:00
Robert von Burg af33df7503 [Minor] added logging of work done when exporting model 2014-02-14 21:45:48 +01:00
Robert von Burg bb9caf6554 [New] XmlExportModelService now has multi file support
Also added tests for exporting model
2014-02-14 21:18:14 +01:00
Robert von Burg 8e273b1306 [Minor] there is no getDefaultRealm() method anymore 2014-02-13 22:22:04 +01:00
Robert von Burg 03cdee3012 [New] Implemented Export and Import model services and commands 2014-01-30 00:21:34 +01:00
Robert von Burg 2f203e7200 [Minor] code cleanup 2014-01-25 22:15:37 +01:00
Robert von Burg 9dcd88df64 [Project] added Jenkins build badge to README.md 2014-01-23 22:52:50 +01:00
Robert von Burg c0d043f06e [New] added version info metadata to agent 2014-01-23 22:01:31 +01:00
Robert von Burg 45a7020126 [New] Implemented Add* and RemoveParameterService and Command 2014-01-13 19:12:04 +01:00
Robert von Burg 08185b415f [New] Added Update and Remove services and commands 2014-01-11 23:14:28 +01:00
Robert von Burg 04a0906513 [Major] moved the package li.strolch.runtime.agent to li.strolch.agent 2014-01-10 23:23:29 +01:00
Robert von Burg fbcbed4a00 [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:56 +01:00
Robert von Burg 971d25640c [Major] renamed project li.strolch.runtime to li.strolch.agent 2014-01-10 17:17:01 +01:00
Robert von Burg f0f98ebd4a [Major] removed project li.strolch.persistence.api
Moved all classes to li.strolch.runtime
2014-01-10 16:50:27 +01:00
Robert von Burg cb89abd469 [New] Added new services
AddResource*Service, AddOrder*Service, ImportModelFromXmlService
2014-01-01 02:19:21 +01:00
Robert von Burg 8408e5e62a [Minor] fixed compile error due to change in privilege 2013-12-29 23:13:15 +01:00
Robert von Burg aa5ac4f7da [Minor] better exception handling if Service returns null service result 2013-12-28 13:00:26 +01:00
Robert von Burg 19c7a120ca [New] injecting ComponentContainer into Services at execution time 2013-12-28 10:29:43 +01:00
Robert von Burg 66920308d0 [Minor] reorganized classes for Agent into api and impl packages 2013-12-25 22:31:01 +01:00
Robert von Burg 1a6df8bca4 [Major] RuntimeMock now also copies data 2013-12-25 19:04:53 +01:00
Robert von Burg 446c250500 [Minor] refactored tests for persistence layers to remove duplicate code 2013-12-25 17:02:19 +01:00
Robert von Burg ee62256771 [Minor] fixed issue where eclipse couldn't validate log4j.xml 2013-12-25 11:56:19 +01:00
Robert von Burg 2b69c96550 [Minor] set artifact name to artifactId for easier reading of build log 2013-12-24 02:44:04 +01:00
Robert von Burg 2b1dd1b0a3 [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:54 +01:00
Robert von Burg 2008fb49c6 [Project] Changed all licence references to Apache License 2.0 2013-12-15 13:10:27 +01:00
Robert von Burg f49f113b70 [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:53 +01:00