103 Commits

Author SHA1 Message Date
69f9e0124a migrate AsyncUraTripReader to Java 11 HttpClient with custom subscriber
All checks were successful
continuous-integration/drone/push Build is passing
Instead of reading the InputStream we now use a custom line subscriber
which asynchronously processes each JSON line from the response.
2020-10-14 09:29:55 +02:00
304ab9db7a add unit tests for IOException handling
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-02 11:00:12 +02:00
dc16c3ffd8 add JDK 15 to build roster
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-02 10:44:55 +02:00
00d4239185 docs: update Travis CI badge
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-08 18:39:47 +02:00
76c9e59244 remove module-info from test sources and re-enable surefire forks
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-08 17:56:35 +02:00
c2fa01ed58 bump javadoc source level to 11 2020-09-08 17:56:26 +02:00
d4fcedc7ca use StringBuilder for URL generation and extract repeated null checks
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-02 16:47:59 +02:00
9c82481eb5
introduce custom exception class instead of RuntimeExceptions (#10)
All checks were successful
continuous-integration/drone/push Build is passing
We now use a custom, checked exceptions on errors that can occur
with the API communication or configuration. instead of throwing an
unchecked IllegalStateException.
2020-09-02 15:47:41 +02:00
b14d040e4f adjust error messages for failed read operations
All checks were successful
continuous-integration/drone/push Build is passing
The error message "failed to read from API" is quite generic.
We now add the information what should have been read from API
if possible.
2020-08-12 11:50:42 +02:00
8017f2671d add Serializable type to unserialized JSON lists
We don't know about the exact data type from the JSON mapper,
so we make it explicitly unknown, but at least Serializable here.
2020-08-12 11:48:55 +02:00
9b80a4e889 introduce UraClientConfiguration class to encapsulate client config
Legacy constructors use new pattern internally.
2020-05-22 09:41:04 +02:00
7be56ad740 add module-info 2020-05-22 09:40:02 +02:00
88c10d5333 rewrite HTTP requests using Java 11 HTTP components 2020-05-22 09:40:02 +02:00
10681f4eb3 bump language level to Java 11 2020-05-22 09:40:02 +02:00
dfa4c55496 add serialVersionUID to to serializable classes 2020-05-09 18:55:57 +02:00
38eb883d7d minor typo fixes 2020-05-09 18:37:46 +02:00
f2d385dada fix coverage profile 2020-05-08 16:37:35 +02:00
a13dd7a194 rewrite unit tests to work with WireMock instead of class manipulation 2020-05-04 18:05:08 +02:00
706ff495e2 update copyright notice to 2020 2020-05-04 14:46:40 +02:00
9d16a90600 jackson 2.11 + dev dependency updates 2020-05-04 14:33:06 +02:00
a934ee679e ReadMe++ v1.3.0 2019-12-04 14:38:07 +01:00
299f9556d4 prepare release 1.3.0 2019-12-04 14:30:43 +01:00
bc91529721 JavaDoc corrections 2019-12-04 14:29:56 +01:00
7d044a1f95 minor dependency updates 2019-12-04 14:19:49 +01:00
06ce5a22cf
Merge pull request #7 from stklcode/feature/5-messages
fetch public messages from API (#5)
2019-12-04 11:59:29 +01:00
d1cf795106 update Jackson dependency to 2.10 2019-11-04 18:11:57 +01:00
5b6c02d6a3 implement client methods for reading messages
Reading response type 2 (messages) from API with optional stop filter.
2019-11-04 18:02:59 +01:00
d0e118f1fd explicitly declare pipeline type in Drone CI configuration 2019-11-04 17:55:34 +01:00
431de69549 typo fixes in comments and test messages [skip ci] 2019-11-04 17:55:10 +01:00
4f3d8694e1 implement model for message responses 2019-11-04 17:15:36 +01:00
2fd8d2a87c update copyright notice to 2019 2019-11-04 16:54:29 +01:00
4bb7c595c2 update Hamcrest library for testing 2019-10-20 11:51:34 +02:00
8ce5ea3aef add JDK 13 to automated builds
Test all current LTS versions (8, 11) and the latest stable release (13)
2019-10-02 20:18:57 +02:00
ec0ceada2d Update Jackson dependency to 2.9.10 2019-10-02 20:16:27 +02:00
71902b072b minor dependency updates 2019-07-26 20:02:14 +02:00
e20baf7b11 fix Javadoc generation with JDK11+ 2019-07-26 20:02:00 +02:00
70144573d0 test: add 100ms initial delay before starting to assume anything v1.2.0 2019-06-20 15:00:13 +02:00
e0e2547288 Prepare release 1.2.0 2019-06-20 14:37:12 +02:00
c61e637df9 update Drone CI config, switch to OpenJDK on Travis 2019-06-17 18:58:34 +02:00
dea83e81be add signing and distribution profiles to POM [skip ci] 2019-06-05 15:59:27 +02:00
fd45bc3db0 Update dependencies 2019-06-02 10:06:28 +02:00
3a2f35047b test: add unit test for behavior on closed streams 2019-06-02 10:03:53 +02:00
39e1f41c0e Add AsyncTripReader constructor with single consumer argument 2019-06-02 10:03:14 +02:00
8f8c335e81 Update build and test dependencies 2019-03-22 17:18:23 +01:00
0ecceca35a Merge branch 'feature/1-streamAPI' into develop 2019-02-06 14:07:59 +01:00
7b212abdc3 Extend unit test for async stream reader 2019-02-05 20:52:10 +01:00
e9e80a4a08 update Jackson dependency to 2.9.8
prevents CVE-2018-19360 through 19362
2019-01-24 20:15:04 +01:00
a2c8f416ba update Maven images in Drone CI config 2019-01-24 20:08:44 +01:00
d571675a31 Preparations for release 1.1.4 v1.1.4 2018-11-19 11:40:57 +01:00
f0205d1cc7 Extend unit tests for accepted Non-Integer values (#2) 2018-11-17 12:32:14 +01:00