GitHub user neykov opened a pull request:

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

    Bundle rebind transformers with blueprints

    Add means for blueprints to register persistence state transformers, 
applied on rebind. This will shift the responsibility of creating the 
transforms from the Brooklyn operators to the blueprints developers.
    
    Very useful when managing brooklyn of brooklyns or lots of instances 
(transparent for the upgrade effector). Works with partial rebind which allows 
upgrading of entities needing state transforms without restarting the instance.
    
    As a next step I would like to be able to declare the version of the 
blueprint for which a transform is written, so it is executed only against 
those versions. I still don't see how to introduce versions in the blueprint 
classes though - probably best is to link them to the bundle version, needs 
further investigation.
    
    I've been working on the changes now and then for some time, so there are 
merge conflicts now, needs rebasing against master.

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

    $ git pull https://github.com/neykov/incubator-brooklyn rebind-transformers

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

    https://github.com/apache/incubator-brooklyn/pull/738.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 #738
    
----
commit e839a114454726e5a894c4efc7dc423a5698d2c1
Author: Svetoslav Neykov <[email protected]>
Date:   2015-05-15T19:02:48Z

    Move catalog rebind before loading the manifest
    
    Prepare for applying transforms before generating the manifest - need 
catalog bundles to load transforms.

commit ab94f6781ebcd70a7cd773d1ead99c287567095a
Author: Svetoslav Neykov <[email protected]>
Date:   2015-05-18T17:08:30Z

    Implement loadCatalogMementos for all classes

commit ca6e9e405d1ce38f9296332f584580e29a826c0a
Author: Svetoslav Neykov <[email protected]>
Date:   2015-05-20T20:59:19Z

    Transform raw mementos with transformers bundled with Brooklyn or installed 
bundles

commit 1439e0fdac961e33dee09b90b63913775c32857f
Author: Svetoslav Neykov <[email protected]>
Date:   2015-06-02T13:39:47Z

    Apply per-blueprint transformers bundled in the catalog items.

commit af1ae98214907af37a841de72481d22e1ebef80b
Author: Svetoslav Neykov <[email protected]>
Date:   2015-06-05T11:08:29Z

    Test applying blueprint transformers

commit 1b16587dfdc27f037d9a89b78b26f268112815ae
Author: Svetoslav Neykov <[email protected]>
Date:   2015-07-07T19:20:53Z

    Update rebind phases to reflect latest changes

----


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