You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2014/12/17 14:15:06 UTC

svn commit: r1646231 [3/3] - in /incubator/brooklyn/site: ./ community/ documentation/ quickstart/

Modified: incubator/brooklyn/site/quickstart/policies-and-catalogs.html
URL: http://svn.apache.org/viewvc/incubator/brooklyn/site/quickstart/policies-and-catalogs.html?rev=1646231&r1=1646230&r2=1646231&view=diff
==============================================================================
--- incubator/brooklyn/site/quickstart/policies-and-catalogs.html (original)
+++ incubator/brooklyn/site/quickstart/policies-and-catalogs.html Wed Dec 17 13:15:05 2014
@@ -2,12 +2,12 @@
 <html lang="en">
 
 <head>
-<title>Getting Started - Policies and Catalogs - Apache Brooklyn (incubating)</title>
+<title>Policies and Catalogs - Apache Brooklyn (incubating)</title>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 <meta name="viewport" content="width=device-width, initial-scale=1">
-<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
-<link href="https://brooklyn.incubator.apache.org/style/css/bootstrap-theme.css" rel="stylesheet">
-<link href="https://brooklyn.incubator.apache.org/style/css/theme.css" rel="stylesheet">
+<link href="https://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
+<link href="/style/deps/bootstrap-theme.css" rel="stylesheet">
+<link href="/style/css/website.css" rel="stylesheet">
 </head>
 
 <body>
@@ -23,7 +23,7 @@
                     <span class="icon-bar"></span>
                     <span class="icon-bar"></span>
                 </button>
-                <a class="navbar-brand" href="https://brooklyn.incubator.apache.org"><img src="https://brooklyn.incubator.apache.org/style/img/apache-brooklyn-logo-244px-wide.png" alt="brooklyn"></a>
+                <a class="navbar-brand" href="/"><img src="/style/img/apache-brooklyn-logo-244px-wide.png" alt="brooklyn"></a>
             </div>
 
             <!-- Collect the nav links, forms, and other content for toggling -->
@@ -31,20 +31,41 @@
                 <ul class="nav navbar-nav navbar-right">
                     
                     
-                    <li class=""><a href="https://brooklyn.incubator.apache.org/learnmore.html">learn more</a></li><!-- learnmore -->
+                    <li class="dropdown">
+                        <a href="/learnmore/index.html">learn more</a>
+                        <ul class="dropdown-menu" role="menu">
+                            <li>
+                                <a href="/learnmore/index.html">Learn More</a>
+                            </li>
+                            <li class="divider"></li>
+                            
+                            <li>
+                                <a href="/learnmore/yaml-explained.html">YAML Explained</a>
+                            </li>
+                            
+                            <li>
+                                <a href="/learnmore/theory.html">The Theory behind Brooklyn</a>
+                            </li>
+                            
+                        </ul>
+                    </li><!-- learnmore -->
                     
                     
                     
-                    <li class=""><a href="https://brooklyn.incubator.apache.org/download.html">download</a></li><!-- download -->
+                    <li class=""><a href="/download.html">download</a></li><!-- download -->
                     
                     
                     
                     <li class="dropdown active">
-                        <a href="https://brooklyn.incubator.apache.org/quickstart/index.html">get started</a>
+                        <a href="/quickstart/index.html">get started</a>
                         <ul class="dropdown-menu" role="menu">
+                            <li>
+                                <a href="/quickstart/index.html">Get Started</a>
+                            </li>
+                            <li class="divider"></li>
                             
                             <li>
-                                <a href="https://brooklyn.incubator.apache.org/quickstart/policies-and-catalogs.html">Getting Started - Policies and Catalogs</a>
+                                <a href="/quickstart/policies-and-catalogs.html">Policies and Catalogs</a>
                             </li>
                             
                         </ul>
@@ -53,15 +74,23 @@
                     
                     
                     <li class="dropdown">
-                        <a href="https://brooklyn.incubator.apache.org/documentation.html">documentation</a>
+                        <a href="/documentation.html">documentation</a>
                         <ul class="dropdown-menu" role="menu">
+                            <li>
+                                <a href="/documentation.html">All Documentation</a>
+                            </li>
+                            <li class="divider"></li>
                             
                             <li>
-                                <a href="https://brooklyn.incubator.apache.org/glossary.html">Glossary</a>
+                                <a href="/v/latest">User Guide</a>
                             </li>
                             
                             <li>
-                                <a href="https://brooklyn.incubator.apache.org/documentation/install-on-server.html">Installing on a server</a>
+                                <a href="/glossary.html">Glossary</a>
+                            </li>
+                            
+                            <li>
+                                <a href="/documentation/install-on-server.html">Installing on a Server</a>
                             </li>
                             
                         </ul>
@@ -70,27 +99,31 @@
                     
                     
                     <li class="dropdown">
-                        <a href="https://brooklyn.incubator.apache.org/community/index.html">community</a>
+                        <a href="/community/index.html">community</a>
                         <ul class="dropdown-menu" role="menu">
+                            <li>
+                                <a href="/community/index.html">Community Home</a>
+                            </li>
+                            <li class="divider"></li>
                             
                             <li>
-                                <a href="https://brooklyn.incubator.apache.org/community/how-to-contribute.html">How to contribute</a>
+                                <a href="/community/how-to-contribute.html">How to Contribute</a>
                             </li>
                             
                             <li>
-                                <a href="https://brooklyn.incubator.apache.org/community/migrate-to-apache.html">How to migrate your brooklyncentral fork to Apache</a>
+                                <a href="/community/migrate-to-apache.html">How to Migrate</a>
                             </li>
                             
                             <li>
-                                <a href="https://brooklyn.incubator.apache.org/community/committers.html">Committer's Guide</a>
+                                <a href="/community/committers.html">Committer's Guide</a>
                             </li>
                             
                             <li>
-                                <a href="https://brooklyn.incubator.apache.org/community/how-to-contribute-docs.html">How to contribute documentation</a>
+                                <a href="/community/how-to-contribute-docs.html">How to Contribute Documentation</a>
                             </li>
                             
                         </ul>
-                    </li><!-- community -->
+                    </li><!-- website/community -->
                     
                     
                 </ul>
@@ -102,7 +135,7 @@
 <div class="container">
     <div class="row">
         <div class="col-md-9">
-            <h1>Getting Started - Policies and Catalogs</h1>
+            <h1>Policies and Catalogs</h1>
             <p>In the <a href="index.html">previous step</a> we downloaded Brooklyn and used it to deploy an application to a cloud, but at its heart Brooklyn is a policy driven <em>management</em> plane.</p>
 
 <p>Here we will introduce Polices using a simple demo app, which we will load from a Service Catalog.</p>
@@ -116,7 +149,7 @@ assuming that you are running Linux or M
 <p>Download the template <a href="catalog.xml">catalog.xml</a> to your <code>~/.brooklyn/</code> folder, and relaunch Brooklyn.</p>
 
 <div class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="nv">$ </span><span class="nb">cd</span> ~/.brooklyn
-<span class="nv">$ </span>wget https://brooklyn.incubator.apache.org/v/0.7.0-M1/use/guide/quickstart/catalog.xml
+<span class="nv">$ </span>wget http://0.0.0.0:4000/v/latest/use/guide/quickstart/catalog.xml
 
 <span class="nv">$ </span>brooklyn launch</code></pre></div>
 
@@ -124,7 +157,7 @@ assuming that you are running Linux or M
 
 <p>Select the ‘Demo Web Cluster with DB’ and click ‘Next’.</p>
 
-<p><a href="add-application-catalog-web-cluster-with-db-largea.png"><img src="images/add-application-catalog-web-cluster-with-db.png" alt="Viewing Catalog entries in Add Application dialog." /></a></p>
+<p><a href="add-application-catalog-web-cluster-with-db-large.png"><img src="images/add-application-catalog-web-cluster-with-db.png" alt="Viewing Catalog entries in Add Application dialog." /></a></p>
 
 <p>Select the Location that Brooklyn should deploy to, and name your application:</p>
 
@@ -148,13 +181,13 @@ assuming that you are running Linux or M
 
 <p>The loadbalancer’s <code>targets</code> policy ensures that the loadbalancer is updated as the cluster size changes.</p>
 
-<p>Sitting idle, this cluster will only contain one server, but you can use a tool like <a href="http://jmeter.apache.org/">jmeter</a> pointed at the nginx endpoint to create load on the cluster. (Download a <a href="https://github.com/brooklyncentral/brooklyn/blob/master/examples/simple-web-cluster/resources/jmeter-test-plan.jmx">jmeter test plan</a>.)</p>
+<p>Sitting idle, this cluster will only contain one server, but you can use a tool like <a href="http://jmeter.apache.org/">jmeter</a> pointed at the nginx endpoint to create load on the cluster. (Download a <a href="https://github.com/apache/incubator-brooklyn/blob/master/examples/simple-web-cluster/resources/jmeter-test-plan.jmx">jmeter test plan</a>.)</p>
 
 <p>As load is added, Brooklyn requests a new cloud machine, creates a new app server, and adds it to the cluster. As load is removed, servers are removed from the cluster, and the infrastructure is handed back to the cloud.</p>
 
 <h3 id="next">Next</h3>
 
-<p>The <a href="https://brooklyn.incubator.apache.org/v/0.7.0-M1/use/examples/webcluster/index.html">Elastic Web Cluster Example</a> page
+<p>The <a href="/v/latest/use/examples/webcluster/index.html">Elastic Web Cluster Example</a> page
 details how to build this demo application from scratch in Java. It shows in more detail how Brooklyn can
 complement your application with policy driven management, and how applications can be
 run from the command line.</p>
@@ -164,9 +197,9 @@ run from the command line.</p>
         <div class="col-md-3">
             
             <div class="list-group">
-                <h4><a href="https://brooklyn.incubator.apache.org/quickstart/index.html" class="list-group-item">Getting Started</a></h4>
+                <h4><a href="/quickstart/index.html" class="list-group-item">Getting Started</a></h4>
                 
-                <a href="https://brooklyn.incubator.apache.org/quickstart/policies-and-catalogs.html" class="list-group-item active">Getting Started - Policies and Catalogs</a>
+                <a href="/quickstart/policies-and-catalogs.html" class="list-group-item active">Policies and Catalogs</a>
                 
             </div>
             
@@ -185,9 +218,9 @@ run from the command line.</p>
                 Foundation.
             </div>
             <div class="col-md-2">
-                <a class="btn btn-sm btn-default" href="https://github.com/apache/incubator-brooklyn-site/edit/master/quickstart/policies-and-catalogs.md">Edit This Page</a>
+                <a class="btn btn-sm btn-default" href="https://github.com/apache/incubator-brooklyn/edit/master/docs/website/quickstart/policies-and-catalogs.md">Edit This Page</a>
                 <br />
-                <a href="https://brooklyn.incubator.apache.org/community/how-to-contribute-docs.html">help with editing</a>
+                <a href="http://0.0.0.0:4000/community/how-to-contribute-docs.html">help with editing</a>
             </div>
         </div>
     </div>
@@ -196,6 +229,7 @@ run from the command line.</p>
 
 <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
 <script src="https://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
+
 <script language="JavaScript" type="application/javascript">
     $(window).resize(function () { 
         $('body').css('padding-top', parseInt($('#header').css("height"))+10);
@@ -207,5 +241,6 @@ run from the command line.</p>
         $('body').css('padding-bottom', parseInt($('#footer').css("height"))+10);
     });</script>
 </body>
+
 </html>