GitHub user ahgittin opened a pull request:

    https://github.com/apache/incubator-brooklyn/pull/585

    Add multiple items to catalog with a single YAML

    Useful as we move towards a bigger catalog.  The multi-item format is 
described at:
    
        
https://github.com/ahgittin/incubator-brooklyn/blob/catalog-multi-item/docs/guide/ops/catalog/index.md
    
    The catalog gui has been updated accordingly.  @sjcorbett @neykov this is 
probably in your wheelhouse!

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

    $ git pull https://github.com/ahgittin/incubator-brooklyn catalog-multi-item

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

    https://github.com/apache/incubator-brooklyn/pull/585.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 #585
    
----
commit 26065c134f11cd4b5676258c4c3f8320ac549046
Author: Alex Heneveld <[email protected]>
Date:   2015-03-29T22:57:40Z

    add yaml support for extracting yaml items with comments and replacing 
extracts

commit c109cec3c55d48eec2d39e21089b4098d49b7817
Author: Alex Heneveld <[email protected]>
Date:   2015-03-30T02:03:23Z

    update catalog docs for the new planned multi-item syntax

commit 40f5acb00e431ef5555aa917eac500cfaf01b903
Author: Alex Heneveld <[email protected]>
Date:   2015-03-30T02:10:39Z

    switch to redcarpet so we can view the md on github better
    
    (github only supports triple-backtick syntax)

commit 048043790e91c8323f24d13688d4407304c968ef
Author: Alex Heneveld <[email protected]>
Date:   2015-03-30T22:21:34Z

    implement catalog multi-item in same file support
    
    needs tests at this point, but seems to be working, and backwards compatible

commit 0427154b096caf5ad74c9be4785ab7163b275f32
Author: Alex Heneveld <[email protected]>
Date:   2015-04-03T17:29:28Z

    support for multi-item catalog yaml
    
    adds many tests, and the rest of the features - template and policy and 
location; and source yaml.
    
    also a few significant REST API changes:
    * /v1/catalog/create API change returns a map (breaking)
    * catalog items include more information for entity and policies

commit 6fe96d6ddb75de5bf3d6dfe89d30cf2f73fa6187
Author: Alex Heneveld <[email protected]>
Date:   2015-04-07T22:43:31Z

    handle versions better in gui and rest
    
    rest api catalog list commands support allVersions parameter, defaulting to 
false now, so you only see the "best" version,
    with getBestVersion(CatalogItem) available on CatalogUtils.
    
    this means gui add-app wizard doesn't show every version.
    the catalog gui page has been reworked to show versions neatly, and to deal 
nicely with adding multiple items.

commit ad6adc347e6317fdfba7238744f194223a145ee6
Author: Alex Heneveld <[email protected]>
Date:   2015-04-07T23:32:23Z

    a few more catalog multi-item yaml doc tweaks. examples confirmed working!

----


---
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.
---

Reply via email to