402 Commits

Author SHA1 Message Date
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
7e5d193d1b
parse timestamps as ZonedDateTime internally
Timestamps have been stored with their String representation from the
API with convenience methods to convert them into ZonedDateTime.
We now use the Jackson JavaTimeModule to parse them directly and swap
the real and convenience getters.
2023-06-15 17:50:47 +02:00
7a813cdda3
use common ObjectMapper instance in model unit tests 2023-06-13 21:12:36 +02:00
d9dbdad75b
use explicit utf-8 encoding for parsing responses 2023-06-13 18:51:07 +02:00
c97308fb4f
deps: update jackson to 2.15.2
Plus some minor dev-dependency updates
2023-06-13 18:51:05 +02:00
fea27910bb
minor dev-dependency updates 2023-05-18 18:35:59 +02:00
4d79ef6634
ci: use SONAR_TOKEN env variable instead of sonar.login property 2023-04-29 10:22:53 +02:00
402567a0db
deps: update jackson to 2.15.0 2023-04-29 10:21:34 +02:00
00422ea00c
ci: build and test with JDK 20 2023-04-06 17:32:50 +02:00
01e1c6e8c7
minor dev-dependency updates 2023-04-06 17:32:01 +02:00
e322a74818
test against Vault 1.13.0 2023-03-03 20:25:14 +01:00
f9fe57230f
prepare release of v1.1.3 v1.1.3 2023-01-31 13:56:17 +01:00
e0c33b51e4
update .gitignore 2023-01-29 11:51:52 +01:00
5e6dcc64cd
test against Vault 1.12.2 2023-01-29 11:25:00 +01:00
70b7338f3e
update copyright notice to 2023 2023-01-29 11:20:59 +01:00
489e450dc8
deps: update jackson to 2.14.2 and mockito to 5.0.0 2023-01-29 11:16:58 +01:00
909eab762c
mark deprecated AppID components for removal
The AppID backend is no longer available in the latest Vault releases,
so we plan removal with a following major release.
2022-11-21 12:01:26 +01:00
abba4dff93
ci: enable SonarQube analysis for pull requests 2022-11-21 11:48:11 +01:00
712fab04e1
combine payload map creation into subroutines
We create payload maps with conditional argument sets in several
places. Combine the generation into subroutines, to keep the actual
endpoint calls short and clear.
2022-11-21 11:40:53 +01:00
39ac32a2f6
minor rework of internal path constants 2022-11-21 11:33:47 +01:00
31e20385d4
prepare release of v1.1.2 v1.1.2 2022-10-26 10:18:39 +02:00
30996e9fc9
ci: build and test with JDK 19 2022-10-26 10:14:11 +02:00
81decd1a4c
deps: update jackson dependency to 2.13.4.2 2022-10-26 10:11:19 +02:00
adedc277fa
test against older Vault versions to provide a supported range
We've only tested the connector against the latest Vault version
available at release time. However, we do support a wider range.
Test against the oldest supported release, the latest with AppID
and the actual latest.
2022-10-13 11:01:14 +02:00
0c56813121
test against Vault 1.12.0, conditionally disable AppID tests
The AppID auth backend is removed in Vault 1.12 and prevents the process
from starting. We now enable the legacy tests conditionally depending on
the actual Vault version.
2022-10-13 10:46:45 +02:00
2412a291f6
prepare release of v1.1.1 v1.1.1 2022-08-29 10:02:41 +02:00
b5ed7704e3
test: scan for "Vault server started" instead of fixed delay 2022-08-29 09:42:23 +02:00
a1626aa1c7
ci: fix drone CI pipeline
The Ubuntu Focal base image does not ship "unzip" by default, so using
the current Maven/JDK image we cannot extract the Vault binary.
Add an additional setup step to solve this problem.
2022-08-16 16:56:28 +02:00
3fb8454711
ci: update CI pipelines and test dependencies 2022-08-14 20:35:54 +02:00
ecf18881b9
test: extend assertion for warnings creating token with custom ID
With Vault 1.11 a second warning is raised. We accept "at least one"
for now.
2022-06-23 18:29:23 +02:00