-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ReactiveVaultTemplate
for the key-value backend version 2
#807
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had a first look. The structure looks pretty much like the imperative support. There are a few deviations that we should discuss, I left a few comments.
@@ -324,4 +324,89 @@ | |||
</dependency> | |||
</dependencies> | |||
|
|||
<profiles> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do not use Sonar so please remove the additional profile.
...-vault-core/src/main/java/org/springframework/vault/core/ReactiveVaultKeyValue2Template.java
Outdated
Show resolved
Hide resolved
...g-vault-core/src/main/java/org/springframework/vault/core/ReactiveVaultKeyValueAccessor.java
Outdated
Show resolved
Hide resolved
...core/src/main/java/org/springframework/vault/core/ReactiveVaultKeyValueMetadataTemplate.java
Outdated
Show resolved
Hide resolved
import org.springframework.lang.Nullable; | ||
|
||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
public class VaultResponseDataVersion2<T> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason why we require an additional response wrapper and why we cannot follow the imperative typing approach?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My goal was to force WebClient to do all JSON marshaling. My intent was to use any added Jackson deserialization to the DI'ed WebClient.Builder
.
To do what imperative did - do you know of a way to get the default Jackson deserialization configuration from WebClient?
...va/org/springframework/vault/core/ReactiveVaultKeyValueMetadataTemplateIntegrationTests.java
Outdated
Show resolved
Hide resolved
spring-vault-core/src/main/java/org/springframework/vault/core/ReactiveKeyValueHelper.java
Outdated
Show resolved
Hide resolved
@mp911de - I had a bad git config when doing most of the work on this. After we finish review, would it be possible for me to re-make the branch so that the commits look correct? |
Sure. A force-push is fine.
Am 26. Aug. 2023, 01:10 +0200 schrieb Timothy R. Weiand ***@***.***>:
… @mp911de - I had a bad git config when doing most of the work on this. After we finish review, would it be possible for me to re-make the branch so that the commits look correct?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
7e67eab
to
f513e5b
Compare
Force pushed the branch with the correct email for me. I have 2 questions buried in the comments. Thanks for the help! |
ReactiveVaultTemplate
for the key-value backend version 2
Thank you for your contribution. That's merged and polished now. I took care of all license headers, author and since-tags. |
What is done:
Questions I have:
What I am looking at:
I am available for video chat.