0f0b008f2f
bump Vault versions in integration tests to 1.13.3 and 1.11.1
continuous-integration/drone/push Build is passing
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
...
continuous-integration/drone/push Build is passing
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
continuous-integration/drone/push Build is passing
2023-06-13 21:12:36 +02:00
d9dbdad75b
use explicit utf-8 encoding for parsing responses
continuous-integration/drone/push Build is passing
2023-06-13 18:51:07 +02:00
fea27910bb
minor dev-dependency updates
continuous-integration/drone/push Build is passing
2023-05-18 18:35:59 +02:00
01e1c6e8c7
minor dev-dependency updates
2023-04-06 17:32:01 +02:00
e322a74818
test against Vault 1.13.0
continuous-integration/drone/push Build is passing
2023-03-03 20:25:14 +01:00
5e6dcc64cd
test against Vault 1.12.2
continuous-integration/drone/push Build is passing
2023-01-29 11:25:00 +01:00
70b7338f3e
update copyright notice to 2023
2023-01-29 11:20:59 +01:00
909eab762c
mark deprecated AppID components for removal
...
continuous-integration/drone/push Build is passing
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
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
adedc277fa
test against older Vault versions to provide a supported range
...
continuous-integration/drone/push Build was killed
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
b5ed7704e3
test: scan for "Vault server started" instead of fixed delay
continuous-integration/drone/push Build is passing
2022-08-29 09:42:23 +02:00
3fb8454711
ci: update CI pipelines and test dependencies
continuous-integration/drone/push Build is failing
2022-08-14 20:35:54 +02:00
ecf18881b9
test: extend assertion for warnings creating token with custom ID
...
continuous-integration/drone/push Build is passing
With Vault 1.11 a second warning is raised. We accept "at least one"
for now.
2022-06-23 18:29:23 +02:00
4b1b4399e1
test against Vault 1.11.0
2022-06-23 18:16:40 +02:00
64e55eddd8
model: add request ID to data response models
continuous-integration/drone/push Build is passing
2022-04-24 16:44:50 +02:00
feb6e147fe
model: add support for (dis)allowed policy glob patterns in TokenRole
continuous-integration/drone/push Build is passing
2022-04-24 16:40:33 +02:00
b0d2b038eb
model: add missing fields to AuthMethod
model
continuous-integration/drone/push Build is passing
2022-04-24 16:32:49 +02:00
f3cc16f44a
test: bundle serialization tests into abstract test case
continuous-integration/drone/push Build is passing
2022-04-19 17:24:17 +02:00
4f3cb4b330
model: eliminate double-mapping of generic data in response classes
...
Explicitly declare mapping of the "data" field in response classes.
Therefore, the JSON setter setData() is no longer used. SecretResponse
is split into subclasses for secret with and without metadata.
2022-04-19 17:24:16 +02:00
021421a54c
model: implement Serializable with model classes
...
implement equals() and hashCode()
2022-04-19 17:24:09 +02:00
18cb89ace4
test: update to JRE8+ version of Wiremock with Junit5 extension
continuous-integration/drone/push Build is passing
2022-04-12 21:01:40 +02:00
912b9ec61b
test: minor adjustments for integration tests against Vault 1.10
...
continuous-integration/drone/push Build is passing
Accept token prefixes "hvb." and "b." as valid results for creation
without specific preferences.
2022-03-24 20:43:00 +01:00
bd0c5b08fe
model: add wrap_info to data response model
continuous-integration/drone/push Build is passing
2022-03-06 18:11:31 +01:00
5f3a36e2c5
update copyright notice to 2022
2022-03-06 18:10:33 +01:00
deb03cc2b0
minor dependency updates
2022-03-06 17:56:52 +01:00
f6180c4f90
model: add migration, recovery and storage type fields to seal status
continuous-integration/drone/push Build is passing
2022-02-05 13:01:57 +01:00
dc4b62496a
model: use correct "replication_performance_mode" JSON field
...
continuous-integration/drone/push Build is passing
The official docs incorrectly state "replication_perf_mode" which was
renamed to "replication_performance_mode" way back in Vault 0.9. We now
use the correct field name that is emitted by the API.
2021-12-27 18:54:49 +01:00
5e2d37797e
rename test classes
continuous-integration/drone/push Build is passing
2021-11-21 11:20:04 +01:00
b4a822bf10
use failsafe plugin for integration tests instead of "offline" profile
2021-11-21 11:19:08 +01:00
4045b1a4fd
test against Vault 1.9.0
continuous-integration/drone/push Build is passing
2021-11-19 20:19:33 +01:00
6a73bc39d3
connector: remove unused DEFAULT_TLS_VERSION field
...
continuous-integration/drone/push Build is passing
This constant was left over from the RequestHelper refactoring. It is
not used anywhere in our code and likely not used by any downstream
project, so we remove it now.
2021-10-26 20:05:37 +02:00
75561a0540
passthrough null as port number in builder ( #56 )
continuous-integration/drone/push Build is passing
2021-10-12 20:58:59 +02:00
1c31b7a5fe
auto format JavaDocs
continuous-integration/drone/push Build is passing
2021-10-02 15:04:00 +02:00
f918f85d20
Merge branch 'main' into develop
2021-10-02 15:02:00 +02:00
7f153df136
add since and removal flags to deprecation annotations
2021-10-02 14:45:26 +02:00
7701f9f768
test against Vault 1.8.3 and JDK 17
continuous-integration/drone/push Build is passing
2021-10-02 14:16:47 +02:00
bbceee35f2
test against Vault 1.8.0
continuous-integration/drone/push Build is passing
2021-07-28 19:38:06 +02:00
eed61c4569
minor dependency updates
continuous-integration/drone/push Build is passing
2021-07-27 21:25:20 +02:00
1cd1b63f8d
minor dependency updates
continuous-integration/drone/push Build is passing
2021-07-10 15:08:33 +02:00
e81dd87fe1
clean up assertions and messages in unit tests
continuous-integration/drone/push Build is passing
2021-06-16 20:20:09 +02:00
f6037e31bb
introduce modularity ( #55 )
2021-06-15 21:44:16 +02:00
74092bba9a
use plain JUnit for test assertions
...
continuous-integration/drone/push Build is passing
Hamcrest is a beautiful library, but we try to keep things simple here
and switch to plain JUnit 5 assertions for testing.
2021-06-12 13:10:11 +02:00
3c11fe912b
enforce use of builder to create a new HTTPVaultConnector ( #54 )
...
continuous-integration/drone/push Build is passing
Remove constructors of HTTPVaultConnector and make the builder
constructor package-private to enforce use of .builder()....build()
For convenience we add direct builder constructors with a full URI
argument to allow a one-line initialization if necessary.
2021-06-12 12:01:52 +02:00
53d954ea12
deprecate all convenience methods to interact with "secret/" mount
...
continuous-integration/drone/push Build is passing
Follow-up deprecation for the not yet deprecated wrapper methods.
2021-06-12 10:46:10 +02:00
71564e87e8
remove convenience methods to interact with "secret/" mount ( #53 )
continuous-integration/drone/push Build is passing
2021-06-12 10:44:41 +02:00