-
Notifications
You must be signed in to change notification settings - Fork 873
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(metricprovider): Support jsonBody for web metric provider Fixes #2275 #2312
Conversation
Signed-off-by: Prema devi Kuppuswamy <[email protected]>
Signed-off-by: Prema devi Kuppuswamy <[email protected]>
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Codecov ReportBase: 82.38% // Head: 82.37% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #2312 +/- ##
==========================================
- Coverage 82.38% 82.37% -0.01%
==========================================
Files 121 121
Lines 18476 18490 +14
==========================================
+ Hits 15221 15232 +11
- Misses 2468 2470 +2
- Partials 787 788 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Setting a `body` field for a `GET` request will result in an error. | ||
In order to send in JSON, you can use jsonBody and Content-Type will be automatically set as json. | ||
Setting a `body` or `jsonBody` field for a `GET` request will result in an error. | ||
Set either `body` or `jsonBody` and setting both will result in an error. |
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.
@mayzhang2000 Setting both will result in an error. Should I be removing this line from the doc?
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.
LGTM
…rgoproj#2275 (argoproj#2312) * fix(issue2275): Support jsonBody for web metric provider Signed-off-by: Prema devi Kuppuswamy <[email protected]> * fix(webmetrics): generate proto files Signed-off-by: Prema devi Kuppuswamy <[email protected]> Signed-off-by: Prema devi Kuppuswamy <[email protected]>
…rgoproj#2275 (argoproj#2312) * fix(issue2275): Support jsonBody for web metric provider Signed-off-by: Prema devi Kuppuswamy <[email protected]> * fix(webmetrics): generate proto files Signed-off-by: Prema devi Kuppuswamy <[email protected]> Signed-off-by: Prema devi Kuppuswamy <[email protected]>
…rgoproj#2275 (argoproj#2312) * fix(issue2275): Support jsonBody for web metric provider Signed-off-by: Prema devi Kuppuswamy <[email protected]> * fix(webmetrics): generate proto files Signed-off-by: Prema devi Kuppuswamy <[email protected]> Signed-off-by: Prema devi Kuppuswamy <[email protected]>
Checklist:
"fix(controller): Updates such and such. Fixes #1234"
.