brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From geomacy <>
Subject [GitHub] brooklyn-server pull request #638: Add support for managing enrichers within...
Date Fri, 05 May 2017 14:17:01 GMT
Github user geomacy commented on a diff in the pull request:
    --- Diff: camp/camp-brooklyn/src/main/java/org/apache/brooklyn/camp/brooklyn/spi/creation/
    @@ -144,6 +146,38 @@ static AssemblyTemplate resolveDeploymentPlan(String plan, BrooklynClassLoadingC
             return spec;
    +    static EnricherSpec<?> createEnricherSpec(String yamlPlan, BrooklynClassLoadingContext
loader, Set<String> encounteredCatalogTypes) {
    +        DeploymentPlan plan = makePlanFromYaml(loader.getManagementContext(), yamlPlan);
    +        //Would ideally re-use the PolicySpecResolver
    +        //but it is CAMP specific and there is no easy way to get hold of it.
    +        Object policies = checkNotNull(plan.getCustomAttributes().get(BasicBrooklynCatalog.ENRICHERS_KEY),
"enricher config");
    --- End diff --
    variable name is still `policies`

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 or file a JIRA ticket
with INFRA.

View raw message