Github user ahgittin commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/645#discussion_r113705478
--- Diff:
api/src/main/java/org/apache/brooklyn/api/mgmt/rebind/mementos/BrooklynMementoRawData.java
---
@@ -188,14 +211,22 @@ public String getBrooklynVersion() {
return Collections.unmodifiableMap(catalogItems);
}
+ public Map<String, String> getBundles() {
+ return Collections.unmodifiableMap(bundles);
+ }
+
+ public Map<String, ByteSource> getBundleJars() {
+ return Collections.unmodifiableMap(bundleJars);
+ }
+
// to handle reset catalog
@Beta
public void clearCatalogItems() {
catalogItems.clear();
}
public boolean isEmpty() {
- return planeId == null && entities.isEmpty() &&
locations.isEmpty() && policies.isEmpty() && enrichers.isEmpty() &&
feeds.isEmpty() && catalogItems.isEmpty();
+ return planeId == null && entities.isEmpty() &&
locations.isEmpty() && policies.isEmpty() && enrichers.isEmpty() &&
feeds.isEmpty() && catalogItems.isEmpty() && bundles.isEmpty();
--- End diff --
would be misleading -- better would be an assertion bundleJars isn't empty
if the bundles is, but that's also not worth it i think
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---