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
Reto Breitenmoser
2de2e32c44
Merge branch 'develop' of https://github.com/eitchnet/strolch.git into develop
2015-01-17 10:31:47 +01:00
Reto Breitenmoser
e39df60247
[Minor] added cache mode setting for rest http header (defaults to
...
no-cache)
2015-01-17 10:30:45 +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
f236779697
Merge remote-tracking branch 'refs/remotes/origin/develop' into develop
...
Conflicts:
ch.eitchnet.utils
2015-01-15 09:09:59 +01:00
Robert von Burg
aa014c782c
[Minor] Updated submodule ch.eitchnet.utils
2015-01-15 09:08:22 +01:00
Robert von Burg
cfde0fa8b7
[Bugfix] fixed minor TX logging issue
2015-01-11 18:41:52 +01:00
Robert von Burg
7d8516952b
[Bugfix] fixed missing timestamps from postgresql dates
...
- fixed broken tests
2015-01-09 13:48:14 +01:00
Robert von Burg
e7e7fe978b
[Bugfix] fixed missing timestamps from postgresql dates
2015-01-09 13:37:22 +01:00
Robert von Burg
1d27482843
[Minor] Added logging of realm and app when checking db schema
2015-01-09 12:59:58 +01:00
Robert von Burg
4cd51e4ee2
[Major] refactored DbSchemaVersionCheck and added version parsing
...
- Now we can use Version to see if current version is greater than
- Fixed bug where version checking didn't check for app
- TODO is still open to handle migration with intermediary steps
2015-01-09 12:42:11 +01:00
Robert von Burg
6e265c755b
[Major] refactored DbSchemaVersionCheck and added version parsing
...
- Now we can use Version to see if current version is greater than
- Fixed bug where version checking didn't check for app
- TODO is still open to handle migration with intermediary steps
2015-01-09 12:34:05 +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
c37fe1e11f
[New] added StrolchElement.isRootElement()
2014-12-21 23:23:01 +01:00
Robert von Burg
1231eb1f49
[Minor] don't return default locale, if none is passed by HTTP client
2014-12-20 23:20:21 +01:00
Robert von Burg
d1a1b89194
[Bugfix] fixed PostgreSqlQueryVisitor due to querying orders in resource
...
This only happened when the query had a ParameterSelection
2014-12-03 18:12:41 +01:00
Robert von Burg
1844a4aee6
[Minor] removed the setting of the locale from HTTP Headers
2014-12-02 23:24:03 +01:00
Robert von Burg
fd07280edf
[Minor] don't send whole strack trace to client
2014-11-28 22:50:10 +01:00
Robert von Burg
50b341a498
[New] Updated ch.eitchnet.utils
2014-11-28 22:49:32 +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
765b040cf9
[Major] Added writing of TimedStates in StrolchElementToSaxVisitor
2014-11-19 07:52:42 +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
84d287dca4
[New] rest logging configuration: 'restLogging' 'restLoggingEntity'
2014-11-14 16:43:44 +01:00
Robert von Burg
7e68717d99
[New] rest logging configuration: 'restLogging' 'restLoggingEntity'
2014-11-14 16:41:46 +01:00
Robert von Burg
bdaceb46f7
[Minor] only show rest trace summary on stage and prod
2014-11-14 16:13:54 +01:00
Robert von Burg
4c637ea144
[New] rest tracing configuration: 'restTracing' 'restTracingThreshold'
2014-11-14 16:03:43 +01:00
Robert von Burg
cb5839d37a
[Minor] allow dataInitialization if schemaDrop is disabled
2014-11-14 15:05:16 +01:00
Robert von Burg
3bb04c245f
[Major] updated expected db_version to 0.2.1
2014-11-14 13:38:19 +01:00
Robert von Burg
b55256ddad
[Bugfix] Fixed wrong parsing of StringListParameter string value
...
Oh boy... how could i not trim the valeus!? =)
2014-11-14 12:43:04 +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
8d5d8b2c89
[Minor] AuthenicationRequestFilter and AuthenticationService changes
...
Now we check that the authorization header always exists except for the
AuthenticationService.login
2014-10-31 20:53:56 +01:00
Robert von Burg
4f9cd72d68
[Bugfix] fixed bug where certificate.lastAccess was not set after login
2014-10-31 20:47:26 +01:00
msmock
36b47dd971
Implemented base structure for planning and scheduling on resources
2014-10-23 08:59:20 +02:00
Robert von Burg
f032319eca
Update README.md
2014-10-16 13:04:48 +02:00
Robert von Burg
7b3e135225
[Project] Updated download page for 1.0.0-RC4
2014-10-10 12:43:33 +02:00
Robert von Burg
4426a0cb8a
[Minor] adding bundle creation to release script
2014-10-10 12:37:08 +02:00
Robert von Burg
2862a2fb8b
[Minor] minor cleanups
2014-10-10 12:02:59 +02:00
Robert von Burg
ae50931782
[Minor] minor cleanups
2014-10-10 12:00:19 +02:00
Robert von Burg
7405b75086
[Minor] minor cleanups
2014-10-10 11:57:33 +02:00
Robert von Burg
be76ba0871
[Minor] minor cleanups
2014-10-10 11:54:37 +02:00
Robert von Burg
a4c9cdb490
[Minor] added building of strolch in script to verify setting of versions
2014-10-10 11:42:45 +02:00
Robert von Burg
4345e3a540
[Minor] added usage help for release script
2014-10-10 11:26:58 +02:00
Robert von Burg
3b76327b2b
[Project] wrote blog article for release 1.0.0-RC4
2014-10-09 17:46:55 +02:00