brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [2/2] brooklyn-server git commit: Closes #404
Date Fri, 04 Nov 2016 18:03:38 GMT
Closes #404

Fix Transformer (for when registered before entity managed)

The transformer can be added before the entity is managed (e.g. if
specified in the entity spec, as is often done via yaml). In that case,
the entity’s management context is still a `NonDeploymentManagementContext`.
The subscriptions are stored in a queue. When the entity is managed,
the subscriptions are replayed.

However, the queued subscriptions did not store the entity context.
Therefore when the transformer received its events, it didn’t have
an entity context so could not determine which entity it was talking

This caused brooklyn-library’s `EnrichersSlightlySimplerYamlTest.testWithAppEnricher`
to fail.


Branch: refs/heads/master
Commit: 90d166e843aa503dd15eec476121e6b18c8e4405
Parents: 59cbcc5 e583d3a
Author: Svetoslav Neykov <>
Authored: Fri Nov 4 20:03:26 2016 +0200
Committer: Svetoslav Neykov <>
Committed: Fri Nov 4 20:03:26 2016 +0200

 .../core/mgmt/internal/  | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

View raw message