-
Notifications
You must be signed in to change notification settings - Fork 3
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
Fix #261:Add support for traceparent headers in DefaultRestClient #262
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.
Not covered by tests.
rest-client-base/src/main/java/com/wultra/core/rest/client/base/DefaultRestClient.java
Outdated
Show resolved
Hide resolved
rest-client-base/src/main/java/com/wultra/core/rest/client/base/DefaultRestClient.java
Outdated
Show resolved
Hide resolved
rest-client-base/src/main/java/com/wultra/core/rest/client/base/DefaultRestClient.java
Outdated
Show resolved
Hide resolved
rest-client-base/src/main/java/com/wultra/core/rest/client/base/RestClientConfiguration.java
Outdated
Show resolved
Hide resolved
Based on this blog I aimed to implement a way to propagate the traceId through Can you please take a look at this solution? If it is accepted, I will add some tests as well. |
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.
The feature seems to be implemented based on the W3C specification.
I would suggest to make this feature optional (e.g. allow disabling adding the header using a property).
rest-client-base/src/main/java/com/wultra/core/rest/client/base/TraceparentFilterFunction.java
Outdated
Show resolved
Hide resolved
This reverts commit 4174484.
- clean-up code according to w3c naming standard
More info about the changes in the issue #261 TLDR:
|
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.
Looks OK.
No description provided.