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

chore(recordings): replace subdirectory with jvmId in fromPathHandler #1692

Merged
merged 8 commits into from
Oct 19, 2023

Conversation

mwangggg
Copy link
Member

@mwangggg mwangggg commented Oct 2, 2023

Welcome to Cryostat! 👋

Before contributing, make sure you have:

  • Read the contributing guidelines
  • Linked a relevant issue which this PR resolves
  • Linked any other relevant issues, PR's, or documentation, if any
  • Resolved all conflicts, if any
  • Rebased your branch PR on top of the latest upstream main branch
  • Attached at least one of the following labels to the PR: [chore, ci, docs, feat, fix, test]
  • Signed all commits using a GPG signature

To recreate commits with GPG signature git fetch upstream && git rebase --force --gpg-sign upstream/main


Fixes: #1473
Related to cryostatio/cryostat-web#1126

@mwangggg mwangggg marked this pull request as ready for review October 2, 2023 19:03
@github-actions
Copy link
Contributor

github-actions bot commented Oct 2, 2023

Hi @mwangggg! Add at least one of the required labels to this PR

Required labels are : chore,ci,cleanup,docs,feat,fix,perf,refactor,style,test

@mwangggg mwangggg added the chore Refactor, rename, cleanup, etc. label Oct 2, 2023
@mergify mergify bot added the safe-to-test label Oct 2, 2023
@mergify mergify bot requested a review from a team October 2, 2023 19:05
@mwangggg mwangggg changed the title chore(recordings): replace subdirectory with jvmId in fromPathHandler chore(recordings): replace subdirectory with jvmId in fromPathHandler [DRAFT] Oct 2, 2023
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.

I think there are other places too:

src/main/java/io/cryostat/net/web/http/api/beta/RecordingGetFromPathWithJwtHandler.java:
  45  
  46  
  47:     static final String PATH = "fs/recordings/:subdirectoryName/:recordingName/jwt";
  47  
  48  

How about reports endpoints?

src/main/java/io/cryostat/net/web/http/api/beta/ReportGetFromPathHandler.java:
  49  
  50:     static final String PATH = "fs/reports/:subdirectoryName/:recordingName";
  51  

src/main/java/io/cryostat/net/web/http/api/beta/ReportGetFromPathWithJwtHandler.java:
  53  
  54:     static final String PATH = "fs/reports/:subdirectoryName/:recordingName/jwt";
  55  

@mwangggg
Copy link
Member Author

mwangggg commented Oct 3, 2023

yea I accidentally marked this as ready-for-review but I still have a bit of work to do oops

@mwangggg mwangggg changed the title chore(recordings): replace subdirectory with jvmId in fromPathHandler [DRAFT] chore(recordings): replace subdirectory with jvmId in fromPathHandler Oct 3, 2023
@mwangggg
Copy link
Member Author

mwangggg commented Oct 3, 2023

/request_review

@mwangggg mwangggg force-pushed the 1473-remove-jvmId-recordings branch 2 times, most recently from 1a5c989 to 1350d82 Compare October 6, 2023 14:38
@andrewazores
Copy link
Member

/build_test

@andrewazores
Copy link
Member

Needs rebase and spotless:apply

@mwangggg mwangggg force-pushed the 1473-remove-jvmId-recordings branch from 1350d82 to 17d2460 Compare October 11, 2023 18:09
@andrewazores
Copy link
Member

/build_test

@andrewazores
Copy link
Member

@andrewazores
Copy link
Member

itest failure, and it looks probably relevant to these changes?

@mwangggg mwangggg force-pushed the 1473-remove-jvmId-recordings branch from e8beed5 to d7e2bb5 Compare October 12, 2023 14:10
@andrewazores
Copy link
Member

/build_test

@andrewazores
Copy link
Member

@mwangggg mwangggg force-pushed the 1473-remove-jvmId-recordings branch from d7e2bb5 to 0143e0e Compare October 16, 2023 19:34
@mwangggg
Copy link
Member Author

/build_test

@mwangggg
Copy link
Member Author

/build_test

@andrewazores
Copy link
Member

@mwangggg mwangggg force-pushed the 1473-remove-jvmId-recordings branch from e8513e3 to 9f58016 Compare October 17, 2023 15:29
@mwangggg
Copy link
Member Author

/build_test

@mwangggg
Copy link
Member Author

@github-actions
Copy link
Contributor

ARCH IMAGE
amd64 ghcr.io/cryostatio/cryostat:pr-1692-0754f602100928f2f27ce31629974e092880a40a-linux-amd64
arm64 ghcr.io/cryostatio/cryostat:pr-1692-0754f602100928f2f27ce31629974e092880a40a-linux-arm64

To run smoketest:

# amd64          
CRYOSTAT_IMAGE=ghcr.io/cryostatio/cryostat:pr-1692-0754f602100928f2f27ce31629974e092880a40a-linux-amd64 sh smoketest.sh

# or arm64
CRYOSTAT_IMAGE=ghcr.io/cryostatio/cryostat:pr-1692-0754f602100928f2f27ce31629974e092880a40a-linux-arm64 sh smoketest.sh

@mwangggg
Copy link
Member Author

/request_review

@mergify mergify bot requested a review from a team October 19, 2023 18:58
@andrewazores andrewazores merged commit 70cf51f into cryostatio:main Oct 19, 2023
10 checks passed
mergify bot pushed a commit that referenced this pull request Oct 19, 2023
andrewazores pushed a commit that referenced this pull request Oct 19, 2023
…#1692) (#1731)

(cherry picked from commit 70cf51f)

Co-authored-by: Ming Yu Wang <90855268+mwangggg@users.noreply.github.com>
andrewazores pushed a commit that referenced this pull request Oct 30, 2023
mergify bot pushed a commit that referenced this pull request Oct 30, 2023
andrewazores pushed a commit that referenced this pull request Oct 30, 2023
(cherry picked from commit d80f622)

Co-authored-by: Ming Yu Wang <90855268+mwangggg@users.noreply.github.com>
@mwangggg mwangggg deleted the 1473-remove-jvmId-recordings branch February 7, 2024 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport chore Refactor, rename, cleanup, etc. safe-to-test
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[Task] Remove any mentions of subdirectory names to use jvmId in "fromPath" requests
3 participants