61e1f3f745
Test against 0.9.1
2017-12-22 16:40:15 +01:00
50cd400ba3
Migrated tests to JUnit5 and removed PowerMock
...
* Unit tests are using JUnit Jupiter framework
* Enabled support for legacy rules for now
* Replaced PowerMock with custom ByteBuddy redefinition for the offline test
2017-11-26 18:17:13 +01:00
470dcb48ba
Test framework migrated to Mockito/Powermock 2
...
This simple migration with the bare minimum of changes necessary solves
compatibility issues with Java 9 build environments.
2017-11-25 18:43:25 +01:00
736f23c19a
Tested against 0.9.0
2017-11-16 20:34:52 +01:00
6904ed6817
Added tests for parse exceptions.
2017-09-27 20:23:14 +02:00
1ed5d8d992
Added tests for unexpected 200 responses.
...
Some methods do expect code 204 (successful without result), those are now covered by tested.
2017-09-27 20:07:12 +02:00
4b14ab3f4b
Offline tests with mocked Vault server
...
Added some tests that do not require an actual Vault server to test constructors and exceptional behavior.
2017-09-25 20:39:13 +02:00
4ca8aa56d2
Test constructors and exceptions on sealStatus
2017-09-24 13:23:13 +02:00
b9ad2d1551
Test against 0.8.3
...
Minor test adaptation, because default policy is no longer added to AppRole by default.
2017-09-23 14:46:41 +02:00
35a8c2e0fa
Test constants made constant
2017-09-09 20:32:56 +02:00
89f7581d17
Test against 0.8.2
2017-09-08 19:21:41 +02:00
a1784245a3
Refactored (un)seal methods to throw Exception instead of catching it ( #12 )
2017-08-28 19:24:52 +02:00
df7de5dd73
Health status query and response model implemented ( #15 )
2017-08-28 17:50:24 +02:00
5b34cfcc27
Refactored extraction of auth backends
...
Changed iteration over keys ot iteration over entries.
Implemented unit test as part of this process.
2017-08-19 12:16:57 +02:00
b1c78b50d2
Added unit tests for response classes with embedded functionality
...
AppRoleResponse, AuthResponse, SecretResponse, TokenResponse
2017-08-19 11:28:04 +02:00
23f98f190b
Fix typo in method name listAppRoleSecrets ( #14 )
2017-08-18 20:45:47 +02:00
745ab7a24c
More connector unit tests
...
Listing of AppRole roles and secrets, seal-unseal roundtrip, closing
2017-08-18 20:27:06 +02:00
71f68f088f
Unit tests for custom exceptions
...
... for the sake of coverage.
2017-08-18 18:28:36 +02:00
934628f382
Test against Vault 0.8.0-rc1
2017-08-04 08:46:33 +02:00
63dc329857
Revert Travis test to Vault 0.7,3
...
Partially reverts e9663ef (commented out), because fixes should be released before 0.8 compatibility is finally required.
2017-08-02 17:46:56 +02:00
e9663ef794
Fix token creation test for compatibiltiy with Vault 0.8.0 ( #10 )
...
As of Vault 0.8.0 specifying the same token ID twice is prohibited. Adapted the unit test to match this behavior.
2017-07-31 20:38:54 +02:00
e767c07a61
#8 Initialization from environment variables
2017-04-13 19:46:01 +02:00
107244cb81
Minor fixed and test coverage
2017-02-10 11:16:31 +01:00
ce2de2df81
TokenBuilder with policies as vararg
2017-01-09 12:42:12 +01:00
8ab9c23605
Copyright updated
2017-01-07 19:18:37 +01:00
e988833eb9
Preparations for 0.4.1 release
2016-12-24 12:24:32 +01:00
3396693120
Test stacktraces for revealing any secret information
2016-12-04 10:38:30 +01:00
b98b7ab95c
Dependencies updated
2016-12-04 09:52:04 +01:00
ecf398c9d0
Removed unnecessary boolean results from API
2016-11-13 18:05:36 +01:00
2b2b86023e
v0.4.0
2016-11-06 16:21:04 +01:00
3df2293741
Support for complex secrets added
2016-11-06 16:06:13 +01:00
c1a964b0d1
Lease renewal implemented
2016-11-06 15:22:50 +01:00
d2b31122b6
#2 Option to provide trusted CA certificate
2016-11-06 13:02:40 +01:00
3271e5e513
Test corrections
2016-11-05 18:15:28 +01:00
40742b00de
#5 Role and Secret creation implemented and tested
2016-11-05 18:01:19 +01:00
c7b4c46ad2
Test coverage increased
2016-10-24 15:53:30 +02:00
9618a50646
#4 token creation implemented
2016-10-21 18:08:26 +02:00
53a459eda1
Token metamodel implemented
2016-10-17 16:40:26 +02:00
fc493a2e73
Secret deletion implemented and tested
2016-10-16 18:24:43 +02:00
048e4d12b4
#3 Secret revocation implemented
2016-10-15 18:38:26 +02:00
c3ad6b6edd
License information in source code
2016-10-10 15:25:35 +02:00
aacbed836a
#1 Retrieval of JSON objects
2016-09-27 21:13:29 +02:00
b845e4b7ce
Initial Import
2016-03-29 15:52:31 +02:00