GitHub user ahgittin opened a pull request:

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

    Fix execution context on subscriptions

    Execution contexts weren't getting set on subscriptions.  Seems this has 
always been the case, and I guess subscribers weren't relying on having an 
execution context, but they should be able to, so policies don't always have to 
use their own (although they probably should for anything long-running, for 
cleaner task separation).  This adds a test that shows the problem, then the 
solution which specially sets the execution context.  (Pretty much everywhere 
else this isn't a problem because we submit via EC rather than 
ExecutionManager; but in subscriptions we can't do that given how task tags are 
passed in.  Ideally should refactor LSM so that it takes the EC not the tags -- 
but this is easier and works just as well.)

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

    $ git pull https://github.com/ahgittin/brooklyn-server 
fix-execution-context-on-subscriptions

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

    https://github.com/apache/brooklyn-server/pull/875.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 #875
    
----

----


---

Reply via email to