481 Commits

Author SHA1 Message Date
a75621d67e
deps: update maven plugins 2024-06-22 12:13:07 +02:00
8cb27ed4d1
deps: update wiremock to 3.7.0 2024-06-22 12:06:12 +02:00
7d5996244b
deps: update jackson to 2.17.1 2024-06-14 17:06:33 +02:00
20983e5089
test: test against Vault 1.17.0 2024-06-14 16:58:56 +02:00
56fb92178c
deps: update wiremock and maven plugins 2024-04-27 17:20:24 +02:00
4258489dba
update copyright notice to 2024 2024-04-27 17:09:40 +02:00
e49216f611
docs: fix two typos in comments 2024-04-27 12:06:55 +02:00
dd5adf897a
refactor: simplify JSON parsing in handleError()
Omit reading lines to String first and pass the reader directly to the
JSON mapper.
2024-04-27 12:04:44 +02:00
d04067db7e
deps: update build and test dependencies
Test dependencies:
* commons-io:commons-io 2.16.1
* nl.jqno.equalsverifier:equalsverifier 3.16.1
* org.wiremock:wiremock 3.5.2

Maven plugins:
* dependency-check-maven 9.1.0
* jacoco-maven-plugin 0.8.12
* maven-compiler-plugin 3.13.0
* maven-gpg-plugin 3.2.3
* maven-source-plugin 3.3.1
2024-04-13 14:05:41 +02:00
703cc0d87b
test: minor code clean-up 2024-04-13 13:39:50 +02:00
c35760d0ab
test: use assertInstanceOf() where applicable 2024-04-13 13:39:40 +02:00
2f5b25d847
test: replace deprecated Field.isAccessible() calls 2024-04-13 13:38:56 +02:00
7681e9e2af
test: test against Vault 1.16.0 2024-03-28 18:27:25 +01:00
4c4a38cb0b
deps: update build and test dependencies 2024-03-23 17:51:58 +01:00
fe309746fe
deps: update jackson to 2.17.0 2024-03-23 17:49:06 +01:00
df251f1f2c
deps: update test dependencies 2024-02-06 20:05:36 +01:00
a008fa2b69
deps: update maven plugins 2024-02-06 20:05:07 +01:00
156156cdef
deps: update jackson to 2.16.1
Plus minor test and plugin updates.
2024-01-02 17:07:29 +01:00
7bcd57691c
prepare release of v1.2.0 v1.2.0 2023-12-11 17:44:00 +01:00
531111cb2b
test against Vault 1.15.4 2023-12-11 17:41:31 +01:00
151b58dc82
model: add "build_date" to SealResponse (#73) 2023-12-03 15:11:10 +01:00
65fb01617d
model: extend AuthMethod model and embedded config (#72)
Introduce MountConfig and UserLockoutConfig models and add some missing
fields to AuthMethod.
2023-12-03 15:09:45 +01:00
097cb5415a
re-generate serial version of AuthData class
Fixes: 2dff8930b7770eada7a6602cf138d07093d92efc
2023-12-03 15:09:12 +01:00
2dff8930b7
model: add MFA requirement data to auth response (#71) 2023-12-03 14:44:15 +01:00
d82554974c
test against Vault 1.15.3 2023-12-03 10:39:09 +01:00
8352d04c52
deps: update test dependencies
* commons-io 2.15.1
* dependency-check-maven 9.0.2
* equalsverifier 3.15.4
* mockito-core 5.8.0
2023-12-03 10:33:44 +01:00
56d5345fcb
ci: run coverage analysis with JDK 21
The JDK 21 build with Vault 1.11 seems to be the only job with full
coverage on conditional code.
2023-11-26 11:36:23 +01:00
52876ef3a4
close HTTPClient when running with JDK21 or newer (#70)
The Java HTTP client implements AutoCloseable since JDK 21. Closing the
client ensures that asynchronous operations and streams are properly
terminated.

As we support Java 11, we add any old school "finally" wrapper and
conditionally close the client when running on a modern platform.
2023-11-26 11:33:28 +01:00
62f2249a4d
remove redundant java.base requirement from module-info.java (#69) 2023-11-26 11:08:06 +01:00
10965b01d6
Merge branch 'main' into develop 2023-11-26 11:04:17 +01:00
0f302af3e7
deps: update dependency-check-maven plugin to 9.0.0 2023-11-26 10:57:53 +01:00
02ae647002
deps: update jackson to 2.16.0 2023-11-16 18:35:15 +01:00
1d9e1458be
deps: update test dependencies and Maven plugins 2023-11-16 18:25:37 +01:00
683052a804
add basic .editorconfig 2023-10-23 18:24:22 +02:00
cc290f4def
deps: update test dependencies and Maven plugins 2023-10-23 18:18:24 +02:00
2722a125e5
deps: update jackson to 2.15.3 2023-10-23 18:17:41 +02:00
5e5143168e
ci: build and test with JDK 21 2023-10-15 17:10:38 +02:00
08e8c9f090
test against Vault 1.15.0 2023-09-27 20:18:34 +02:00
c06cb9b0fb
deps: update test dependencies
* Wiremock 3
* Mockito 5.5
2023-09-08 20:41:37 +02:00
505d420fd6
Merge branch 'main' into develop 2023-08-19 11:47:05 +02:00
be23129441
prepare release of v1.1.5 v1.1.5 2023-08-19 11:10:57 +02:00
199dfd30ca
update test dependencies and plugins 2023-08-19 11:06:43 +02:00
b72298f2a8
bump Vault versions in integration tests to 1.14.0 and 1.11.12 2023-06-23 17:43:22 +02:00
226b6ad6c4
split lines above 120 characters 2023-06-17 15:17:06 +02:00
d81fc4e5af
reorder members and elements to comply with language recommendations 2023-06-17 15:23:49 +02:00
1195b447a2
fix regression from redundant String mapping in SecretResponse getter
Mapping a JSON string into String using a JSON parser will fail, so we
should use the string directly instead of applying double conversion.

Fixes: f3e1f01e38aa74ed20a8ca382e6821b540eb475c
2023-06-16 18:18:55 +02:00
f3e1f01e38
fix type conversion in SecretResponse getter method (#67)
Converting the payload using toString() is not an appropriate way to
feed a JSON parser. We now use JSON roundtrip for type mapping and
introduce shortcuts of the type already matches the target type.
2023-06-16 17:43:30 +02:00
622b13f508
prepare release of v1.1.4 v1.1.4 2023-06-15 18:08:24 +02:00
0f0b008f2f
bump Vault versions in integration tests to 1.13.3 and 1.11.1 2023-06-15 18:03:59 +02:00
34322b389c
fix timezone pattern in datetime parsing 2023-06-15 17:58:41 +02:00