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(reports): remove HTML report generation #1685

Merged
merged 16 commits into from
Sep 28, 2023

Conversation

andrewazores
Copy link
Member

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


Depends on cryostatio/cryostat-core#261
Related to cryostatio/cryostat-reports#137

Description of the change:

Removes the HTML-based report generation in favour of only the newer JSON generation.

Motivation for the change:

HTML report generation forced us to use the JMC-styled HTML reports in our UI. We have our own nicely-styled Patternfly component based reports UI that consumes JSON API responses instead, so the HTML UI should be removed and the API for generating it along with it.

How to manually test:

  1. Run CRYOSTAT_IMAGE=quay.io... sh smoketest.sh...
  2. ...

@github-actions
Copy link
Contributor

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

@github-actions github-actions bot added needs-triage Needs thorough attention from code reviewers dependent labels Sep 22, 2023
@mergify mergify bot added the safe-to-test label Sep 22, 2023
@github-actions
Copy link
Contributor

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

@andrewazores andrewazores added breaking change This change (potentially) breaks API compatibility and requires corresponding changes elsewhere chore Refactor, rename, cleanup, etc. and removed needs-triage Needs thorough attention from code reviewers labels Sep 22, 2023
@andrewazores
Copy link
Member Author

/build_test

@andrewazores
Copy link
Member Author

Oh right, won't be able to do a build_test until the corresponding -core release is made.

@andrewazores andrewazores marked this pull request as ready for review September 26, 2023 19:32
@andrewazores
Copy link
Member Author

Copy link
Contributor

@aali309 aali309 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 to me

@github-actions
Copy link
Contributor

This PR/issue depends on:

@andrewazores
Copy link
Member Author

/build_test

@andrewazores
Copy link
Member Author

@github-actions
Copy link
Contributor

ARCH IMAGE
amd64 ghcr.io/cryostatio/cryostat:pr-1685-c5cf3346488f32b4a71e6591bc1b6dcd2d3433cc-linux-amd64
arm64 ghcr.io/cryostatio/cryostat:pr-1685-c5cf3346488f32b4a71e6591bc1b6dcd2d3433cc-linux-arm64

To run smoketest:

# amd64          
CRYOSTAT_IMAGE=ghcr.io/cryostatio/cryostat:pr-1685-c5cf3346488f32b4a71e6591bc1b6dcd2d3433cc-linux-amd64 sh smoketest.sh

# or arm64
CRYOSTAT_IMAGE=ghcr.io/cryostatio/cryostat:pr-1685-c5cf3346488f32b4a71e6591bc1b6dcd2d3433cc-linux-arm64 sh smoketest.sh

@andrewazores andrewazores merged commit 29ddfc2 into cryostatio:main Sep 28, 2023
7 checks passed
@andrewazores andrewazores deleted the rules-analysis-fields branch September 28, 2023 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change This change (potentially) breaks API compatibility and requires corresponding changes elsewhere chore Refactor, rename, cleanup, etc. safe-to-test
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants