Robert von Burg
569c745cc7
[New] added tx.getCertificate()
2015-01-23 12:08:19 +01:00
Robert von Burg
be6f1d170f
[New] added tx.get*()-methods with assertExists boolean
...
- now a user can always use that flag to guarantee the element exists
2015-01-23 12:06:15 +01:00
Robert von Burg
120ff0ace9
[New] Added tx.getTemplate*(), documented TX, added StrolchLockException
2015-01-23 11:40:17 +01:00
Robert von Burg
99887642a6
[Bugfix] fixed bug where controllers aren't properly stopped
...
- this occurred for controllers which had dependencies of other
dependencies
2015-01-20 20:08:58 +01:00
Robert von Burg
72abd2a175
Merge branch 'develop' of git@github.com:eitchnet/strolch.git into develop
2015-01-20 19:48:10 +01:00
Robert von Burg
bacf17b1a7
[New] Added tx.auditFrom()
...
- this allows to quickly create a new Audit which uses the details from
the current TX. This TX can then be added to the auditTrail for
persisting
2015-01-20 19:47:49 +01:00
Robert von Burg
b731be86e3
[Bugfix] fixed bug where controllers aren't properly stopped
...
- this occurred for controllers which had dependencies of other
dependencies
2015-01-20 19:43:51 +01:00
Robert von Burg
15ae2f9702
[Minor] don't log multiple times the exception on failed service
2015-01-18 19:17:16 +01:00
Robert von Burg
9505ab355c
[New] Added new StrolchAccessDeniedException for use in ServiceHandler
...
Now if you add the DefaultServiceHandler property 'throwOnPrivilegeFail'
and set it to true, then the service handler will throw a
StrolchAccessDeniedException which in combination with the
StrolchRestfulExceptionMapper allows rest services to quickly determine
if the error was because the user does not have access to the requested
resource.
Same goes for performing queries in AbstractTransaction only there
instead of throwing a privilege exception, we now also throw a
StrolchAccessDeniedException
2015-01-18 18:37:04 +01:00
Robert von Burg
6eb6f8d503
[Minor] better logging in TX
2015-01-16 17:47:47 +01:00
Robert von Burg
e44775f30b
[Bugfix] fixed not unlocked objects after TX
...
When a TX is closed, all locked objects are unlocked. The but originated from multiple commands being performed for the same object, thus the object was locked multiple times i.e. the lock counter was >1. Now added a releaseLock() method which is called by the TX when the TX is closed so that the lock counter is really 0 and the lock is released.
- Added tests for this situation
- documented the LockHandler
2015-01-16 13:59:17 +01:00
Robert von Burg
cfde0fa8b7
[Bugfix] fixed minor TX logging issue
2015-01-11 18:41:52 +01:00
Robert von Burg
ee741b5e18
[Bugfix] fixed not setting new Impl for component, when overridden
...
- Now when you set a new Impl for a component, then the dependencies are
also replaced
2015-01-09 01:05:48 +01:00
Robert von Burg
4c631ad07f
[Minor] removed logging of controller names, duplicated in DepAnalyzer
2015-01-09 00:28:09 +01:00
Reto Breitenmoser
aee258bc9a
[Bugfix] swapped input parameters for match method
2015-01-05 22:25:57 +01:00
Robert von Burg
304255fcc2
[Minor] fixed broken tests due to change in privilege handling
2014-12-31 17:00:59 +01:00
Robert von Burg
b70ee2d228
[New] Added LoginResult.getRoles(), modified logs
...
- also log user when performing service calls
- also log user when committing TX
2014-12-31 16:41:00 +01:00
Robert von Burg
a119dfad0a
[New] added StrolchTransaction.get*By() with assertExists flags
2014-11-22 12:26:21 +01:00
Robert von Burg
3d66c33e7f
[Minor] adding environment in logging when setting up container
2014-11-14 22:59:50 +01:00
Robert von Burg
ce34dd4d5d
[Minor] adding environment in logging when setting up container
2014-11-14 22:58:30 +01:00
Robert von Burg
9b61277518
[Minor] removed useless logger in ConfigurationSaxParser
2014-11-14 22:51:46 +01:00
Robert von Burg
85d1a4a145
[Major] refactored PostgreSQL DB schema validation
...
Now moved all generic schema generation code to ch.eitchnet.utils so it can be used by other projects
2014-11-14 00:07:53 +01:00
Robert von Burg
8593ab4a15
[Minor] fixed broken test due to change in value time format
2014-10-09 13:23:06 +02:00
Robert von Burg
d55371e9b7
[Minor] fixed component version descriptions
2014-10-04 14:35:01 +02:00
Robert von Burg
d7c6025c59
[New] Added a new parameter: DurationParameter of type "Duration"
...
The parameter is implemented in all visitors and also persistence layer
postgre.
2014-10-04 13:40:52 +02:00
Robert von Burg
956d61f32e
[Minor] fixed test to really check getting order by locator
2014-09-28 23:39:16 +02:00
Robert von Burg
32c17858e1
[Major] Added Session timeout handling
...
SessionHandler now has a timer checking to make sure that sessions which haven’t been accessed for a time defined by ‘session.ttl.minutes’ are invalidated
2014-09-27 12:30:35 +02:00
Robert von Burg
96740a571c
[Major] Added a DB initialization mechanism
...
Now PostgreSQL implementation can import a configured dataStore if the persistence handler configuration property ‘allowDataInitOnSchemaCreate’. For this to work, the schema must have a migration status of CREATED, or DROPPED_CREATED on startup, or using the new method PersistenceHandler.performDbInitialization()-method. Further the properties ‘allowSchemaDrop’ and ‘allowSchemaCreate’ must be enabled.
2014-09-23 23:57:11 +02:00
Robert von Burg
ada9abb097
[Project] Bumped version from 1.0.0-RC1 to 1.0.0-SNAPSHOT
2014-09-20 15:23:11 +02:00
Robert von Burg
7c0ab16c9e
[Project] bumped version from 1.0.0-SNAPSHOT to 1.0.0-RC1
2014-09-20 14:38:29 +02:00
Robert von Burg
890b9f47cd
[New] added new setVersion.sh script
2014-09-20 00:31:04 +02:00
Robert von Burg
fe37e0aae0
[Project] added a new parent pom where Strolch's version is set
2014-09-19 20:09:42 +02:00
Robert von Burg
f590a12e3a
[Project] added a new parent pom where Strolch's version is set
2014-09-19 19:23:49 +02:00
Robert von Burg
6b5006c0bb
[Project] fixed scm configuration in poms
2014-09-19 18:31:55 +02:00
Robert von Burg
3cc91dfd04
moved everything to a subdirectory for repo merge
2014-09-16 08:45:30 +02:00