Return-Path: X-Original-To: apmail-brooklyn-dev-archive@minotaur.apache.org Delivered-To: apmail-brooklyn-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ED98717AE5 for ; Mon, 13 Apr 2015 01:02:52 +0000 (UTC) Received: (qmail 3983 invoked by uid 500); 13 Apr 2015 01:02:52 -0000 Delivered-To: apmail-brooklyn-dev-archive@brooklyn.apache.org Received: (qmail 3946 invoked by uid 500); 13 Apr 2015 01:02:52 -0000 Mailing-List: contact dev-help@brooklyn.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@brooklyn.incubator.apache.org Delivered-To: mailing list dev@brooklyn.incubator.apache.org Received: (qmail 3935 invoked by uid 99); 13 Apr 2015 01:02:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Apr 2015 01:02:52 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 13 Apr 2015 01:02:31 +0000 Received: (qmail 3628 invoked by uid 99); 13 Apr 2015 01:02:28 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Apr 2015 01:02:28 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 89328E031B; Mon, 13 Apr 2015 01:02:28 +0000 (UTC) From: ahgittin To: dev@brooklyn.incubator.apache.org Reply-To: dev@brooklyn.incubator.apache.org Message-ID: Subject: [GitHub] incubator-brooklyn pull request: Make YAML more powerful Content-Type: text/plain Date: Mon, 13 Apr 2015 01:02:28 +0000 (UTC) X-Virus-Checked: Checked by ClamAV on apache.org GitHub user ahgittin opened a pull request: https://github.com/apache/incubator-brooklyn/pull/595 Make YAML more powerful allowing a `firstMemberSpec` for cluster, make enrichers easier to set up in yaml (with good example), and better support for referring to sensors within maps (esp when configuring enrichers) You can merge this pull request into a Git repository by running: $ git pull https://github.com/ahgittin/incubator-brooklyn yaml-more-powerful Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-brooklyn/pull/595.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 #595 ---- commit 64b19928d80bef311f3f1dfebfa075466aad82c7 Author: Alex Heneveld Date: 2015-04-02T11:23:47Z add an optional config `firstMemberSpec` to DynamicCluster, with test commit 8591999ff24555cf798c590b27b31f4da5368c87 Author: Alex Heneveld Date: 2015-04-10T11:24:54Z enhance yaml DSL for specifying a sensor allows `sensor("sensor.name")`, looking up on entity, falling back to untyped Object sensor commit bf66d3ec9e8c9423b7552650f5168fb5af9245a1 Author: Alex Heneveld Date: 2015-04-10T11:31:16Z tidy yaml ref docs commit 18b6529f557794c8ff180b19bdd4937f01c8efcb Author: Alex Heneveld Date: 2015-04-12T16:51:44Z map config key improvements * resolve deep on extraction * do not coerce/resolve on setting * subkey extraction looks in parent map * keys in maps put in the config map will be resolved when the map is gotten (but subkeys will not match suppliers as keys) commit f7142a3333fdabdbec0e6eb606e7b595fd8491ef Author: Alex Heneveld Date: 2015-04-13T00:56:16Z make enrichers easier to configure from yaml * entity spec keeps the list of specs, for things like enrichers, because equality (set duplication) is not very good for specs * makes many of the basic enrichers easier to configure from yaml, with more flexible config * in particular `Transformer` can be given a value supplier, e.g. `$brooklyn:formatString` * adds a `Joiner` enricher which does `Strings.join`, handy for converting a list to something which can be used in bash * good example of all of these in test-app-with-enrichers-slightly-simpler.yaml, referenced in the docs reference page ---- --- 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 infrastructure@apache.org or file a JIRA ticket with INFRA. ---