brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From geomacy <>
Subject [GitHub] brooklyn-server pull request #746: Auto wrap YAML BOMs as catalog bundles
Date Fri, 14 Jul 2017 10:51:44 GMT
Github user geomacy commented on a diff in the pull request:
    --- Diff: core/src/main/java/org/apache/brooklyn/core/mgmt/ha/ ---
    @@ -372,33 +376,46 @@ public synchronized Bundle registerBundle(CatalogBundle bundleMetadata)
         // it probably works even if that is true, but we should consider what to do;
         // possibly remove that other capability, so that bundles with BOMs _have_ to be
installed via this method.
         // (load order gets confusing with auto-scanning...)
    -    public List<? extends CatalogItem<?,?>> loadCatalogBom(Bundle bundle)
    -        return MutableList.copyOf(loadCatalogBom(mgmt, bundle));
    +    public List<? extends CatalogItem<?,?>> loadCatalogBomLegacy(Bundle bundle)
    --- End diff --
    This isn't called now that you've removed the `CatalogBomScanner`, so you can remove it
and the method below as well, _and_ get rid of the `legacy` parameter in `loadCatalogBomInternal`,
and also remove `legacy` methods in `CatalogBundleLoader`.

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 or file a JIRA ticket
with INFRA.

View raw message