Github user neykov commented on a diff in the pull request:
https://github.com/apache/incubator-brooklyn/pull/1018#discussion_r44507157
--- Diff:
core/src/main/java/org/apache/brooklyn/core/mgmt/internal/AbstractManagementContext.java
---
@@ -372,6 +377,27 @@ public BrooklynProperties getBrooklynProperties() {
return configMap;
}
+ public StringConfigMap getConfigWithExternalConfigResolved() {
+ final ExternalConfigSupplierRegistry
externalConfigProviderRegistry = getExternalConfigProviderRegistry();
+ if (externalConfigProviderRegistry == null)
+ return configMap; // no external config available yet, so
return config without resolving
--- End diff --
May be set external config values to null to prevent using the raw string
or even throw as the caller would expect them to be resolved already?
---
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.
---