-
Notifications
You must be signed in to change notification settings - Fork 31
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(discovery): should send notifications on credential store update #1327
Conversation
Test image available:
|
ea22969
to
026a948
Compare
DiscoveryStorage previously skip notifications so I enable it now. Just one issue is that because we are emitting LOST event so web-console will de-select the target (front-end probably can use some hacks to cache and wait for the later FOUND event). Maybe in the future, we can have an UPDATE event instead after #1258? |
Test image available:
|
Though, this is likely gonna cause trouble since other notifications might come in between. Not a good idea then.
cryostatio/cryostat-web#806 (comment) Since we have only LOST and ADD type for now, any guide on this tho? Maybe a new event UPDATE like above? |
Yes, I think there needs to be an UPDATED/MODIFIED even kind added. |
4cb349c
to
f7f8642
Compare
Ready to review again :D Need to build with:
This should allow target list to update with the new MODIFIED notification and aovid deselecting it abruptly. There are some added methods to manual compare ServiceRef that only take into account serviceUrl to find updated node. Probably, any other better ideas to refactor that? |
f7f8642
to
fe01bfd
Compare
cryostatio/cryostat-core#172 has been merged and should be available momentarily in |
This PR/issue depends on:
|
Test image available:
|
Test image available:
|
Test image available:
|
4e0ef47
to
268deb5
Compare
Test image available:
|
Test image available:
|
Signed-off-by: Thuan Vo <thvo@redhat.com>
7c14e1e
to
22bbdb4
Compare
Test image available:
|
Welcome to Cryostat! 👋
Before contributing, make sure you have:
main
branch[chore, ci, docs, feat, fix, test]
git commit --amend --signoff
Fixes: cryostatio/cryostat-web#805
Depends on cryostatio/cryostat-core#172
Description of the change:
Motivation for the change:
Front-end should be able to display newly computed jvmIds.
How to manually test:
Run CRYOSTAT_IMAGE=quay.io... sh smoketest.sh...