-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat(api): mutation operations #175
Conversation
Hi @andrewazores! Add at least one of the required labels to this PR Required labels are : chore,ci,cleanup,docs,feat,fix,perf,refactor,style,test |
0a60a1f
to
7b774d9
Compare
* end paths with / so as to not match by prefix * refactor: extract methods * add utility for extracting ID from path * add handling for stopping recording * add handling for closing (deleting) recording * only allow GET requests if write-operations are not enabled * extract HTTP response body length constants
* end paths with / so as to not match by prefix * refactor: extract methods * add utility for extracting ID from path * add handling for stopping recording * add handling for closing (deleting) recording * only allow GET requests if write-operations are not enabled * extract HTTP response body length constants
7c80d6c
to
82002e8
Compare
3df2ec1
to
05ead99
Compare
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 writes-enabled
property looks fine to me. We just need to make sure users are aware of it through documentation. Since this is only gating new functionality for the agent, I don't think it's overly disruptive from a UX perspective.
… 124-epic-two-way-communications-protocol
…epic-two-way-communications-protocol
…-epic-two-way-communications-protocol
1cc7bdc
to
baa3e37
Compare
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 good to me 👍
…ter first PATCH body validation failure
@mwangggg do the latest changes make sense to you? |
@mwangggg ping |
I'll take a look at that over at https://github.com/cryostatio/cryostat/pull/1608 - that target uses the Agent for Discovery only, with a JMX URL for all actual JFR communications, so the recording stop action isn't going through any Agent code here. |
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 good to me
Includes: