cryostat-legacy
cryostat-legacy copied to clipboard
[Request] CORS handling for development
Describe the feature
https://github.com/cryostatio/cryostat3/blob/3f3c4094acebd19566f37a94deb0aac77f1dfc3c/src/main/java/io/cryostat/Health.java#L166
This explicit CORS handling should be removed - this dates back to very early prototype days of this project.
Instead, CORS should be enabled by Quarkus filter configuration. This should be set up such that a developer can run ex. ./smoketest.bash -Op
to run the container without the auth proxy in front, then in the cryostat-web repo do yarn start:dev
. The result should be that the developer has a live Cryostat backend smoketest instance running, with a hot-reload frontend instance for development. This would replicate the old Cryostat 2.x trick of PULL_IMAGES=never CRYOSTAT_DISABLE_SSL=true CRYOSTAT_CORS_ORIGIN=http://localhost:9000 sh smoketest.sh
.
Anything other information?
No response