-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/deferred location config #1093
base: master
Are you sure you want to change the base?
Fix/deferred location config #1093
Conversation
…ain DeferredSupplier config.
Once this is reviewed/merged into |
locationTypes = storage.getMap("locations"); | ||
this.locationTypes = storage.getMap("locations"); | ||
|
||
BasicExecutionManager executionManager = new BasicExecutionManager(managementContext.getManagementNodeId()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really need to create our own BasicExecutionManager
? Can we not reuse managementContext.getExecutionManager()
?
@alasdairhodge Looks good. Only one important comment about reusing the |
Actually, can we have a test that externalised configuration now works in locations? As I recall, it was only in one situation that it failed - when the config was accessed during the |
How about a test like this in
Does that now pass for you? It fails for me in master:
|
@alasdairhodge any progress on including that test and getting it to pass? Ping me if you want to discuss or pair. |
@alasdairhodge ping |
1 similar comment
@alasdairhodge ping |
Resolves issues with
$brooklyn:external()
in location config:TypeCoercions
resolvesDeferredSupplier
valuesLocalLocationManager
so that relevant context objects can be retrieved in a consistent way