125 Commits

Author SHA1 Message Date
bb0d11d10c
test: use JRE8+ version of WireMock for offline testing
Some checks reported errors
continuous-integration/drone/push Build was killed
v2.0.2
2022-04-13 17:48:09 +02:00
bcc47d5f05
deps: bump jackson-databind from 2.13.0 to 2.13.2.1
Plus some minor dev-dependency updates.
2022-04-13 17:48:08 +02:00
276c12abc4 readme++
All checks were successful
continuous-integration/drone/push Build is passing
v2.0.1
2021-10-02 15:29:03 +02:00
6fd21e2a03 update dependencies
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-02 15:20:23 +02:00
afef896f12 migrate to GH actions for CI 2021-10-02 15:14:20 +02:00
702247a818 Merge branch 'master' into develop
All checks were successful
continuous-integration/drone/push Build is passing
v2.0.0
2021-01-30 18:23:12 +01:00
cecd76ea10 JavaDoc++
All checks were successful
continuous-integration/drone/push Build is passing
2021-01-30 18:20:21 +01:00
fe14c34b8c prepare release
All checks were successful
continuous-integration/drone/push Build is passing
2021-01-30 17:39:53 +01:00
465767342f update copyright notice to 2021
All checks were successful
continuous-integration/drone/push Build is passing
2021-01-30 17:35:48 +01:00
e723cd4096 extend unit tests for UraClientConfiguration
Timeout values are tested in different cases, but for completeness the
unit test for UraClientConfiguration checks the values now, too.
2021-01-30 17:34:40 +01:00
10c0967679 remove unused imports
All checks were successful
continuous-integration/drone/push Build is passing
2021-01-30 16:59:47 +01:00
6bf976c010 add timeout configuration to asynchronous trip reader 2021-01-30 16:49:42 +01:00
9e84d9f40d implement connection and read timeouts for synchronous requests 2021-01-30 16:49:42 +01:00
d3d16e22a0 minor dependency upadtes
All checks were successful
continuous-integration/drone/push Build is passing
2021-01-24 17:31:11 +01:00
242a371f84 Merge branch '1.x'
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-12 14:06:10 +01:00
24b69a29e2 prepare release 1.3.1
All checks were successful
continuous-integration/drone/push Build is passing
v1.3.1
2020-12-12 13:50:35 +01:00
3648d2d653 build with JDK 15
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-12 12:52:28 +01:00
7b8c81ab21 update dependency Jackson 2.11.3
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-12 12:26:03 +01:00
2374613a48 update dependency Jackson 2.12
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-12 12:24:30 +01:00
c314b0c6d4 [backport] remove future from trip reader after closing
All checks were successful
continuous-integration/drone/push Build is passing
Future was not removed from the reader instance after close() has been
called, so re-opening was not possible. Remove the instance after
termination allows calling open() again.
2020-10-14 14:22:39 +02:00
b80da71014 remove future from trip reader after closing
All checks were successful
continuous-integration/drone/push Build is passing
Future was not removed from the reader instance after close() has been
called, so re-opening was not possible. Remove the instance after
termination allows calling open() again.
2020-10-14 14:19:53 +02:00
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
ddf65708a7 add JDK 14 to automated builds
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-08 14:37:04 +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