GitHub user ahgittin opened a pull request:

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

    Active partial rebind allowing catalog item version change dynamically

    No GUI support (yet) for changing versions, but you can test this in groovy 
console with
    
        mgmt.rebindManager.rebindPartialActive(
            
brooklyn.entity.rebind.transformer.CompoundTransformer.builder().changeCatalogItemId(
                "item", "1.0", "item", "2.0" /* old and new catalog 
item+version */).build(),
            "abcd1234" /* entity id */);


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

    $ git pull https://github.com/ahgittin/incubator-brooklyn 
versioning-switch-on-rebind

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

    https://github.com/apache/incubator-brooklyn/pull/506.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 #506
    
----
commit 1f29f47faf78dddac55f2516b34b57bf18234cbd
Author: Alex Heneveld <[email protected]>
Date:   2015-01-29T11:26:13Z

    Partial rebind - basically working, but for mgmt confusion
    
    makes RebindIteration abstract, with InitialFullRI having the old (full) 
behaviour,
    and new ActivePartialRebindIteration supporting a subset of nodes;
    minor fixes elsewhere to prevent problems

commit 905604f2641eb5e3fd08c04bf91f118bc3912853
Author: Alex Heneveld <[email protected]>
Date:   2015-02-03T12:48:22Z

    Partial rebind - using new explicit BrooklynObjectManagementMode

commit 323550cb4acc57ee15d8da982b1cde1748aca63e
Author: Alex Heneveld <[email protected]>
Date:   2015-02-04T12:33:22Z

    Partial rebind - add test and refactor / tidy of new code

commit fa6b2f6b80f7149f5bdd4e43d09655ce18cc26d5
Author: Alex Heneveld <[email protected]>
Date:   2015-02-05T18:28:29Z

    Partial rebind - test that version has successfully changed

commit c1ccccce8bbd7acb123ab2eb4991af033c491ac4
Author: Alex Heneveld <[email protected]>
Date:   2015-02-05T18:36:15Z

    Switch OSGi more entites sayHI effector to include version info
    
    as per @aledsage's suggestion

----


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