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 97A00179C4 for ; Tue, 8 Sep 2015 14:00:03 +0000 (UTC) Received: (qmail 68631 invoked by uid 500); 8 Sep 2015 13:59:29 -0000 Delivered-To: apmail-brooklyn-commits-archive@brooklyn.apache.org Received: (qmail 68606 invoked by uid 500); 8 Sep 2015 13:59:29 -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 68588 invoked by uid 99); 8 Sep 2015 13:59:29 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2015 13:59:29 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id D20611A091C for ; Tue, 8 Sep 2015 13:59:28 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.795 X-Spam-Level: * X-Spam-Status: No, score=1.795 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-0.006, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 2HG0Wu-Hm_Sb for ; Tue, 8 Sep 2015 13:59:17 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with SMTP id C37CE20562 for ; Tue, 8 Sep 2015 13:59:16 +0000 (UTC) Received: (qmail 68471 invoked by uid 99); 8 Sep 2015 13:59:16 -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; Tue, 08 Sep 2015 13:59:16 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 93CC3DFF7E; Tue, 8 Sep 2015 13:59:16 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: heneveld@apache.org To: commits@brooklyn.incubator.apache.org Date: Tue, 08 Sep 2015 13:59:17 -0000 Message-Id: In-Reply-To: <824c4bd2b6cc47a79c142ed697fd6658@git.apache.org> References: <824c4bd2b6cc47a79c142ed697fd6658@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [2/5] incubator-brooklyn git commit: Update example app instructions to use org.apache packages. Update example app instructions to use org.apache packages. Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/28060091 Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/28060091 Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/28060091 Branch: refs/heads/master Commit: 28060091045d3c9515015728594cddb30ae0e58b Parents: 2993633 Author: Sam Corbett Authored: Tue Sep 8 12:33:54 2015 +0100 Committer: Sam Corbett Committed: Tue Sep 8 12:38:01 2015 +0100 ---------------------------------------------------------------------- examples/global-web-fabric/README.txt | 6 +++++- examples/simple-messaging-pubsub/README.txt | 10 +++++----- examples/simple-nosql-cluster/README.md | 10 +++++----- examples/simple-web-cluster/README.txt | 12 +++++------- 4 files changed, 20 insertions(+), 18 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/28060091/examples/global-web-fabric/README.txt ---------------------------------------------------------------------- diff --git a/examples/global-web-fabric/README.txt b/examples/global-web-fabric/README.txt index 81f8f9e..0d3ee8b 100644 --- a/examples/global-web-fabric/README.txt +++ b/examples/global-web-fabric/README.txt @@ -7,7 +7,7 @@ and you are in this directory. Adjust to taste for other configurations. export BROOKLYN_CLASSPATH=$(pwd)/target/classes # Launch the app in aws-ec2 regions eu-west-1 and us-east-1 - brooklyn launch --app brooklyn.demo.GlobalWebFabricExample --location "aws-ec2:eu-west-1,aws-ec2:us-east-1" + brooklyn launch --app org.apache.brooklyn.demo.GlobalWebFabricExample --location "aws-ec2:eu-west-1,aws-ec2:us-east-1" --- @@ -19,6 +19,10 @@ This file should contain something like: Brooklyn defaults to using ~/.ssh/id_rsa and ~/.ssh/id_rsa.pub. +--- + +For more information please visit https://brooklyn.incubator.apache.org/. + ---- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/28060091/examples/simple-messaging-pubsub/README.txt ---------------------------------------------------------------------- diff --git a/examples/simple-messaging-pubsub/README.txt b/examples/simple-messaging-pubsub/README.txt index 5b14552..299695f 100644 --- a/examples/simple-messaging-pubsub/README.txt +++ b/examples/simple-messaging-pubsub/README.txt @@ -7,26 +7,26 @@ The commands below assume that the `brooklyn` script is already on your $PATH, a export BROOKLYN_CLASSPATH=$(pwd)/target/classes # Launches a qpid broker on localhost - brooklyn -v launch --app brooklyn.demo.StandaloneQpidBrokerExample --location localhost + brooklyn -v launch --app org.apache.brooklyn.demo.StandaloneQpidBrokerExample --location localhost # You can get the broker's URL from the brooklyn web-console at http://localhost:8081 # by looking at the broker entity's sensors or from the verbose output from the application startup URL="amqp://guest:guest@/localhost?brokerlist='tcp://localhost:5672'" # Test subscribing, to receive a message from the broker - java -cp "./resources/lib/*:./target/classes" brooklyn.demo.Subscribe ${URL} + java -cp "./resources/lib/*:./target/classes" org.apache.brooklyn.demo.Subscribe ${URL} # Test publishing a message to the broker - java -cp "./resources/lib/*:./target/classes" brooklyn.demo.Publish ${URL} + java -cp "./resources/lib/*:./target/classes" org.apache.brooklyn.demo.Publish ${URL} To test a Kafka distributed messaging cluster example, use the following command: # Launches a Kafka cluster on AWS EC2 with two brokers - brooklyn -v launch --app brooklyn.demo.KafkaClusterExample --location aws-ec2:eu-west-1 + brooklyn -v launch --app org.apache.brooklyn.demo.KafkaClusterExample --location aws-ec2:eu-west-1 --- -For more information, please visit: http://brooklyncentral.github.com/use/examples/messaging/ +For more information please visit https://brooklyn.incubator.apache.org/. ---- Licensed to the Apache Software Foundation (ASF) under one http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/28060091/examples/simple-nosql-cluster/README.md ---------------------------------------------------------------------- diff --git a/examples/simple-nosql-cluster/README.md b/examples/simple-nosql-cluster/README.md index a932807..55659da 100644 --- a/examples/simple-nosql-cluster/README.md +++ b/examples/simple-nosql-cluster/README.md @@ -7,20 +7,20 @@ The commands below assume that the `brooklyn` script is already on your $PATH, a export BROOKLYN_CLASSPATH=$(pwd)/target/classes # Launches a Redis cluster on AWS EC2 - brooklyn -v launch --app brooklyn.demo.SimpleRedisCluster --location aws-ec2:eu-west-1 + brooklyn -v launch --app org.apache.brooklyn.demo.SimpleRedisCluster --location aws-ec2:eu-west-1 # Launches a Cassandra cluster on AWS EC2 - brooklyn -v launch --app brooklyn.demo.SimpleCassandraCluster --location aws-ec2:eu-west-1 + brooklyn -v launch --app org.apache.brooklyn.demo.SimpleCassandraCluster --location aws-ec2:eu-west-1 # Launches a CouchDB cluster on AWS EC2 - brooklyn -v launch --app brooklyn.demo.SimpleCouchDBCluster --location aws-ec2:eu-west-1 + brooklyn -v launch --app org.apache.brooklyn.demo.SimpleCouchDBCluster --location aws-ec2:eu-west-1 # Launches a CumulusRDF application backed by a cassandra cluster on AWS EC2 - brooklyn -v launch --app brooklyn.demo.CumulusRDFApplication --location aws-ec2:eu-west-1 + brooklyn -v launch --app org.apache.brooklyn.demo.CumulusRDFApplication --location aws-ec2:eu-west-1 -------- -For more information, please visit the (http://brooklyncentral.github.com/use/examples/nosql/)[NoSQL examples page] +For more information please visit https://brooklyn.incubator.apache.org/. ---- Licensed to the Apache Software Foundation (ASF) under one http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/28060091/examples/simple-web-cluster/README.txt ---------------------------------------------------------------------- diff --git a/examples/simple-web-cluster/README.txt b/examples/simple-web-cluster/README.txt index 11c1588..598a4ce 100644 --- a/examples/simple-web-cluster/README.txt +++ b/examples/simple-web-cluster/README.txt @@ -7,7 +7,7 @@ and you are in this directory. Adjust to taste for other configurations. export BROOKLYN_CLASSPATH=$(pwd)/target/classes # Three-tier: auto-scaling app-server cluster fronted by nginx, MySql backend wired up, on localhost - brooklyn launch --app brooklyn.demo.WebClusterDatabaseExample --location localhost + brooklyn launch --app org.apache.brooklyn.demo.WebClusterDatabaseExample --location localhost The above requires passwordless `ssh localhost` and requires `gcc` to build `nginx`. You could instead target your favourite cloud, where this has been tried and tested: @@ -22,13 +22,13 @@ You could instead target your favourite cloud, where this has been tried and tes Other examples: # A very simple app: a single web-server - brooklyn launch --app brooklyn.demo.SingleWebServerExample --location localhost + brooklyn launch --app org.apache.brooklyn.demo.SingleWebServerExample --location localhost # A simple app: just load-balancer and appservers - brooklyn launch --app brooklyn.demo.WebClusterExample --location localhost + brooklyn launch --app org.apache.brooklyn.demo.WebClusterExample --location localhost # Three-tier example - brooklyn launch --app brooklyn.demo.WebClusterDatabaseExample --location localhost + brooklyn launch --app org.apache.brooklyn.demo.WebClusterDatabaseExample --location localhost Redistributable embedded example: @@ -38,9 +38,7 @@ Redistributable embedded example: # (the redistributable will be at: target/brooklyn-*-bin.tar.gz ) mvn clean assembly:assembly -For more information, please visit: - - http://brooklyncentral.github.com/use/examples/webcluster/ +For more information please visit https://brooklyn.incubator.apache.org/. ---- Licensed to the Apache Software Foundation (ASF) under one