f70fc084be
Override toString() on ErrorResponse
...
Partially reverts last commit that added first error message to exception
without checking for presence of such.
2017-09-25 20:48:36 +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
29776f459e
Fixed Exception class on invalid response during sealStatus()
2017-09-25 20:35:37 +02:00
4ca8aa56d2
Test constructors and exceptions on sealStatus
2017-09-24 13:23:13 +02:00
32ab9f4bb1
Updated dependencies
2017-09-24 11:39:26 +02:00
e002fc749a
Adaptation to Vault 0.8 endpoints for renew and revoke leases ( #11 )
...
Breaking backwards compatibility with Vault 0.7 and below.
2017-09-24 11:08:00 +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
43511dc20b
AppRole path generation with pre-formatted String
2017-08-29 09:04:04 +02:00
05b44759c0
Bundled common error messages in static inner class
2017-08-29 08:56:30 +02:00
ba17286ab3
Add Slack notification to Travis
2017-08-29 08:25:31 +02:00
51e505313a
Removed deprecated method listAppRoleSecretss ( #14 )
...
Has been deprecated because of a typo in the method name in v0.6.2.
As of 0.7 it is now removed. Please use listAppRoleSecrets() instead.
2017-08-29 08:18:10 +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
23419e94f1
Preparations for 0.6.2 release
v0.6.2
2017-08-19 12:27:20 +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
238ac8bd10
Do not print stacktrace in response models ( #13 )
2017-08-18 21:09:40 +02:00
c8a2e0784f
Do not print stacktrace on PUT request ( #13 )
2017-08-18 20:58:57 +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
52a1abfb87
Fields of InvalidResposneException made final
...
Deprecated pseudo-builder methods withStatusCode() and withResponse() in
favor of additional constructor arguments to enforce fixed state.
2017-08-18 17:47:55 +02:00
4bf9df5f73
Quality Gate badge in ReadMe
2017-08-18 17:07:22 +02:00
8ae4dccdd6
Throw more speaking Exception when parsing body failed
...
Removed the fall-through behavior in code 200 exception.
2017-08-18 17:01:30 +02:00
7ac550230f
Prevent potential NPE on SecretResponse getter
2017-08-18 16:58:33 +02:00
c1d519826c
Add SonarCloud to Travis
2017-08-18 13:57:10 +02:00
a727ed960b
Test against Vault 0.8.1
2017-08-16 19:41:38 +02:00
c685ec82a0
Test against Vault 0.8.0
2017-08-11 16:16:05 +02:00
934628f382
Test against Vault 0.8.0-rc1
2017-08-04 08:46:33 +02:00
ce90f9fba2
Readme 0.6.1
2017-08-04 08:37:03 +02:00
6b25113b9f
Bump version to 0.6.1
v0.6.1
2017-08-02 17:50:20 +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
42094101a3
Code style
...
A number of style corrections in main source files.
Trimmed lines to 120 characters, added some spaces and line breaks.
Removed unused imports
2017-08-02 17:46:56 +02:00
259747afae
JavaDoc fixes
...
Added various JavaDoc blocks for public methods in model classes and some minor style corrections.
2017-08-02 17:46:56 +02:00
d7365dcaf1
Fix typo in TokenData.getCreationTtl()
...
The method getCreatinTtl() has been renamed to getCreatoinTtl(),
2017-08-02 17:46:56 +02:00
c24d1cae0b
Fix CredentialsPassword model
2017-08-02 17:46:56 +02:00
af7b99587f
Model classes and various method parameters declared final.
...
As the model classes are not designed for inheritance, they are now explicitly declared final.
Same for various input parameters, as thes should be immutable in most methods.
2017-08-02 17:46:55 +02:00
13c2cce162
Bump Jackson to 2.9.0
2017-07-31 20:46:15 +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
3fd74a7fd2
Jackson dependency Update
...
Updated Jackson libraries to 2.9.0.pr4 to evaluate compatibility with upcoming release
2017-07-18 11:12:56 +02:00
21943896c7
Test against 0.7.3
2017-06-08 21:18:50 +02:00
3794f4aac6
Preparations for 0.6.0 release
v0.6.0
2017-05-12 12:15:35 +02:00
f805a9c751
Test against 0.7.2
2017-05-09 19:32:00 +02:00
767c2cce91
ReadMe and dependency updates
2017-04-30 13:31:54 +02:00
ed703f6e53
Implement AutoCloseable
2017-04-13 19:49:47 +02:00
e767c07a61
#8 Initialization from environment variables
2017-04-13 19:46:01 +02:00
c1f6ee891b
#9 Number of retries and custom timeout
2017-04-10 13:22:54 +02:00
5d46e75068
Prevent SecretResponse from raising NPE in get()
2017-04-10 12:30:36 +02:00