This is an automated email from the ASF dual-hosted git repository.
heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-docs.git
The following commit(s) were added to refs/heads/master by this push:
new 151e3976 Adds docs for new catalog metadata iconUrl field
151e3976 is described below
commit 151e397657875aabc3a746f1693fa4f0bffb968a
Author: Martin Harris <[email protected]>
AuthorDate: Fri Feb 3 17:28:21 2023 +0000
Adds docs for new catalog metadata iconUrl field
---
guide/blueprints/catalog/bundle.md | 3 +++
1 file changed, 3 insertions(+)
diff --git a/guide/blueprints/catalog/bundle.md
b/guide/blueprints/catalog/bundle.md
index b6b27f48..f25581d4 100644
--- a/guide/blueprints/catalog/bundle.md
+++ b/guide/blueprints/catalog/bundle.md
@@ -33,6 +33,8 @@ will be found automatically, but if your bundle defines a
composite blueprint
referencing other types as children, those children will _not_ automatically
search your bundle and a reference will be needed.)
+Optionally, an icon can be provided for the bundle using `bundleIconUrl`,
which accepts `http:`, `https:`,
+and `classpath:` protocols, e.g. `classpath://brooklyn/icons/server.svg` or
`https://brooklyn.apache.org/style/img/bridge.png`
### Example
@@ -50,6 +52,7 @@ Now create a file in bundleFolder called `catalog.bom` with
the following conten
~~~ yaml
brooklyn.catalog:
bundle: MyServerBundle
+ bundleIconUrl: classpath://brooklyn/icons/server.svg
version: 1.0.0
items:
- id: my-server