-
Notifications
You must be signed in to change notification settings - Fork 43
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
Add icons to catalog.bom files #128
Conversation
Massive +1 @aledsage, thanks for this, LGTM. Just one question though: Is the icon applied on the running instance if |
Thanks @tbouron. I think the icon url needs to be at the top-level to be known about by the catalog, and that should be sufficient for it to be known by the entity instances. I added two catalog items:
And:
I queried the catalog for these (e.g. with The response for the top-level .bom included: I deployed two apps:
and:
I then queried the rest api about each entity (e.g. with The app response for "top-level" included @tbouron would you expect the icon to be defined/referenced anywhere else for the running instance? Anything else I should check? |
@aledsage No I wouldn't. Having the Thanks for the tests BTW, LGTM 👍 |
@aledsage I forgot but does the endpoint |
@tbouron yes, the rest endpoint
and then queried (via curl) for the children of the basic app. |
retest this please |
Great news! Then it's +1 from me :) |
I've deliberately only focused on the .bom files in each module. I've not touched
karaf/catalog/src/main/resources/library-catalog-classes.bom
. At some point soon'ish, we should look at removing that duplication so it gets the .bom files from the bundles, rather than from a separate single .bom file. As such, I didn't want to spend my time updating the file that we'll likely subsequently want to delete!