Commit Graph

177 Commits

Author SHA1 Message Date
Robert von Burg 041b9ec2e5 [Minor] Added a timeout in ProcessHelper 2015-12-04 17:26:45 +01:00
Robert von Burg a4b1857b84 [Minor] Added a timeout in ProcessHelper 2015-12-04 17:10:14 +01:00
Robert von Burg 2008da00a3 [Minor] added checking that working dir is a dir in ProcessHelper 2015-12-02 22:03:22 +01:00
Robert von Burg 540dbeab32 [New] Added StringHelper.replacePropertiesIn() with special prefix
- and added a test
2015-11-30 21:26:23 +01:00
Robert von Burg d0691e4d35 [New] Handling illegal key size in AesCryptoHelperTest 2015-10-16 17:39:06 +02:00
Robert von Burg 1de56d0043 [New] Handling illegal key size in AesCryptoHelperTest 2015-10-16 17:31:58 +02:00
Robert von Burg 46c3db2913 [Minor] removed useless logging statement 2015-10-16 17:21:14 +02:00
Robert von Burg 13b0003494 [New] Added AESCryptoHelper with tests 2015-10-16 10:53:12 +02:00
Robert von Burg f59f4c5c0f [New] Added ExceptionHelper.getExceptionMessageWithCauses() and tests 2015-10-02 08:19:07 +02:00
Robert von Burg 67d1052fd3 [New] Added StringHelper.valueOrDash 2015-10-01 07:59:07 +02:00
Robert von Burg 363c21d30a [Minor] code cleanup 2015-08-23 16:28:24 +02:00
Robert von Burg 4b9e166025 [Minor] fixed Paging so it fits expected result for jQuery DataTable 2015-08-12 20:40:57 +02:00
Robert von Burg f5cf3e3ad0 [New] Added a DefaultedHashMap for default values on unmapped keys 2015-08-10 22:20:40 +02:00
Robert von Burg 2d922df572 [New] Added new ExceptionHelper
- moved exception helper methods from StringHelper to ExceptionHelper
2015-07-15 10:50:12 +02:00
Robert von Burg 2b9d09632c [Major] refactorings of Paging 2015-07-15 10:49:47 +02:00
Robert von Burg 01c9da446c [New] Added Paging
Paging is used to page a list, i.e. return a sublist which has a certain
size.
2015-07-15 07:52:25 +02:00
Robert von Burg 00a1fd4f72 [Major] removed CsvParser as the apache-commons-csv parser is better 2015-07-14 09:15:40 +02:00
Robert von Burg a3c2a2ed8f [Minor] moved CsvData and CsvRow to their own classes 2015-07-10 12:37:24 +02:00
Robert von Burg 35bbb04d89 [Minor] Changed exception handling in CsvParser 2015-07-10 10:47:44 +02:00
Robert von Burg ffbce7aab6 [New] Added a CsvParser 2015-07-09 19:50:15 +02:00
Robert von Burg 2e58db83fd [Major] change DBC to add bad values for better debugging 2015-07-07 17:53:08 +02:00
Robert von Burg 9e449e56ee [Minor] Added method to write XML to string 2015-07-03 15:11:25 +02:00
Robert von Burg 1689ff69a9 [New] added new DbConstants.PROP_DB_IGNORE_REALM 2015-05-08 18:07:06 +02:00
Robert von Burg dd1489772d [Major] Refactored DB package: Now use DataSource classes
- this allows to inject a connection pool
2015-04-21 15:03:30 +02:00
Robert von Burg 556981777c [New] Added IndentingXMLStreamWriter from javanet.staxutils 2015-04-19 16:12:26 +02:00
Robert von Burg ca8f5b2f6a [New] added DateRange.toString() 2015-04-16 15:45:04 +02:00
Robert von Burg 6338690ad2 [New] Added StringHelper.getExceptionMessage(Throwable) 2015-03-22 00:33:59 +01:00
Robert von Burg 8e75a7651a [Bugfix] fixed exception formatting bug in StringHelper 2015-03-15 11:02:57 +01:00
Robert von Burg 638cebe01e [New] Added new Tuple to collections 2015-03-12 13:18:20 +01:00
Robert von Burg 07f009b7ff [New] Added XmlKeyValue for key value pairs in JAXB 2015-03-08 13:36:49 +01:00
Robert von Burg 09966937c9 [Project] Bumped version to 1.1.0-SNAPSHOT 2015-03-02 13:43:06 +01:00
Robert von Burg 109cfd4df4 [Bugfix] fixed situation where connection is not closed on exception
- on timeouts the underlying socket doesn't know that the connection is
ok, and thus we have exceptions, so we must make sure we close them
properly
2015-02-13 15:30:00 +01:00
Robert von Burg 1279ed63f3 [Minor] added some minor JavaDoc 2015-02-13 12:55:12 +01:00
Robert von Burg ccd43acf0a [Minor] changed logging of ServerSocketEndpoint connection timeout 2015-02-13 11:46:47 +01:00
Robert von Burg e9277f975e [Minor] changed logging of ClientSocketEndpoint connection timeout 2015-02-13 11:45:34 +01:00
Robert von Burg 72d470fd26 [Minor] added more tests for Version 2015-02-11 23:01:37 +01:00
Robert von Burg 8861db8509 [New] added MapOfLists.isEmpty() and MapOfMaps.isEmpty() 2015-02-08 12:04:49 +01:00
Robert von Burg d87517e4c2 [New] added Version.add(int, int, int) 2015-02-07 19:29:38 +01:00
Robert von Burg 97936b03fe [New] added es(), ei(), cs(), and ci() to StringMatchMode
- these are short method names for the different match modes
2015-02-01 13:14:49 +01:00
Robert von Burg 401052a5ea [New] Added ConnectionMode.isSimulation() 2015-01-23 10:23:38 +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 a67df72f3f Merge branch 'develop' of github.com:eitchnet/ch.eitchnet.utils into develop 2015-01-15 09:09:43 +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 5a05bc835d [Minor] Added logging of realm and app when checking db schema 2015-01-09 12:59:45 +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 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 3f6f9950f8 [New] Created new exception formatting method when only message needed 2014-11-28 22:20:50 +01:00
Robert von Burg 84a24feb89 [New] Added package 'db' with utils for schema CUD
DbSchemaVersionCheck is used in combination with DbConnectionInfo to
create schemas from SQL scripts. Using
DbConnectionCheck.checkSchemaVersion() schemas are created or migrated.
There is also functionality to drop schemas
2014-11-14 00:04:07 +01:00