Skip to content
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): enable dynamic JFR stop, delete #176

Conversation

andrewazores
Copy link
Member

See #165
Related to #124

Adds remote endpoint ability to HTTP request Agent to stop or delete JFR by ID.

@andrewazores andrewazores merged commit 6154aa8 into cryostatio:124-epic-two-way-communications-protocol Aug 14, 2023
6 checks passed
@andrewazores andrewazores deleted the http-recording-stop-delete branch August 14, 2023 15:35
andrewazores added a commit that referenced this pull request Aug 14, 2023
* 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
mwangggg pushed a commit to mwangggg/cryostat-agent that referenced this pull request Aug 16, 2023
* 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
mwangggg pushed a commit to mwangggg/cryostat-agent that referenced this pull request Aug 24, 2023
* 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
mwangggg pushed a commit to mwangggg/cryostat-agent that referenced this pull request Aug 31, 2023
* 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
@andrewazores andrewazores restored the http-recording-stop-delete branch September 13, 2023 18:22
andrewazores added a commit that referenced this pull request Sep 19, 2023
* end paths with / so as to not match by prefix

* only allow GET requests if write-operations are not enabled

* feat(api): implement GET /recordings/:id for streaming files

* feat(api): enable dynamic JFR start (#165)

* feat(api): enable dynamic JFR stop, delete (#176)

Co-authored-by: Ming Wang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request safe-to-test
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants