-
Notifications
You must be signed in to change notification settings - Fork 31
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(replace-param): Fine-grained replacement parameter for Start Recording Mutator #1587
Merged
andrewazores
merged 29 commits into
cryostatio:main
from
aali309:replace_param_startRecording_mutator
Aug 16, 2023
Merged
feat(replace-param): Fine-grained replacement parameter for Start Recording Mutator #1587
andrewazores
merged 29 commits into
cryostatio:main
from
aali309:replace_param_startRecording_mutator
Aug 16, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aali309
changed the title
task(replace-param)Fine-grained replacement parameter for Start Recording Mutator
feat(replace-param)Fine-grained replacement parameter for Start Recording Mutator
Jul 12, 2023
aali309
changed the title
feat(replace-param)Fine-grained replacement parameter for Start Recording Mutator
feat(replace-param): Fine-grained replacement parameter for Start Recording Mutator
Jul 12, 2023
tthvo
reviewed
Jul 12, 2023
src/main/java/io/cryostat/recordings/RecordingTargetHelper.java
Outdated
Show resolved
Hide resolved
aali309
force-pushed
the
replace_param_startRecording_mutator
branch
from
July 13, 2023 19:58
5c6fc2e
to
a89f71e
Compare
Test image available:
|
Test image available:
|
tthvo
reviewed
Jul 17, 2023
src/main/java/io/cryostat/recordings/RecordingTargetHelper.java
Outdated
Show resolved
Hide resolved
tthvo
reviewed
Jul 17, 2023
src/main/java/io/cryostat/recordings/RecordingTargetHelper.java
Outdated
Show resolved
Hide resolved
tthvo
reviewed
Jul 17, 2023
src/main/java/io/cryostat/recordings/RecordingTargetHelper.java
Outdated
Show resolved
Hide resolved
maxcao13
reviewed
Jul 18, 2023
src/main/java/io/cryostat/net/web/http/api/v2/graph/StartRecordingOnTargetMutator.java
Outdated
Show resolved
Hide resolved
aali309
force-pushed
the
replace_param_startRecording_mutator
branch
from
July 19, 2023 15:02
a1c614c
to
380d15d
Compare
Test image available:
|
Test image available:
|
maxcao13
reviewed
Jul 19, 2023
src/main/java/io/cryostat/net/web/http/api/v2/graph/StartRecordingOnTargetMutator.java
Outdated
Show resolved
Hide resolved
Test image available:
|
Test image available:
|
maxcao13
reviewed
Jul 20, 2023
src/main/java/io/cryostat/recordings/RecordingTargetHelper.java
Outdated
Show resolved
Hide resolved
maxcao13
reviewed
Jul 20, 2023
src/main/java/io/cryostat/net/web/http/api/v2/graph/StartRecordingOnTargetMutator.java
Outdated
Show resolved
Hide resolved
aali309
force-pushed
the
replace_param_startRecording_mutator
branch
from
July 25, 2023 16:23
50c2c74
to
7cb9a7e
Compare
Test image available:
|
Test image available:
|
aali309
force-pushed
the
replace_param_startRecording_mutator
branch
from
August 16, 2023 13:18
3f6ccf5
to
e0bc84a
Compare
andrewazores
approved these changes
Aug 16, 2023
Test image available:
|
Test image available:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Welcome to Cryostat! 👋
Before contributing, make sure you have:
main
branch[chore, ci, docs, feat, fix, test]
To recreate commits with GPG signature
git fetch upstream && git rebase --force --gpg-sign upstream/main
Fixes: #1492
Description of the change:
*This change changes the previous behavior: query parameter ?restart=[true|false] but is now deprecated, and a new replacement ?replace=[always,stopped,never] introduced. ?replace=always would behave the same as ?restart=true, ?replace=never would behave the same as ?restart=false, and ?replace=stopped would implement the quoted behavior. If replace is not specified then it should behave like ?replace=never, so that this also maintains consistency and compatibility with the existing ?restart=false default behavior.
Motivation for the change:
This change is helpful because it enhances the behavior of restart recording while keeping the same request format
How to manually test: