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

fix(archives): fix recording deletion notifications do not update All-Archives view and fixed README typo #1099

Merged
merged 2 commits into from
Oct 6, 2022

Conversation

maxcao13
Copy link
Member

@maxcao13 maxcao13 commented Oct 5, 2022

Fixes #1098
Fixes #1023
Fixes cryostatio/cryostat-web#536

Just missed one more Periodic Archiver method change, oops.

Copy link
Member

@tthvo tthvo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! The issue is fixed on the web :D

@@ -150,7 +150,9 @@ private void performArchival() throws InterruptedException, ExecutionException,
}

private void pruneArchive(String recordingName) throws Exception {
recordingArchiveHelper.deleteRecording(recordingName).get();
recordingArchiveHelper
.deleteRecording(serviceRef.getServiceUri().toString(), recordingName)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For a potential future refactor, should this first String targetId/connectUrl parameter be replaced with the whole ServiceRef to signify the sourceTarget? Only the connectUrl or jvmId is probably actually relevant, but it gives the option to use either of those as well as provides some compile-time type safety to guard against accidents like this one.

@andrewazores andrewazores merged commit 9f128de into cryostatio:main Oct 6, 2022
@maxcao13 maxcao13 deleted the notification-bug branch October 17, 2022 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
3 participants