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(mbeans): use own-defined type to replace java.lang.management.MemoryUsage #358

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

andrewazores
Copy link
Member

Fixes #356
Depends on #357

Workaround related to cryostatio/cryostat#307 . Quarkus fails to index java.lang.management.MemoryUsage and this causes the GraphQL schema validation to fail, since the type is found in the generated schema but is not indexed. Creating this type separately and indexing it with #357 works and is a less leaky abstraction.

@andrewazores andrewazores added chore Refactor, rename, cleanup, etc. breaking change This change (potentially) breaks API compatibility and requires corresponding changes elsewhere safe-to-test labels Feb 28, 2024
@andrewazores andrewazores requested a review from a team February 28, 2024 21:20
Copy link

ARCH IMAGE
amd64 ghcr.io/cryostatio/cryostat-core:pr-358-b54283820a54e2054ccf7a73e973d367f211837d-linux-java17

To run smoketest:

CRYOSTAT_IMAGE=ghcr.io/cryostatio/cryostat-core:pr-358-b54283820a54e2054ccf7a73e973d367f211837d-linux-java17 bash smoketest.bash

Copy link

This PR/issue depends on:

@andrewazores andrewazores merged commit 1a4f352 into cryostatio:main Feb 29, 2024
8 checks passed
@andrewazores andrewazores deleted the memoryusage-bean branch February 29, 2024 18:44
Copy link

ARCH IMAGE
amd64 ghcr.io/cryostatio/cryostat-core:pr-358-b0513feb2ad8c0f5b4ad7b3acfd4714c02882d1e-linux-java17

To run smoketest:

CRYOSTAT_IMAGE=ghcr.io/cryostatio/cryostat-core:pr-358-b0513feb2ad8c0f5b4ad7b3acfd4714c02882d1e-linux-java17 bash smoketest.bash

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
None yet
Development

Successfully merging this pull request may close these issues.

[Task] Define bean type to replace java.lang.management.MemoryUsage
2 participants