GitHub user aledsage opened a pull request:
https://github.com/apache/incubator-brooklyn/pull/1112
support for external config in BrooklynProperties
An alternative implementation to
https://github.com/apache/incubator-brooklyn/pull/1018 (i.e. replaces that PR).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aledsage/incubator-brooklyn
feature/brooklynProperties-supportExternalConfig
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-brooklyn/pull/1112.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 #1112
----
commit 6a52bbc48b8ff8ae00d8799b94c0f6d79f99fb61
Author: Aled Sage <[email protected]>
Date: 2015-12-16T16:04:17Z
Avoid casting to BrooklynProperties
- Instead of calling `(BrooklynProperties)mgmt.getConfig()`, do
`((ManagementContextInternal)mgmt).getBrooklynProperties()`
commit ac8009e4e5bf34ff805a3a41807d418a446f727a
Author: Aled Sage <[email protected]>
Date: 2015-12-16T20:12:06Z
Create BrooklynProperties interface
Renames BrooklynProperties to BrooklynPropertiesImpl, and turns
BrooklynProperties into an interface.
commit ea37bb641d0c44f829718ec1e14c6b714a6523bd
Author: Aled Sage <[email protected]>
Date: 2015-12-16T20:13:58Z
Adds CampYamlParser (accessible in core)
BrooklynCampPlatform registers a CampYamlParser with ManagementContext
commit 0d276e56abf637d274cb3b8ba24f8269bfde730e
Author: Aled Sage <[email protected]>
Date: 2015-12-16T20:44:44Z
BrooklynProperties handles externalised config
- Adds DeferredBrooklynProperties
- Adds tests (ExternalConfigBrooklynPropertiesTest)
----
---
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.
---