8b278f67fe
Update Jackson dependency
2019-08-16 19:54:46 +02:00
8f3462b22a
Test against Vault 1.2.2
2019-08-16 19:51:37 +02:00
a394cb7f0d
Test against Vault 1.2.0
2019-07-30 21:11:13 +02:00
50d0b2fe56
Fix test exclusions for offline CI using JUnit tags
2019-07-27 15:07:36 +02:00
e2bb09d50f
minor dependency updates
2019-07-26 19:39:36 +02:00
4a2b40a4cf
fix Javadoc generation with JDK11+
2019-07-26 19:28:18 +02:00
bed9c868f6
Test against 1.1.3; update Drone CI config; minor test cleanup
2019-06-17 19:11:26 +02:00
7a45af8856
Update dependencies
2019-06-01 20:05:08 +02:00
4bafcec012
Test against 1.1.2
2019-06-01 16:39:41 +02:00
4ca150a0cb
Prepare 0.8.0 release
v0.8.0
2019-03-24 11:53:45 +01:00
efb0aba7cd
Clean up imports of factory class
2019-03-24 11:51:19 +01:00
17f1ee79db
Change artifact id to jvault-connector ( closes #28 )
2019-03-24 11:41:59 +01:00
d8b9c2b373
Add static builder() method to AppRole class
2019-03-23 21:18:23 +01:00
04d530a5ed
Use Token.builder() in unit tests
2019-03-23 21:13:53 +01:00
b134b5a605
Group HTTP connector tests into nested test suites
...
We're using JUnit 5 so leverage some new features to make reasonable
test groups.
2019-03-23 19:18:05 +01:00
f8ff93fa6c
Update ReadMe to builder and replace deprecated examples [skip ci]
2019-03-23 11:12:17 +01:00
5bd6a90f25
Add static builder() method to Token class
2019-03-23 11:07:03 +01:00
92cfc3a597
Update missing test data
2019-03-22 19:16:29 +01:00
3f47da6134
Do not reuse surefire forks for testing
...
The offline test messes up with the online test if executed in advance
because of the static HTTP mock. With no guaranteed execution order
all online tests may be skipped. To prevent this, run each test in its
own fork.
2019-03-22 19:10:19 +01:00
3446d1590e
Add some messages to test assumptions
...
Tests are skipped for some reason in CI environment. This might help to
debug the cause.
2019-03-22 18:01:50 +01:00
a24ddf65a5
Migrate TemporaryFolder rule to JUnit 5.4 TempDir annotation
2019-03-22 17:13:16 +01:00
d6f422e0ec
Back to future [skip ci]
...
Some source files have lived in a feature branch since 2018 and did not
receive the update to 2019...
2019-03-22 17:08:28 +01:00
fbaa560551
Update dependencies
2019-03-22 16:49:28 +01:00
42c2869675
Minor JavaDoc adjustments
2019-03-22 16:45:16 +01:00
eabc458176
Add missing parameters to JavaDoc [skip ci]
2019-03-22 15:01:21 +01:00
dee7ec0b23
Implement update of KV v2 metadata ( #16 )
2019-03-22 14:40:27 +01:00
ab33325b8e
Implement writing of KV v2 secret data ( #16 )
2019-03-22 14:27:30 +01:00
e4cf8a1dde
Move 204 empty checks into request helper and make Error class private
2019-03-22 10:19:06 +01:00
22a48d4a90
Move parsing of JSON response into RequestHelper
...
The pattern is always the same, issue request, parse String response
into target class and catch exceptions. Bundle these blocks in the
helper class for GET, POST and PUT methods to reduce overhead in the
actual connector.
2019-03-22 10:03:49 +01:00
7020d3701c
Default test against Vault 1.1.0
2019-03-21 20:22:38 +01:00
51e54d9870
Extract request methods and error codes into separate classes.
...
To clean up the actual connector class all HTTP wrappers are now bundled
within the RequestHelper class.
2019-03-21 20:17:04 +01:00
b103d6e804
Bundle authorization check in method to reduce repetition
2019-03-21 20:13:50 +01:00
1aade2882b
Clean up imports and move common parameters into constants
2019-03-17 15:15:35 +01:00
7909a6772d
Minor CI adjustments
...
Trusty is default in Travis and no need to encorce Xenial environment.
Correct pipeline name for Drone build, "java8" is no longer applicable.
2019-03-17 15:15:35 +01:00
5f391286e5
KV v2 and mount points in changelog
2019-03-17 15:15:35 +01:00
068f961454
Introduce "mount" parameter for KV v2 methods ( #25 )
...
The backend can be mounted on an arbitrary path, so this path can now be
passed as an arugment along with the corresponding method call.
2019-03-17 15:15:35 +01:00
ad2986195d
Merge branch 'feature/16-kv_v2_support' into develop
2019-03-17 14:05:56 +01:00
487070bcd2
Test against 1.0.3
2019-03-17 12:18:11 +01:00
646379a69a
Migrate unit tests to builder instead of factory
2019-03-17 12:17:28 +01:00
5e143e9f36
Switch to JDK 11 for CI builds
2019-01-14 20:32:18 +01:00
19f9a97422
Update dependencies
...
Most notable update is Jackson 2.9.8 that fixes several vulnerabilities.
Beyond that just some minor test dependency updates.
2019-01-14 20:24:40 +01:00
aca5443bdd
Test against 1.0.1
2019-01-14 20:15:37 +01:00
e59073cf00
Update copyright notice to 2019 [skip ci]
...
Happy new year!
2019-01-08 19:11:18 +01:00
7032bd4b2b
Test against 1.0.0
2018-12-10 18:12:25 +01:00
263669362f
Code style: add curly braces to all one-line if-else blocks
2018-11-20 14:36:29 +01:00
3b2a3dd70a
Add unit tests for CredentialsResponse and SecretListResponse models
2018-11-20 14:12:35 +01:00
d1876c88aa
Add unit tests for secret metadata models and fixed JSON property name
2018-11-20 13:50:28 +01:00
c2bd54ca22
Extend unit test to new KV v2 methods [skip ci]
...
This test does not yet work without changes, because KV v2 is mounted on
non-standard path and this is not yet supported (see #25 ).
2018-11-20 12:11:37 +01:00
493bed55f0
Add method to read specific secret version
2018-11-20 12:08:58 +01:00
e41a61f33b
Add methods to delete, undelete and destroy KV v2 secret versions
2018-11-20 11:59:15 +01:00