Commit Graph

3749 Commits

Author SHA1 Message Date
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 f6a6509e88 [Project] nexus repository id has changed 2013-12-11 23:52:46 +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 0dfc7e9f4b [New] implemented in memory querying 2013-12-11 23:50:49 +01:00
Robert von Burg 2ab55605b9 [New] finally implemented a query model
In li.strolch.model we keep the API so that the visitors are available
in all Strolch projects
2013-12-11 23:50:20 +01:00
Robert von Burg 9bea101c9d [Devel] Query engine transparent to the underlying implementation
Currently querying in memory works, now we need the visitor pattern to
abstract away the details of the in memory querying mechanism and allow
other querying mechanisms
2013-11-30 13:13:30 +01:00
Robert von Burg 925a25657a [New] implemented Parameter selection with test.
The ParameterizedElementSelector was still missing.
2013-11-29 08:42:44 +01:00
Robert von Burg a141744068 [New] added missing ModelBuilder class to generate teste data 2013-11-28 21:59:55 +01:00
Robert von Burg 643f846f32 [New] added many querying methods to the ElementMap interface
Implemented it in the InMemoryMap abstraction
2013-11-28 21:58:47 +01:00
Robert von Burg 66e076ea49 [New] added tests for in-memory query 2013-11-28 21:56:58 +01:00
Robert von Burg 4f428afcd1 [New] added missing abstract class StrolchTypeNavigator 2013-11-28 21:56:22 +01:00
Robert von Burg c0cebd533a [New] added OrderTypeNavigator 2013-11-28 21:53:27 +01:00
Robert von Burg aa3f39661a [New] implemented simple in-memory query 2013-11-28 21:52:32 +01:00
Robert von Burg 45c1734dd5 [New] Tutorial App now builds to a tarball ready to start
Now just unpack the zip and execute the "startup.sh" script
2013-11-25 23:26:30 +01:00
Robert von Burg 044fc81a18 [New] Added a MainStarter application to start Strolch from main classes 2013-11-25 23:25:45 +01:00
Robert von Burg 33f2bbffa9 [New] added dependency management for additional dependencies:
li.strolch.bom
commons-cli:commons-cli:1.2
2013-11-25 23:24:25 +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 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 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
Robert von Burg 323b6cfd7b [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:41 +01:00
Robert von Burg 3a2f4495dd [Devel] implementing InMemory maps for EMPTY and TRANSIENT modes 2013-11-21 18:20:06 +01:00
Robert von Burg d3353062b9 [New] Implemented an XmlModelDefaultHandler to parse a model file
Now we can parse a big file containing multiple types of objects. It is
also supported to include files by using the <IncludeFile file="" />
element.

Including tests
2013-11-21 18:17:35 +01:00
Robert von Burg 567ec02814 [Minor] changed exception message to be better understood 2013-11-20 07:52:27 +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 fc3fc3e203 [Devel] Starting to implement element maps 2013-11-19 23:14:36 +01:00
Robert von Burg 7289dccdfc [New] added parseFromString()-methods to all Parameter implementations 2013-11-19 22:54:25 +01:00
Robert von Burg d043c59910 [Major] refactored the DateParameter and Order date to be Date, not long 2013-11-18 19:22:59 +01:00
Robert von Burg 03663ea8d3 [New] Refactoring code for ISO8601 formatting/parsing and added Date 2013-11-18 19:18:59 +01:00
Robert von Burg 4a828731d8 [New] added script to log commits ahead of origin 2013-11-16 01:52:42 +01:00
Robert von Burg f1f6719caf [New] added script to log commits ahead of origin 2013-11-16 01:52:03 +01:00
Robert von Burg 86db450fb6 [New] Implemented ServiceHandler with Privilege validation
Performing a Service is as simple as this:
  GreetingService greetingService = new GreetingService();
  GreetingArgument greetingArgument = new GreetingArgument();
  greetingArgument.name = "Robert";
  GreetingResult greetingResult = serviceHandler.
        doService(null, greetingService, greetingArgument);
  assertThat(greetingResult.getGreeting(), 
        containsString("Hello Robert. Nice to meet you!"));
2013-11-16 01:13:13 +01:00
Robert von Burg afda69d236 [Minor] Added convenience method to access PrivilegeHandler 2013-11-16 01:10:20 +01:00
Robert von Burg 548a34b9f3 [Minor] throw exception if declared dependency is missing
Instead of running into a NPE, now an exception is thrown so the user
knows which component is missing which dependency.
2013-11-16 01:09:44 +01:00
Robert von Burg a8b0f37834 [Minor] Changed exceptions to contain cause and code clean up 2013-11-16 01:08:27 +01:00
Robert von Burg 01884029b8 [Minor] removed unused file config/Model.xml 2013-11-15 18:44:55 +01:00
Robert von Burg 0741165c71 [Minor] removed unneeded logger 2013-11-14 22:42:50 +01:00
Robert von Burg d79532c201 [New] Added new script to list git status of each project 2013-11-14 21:42:48 +01:00
Robert von Burg 30db53611b [Minor] fixed an incorrect constructor on SimpleServiceHandler 2013-11-14 21:36:49 +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 81960291e7 [New] Implemented ObserverHandler model
An ObserverHandler component can be registered and used to update
listeners.
2013-11-14 21:32:24 +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 23d8a1e0ce [New] implemented a TransactionResult
This allows reflecting on actual changes performed by the transaction if
this is needed by the caller. One use case would be to perform observer
updates after a transaction was completed.
2013-11-14 21:29:45 +01:00
Robert von Burg 2665aa31b6 [New] implemented a TransactionResult
This allows reflecting on actual changes performed by the transaction if
this is needed by the caller. One use case would be to perform observer
updates after a transaction was completed.
2013-11-14 19:21:49 +01:00
Robert von Burg defba45d02 [New] added state to the container - checked by PrivilegeHandler
The container how sets its own state once it has changed the state of
the components. Now the DefaultStrolchPrivilegeHandler checks that the
container has started before allowing any methods to be called. 

This might still be too restrictive in that when the container is
stopped, that then an admin can not log in and perform any actions, but
this can then be changed when needed.
2013-11-13 19:52:49 +01:00
Robert von Burg ff1b629c9d [New] Implemented a component directed acyclic dependency tree
This is needed to start/stop in the right order
2013-11-12 19:34:48 +01:00
Robert von Burg 8702caa5c3 Implemented tests for dependency analyzing. 2013-11-08 18:24:32 +01:00
Robert von Burg 3a44a1407e [Devel] busy implementing a component directed acyclic dependency tree
This is needed to start/stop in the right order
2013-11-06 22:34:00 +01:00
Robert von Burg 34692df586 [Devel] busy implementing a component directed acyclic dependency tree
This is needed to start/stop in the right order
2013-11-05 20:42:20 +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
Robert von Burg af34d81df8 [Devel] busy implementing a component directed acyclic dependency tree
This is needed to start/stop in the right order
2013-11-05 20:41:24 +01:00