brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From geomacy <...@git.apache.org>
Subject [GitHub] brooklyn-server pull request: Add catalog.bom application white/bl...
Date Mon, 11 Apr 2016 15:19:26 GMT
GitHub user geomacy reopened a pull request:

    https://github.com/apache/brooklyn-server/pull/106

    Add catalog.bom application white/blacklists.

    Note this PR depends on https://github.com/apache/brooklyn-server/pull/100 and should
be merged after it.
    
    Any bundle with a catalog.bom file may specify applications to
    appear in the catalog (itemType: template).
    
    It is desirable to have a config time mechanism to control what
    bundles are allowed to present applications in the catalog and
    what aren't.
    
    This change adds a white/blacklist mechanism to the catalog.bom
    bundle scanning. Each list takes the form of a CSV whitelist of
    regexes to match against bundle symbolic ids.  A bundle will be
    allowed to add an application (template) to the catalog if its
    bundle id matches one of the regexes on the whitelist, and also
    does not match one of the regexes on the blacklist.
    
    The configuration keys and default values for the lists are:
    
    brooklyn.catalog.osgi.application.whitelist=org.apache.brooklyn.*
    brooklyn.catalog.osgi.application.blacklist=
    
    (i.e. empty blacklist by default).
    
    Note that two 'default'  example applications are supplied in the bom
    for brooklyn-software-base.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/geomacy/brooklyn-server default-catalog

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/brooklyn-server/pull/106.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #106
    
----
commit f8a7221a585903dd104f5b7d7d5afe8ef28be191
Author: Geoff Macartney <geoff.macartney@cloudsoftcorp.com>
Date:   2016-04-07T08:34:54Z

    Add catalog.bom application white/blacklists.
    
    Any bundle with a catalog.bom file may specify applications to
    appear in the catalog (itemType: template).
    
    It is desirable to have a config time mechanism to control what
    bundles are allowed to present applications in the catalog and
    what aren't.
    
    This change adds a white/blacklist mechanism to the catalog.bom
    bundle scanning. Each list takes the form of a CSV whitelist of
    regexes to match against bundle symbolic ids.  A bundle will be
    allowed to add an application (template) to the catalog if its
    bundle id matches one of the regexes on the whitelist, and also
    does not match one of the regexes on the blacklist.
    
    The configuration keys and default values for the lists are:
    
    brooklyn.catalog.osgi.application.whitelist=org.apache.brooklyn.*
    brooklyn.catalog.osgi.application.blacklist=
    
    (i.e. empty blacklist by default).

commit bd18a5687a8b6e8f9daa640841aa6c57cc2b65f5
Author: Geoff Macartney <geoff.macartney@cloudsoftcorp.com>
Date:   2016-04-11T14:58:51Z

    Update version numbers in bundles to correct values

----


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

Mime
View raw message