Github user neykov commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/390#discussion_r85919317
--- Diff:
camp/camp-brooklyn/src/main/java/org/apache/brooklyn/camp/brooklyn/spi/dsl/methods/DslComponent.java
---
@@ -88,6 +90,15 @@ public DslComponent(DslComponent scopeComponent, Scope
scope, String componentId
// ---------------------------
@Override
+ public final Maybe<Entity> getImmediately() {
+ try {
+ return Maybe.of(new EntityInScopeFinder(scopeComponent, scope,
componentId).call());
--- End diff --
[This](https://github.com/apache/brooklyn-server/pull/390/files#diff-e301b891976cba2942279245254a62d1R124)
will cause a thread to be created to resolve chained `scopeComponent`s. Should
call `getImmediately` in there as well.
---
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.
---