Return-Path: X-Original-To: apmail-brooklyn-commits-archive@minotaur.apache.org Delivered-To: apmail-brooklyn-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7FFD218BCA for ; Mon, 30 Nov 2015 11:50:50 +0000 (UTC) Received: (qmail 36691 invoked by uid 500); 30 Nov 2015 11:50:50 -0000 Delivered-To: apmail-brooklyn-commits-archive@brooklyn.apache.org Received: (qmail 36668 invoked by uid 500); 30 Nov 2015 11:50:50 -0000 Mailing-List: contact commits-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 commits@brooklyn.incubator.apache.org Received: (qmail 36658 invoked by uid 99); 30 Nov 2015 11:50:50 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Nov 2015 11:50:50 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id F0895C85A2 for ; Mon, 30 Nov 2015 11:50:49 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.791 X-Spam-Level: * X-Spam-Status: No, score=1.791 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id ijZhEGobYuAO for ; Mon, 30 Nov 2015 11:50:37 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with SMTP id 9ABBC20BF1 for ; Mon, 30 Nov 2015 11:50:36 +0000 (UTC) Received: (qmail 36624 invoked by uid 99); 30 Nov 2015 11:50:35 -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, 30 Nov 2015 11:50:35 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id BB1ABE0568; Mon, 30 Nov 2015 11:50:35 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sjcorbett@apache.org To: commits@brooklyn.incubator.apache.org Date: Mon, 30 Nov 2015 11:50:36 -0000 Message-Id: In-Reply-To: <61744a52afab4bc888fc145f20e95ec2@git.apache.org> References: <61744a52afab4bc888fc145f20e95ec2@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [2/3] incubator-brooklyn git commit: Minor updates to advanced yaml documentation Minor updates to advanced yaml documentation Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/88e055f2 Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/88e055f2 Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/88e055f2 Branch: refs/heads/master Commit: 88e055f28b5b4fee87a1196790a425786466ca3c Parents: 4ce3990 Author: Graeme-Miller Authored: Mon Nov 30 10:25:35 2015 +0000 Committer: Graeme-Miller Committed: Mon Nov 30 10:25:35 2015 +0000 ---------------------------------------------------------------------- docs/guide/yaml/advanced-example.md | 8 ++++---- .../yaml/example_yaml/brooklyn-elasticsearch-catalog.bom | 2 -- docs/guide/yaml/example_yaml/brooklyn-elk-catalog.bom | 2 -- 3 files changed, 4 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/88e055f2/docs/guide/yaml/advanced-example.md ---------------------------------------------------------------------- diff --git a/docs/guide/yaml/advanced-example.md b/docs/guide/yaml/advanced-example.md index 8a7f2a7..b55fdf5 100644 --- a/docs/guide/yaml/advanced-example.md +++ b/docs/guide/yaml/advanced-example.md @@ -5,7 +5,7 @@ layout: website-normal By this point you should be familiar with the fundamental concepts behind both Apache Brooklyn and YAML blueprints. This section of the documentation is intended to show a complete, advanced example of a YAML blueprint. -The intention is that this example is used to learn the more in-depth concepts, but also to serve as a reference point when writing your own blueprints. This page will first exaplin what the example is and how to run it, then it will spotlight interesting features. +The intention is that this example is used to learn the more in-depth concepts, but also to serve as a reference point when writing your own blueprints. This page will first explain what the example is and how to run it, then it will spotlight interesting features. ### The Example @@ -31,7 +31,7 @@ There are four blueprints that make up this application. Each of them are used t * [ELK](example_yaml/brooklyn-elk-catalog.bom) #### Running the example -First, add all four blueprints to the Brooklyn Catalog. This can be done by clicking the 'Catalog' tab, clinking the '+' symbol and pasting the YAML. Once this is done , click the 'Application' then the '+' button to bring up the add application wizard. A new Catalog item will be available called 'ELK Stack'. Using the add application wizard, you should be able to deploy an ELK stack to a location of your choosing. +First, add all four blueprints to the Brooklyn Catalog. This can be done by clicking the 'Catalog' tab, clinking the '+' symbol and pasting the YAML. Once this is done, click the 'Application' tab, then the '+' button to bring up the add application wizard. A new Catalog item will be available called 'ELK Stack'. Using the add application wizard, you should be able to deploy an ELK stack to a location of your choosing. #### Exploring the example After the example has been deployed, you can ensure it is working as expected by checking the following: @@ -101,7 +101,7 @@ brooklyn.enrichers: enricher.targetValue: $brooklyn:formatString("%s:%s", $brooklyn:attributeWhenReady("host.address"), $brooklyn:config("elasticsearch.tcp.port")) ~~~ -In this example, we take the host.address and append the TCP port, outputting the result as url.tcp. After this has been done, we now need to collet all the URLs into a list in the Cluster entity, as follows: +In this example, we take the host.address and append the TCP port, outputting the result as url.tcp. After this has been done, we now need to collect all the URLs into a list in the Cluster entity, as follows: ~~~yaml brooklyn.enrichers: @@ -112,7 +112,7 @@ brooklyn.enrichers: enricher.aggregating.fromMembers: true ~~~ -In the proceeding example, we aggregate all of the TCP urls generated in the early example. These are then stored in a sensor called urls.tcp.list. This list is then joined together into one long string: +In the preceding example, we aggregate all of the TCP urls generated in the early example. These are then stored in a sensor called urls.tcp.list. This list is then joined together into one long string: ~~~yaml - type: org.apache.brooklyn.enricher.stock.Joiner http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/88e055f2/docs/guide/yaml/example_yaml/brooklyn-elasticsearch-catalog.bom ---------------------------------------------------------------------- diff --git a/docs/guide/yaml/example_yaml/brooklyn-elasticsearch-catalog.bom b/docs/guide/yaml/example_yaml/brooklyn-elasticsearch-catalog.bom index 864bf92..bbed240 100644 --- a/docs/guide/yaml/example_yaml/brooklyn-elasticsearch-catalog.bom +++ b/docs/guide/yaml/example_yaml/brooklyn-elasticsearch-catalog.bom @@ -4,8 +4,6 @@ brooklyn.catalog: iconUrl: https://avatars0.githubusercontent.com/u/6764390?v=3&s=400 name: Elasticsearch license: Apache-2.0 - maintainer_name: Graeme Miller - maintainer_email: graeme.miller@cloudsoftcorp.com issues_url: https://github.com/Graeme-Miller/brooklyn-elasticsearch/issues item: type: brooklyn.entity.group.DynamicCluster http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/88e055f2/docs/guide/yaml/example_yaml/brooklyn-elk-catalog.bom ---------------------------------------------------------------------- diff --git a/docs/guide/yaml/example_yaml/brooklyn-elk-catalog.bom b/docs/guide/yaml/example_yaml/brooklyn-elk-catalog.bom index 0c25d4b..ffca3df 100644 --- a/docs/guide/yaml/example_yaml/brooklyn-elk-catalog.bom +++ b/docs/guide/yaml/example_yaml/brooklyn-elk-catalog.bom @@ -2,8 +2,6 @@ brooklyn.catalog: version: 1.0 iconUrl: https://avatars0.githubusercontent.com/u/6764390?v=3&s=400 license: Apache-2.0 - maintainer_name: Graeme Miller - maintainer_email: graeme.miller@cloudsoftcorp.com issues_url: https://github.com/Graeme-Miller/brooklyn-elk/issues itemType: template item: