-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Add support in jolokia get response for single value #11075
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.
Thanks for this! I have added some comments, let me know what you think.
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.
It looks great, thanks for fixing this!
@kaiyan-sheng what do you think about backporting this too to 6.7 and 6.6? |
@jsoriano Yes backporting to 6.7 and 6.6 for sure! I will add the labels. How about anything earlier than that? |
@kaiyan-sheng earlier versions are not affected, support for GET method was introduced in 6.6.0. |
…lue (#11075) (#11115) * Add support in jolokia get response for single value (#11075) * Add support in jolokia get response for single value * Use reflect.TypeOf to check attribute and value type * Add changelog * Replace reflect by type switching * Fix indentation for comments (cherry picked from commit c238ea2) * Fix changelog rebase * Rerun TestData to generate data.json
…lue (elastic#11075) (elastic#11117) * Add support in jolokia get response for single value (elastic#11075) (cherry picked from commit 1d966f2)
Jolokia module fails to parse some responses fetched using the GET method with error:
This is because value field can be a map[string]interface or it can also be just a float.