Commit Graph

1551 Commits

Author SHA1 Message Date
Robert von Burg 96f7c3d20f [Project] Site: Java8 and referencing tools used 2015-01-31 12:01:23 +01:00
Robert von Burg 2f84091f76 [Devel] adding new feature tx.flush() 2015-01-26 00:50:46 +01:00
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 401052a5ea [New] Added ConnectionMode.isSimulation() 2015-01-23 10:23:38 +01:00
Robert von Burg 9711914056 [Project] due to stricter Java8 JavaDoc lint, deactivate strict mode 2015-01-22 18:23:15 +01:00
Robert von Burg 1652de3503 [Major] Project now requires Java8 2015-01-22 18:04:33 +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
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 cde6eb652e [Minor] add exception to log if observer updates fail 2015-01-16 13:58:15 +01:00
Robert von Burg f0421ba7db [New] Added missing IoMessage.getParam() 2015-01-16 13:57:53 +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 a67df72f3f Merge branch 'develop' of github.com:eitchnet/ch.eitchnet.utils into develop 2015-01-15 09:09:43 +01:00
Robert von Burg aa014c782c [Minor] Updated submodule ch.eitchnet.utils 2015-01-15 09:08:22 +01:00
Robert von Burg fe1216eb12 [Minor] Fixed returned ISO8601 duration for duration = 0 is now P0D 2015-01-15 09:06:13 +01:00
Robert von Burg 7c4fdbaed7 [Major] Refactorings in communication package
- Renaming of CommunicationConnection.notify to handleNewMessage()
- added transient properties map to IoMessage
- Fixed bug in updating of observers in CommunicationConnection
2015-01-15 09:05:37 +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 5a05bc835d [Minor] Added logging of realm and app when checking db schema 2015-01-09 12:59:45 +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 fc7c2d6600 [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:39:23 +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 07b574dba1 [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:32:18 +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 87239afa2a [New] added certificate.getUserRoles() 2014-12-31 16:38: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 3f6f9950f8 [New] Created new exception formatting method when only message needed 2014-11-28 22:20:50 +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