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
Robert von Burg
994de0241a
[Minor] cleaned up compiler warnings in BaseEncoding
2013-11-01 18:48:57 +01:00
Robert von Burg
9c547af5bb
[Major] cleaned up the FileServer/Client implentation
...
Also renamed it from RMI to FileServer/Client. There is no reason this
has to be RMI bound, as a client must simply implement FileClient where
the upload/download methods can be implemented to be done over any kind
of remote connection
2013-10-31 22:42:38 +01:00
Robert von Burg
3f177275b3
[New] initial commit of pom.xml
2013-10-31 00:45:48 +01:00
Robert von Burg
a6fe2dce67
[New] added a container mock which creates the required directory struct
2013-10-31 00:44:29 +01:00
Robert von Burg
e415dcd6bf
[New] rewrote the abstract test to use mocking of the container
2013-10-31 00:43:52 +01:00
Robert von Burg
85011270d2
[Major] basic implementation of Strolch Runtime complete
...
- We now have a container which can be configured with components, can
be setup, started, stopped and destroye.
- Missing is still the implementation of the dependencies.
2013-10-31 00:43:14 +01:00
Robert von Burg
5047ad9ff0
[Major] cleaned up FileHelper by using Java 7 auto resource close
...
- Also cleaned up all compiler warnings.
- Added new method to copy a list of files to a destination
2013-10-31 00:41:50 +01:00
Robert von Burg
f35ba7b13c
[Minor] cleaned up XmlHelper
2013-10-31 00:06:51 +01:00
Robert von Burg
8c8a7b1dc4
[Minor] Extended LocatorBuilder to allow removing last element
2013-10-30 07:57:15 +01:00
Robert von Burg
546f2c9caf
Revert "[New] refactored Locator"
...
This reverts commit bca42e35c8
.
2013-10-30 07:45:01 +01:00
Robert von Burg
bbd862de72
[Minor] Added hashcode() and equals() to Locator
2013-10-30 07:41:55 +01:00
Robert von Burg
bca42e35c8
[New] refactored Locator
...
Now added method to add single element, or get parent. Also removed
restriction for element to have at least three elements. Now one element
is sufficient.
2013-10-29 21:04:50 +01:00
Robert von Burg
efd30b82a9
[New] implementing base configuration model and privilege handler
2013-10-28 22:07:54 +01:00
Robert von Burg
f04dcdb43e
[Minor] added constructor to SimpleServiceHandler
2013-10-28 22:07:28 +01:00
Robert von Burg
5e82fa7fc5
[Minor] added constructor to XmlPersistenceHandler
2013-10-28 22:07:17 +01:00
Robert von Burg
4947d256b3
[New] added tutorialapp
2013-10-28 22:02:04 +01:00
Robert von Burg
f2fd1233d9
[Minor] renamed validateIsPrivilegeAdmin to assertIsPrivilegeAdmin
2013-10-28 22:00:33 +01:00
Robert von Burg
7c3b6ff722
Initial commit
2013-10-28 11:05:06 -07:00
Robert von Burg
9de31a136e
[Minor] cleaned up .gitignore
2013-10-28 18:58:36 +01:00
Robert von Burg
51a54e8268
[Minor] cleaned up .gitignore
2013-10-28 18:58:31 +01:00