Modified: brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/setting-locations.html URL: http://svn.apache.org/viewvc/brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/setting-locations.html?rev=1828892&r1=1828891&r2=1828892&view=diff ============================================================================== --- brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/setting-locations.html (original) +++ brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/setting-locations.html Wed Apr 11 12:24:01 2018 @@ -50,7 +50,7 @@ - <link rel="stylesheet" href="../website-1509027295765.css"> + <link rel="stylesheet" href="../website-1523449269765.css"> @@ -1043,7 +1043,7 @@ <a href="../locations/"> - Deploying Blueprint + Deploying Blueprints </a> @@ -1615,12 +1615,26 @@ </li> - <li class="chapter " data-level="1.7.13" data-path="../ops/upgrade.html"> + <li class="chapter " data-level="1.7.13" data-path="../ops/upgrades/"> + + <a href="../ops/upgrades/"> + + + Upgrades + + </a> + + + + <ul class="articles"> + + + <li class="chapter " data-level="1.7.13.1" data-path="../ops/upgrades/"> - <a href="../ops/upgrade.html"> + <a href="../ops/upgrades/#upgrading-brooklyn"> - Upgrade + Upgrading Brooklyn </a> @@ -1628,6 +1642,37 @@ </li> + <li class="chapter " data-level="1.7.13.2" data-path="../ops/upgrades/"> + + <a href="../ops/upgrades/#upgrading-blueprints-and-bundles"> + + + Upgrading Blueprints + + </a> + + + + </li> + + <li class="chapter " data-level="1.7.13.3" data-path="../ops/upgrades/"> + + <a href="../ops/upgrades/#upgrading-systems-under-management"> + + + Upgrading Systems under Management + + </a> + + + + </li> + + + </ul> + + </li> + <li class="chapter " data-level="1.7.14" data-path="../ops/security-guidelines.html"> <a href="../ops/security-guidelines.html"> @@ -2094,8 +2139,9 @@ <section class="normal markdown-section"> - <h1 id="setting-locations">Setting Locations</h1> -<p>Brooklyn supports a very wide range of target locations. +<h1>Setting Locations</h1> + + <p>Brooklyn supports a very wide range of target locations. With deep integration to <a href="https://jclouds.apache.org" target="_blank">Apache jclouds</a>, most well-known clouds and cloud platforms are supported. See the <a href="../locations/">Locations guide</a> for details and more examples.</p> @@ -2200,7 +2246,7 @@ that given <a href="../GLOSSARY.html#loc <span class="hljs-attr">services:</span> <span class="hljs-attr">- type:</span> org.apache.brooklyn.entity.group.DynamicFabric brooklyn.config: - dynamiccluster.memberspec: + dynamiccfabric.memberspec: $brooklyn:entitySpec: <span class="hljs-attr"> type:</span> org.apache.brooklyn.entity.group.DynamicCluster brooklyn.config: @@ -2243,6 +2289,7 @@ application/system. It is a "manage details.</p> + </section> </div> @@ -2274,7 +2321,7 @@ details.</p> <script> var gitbook = gitbook || []; gitbook.push(function() { - gitbook.page.hasChanged({"page":{"title":"Setting Locations","level":"1.5.3","depth":2,"next":{"title":"Configuring VMs","level":"1.5.4","depth":2,"path":"blueprints/configuring-vms.md","ref":"blueprints/configuring-vms.md","articles":[]},"previous":{"title":"Entity Configuration","level":"1.5.2","depth":2,"path":"blueprints/entity-configuration.md","ref":"blueprints/entity-configuration.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-highlight","theme-api","collapsible-chapters","bootstrap-callout","styles-less","versions","partial-summary"],"root":"./guide","styles":{"website":"website-1509027295765.css","pdf":"pdf-1509027295792.css"},"pluginsConfig":{"styles-less":{},"search":{},"collapsible-chapters":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"include-highlight":{"extensionToLanguage":{"yml":"yaml","yaml":"yaml","bom":"yaml","java":"java"}},"bootstrap-callout":{},"fontsettings":{"theme":"white","family":"sans","size":2},"highligh t":{},"theme-api":{"languages":[{"lang":"vagrant","name":"Vagrant","default":true},{"lang":"centos","name":"CentOS / RHEL 7"},{"lang":"ubuntu","name":"Ubuntu / Debian"},{"lang":"osx","name":"OSX / Linux"},{"lang":"windows","name":"Windows"},{"lang":"clouds","name":"Clouds"},{"lang":"byon","name":"BYON"},{"lang":"package","name":"RPM / DEB packages"},{"lang":"tarball","name":"Tarball"}],"split":false,"theme":"light"},"partial-summary":{"depth":0},"versions":{"type":"branches","gitbookConfigURL":"https://raw.githubusercontent.com/tbouron/brooklyn-docs/experiment/gitbook/book.json","options":[{"value":"https://brooklyn.apache.org/v/latest/","text":"Latest","selected":true},{"value":"https://brooklyn.apache.org/v/0.12.0/","text":"Version 0.12.0"},{"value":"https://brooklyn.apache.org/v/0.11.0/","text":"Version 0.11.0"},{"value":"https://brooklyn.apache.org/v/0.10.0/","text":"Version 0.10.0"},{"value":"https://brooklyn.apache.org/v/0.9.0/","text":"Version 0.9.0"}]},"sharing":{"facebook": true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{"brooklyn_version":"1.0.0-SNAPSHOT","brooklyn_version_stable":"0.12.0","url":{"brooklyn_website":"https://brooklyn.apache.org","brooklyn_javadoc":"https://brooklyn.apache.org/v/latest/misc/javadoc","brooklyn_git":"https://github.com/apache/brooklyn/tree","brooklyn_sever_git":"https://github.com/apache/brooklyn-server/tree","brooklyn_lib rary_git":"https://github.com/apache/brooklyn-library/tree"},"path":{"docs":""}},"gitbook":"^3.2.3"},"file":{"path":"blueprints/setting-locations.md","mtime":"2017-10-26T13:41:38.679Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-10-26T14:14:53.591Z"},"basePath":"..","book":{"language":""}}); + gitbook.page.hasChanged({"page":{"title":"Setting Locations","level":"1.5.3","depth":2,"next":{"title":"Configuring VMs","level":"1.5.4","depth":2,"path":"blueprints/configuring-vms.md","ref":"blueprints/configuring-vms.md","articles":[]},"previous":{"title":"Entity Configuration","level":"1.5.2","depth":2,"path":"blueprints/entity-configuration.md","ref":"blueprints/entity-configuration.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-highlight","theme-api","collapsible-chapters","bootstrap-callout","styles-less","versions","partial-summary"],"root":"./guide","styles":{"website":"website-1523449269765.css","pdf":"pdf-1523449269817.css"},"pluginsConfig":{"styles-less":{},"search":{},"collapsible-chapters":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"include-highlight":{"extensionToLanguage":{"yml":"yaml","yaml":"yaml","bom":"yaml","java":"java"}},"bootstrap-callout":{},"fontsettings":{"theme":"white","family":"sans","size":2},"highligh t":{},"theme-api":{"languages":[{"lang":"vagrant","name":"Vagrant","default":true},{"lang":"centos","name":"CentOS / RHEL 7"},{"lang":"ubuntu","name":"Ubuntu / Debian"},{"lang":"osx","name":"OSX / Linux"},{"lang":"windows","name":"Windows"},{"lang":"clouds","name":"Clouds"},{"lang":"byon","name":"BYON"},{"lang":"package","name":"RPM / DEB packages"},{"lang":"tarball","name":"Tarball"}],"split":false,"theme":"light"},"partial-summary":{"depth":0},"versions":{"type":"branches","gitbookConfigURL":"https://raw.githubusercontent.com/tbouron/brooklyn-docs/experiment/gitbook/book.json","options":[{"value":"https://brooklyn.apache.org/v/latest/","text":"Latest","selected":true},{"value":"https://brooklyn.apache.org/v/0.12.0/","text":"Version 0.12.0"},{"value":"https://brooklyn.apache.org/v/0.11.0/","text":"Version 0.11.0"},{"value":"https://brooklyn.apache.org/v/0.10.0/","text":"Version 0.10.0"},{"value":"https://brooklyn.apache.org/v/0.9.0/","text":"Version 0.9.0"}]},"sharing":{"facebook": true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{"brooklyn_version":"1.0.0-SNAPSHOT","brooklyn_version_stable":"0.12.0","url":{"brooklyn_website":"https://brooklyn.apache.org","brooklyn_javadoc":"https://brooklyn.apache.org/v/latest/misc/javadoc","brooklyn_git":"https://github.com/apache/brooklyn/tree","brooklyn_sever_git":"https://github.com/apache/brooklyn-server/tree","brooklyn_lib rary_git":"https://github.com/apache/brooklyn-library/tree"},"path":{"docs":""}},"gitbook":"^3.2.3"},"file":{"path":"blueprints/setting-locations.md","mtime":"2018-04-11T12:18:40.000Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-04-11T12:21:07.465Z"},"basePath":"..","book":{"language":""}}); }); </script> </div>
Modified: brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/test/example_yaml/entities/testeffector-entity.yaml URL: http://svn.apache.org/viewvc/brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/test/example_yaml/entities/testeffector-entity.yaml?rev=1828892&r1=1828891&r2=1828892&view=diff ============================================================================== --- brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/test/example_yaml/entities/testeffector-entity.yaml (original) +++ brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/test/example_yaml/entities/testeffector-entity.yaml Wed Apr 11 12:24:01 2018 @@ -5,5 +5,5 @@ effector: deploy timeout: 5m params: - url: http://search.maven.org/remotecontent?filepath=org/apache/brooklyn/example/brooklyn-example-hello-world-sql-webapp/0.8.0-incubating/brooklyn-example-hello-world-sql-webapp-0.8.0-incubating.war + url: https://search.maven.org/remotecontent?filepath=org/apache/brooklyn/example/brooklyn-example-hello-world-sql-webapp/0.12.0/brooklyn-example-hello-world-sql-webapp-0.12.0.war # BROOKLYN_VERSION targetName: newcontext \ No newline at end of file Modified: brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/test/example_yaml/testcases/effector-test-snippet.yaml URL: http://svn.apache.org/viewvc/brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/test/example_yaml/testcases/effector-test-snippet.yaml?rev=1828892&r1=1828891&r2=1828892&view=diff ============================================================================== --- brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/test/example_yaml/testcases/effector-test-snippet.yaml (original) +++ brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/test/example_yaml/testcases/effector-test-snippet.yaml Wed Apr 11 12:24:01 2018 @@ -16,7 +16,7 @@ effector: deploy timeout: 5m params: - url: http://search.maven.org/remotecontent?filepath=org/apache/brooklyn/example/brooklyn-example-hello-world-sql-webapp/0.8.0-incubating/brooklyn-example-hello-world-sql-webapp-0.8.0-incubating.war + url: https://search.maven.org/remotecontent?filepath=org/apache/brooklyn/example/brooklyn-example-hello-world-sql-webapp/0.12.0/brooklyn-example-hello-world-sql-webapp-0.12.0.war # BROOKLYN_VERSION targetName: newcontext - type: org.apache.brooklyn.test.framework.TestHttpCall name: Check Deployed Webapp Status Code Modified: brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/test/example_yaml/testcases/getting-started-test-example.yaml URL: http://svn.apache.org/viewvc/brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/test/example_yaml/testcases/getting-started-test-example.yaml?rev=1828892&r1=1828891&r2=1828892&view=diff ============================================================================== --- brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/test/example_yaml/testcases/getting-started-test-example.yaml (original) +++ brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/test/example_yaml/testcases/getting-started-test-example.yaml Wed Apr 11 12:24:01 2018 @@ -10,7 +10,7 @@ services: name: My Web id: webappcluster brooklyn.config: - wars.root: http://search.maven.org/remotecontent?filepath=org/apache/brooklyn/example/brooklyn-example-hello-world-sql-webapp/0.8.0-incubating/brooklyn-example-hello-world-sql-webapp-0.8.0-incubating.war + wars.root: https://search.maven.org/remotecontent?filepath=org/apache/brooklyn/example/brooklyn-example-hello-world-sql-webapp/0.12.0/brooklyn-example-hello-world-sql-webapp-0.12.0.war # BROOKLYN_VERSION java.sysprops: brooklyn.example.db.url: > $brooklyn:formatString("jdbc:%s%s?user=%s&password=%s", @@ -62,7 +62,7 @@ services: effector: deploy timeout: 5m params: - url: http://search.maven.org/remotecontent?filepath=org/apache/brooklyn/example/brooklyn-example-hello-world-sql-webapp/0.8.0-incubating/brooklyn-example-hello-world-sql-webapp-0.8.0-incubating.war + url: https://search.maven.org/remotecontent?filepath=org/apache/brooklyn/example/brooklyn-example-hello-world-sql-webapp/0.12.0/brooklyn-example-hello-world-sql-webapp-0.12.0.war # BROOKLYN_VERSION targetName: newcontext - type: org.apache.brooklyn.test.framework.TestHttpCall name: Check Deployed Webapp Status Code Modified: brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/test/index.html URL: http://svn.apache.org/viewvc/brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/test/index.html?rev=1828892&r1=1828891&r2=1828892&view=diff ============================================================================== --- brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/test/index.html (original) +++ brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/test/index.html Wed Apr 11 12:24:01 2018 @@ -50,7 +50,7 @@ - <link rel="stylesheet" href="../../website-1509027295765.css"> + <link rel="stylesheet" href="../../website-1523449269765.css"> @@ -1043,7 +1043,7 @@ <a href="../../locations/"> - Deploying Blueprint + Deploying Blueprints </a> @@ -1615,12 +1615,26 @@ </li> - <li class="chapter " data-level="1.7.13" data-path="../../ops/upgrade.html"> + <li class="chapter " data-level="1.7.13" data-path="../../ops/upgrades/"> + + <a href="../../ops/upgrades/"> + + + Upgrades + + </a> + + + + <ul class="articles"> + + + <li class="chapter " data-level="1.7.13.1" data-path="../../ops/upgrades/"> - <a href="../../ops/upgrade.html"> + <a href="../../ops/upgrades/#upgrading-brooklyn"> - Upgrade + Upgrading Brooklyn </a> @@ -1628,6 +1642,37 @@ </li> + <li class="chapter " data-level="1.7.13.2" data-path="../../ops/upgrades/"> + + <a href="../../ops/upgrades/#upgrading-blueprints-and-bundles"> + + + Upgrading Blueprints + + </a> + + + + </li> + + <li class="chapter " data-level="1.7.13.3" data-path="../../ops/upgrades/"> + + <a href="../../ops/upgrades/#upgrading-systems-under-management"> + + + Upgrading Systems under Management + + </a> + + + + </li> + + + </ul> + + </li> + <li class="chapter " data-level="1.7.14" data-path="../../ops/security-guidelines.html"> <a href="../../ops/security-guidelines.html"> @@ -2094,8 +2139,9 @@ <section class="normal markdown-section"> - <h1 id="testing-yaml-blueprints">Testing YAML Blueprints</h1> -<p>Brooklyn provides a selection of test entities which can be used to validate Blueprints via <a href="../../GLOSSARY.html#yaml" class="glossary-term" title="A human-readable data format. See the Wikipedia article for more information.">YAML</a>. The basic building block is a TargetableTestComponent, which is used to resolve a target. There are two different groups of entities that inherit from TargetableTestComponent. The first is structural, which effects how the tests are run, for example by affecting the order they are run in. The second group is validation, which is used to confirm the application is deployed as intended, for example by checking some <a href="../../GLOSSARY.html#sensor" class="glossary-term" title="A sensor is a property, or attribute of an Apache Brooklyn entity, updated in real-time.">sensor</a> value.</p> +<h1>Testing YAML Blueprints</h1> + + <p>Brooklyn provides a selection of test entities which can be used to validate Blueprints via <a href="../../GLOSSARY.html#yaml" class="glossary-term" title="A human-readable data format. See the Wikipedia article for more information.">YAML</a>. The basic building block is a TargetableTestComponent, which is used to resolve a target. There are two different groups of entities that inherit from TargetableTestComponent. The first is structural, which effects how the tests are run, for example by affecting the order they are run in. The second group is validation, which is used to confirm the application is deployed as intended, for example by checking some <a href="../../GLOSSARY.html#sensor" class="glossary-term" title="A sensor is a property, or attribute of an Apache Brooklyn entity, updated in real-time.">sensor</a> value.</p> <p>Structural test entities include:</p> <ul> <li><code>TestCase</code> - starts child entities sequentially.</li> @@ -2131,6 +2177,7 @@ application/system. It is a "manage </ul> + </section> </div> @@ -2162,7 +2209,7 @@ application/system. It is a "manage <script> var gitbook = gitbook || []; gitbook.push(function() { - gitbook.page.hasChanged({"page":{"title":"Testing YAML Blueprints","partial-summary-depth":1,"level":"1.5.15","depth":2,"next":{"title":"Test Entities","level":"1.5.15.1","depth":3,"path":"blueprints/test/test-entities.md","ref":"blueprints/test/test-entities.md","articles":[]},"previous":{"title":"Winrm4j Client","level":"1.5.14.1","depth":3,"path":"blueprints/winrm/client.md","ref":"blueprints/winrm/client.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-highlight","theme-api","collapsible-chapters","bootstrap-callout","styles-less","versions","partial-summary"],"root":"./guide","styles":{"website":"website-1509027295765.css","pdf":"pdf-1509027295792.css"},"pluginsConfig":{"styles-less":{},"search":{},"collapsible-chapters":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"include-highlight":{"extensionToLanguage":{"yml":"yaml","yaml":"yaml","bom":"yaml","java":"java"}},"bootstrap-callout":{},"fontsettings":{"theme":"white","family":"sans ","size":2},"highlight":{},"theme-api":{"languages":[{"lang":"vagrant","name":"Vagrant","default":true},{"lang":"centos","name":"CentOS / RHEL 7"},{"lang":"ubuntu","name":"Ubuntu / Debian"},{"lang":"osx","name":"OSX / Linux"},{"lang":"windows","name":"Windows"},{"lang":"clouds","name":"Clouds"},{"lang":"byon","name":"BYON"},{"lang":"package","name":"RPM / DEB packages"},{"lang":"tarball","name":"Tarball"}],"split":false,"theme":"light"},"partial-summary":{"depth":0},"versions":{"type":"branches","gitbookConfigURL":"https://raw.githubusercontent.com/tbouron/brooklyn-docs/experiment/gitbook/book.json","options":[{"value":"https://brooklyn.apache.org/v/latest/","text":"Latest","selected":true},{"value":"https://brooklyn.apache.org/v/0.12.0/","text":"Version 0.12.0"},{"value":"https://brooklyn.apache.org/v/0.11.0/","text":"Version 0.11.0"},{"value":"https://brooklyn.apache.org/v/0.10.0/","text":"Version 0.10.0"},{"value":"https://brooklyn.apache.org/v/0.9.0/","text":"Version 0.9.0"}]}," sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{"brooklyn_version":"1.0.0-SNAPSHOT","brooklyn_version_stable":"0.12.0","url":{"brooklyn_website":"https://brooklyn.apache.org","brooklyn_javadoc":"https://brooklyn.apache.org/v/latest/misc/javadoc","brooklyn_git":"https://github.com/apache/brooklyn/tree","brooklyn_sever_git":"https://github.com/apache/brooklyn-serve r/tree","brooklyn_library_git":"https://github.com/apache/brooklyn-library/tree"},"path":{"docs":""}},"gitbook":"^3.2.3"},"file":{"path":"blueprints/test/index.md","mtime":"2017-10-26T13:41:38.680Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-10-26T14:14:53.591Z"},"basePath":"../..","book":{"language":""}}); + gitbook.page.hasChanged({"page":{"title":"Testing YAML Blueprints","partial-summary-depth":1,"level":"1.5.15","depth":2,"next":{"title":"Test Entities","level":"1.5.15.1","depth":3,"path":"blueprints/test/test-entities.md","ref":"blueprints/test/test-entities.md","articles":[]},"previous":{"title":"Winrm4j Client","level":"1.5.14.1","depth":3,"path":"blueprints/winrm/client.md","ref":"blueprints/winrm/client.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-highlight","theme-api","collapsible-chapters","bootstrap-callout","styles-less","versions","partial-summary"],"root":"./guide","styles":{"website":"website-1523449269765.css","pdf":"pdf-1523449269817.css"},"pluginsConfig":{"styles-less":{},"search":{},"collapsible-chapters":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"include-highlight":{"extensionToLanguage":{"yml":"yaml","yaml":"yaml","bom":"yaml","java":"java"}},"bootstrap-callout":{},"fontsettings":{"theme":"white","family":"sans ","size":2},"highlight":{},"theme-api":{"languages":[{"lang":"vagrant","name":"Vagrant","default":true},{"lang":"centos","name":"CentOS / RHEL 7"},{"lang":"ubuntu","name":"Ubuntu / Debian"},{"lang":"osx","name":"OSX / Linux"},{"lang":"windows","name":"Windows"},{"lang":"clouds","name":"Clouds"},{"lang":"byon","name":"BYON"},{"lang":"package","name":"RPM / DEB packages"},{"lang":"tarball","name":"Tarball"}],"split":false,"theme":"light"},"partial-summary":{"depth":0},"versions":{"type":"branches","gitbookConfigURL":"https://raw.githubusercontent.com/tbouron/brooklyn-docs/experiment/gitbook/book.json","options":[{"value":"https://brooklyn.apache.org/v/latest/","text":"Latest","selected":true},{"value":"https://brooklyn.apache.org/v/0.12.0/","text":"Version 0.12.0"},{"value":"https://brooklyn.apache.org/v/0.11.0/","text":"Version 0.11.0"},{"value":"https://brooklyn.apache.org/v/0.10.0/","text":"Version 0.10.0"},{"value":"https://brooklyn.apache.org/v/0.9.0/","text":"Version 0.9.0"}]}," sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{"brooklyn_version":"1.0.0-SNAPSHOT","brooklyn_version_stable":"0.12.0","url":{"brooklyn_website":"https://brooklyn.apache.org","brooklyn_javadoc":"https://brooklyn.apache.org/v/latest/misc/javadoc","brooklyn_git":"https://github.com/apache/brooklyn/tree","brooklyn_sever_git":"https://github.com/apache/brooklyn-serve r/tree","brooklyn_library_git":"https://github.com/apache/brooklyn-library/tree"},"path":{"docs":""}},"gitbook":"^3.2.3"},"file":{"path":"blueprints/test/index.md","mtime":"2018-04-11T12:18:40.000Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-04-11T12:21:07.465Z"},"basePath":"../..","book":{"language":""}}); }); </script> </div> Modified: brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/test/test-entities.html URL: http://svn.apache.org/viewvc/brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/test/test-entities.html?rev=1828892&r1=1828891&r2=1828892&view=diff ============================================================================== --- brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/test/test-entities.html (original) +++ brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/test/test-entities.html Wed Apr 11 12:24:01 2018 @@ -50,7 +50,7 @@ - <link rel="stylesheet" href="../../website-1509027295765.css"> + <link rel="stylesheet" href="../../website-1523449269765.css"> @@ -1043,7 +1043,7 @@ <a href="../../locations/"> - Deploying Blueprint + Deploying Blueprints </a> @@ -1615,12 +1615,26 @@ </li> - <li class="chapter " data-level="1.7.13" data-path="../../ops/upgrade.html"> + <li class="chapter " data-level="1.7.13" data-path="../../ops/upgrades/"> + + <a href="../../ops/upgrades/"> + + + Upgrades + + </a> + + + + <ul class="articles"> + + + <li class="chapter " data-level="1.7.13.1" data-path="../../ops/upgrades/"> - <a href="../../ops/upgrade.html"> + <a href="../../ops/upgrades/#upgrading-brooklyn"> - Upgrade + Upgrading Brooklyn </a> @@ -1628,6 +1642,37 @@ </li> + <li class="chapter " data-level="1.7.13.2" data-path="../../ops/upgrades/"> + + <a href="../../ops/upgrades/#upgrading-blueprints-and-bundles"> + + + Upgrading Blueprints + + </a> + + + + </li> + + <li class="chapter " data-level="1.7.13.3" data-path="../../ops/upgrades/"> + + <a href="../../ops/upgrades/#upgrading-systems-under-management"> + + + Upgrading Systems under Management + + </a> + + + + </li> + + + </ul> + + </li> + <li class="chapter " data-level="1.7.14" data-path="../../ops/security-guidelines.html"> <a href="../../ops/security-guidelines.html"> @@ -2094,8 +2139,9 @@ <section class="normal markdown-section"> - <h1 id="test-entities">Test Entities</h1> -<h2 id="structural-test-entities">Structural Test Entities</h2> +<h1>Test Entities</h1> + + <h2 id="structural-test-entities">Structural Test Entities</h2> <h3 id="testcase">TestCase</h3> <p>The <code>TestCase</code> <a href="../../GLOSSARY.html#entity" class="glossary-term" title="A component of an application or system. This could be a physical component, a service, a grouping of components, or a logical construct describing part of an @@ -2214,7 +2260,7 @@ They are operations applied on entities. <span class="hljs-attr"> effector:</span> deploy <span class="hljs-attr"> timeout:</span> <span class="hljs-number">5</span>m <span class="hljs-attr"> params:</span> -<span class="hljs-attr"> url:</span> http://search.maven.org/remotecontent?filepath=org/apache/brooklyn/example/brooklyn-example-hello-world-sql-webapp/<span class="hljs-number">0.8</span><span class="hljs-number">.0</span>-incubating/brooklyn-example-hello-world-sql-webapp<span class="hljs-bullet">-0.8</span><span class="hljs-number">.0</span>-incubating.war +<span class="hljs-attr"> url:</span> https://search.maven.org/remotecontent?filepath=org/apache/brooklyn/example/brooklyn-example-hello-world-sql-webapp/<span class="hljs-number">0.12</span><span class="hljs-number">.0</span>/brooklyn-example-hello-world-sql-webapp<span class="hljs-bullet">-0.12</span><span class="hljs-number">.0</span>.war <span class="hljs-comment"># BROOKLYN_VERSION</span> <span class="hljs-attr"> targetName:</span> newcontext </code></pre> <h4 id="parameters">Parameters</h4> @@ -2360,6 +2406,7 @@ as a list of such maps:</p> - contains: 2 days </code></pre> + </section> </div> @@ -2391,7 +2438,7 @@ as a list of such maps:</p> <script> var gitbook = gitbook || []; gitbook.push(function() { - gitbook.page.hasChanged({"page":{"title":"Test Entities","level":"1.5.15.1","depth":3,"next":{"title":"Example Tests","level":"1.5.15.2","depth":3,"path":"blueprints/test/usage-examples.md","ref":"blueprints/test/usage-examples.md","articles":[]},"previous":{"title":"Testing YAML Blueprints","level":"1.5.15","depth":2,"path":"blueprints/test/index.md","ref":"blueprints/test/index.md","articles":[{"title":"Test Entities","level":"1.5.15.1","depth":3,"path":"blueprints/test/test-entities.md","ref":"blueprints/test/test-entities.md","articles":[]},{"title":"Example Tests","level":"1.5.15.2","depth":3,"path":"blueprints/test/usage-examples.md","ref":"blueprints/test/usage-examples.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["include-highlight","theme-api","collapsible-chapters","bootstrap-callout","styles-less","versions","partial-summary"],"root":"./guide","styles":{"website":"website-1509027295765.css","pdf":"pdf-1509027295792.css"},"pluginsConfig":{"styles-less ":{},"search":{},"collapsible-chapters":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"include-highlight":{"extensionToLanguage":{"yml":"yaml","yaml":"yaml","bom":"yaml","java":"java"}},"bootstrap-callout":{},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[{"lang":"vagrant","name":"Vagrant","default":true},{"lang":"centos","name":"CentOS / RHEL 7"},{"lang":"ubuntu","name":"Ubuntu / Debian"},{"lang":"osx","name":"OSX / Linux"},{"lang":"windows","name":"Windows"},{"lang":"clouds","name":"Clouds"},{"lang":"byon","name":"BYON"},{"lang":"package","name":"RPM / DEB packages"},{"lang":"tarball","name":"Tarball"}],"split":false,"theme":"light"},"partial-summary":{"depth":0},"versions":{"type":"branches","gitbookConfigURL":"https://raw.githubusercontent.com/tbouron/brooklyn-docs/experiment/gitbook/book.json","options":[{"value":"https://brooklyn.apache.org/v/latest/","text":"Latest","selected":true},{"value":"https://bro oklyn.apache.org/v/0.12.0/","text":"Version 0.12.0"},{"value":"https://brooklyn.apache.org/v/0.11.0/","text":"Version 0.11.0"},{"value":"https://brooklyn.apache.org/v/0.10.0/","text":"Version 0.10.0"},{"value":"https://brooklyn.apache.org/v/0.9.0/","text":"Version 0.9.0"}]},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{"brooklyn_version":"1.0.0-SNAPSHOT","broo klyn_version_stable":"0.12.0","url":{"brooklyn_website":"https://brooklyn.apache.org","brooklyn_javadoc":"https://brooklyn.apache.org/v/latest/misc/javadoc","brooklyn_git":"https://github.com/apache/brooklyn/tree","brooklyn_sever_git":"https://github.com/apache/brooklyn-server/tree","brooklyn_library_git":"https://github.com/apache/brooklyn-library/tree"},"path":{"docs":""}},"gitbook":"^3.2.3"},"file":{"path":"blueprints/test/test-entities.md","mtime":"2017-10-26T13:41:38.681Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-10-26T14:14:53.591Z"},"basePath":"../..","book":{"language":""}}); + gitbook.page.hasChanged({"page":{"title":"Test Entities","level":"1.5.15.1","depth":3,"next":{"title":"Example Tests","level":"1.5.15.2","depth":3,"path":"blueprints/test/usage-examples.md","ref":"blueprints/test/usage-examples.md","articles":[]},"previous":{"title":"Testing YAML Blueprints","level":"1.5.15","depth":2,"path":"blueprints/test/index.md","ref":"blueprints/test/index.md","articles":[{"title":"Test Entities","level":"1.5.15.1","depth":3,"path":"blueprints/test/test-entities.md","ref":"blueprints/test/test-entities.md","articles":[]},{"title":"Example Tests","level":"1.5.15.2","depth":3,"path":"blueprints/test/usage-examples.md","ref":"blueprints/test/usage-examples.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["include-highlight","theme-api","collapsible-chapters","bootstrap-callout","styles-less","versions","partial-summary"],"root":"./guide","styles":{"website":"website-1523449269765.css","pdf":"pdf-1523449269817.css"},"pluginsConfig":{"styles-less ":{},"search":{},"collapsible-chapters":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"include-highlight":{"extensionToLanguage":{"yml":"yaml","yaml":"yaml","bom":"yaml","java":"java"}},"bootstrap-callout":{},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[{"lang":"vagrant","name":"Vagrant","default":true},{"lang":"centos","name":"CentOS / RHEL 7"},{"lang":"ubuntu","name":"Ubuntu / Debian"},{"lang":"osx","name":"OSX / Linux"},{"lang":"windows","name":"Windows"},{"lang":"clouds","name":"Clouds"},{"lang":"byon","name":"BYON"},{"lang":"package","name":"RPM / DEB packages"},{"lang":"tarball","name":"Tarball"}],"split":false,"theme":"light"},"partial-summary":{"depth":0},"versions":{"type":"branches","gitbookConfigURL":"https://raw.githubusercontent.com/tbouron/brooklyn-docs/experiment/gitbook/book.json","options":[{"value":"https://brooklyn.apache.org/v/latest/","text":"Latest","selected":true},{"value":"https://bro oklyn.apache.org/v/0.12.0/","text":"Version 0.12.0"},{"value":"https://brooklyn.apache.org/v/0.11.0/","text":"Version 0.11.0"},{"value":"https://brooklyn.apache.org/v/0.10.0/","text":"Version 0.10.0"},{"value":"https://brooklyn.apache.org/v/0.9.0/","text":"Version 0.9.0"}]},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{"brooklyn_version":"1.0.0-SNAPSHOT","broo klyn_version_stable":"0.12.0","url":{"brooklyn_website":"https://brooklyn.apache.org","brooklyn_javadoc":"https://brooklyn.apache.org/v/latest/misc/javadoc","brooklyn_git":"https://github.com/apache/brooklyn/tree","brooklyn_sever_git":"https://github.com/apache/brooklyn-server/tree","brooklyn_library_git":"https://github.com/apache/brooklyn-library/tree"},"path":{"docs":""}},"gitbook":"^3.2.3"},"file":{"path":"blueprints/test/test-entities.md","mtime":"2018-04-11T12:18:40.000Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-04-11T12:21:07.465Z"},"basePath":"../..","book":{"language":""}}); }); </script> </div> Modified: brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/test/usage-examples.html URL: http://svn.apache.org/viewvc/brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/test/usage-examples.html?rev=1828892&r1=1828891&r2=1828892&view=diff ============================================================================== --- brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/test/usage-examples.html (original) +++ brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/test/usage-examples.html Wed Apr 11 12:24:01 2018 @@ -50,7 +50,7 @@ - <link rel="stylesheet" href="../../website-1509027295765.css"> + <link rel="stylesheet" href="../../website-1523449269765.css"> @@ -1043,7 +1043,7 @@ <a href="../../locations/"> - Deploying Blueprint + Deploying Blueprints </a> @@ -1615,12 +1615,26 @@ </li> - <li class="chapter " data-level="1.7.13" data-path="../../ops/upgrade.html"> + <li class="chapter " data-level="1.7.13" data-path="../../ops/upgrades/"> - <a href="../../ops/upgrade.html"> + <a href="../../ops/upgrades/"> - Upgrade + Upgrades + + </a> + + + + <ul class="articles"> + + + <li class="chapter " data-level="1.7.13.1" data-path="../../ops/upgrades/"> + + <a href="../../ops/upgrades/#upgrading-brooklyn"> + + + Upgrading Brooklyn </a> @@ -1628,6 +1642,37 @@ </li> + <li class="chapter " data-level="1.7.13.2" data-path="../../ops/upgrades/"> + + <a href="../../ops/upgrades/#upgrading-blueprints-and-bundles"> + + + Upgrading Blueprints + + </a> + + + + </li> + + <li class="chapter " data-level="1.7.13.3" data-path="../../ops/upgrades/"> + + <a href="../../ops/upgrades/#upgrading-systems-under-management"> + + + Upgrading Systems under Management + + </a> + + + + </li> + + + </ul> + + </li> + <li class="chapter " data-level="1.7.14" data-path="../../ops/security-guidelines.html"> <a href="../../ops/security-guidelines.html"> @@ -2094,8 +2139,9 @@ <section class="normal markdown-section"> - <h1 id="example-tests">Example Tests</h1> -<h2 id="introduction">Introduction</h2> +<h1>Example Tests</h1> + + <h2 id="introduction">Introduction</h2> <p>This section describes some simple tests based on the <a href="../../start/blueprints.html#launching-from-a-blueprint">Getting Started</a> example <a href="../../GLOSSARY.html#blueprint" class="glossary-term" title="A description of an application or system, which can be used for its automated deployment and runtime management. The blueprint describes a model of the application (i.e. its components, their configuration, and their @@ -2113,7 +2159,7 @@ be described in YAML or Java.">blueprint <span class="hljs-attr"> name:</span> My Web <span class="hljs-attr"> id:</span> webappcluster brooklyn.config: - wars.root: http://search.maven.org/remotecontent?filepath=org/apache/brooklyn/example/brooklyn-example-hello-world-sql-webapp/<span class="hljs-number">0.8</span><span class="hljs-number">.0</span>-incubating/brooklyn-example-hello-world-sql-webapp<span class="hljs-bullet">-0.8</span><span class="hljs-number">.0</span>-incubating.war + wars.root: https://search.maven.org/remotecontent?filepath=org/apache/brooklyn/example/brooklyn-example-hello-world-sql-webapp/<span class="hljs-number">0.12</span><span class="hljs-number">.0</span>/brooklyn-example-hello-world-sql-webapp<span class="hljs-bullet">-0.12</span><span class="hljs-number">.0</span>.war <span class="hljs-comment"># BROOKLYN_VERSION</span> java.sysprops: brooklyn.example.db.url: <span class="hljs-string">> $brooklyn:formatString("jdbc:%s%s?user=%s&password=%s", @@ -2156,43 +2202,6 @@ be described in YAML or Java.">blueprint <span class="hljs-attr"> assert:</span> <span class="hljs-attr"> - equals:</span> <span class="hljs-literal">true</span> </code></pre> -<h3 id="http-call-tests">HTTP Call Tests</h3> -<p>Demonstrates the following HTTP Call assertions against the specified <code>url</code>, which in these examples are being built from the <code>webappcluster</code> entities <code>host.address</code> and <code>proxy.http.port</code> sensors (the tester having flexibility in how the test URL is to be constructed):</p> -<ul> -<li>asserts the response status code is 200 within 10 minutes of the <a href="../../GLOSSARY.html#blueprint" class="glossary-term" title="A description of an application or system, which can be used for its automated -deployment and runtime management. The blueprint describes a model of the -application (i.e. its components, their configuration, and their -relationships), along with policies for runtime management. The blueprint can -be described in YAML or Java.">blueprint</a> being deployed.</li> -<li>asserts the response body matches the regex <code>(?s).*Br[o]{2}klyn Deployed.*</code> within 10 minutes of the <a href="../../GLOSSARY.html#blueprint" class="glossary-term" title="A description of an application or system, which can be used for its automated -deployment and runtime management. The blueprint describes a model of the -application (i.e. its components, their configuration, and their -relationships), along with policies for runtime management. The blueprint can -be described in YAML or Java.">blueprint</a> being deployed. Note the presence of the <code>(?s)</code> dotall flag to test a multiline response.</li> -</ul> -<pre><code class="lang-yaml"><span class="hljs-attr">- type:</span> org.apache.brooklyn.test.framework.TestHttpCall -<span class="hljs-attr"> name:</span> Check HTTP Response Status Code - brooklyn.config: -<span class="hljs-attr"> url:</span> <span class="hljs-string">> - $brooklyn:formatString("http://%s:%s/newcontext/", - $brooklyn:component("webappcluster").attributeWhenReady("host.address"), - $brooklyn:component("webappcluster").attributeWhenReady("proxy.http.port")) -</span><span class="hljs-attr"> timeout:</span> <span class="hljs-number">10</span>m -<span class="hljs-attr"> applyAssertionTo:</span> status -<span class="hljs-attr"> assert:</span> -<span class="hljs-attr"> - equals:</span> <span class="hljs-number">200</span> -<span class="hljs-attr">- type:</span> org.apache.brooklyn.test.framework.TestHttpCall -<span class="hljs-attr"> name:</span> Check HTTP Response Body - brooklyn.config: -<span class="hljs-attr"> url:</span> <span class="hljs-string">> - $brooklyn:formatString("http://%s:%s/newcontext/", - $brooklyn:component("webappcluster").attributeWhenReady("host.address"), - $brooklyn:component("webappcluster").attributeWhenReady("proxy.http.port")) -</span><span class="hljs-attr"> timeout:</span> <span class="hljs-number">10</span>m -<span class="hljs-attr"> applyAssertionTo:</span> body -<span class="hljs-attr"> assert:</span> -<span class="hljs-attr"> - matches:</span> <span class="hljs-string">"(?s).*Br[o]{2}klyn Deployed.*"</span> -</code></pre> <h3 id="effector-test-via-testcase-entity">Effector Test (via TestCase entity)</h3> <p>This <code>TestEffector</code> example demonstrates the use of the <code>TestCase</code> and <code>TestSensor</code> entities to ensure the service has started before invoking an <a href="../../GLOSSARY.html#effector" class="glossary-term" title="Effectors are tools Apache Brooklyn provides, that allow you to manipulate the live entities within an application. They are operations applied on entities.">effector</a> using the <code>TestEffector</code> <a href="../../GLOSSARY.html#entity" class="glossary-term" title="A component of an application or system. This could be a physical component, a @@ -2236,7 +2245,7 @@ application/system. It is a "manage <span class="hljs-attr"> effector:</span> deploy <span class="hljs-attr"> timeout:</span> <span class="hljs-number">5</span>m <span class="hljs-attr"> params:</span> -<span class="hljs-attr"> url:</span> http://search.maven.org/remotecontent?filepath=org/apache/brooklyn/example/brooklyn-example-hello-world-sql-webapp/<span class="hljs-number">0.8</span><span class="hljs-number">.0</span>-incubating/brooklyn-example-hello-world-sql-webapp<span class="hljs-bullet">-0.8</span><span class="hljs-number">.0</span>-incubating.war +<span class="hljs-attr"> url:</span> https://search.maven.org/remotecontent?filepath=org/apache/brooklyn/example/brooklyn-example-hello-world-sql-webapp/<span class="hljs-number">0.12</span><span class="hljs-number">.0</span>/brooklyn-example-hello-world-sql-webapp<span class="hljs-bullet">-0.12</span><span class="hljs-number">.0</span>.war <span class="hljs-comment"># BROOKLYN_VERSION</span> <span class="hljs-attr"> targetName:</span> newcontext <span class="hljs-attr"> - type:</span> org.apache.brooklyn.test.framework.TestHttpCall <span class="hljs-attr"> name:</span> Check Deployed Webapp Status Code @@ -2250,6 +2259,43 @@ application/system. It is a "manage <span class="hljs-attr"> assert:</span> <span class="hljs-attr"> - isEqualTo:</span> <span class="hljs-number">200</span> </code></pre> +<h3 id="http-call-tests">HTTP Call Tests</h3> +<p>Demonstrates the following HTTP Call assertions against the specified <code>url</code>, which in these examples are being built from the <code>webappcluster</code> entities <code>host.address</code> and <code>proxy.http.port</code> sensors (the tester having flexibility in how the test URL is to be constructed):</p> +<ul> +<li>asserts the response status code is 200 within 10 minutes of the <a href="../../GLOSSARY.html#blueprint" class="glossary-term" title="A description of an application or system, which can be used for its automated +deployment and runtime management. The blueprint describes a model of the +application (i.e. its components, their configuration, and their +relationships), along with policies for runtime management. The blueprint can +be described in YAML or Java.">blueprint</a> being deployed.</li> +<li>asserts the response body matches the regex <code>(?s).*Br[o]{2}klyn Deployed.*</code> within 10 minutes of the <a href="../../GLOSSARY.html#blueprint" class="glossary-term" title="A description of an application or system, which can be used for its automated +deployment and runtime management. The blueprint describes a model of the +application (i.e. its components, their configuration, and their +relationships), along with policies for runtime management. The blueprint can +be described in YAML or Java.">blueprint</a> being deployed. Note the presence of the <code>(?s)</code> dotall flag to test a multiline response.</li> +</ul> +<pre><code class="lang-yaml"><span class="hljs-attr">- type:</span> org.apache.brooklyn.test.framework.TestHttpCall +<span class="hljs-attr"> name:</span> Check HTTP Response Status Code + brooklyn.config: +<span class="hljs-attr"> url:</span> <span class="hljs-string">> + $brooklyn:formatString("http://%s:%s/newcontext/", + $brooklyn:component("webappcluster").attributeWhenReady("host.address"), + $brooklyn:component("webappcluster").attributeWhenReady("proxy.http.port")) +</span><span class="hljs-attr"> timeout:</span> <span class="hljs-number">10</span>m +<span class="hljs-attr"> applyAssertionTo:</span> status +<span class="hljs-attr"> assert:</span> +<span class="hljs-attr"> - equals:</span> <span class="hljs-number">200</span> +<span class="hljs-attr">- type:</span> org.apache.brooklyn.test.framework.TestHttpCall +<span class="hljs-attr"> name:</span> Check HTTP Response Body + brooklyn.config: +<span class="hljs-attr"> url:</span> <span class="hljs-string">> + $brooklyn:formatString("http://%s:%s/newcontext/", + $brooklyn:component("webappcluster").attributeWhenReady("host.address"), + $brooklyn:component("webappcluster").attributeWhenReady("proxy.http.port")) +</span><span class="hljs-attr"> timeout:</span> <span class="hljs-number">10</span>m +<span class="hljs-attr"> applyAssertionTo:</span> body +<span class="hljs-attr"> assert:</span> +<span class="hljs-attr"> - matches:</span> <span class="hljs-string">"(?s).*Br[o]{2}klyn Deployed.*"</span> +</code></pre> <h3 id="full-example">Full Example</h3> <p>A sample <a href="../../GLOSSARY.html#blueprint" class="glossary-term" title="A description of an application or system, which can be used for its automated deployment and runtime management. The blueprint describes a model of the @@ -2264,6 +2310,7 @@ be described in YAML or Java.">blueprint <p><a href="images/getting-started-blueprint-test-large.png"><img src="images/getting-started-blueprint-test.png" alt="Successful Getting Started App deployment and Test execution."></a></p> + </section> </div> @@ -2295,7 +2342,7 @@ be described in YAML or Java.">blueprint <script> var gitbook = gitbook || []; gitbook.push(function() { - gitbook.page.hasChanged({"page":{"title":"Example Tests","level":"1.5.15.2","depth":3,"next":{"title":"Ansible in YAML Blueprints","level":"1.5.16","depth":2,"path":"blueprints/ansible/index.md","ref":"blueprints/ansible/index.md","articles":[{"title":"About Ansible","level":"1.5.16.1","depth":3,"path":"blueprints/ansible/about-ansible.md","ref":"blueprints/ansible/about-ansible.md","articles":[]},{"title":"Creating Blueprints with Ansible","level":"1.5.16.2","depth":3,"path":"blueprints/ansible/creating-ansible-blueprints.md","ref":"blueprints/ansible/creating-ansible-blueprints.md","articles":[]}]},"previous":{"title":"Test Entities","level":"1.5.15.1","depth":3,"path":"blueprints/test/test-entities.md","ref":"blueprints/test/test-entities.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-highlight","theme-api","collapsible-chapters","bootstrap-callout","styles-less","versions","partial-summary"],"root":"./guide","styles":{"website":"website-1509027295765.c ss","pdf":"pdf-1509027295792.css"},"pluginsConfig":{"styles-less":{},"search":{},"collapsible-chapters":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"include-highlight":{"extensionToLanguage":{"yml":"yaml","yaml":"yaml","bom":"yaml","java":"java"}},"bootstrap-callout":{},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[{"lang":"vagrant","name":"Vagrant","default":true},{"lang":"centos","name":"CentOS / RHEL 7"},{"lang":"ubuntu","name":"Ubuntu / Debian"},{"lang":"osx","name":"OSX / Linux"},{"lang":"windows","name":"Windows"},{"lang":"clouds","name":"Clouds"},{"lang":"byon","name":"BYON"},{"lang":"package","name":"RPM / DEB packages"},{"lang":"tarball","name":"Tarball"}],"split":false,"theme":"light"},"partial-summary":{"depth":0},"versions":{"type":"branches","gitbookConfigURL":"https://raw.githubusercontent.com/tbouron/brooklyn-docs/experiment/gitbook/book.json","options":[{"value":"https://brooklyn.apache.org/v /latest/","text":"Latest","selected":true},{"value":"https://brooklyn.apache.org/v/0.12.0/","text":"Version 0.12.0"},{"value":"https://brooklyn.apache.org/v/0.11.0/","text":"Version 0.11.0"},{"value":"https://brooklyn.apache.org/v/0.10.0/","text":"Version 0.10.0"},{"value":"https://brooklyn.apache.org/v/0.9.0/","text":"Version 0.9.0"}]},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUM MARY.md"},"variables":{"brooklyn_version":"1.0.0-SNAPSHOT","brooklyn_version_stable":"0.12.0","url":{"brooklyn_website":"https://brooklyn.apache.org","brooklyn_javadoc":"https://brooklyn.apache.org/v/latest/misc/javadoc","brooklyn_git":"https://github.com/apache/brooklyn/tree","brooklyn_sever_git":"https://github.com/apache/brooklyn-server/tree","brooklyn_library_git":"https://github.com/apache/brooklyn-library/tree"},"path":{"docs":""}},"gitbook":"^3.2.3"},"file":{"path":"blueprints/test/usage-examples.md","mtime":"2017-10-26T13:41:38.682Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-10-26T14:14:53.591Z"},"basePath":"../..","book":{"language":""}}); + gitbook.page.hasChanged({"page":{"title":"Example Tests","level":"1.5.15.2","depth":3,"next":{"title":"Ansible in YAML Blueprints","level":"1.5.16","depth":2,"path":"blueprints/ansible/index.md","ref":"blueprints/ansible/index.md","articles":[{"title":"About Ansible","level":"1.5.16.1","depth":3,"path":"blueprints/ansible/about-ansible.md","ref":"blueprints/ansible/about-ansible.md","articles":[]},{"title":"Creating Blueprints with Ansible","level":"1.5.16.2","depth":3,"path":"blueprints/ansible/creating-ansible-blueprints.md","ref":"blueprints/ansible/creating-ansible-blueprints.md","articles":[]}]},"previous":{"title":"Test Entities","level":"1.5.15.1","depth":3,"path":"blueprints/test/test-entities.md","ref":"blueprints/test/test-entities.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-highlight","theme-api","collapsible-chapters","bootstrap-callout","styles-less","versions","partial-summary"],"root":"./guide","styles":{"website":"website-1523449269765.c ss","pdf":"pdf-1523449269817.css"},"pluginsConfig":{"styles-less":{},"search":{},"collapsible-chapters":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"include-highlight":{"extensionToLanguage":{"yml":"yaml","yaml":"yaml","bom":"yaml","java":"java"}},"bootstrap-callout":{},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[{"lang":"vagrant","name":"Vagrant","default":true},{"lang":"centos","name":"CentOS / RHEL 7"},{"lang":"ubuntu","name":"Ubuntu / Debian"},{"lang":"osx","name":"OSX / Linux"},{"lang":"windows","name":"Windows"},{"lang":"clouds","name":"Clouds"},{"lang":"byon","name":"BYON"},{"lang":"package","name":"RPM / DEB packages"},{"lang":"tarball","name":"Tarball"}],"split":false,"theme":"light"},"partial-summary":{"depth":0},"versions":{"type":"branches","gitbookConfigURL":"https://raw.githubusercontent.com/tbouron/brooklyn-docs/experiment/gitbook/book.json","options":[{"value":"https://brooklyn.apache.org/v /latest/","text":"Latest","selected":true},{"value":"https://brooklyn.apache.org/v/0.12.0/","text":"Version 0.12.0"},{"value":"https://brooklyn.apache.org/v/0.11.0/","text":"Version 0.11.0"},{"value":"https://brooklyn.apache.org/v/0.10.0/","text":"Version 0.10.0"},{"value":"https://brooklyn.apache.org/v/0.9.0/","text":"Version 0.9.0"}]},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUM MARY.md"},"variables":{"brooklyn_version":"1.0.0-SNAPSHOT","brooklyn_version_stable":"0.12.0","url":{"brooklyn_website":"https://brooklyn.apache.org","brooklyn_javadoc":"https://brooklyn.apache.org/v/latest/misc/javadoc","brooklyn_git":"https://github.com/apache/brooklyn/tree","brooklyn_sever_git":"https://github.com/apache/brooklyn-server/tree","brooklyn_library_git":"https://github.com/apache/brooklyn-library/tree"},"path":{"docs":""}},"gitbook":"^3.2.3"},"file":{"path":"blueprints/test/usage-examples.md","mtime":"2018-04-11T12:18:40.000Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-04-11T12:21:07.465Z"},"basePath":"../..","book":{"language":""}}); }); </script> </div> Modified: brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/winrm/client.html URL: http://svn.apache.org/viewvc/brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/winrm/client.html?rev=1828892&r1=1828891&r2=1828892&view=diff ============================================================================== --- brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/winrm/client.html (original) +++ brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/winrm/client.html Wed Apr 11 12:24:01 2018 @@ -50,7 +50,7 @@ - <link rel="stylesheet" href="../../website-1509027295765.css"> + <link rel="stylesheet" href="../../website-1523449269765.css"> @@ -1043,7 +1043,7 @@ <a href="../../locations/"> - Deploying Blueprint + Deploying Blueprints </a> @@ -1615,12 +1615,26 @@ </li> - <li class="chapter " data-level="1.7.13" data-path="../../ops/upgrade.html"> + <li class="chapter " data-level="1.7.13" data-path="../../ops/upgrades/"> + + <a href="../../ops/upgrades/"> + + + Upgrades + + </a> + + + + <ul class="articles"> + + + <li class="chapter " data-level="1.7.13.1" data-path="../../ops/upgrades/"> - <a href="../../ops/upgrade.html"> + <a href="../../ops/upgrades/#upgrading-brooklyn"> - Upgrade + Upgrading Brooklyn </a> @@ -1628,6 +1642,37 @@ </li> + <li class="chapter " data-level="1.7.13.2" data-path="../../ops/upgrades/"> + + <a href="../../ops/upgrades/#upgrading-blueprints-and-bundles"> + + + Upgrading Blueprints + + </a> + + + + </li> + + <li class="chapter " data-level="1.7.13.3" data-path="../../ops/upgrades/"> + + <a href="../../ops/upgrades/#upgrading-systems-under-management"> + + + Upgrading Systems under Management + + </a> + + + + </li> + + + </ul> + + </li> + <li class="chapter " data-level="1.7.14" data-path="../../ops/security-guidelines.html"> <a href="../../ops/security-guidelines.html"> @@ -2094,8 +2139,9 @@ <section class="normal markdown-section"> - <h1 id="winrm4j-client">Winrm4j Client</h1> -<h2 id="winrm4j-parameters">Winrm4j parameters</h2> +<h1>Winrm4j Client</h1> + + <h2 id="winrm4j-parameters">Winrm4j parameters</h2> <p>Check <a href="https://github.com/apache/brooklyn-server/blob/master/software/winrm/src/main/java/org/apache/brooklyn/location/winrm/WinRmMachineLocation.java#L82-L112" target="_blank">org.apache.brooklyn.location.winrm.WinRmMachineLocation</a> parameters available for WinRM.</p> <ul> @@ -2219,6 +2265,7 @@ First make sure you have the server in t <pre><code>winrs -r:10.0.2.15 -unencrypted -u:Administrator -p:pa55w0rd ipconfig </code></pre> + </section> </div> @@ -2250,7 +2297,7 @@ First make sure you have the server in t <script> var gitbook = gitbook || []; gitbook.push(function() { - gitbook.page.hasChanged({"page":{"title":"Winrm4j Client","level":"1.5.14.1","depth":3,"next":{"title":"Testing YAML Blueprints","level":"1.5.15","depth":2,"path":"blueprints/test/index.md","ref":"blueprints/test/index.md","articles":[{"title":"Test Entities","level":"1.5.15.1","depth":3,"path":"blueprints/test/test-entities.md","ref":"blueprints/test/test-entities.md","articles":[]},{"title":"Example Tests","level":"1.5.15.2","depth":3,"path":"blueprints/test/usage-examples.md","ref":"blueprints/test/usage-examples.md","articles":[]}]},"previous":{"title":"Windows Blueprints","level":"1.5.14","depth":2,"path":"blueprints/winrm/index.md","ref":"blueprints/winrm/index.md","articles":[{"title":"Winrm4j Client","level":"1.5.14.1","depth":3,"path":"blueprints/winrm/client.md","ref":"blueprints/winrm/client.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["include-highlight","theme-api","collapsible-chapters","bootstrap-callout","styles-less","versions","partial-summary "],"root":"./guide","styles":{"website":"website-1509027295765.css","pdf":"pdf-1509027295792.css"},"pluginsConfig":{"styles-less":{},"search":{},"collapsible-chapters":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"include-highlight":{"extensionToLanguage":{"yml":"yaml","yaml":"yaml","bom":"yaml","java":"java"}},"bootstrap-callout":{},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[{"lang":"vagrant","name":"Vagrant","default":true},{"lang":"centos","name":"CentOS / RHEL 7"},{"lang":"ubuntu","name":"Ubuntu / Debian"},{"lang":"osx","name":"OSX / Linux"},{"lang":"windows","name":"Windows"},{"lang":"clouds","name":"Clouds"},{"lang":"byon","name":"BYON"},{"lang":"package","name":"RPM / DEB packages"},{"lang":"tarball","name":"Tarball"}],"split":false,"theme":"light"},"partial-summary":{"depth":0},"versions":{"type":"branches","gitbookConfigURL":"https://raw.githubusercontent.com/tbouron/brooklyn-docs/experiment/gitbo ok/book.json","options":[{"value":"https://brooklyn.apache.org/v/latest/","text":"Latest","selected":true},{"value":"https://brooklyn.apache.org/v/0.12.0/","text":"Version 0.12.0"},{"value":"https://brooklyn.apache.org/v/0.11.0/","text":"Version 0.11.0"},{"value":"https://brooklyn.apache.org/v/0.10.0/","text":"Version 0.10.0"},{"value":"https://brooklyn.apache.org/v/0.9.0/","text":"Version 0.9.0"}]},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS. md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{"brooklyn_version":"1.0.0-SNAPSHOT","brooklyn_version_stable":"0.12.0","url":{"brooklyn_website":"https://brooklyn.apache.org","brooklyn_javadoc":"https://brooklyn.apache.org/v/latest/misc/javadoc","brooklyn_git":"https://github.com/apache/brooklyn/tree","brooklyn_sever_git":"https://github.com/apache/brooklyn-server/tree","brooklyn_library_git":"https://github.com/apache/brooklyn-library/tree"},"path":{"docs":""}},"gitbook":"^3.2.3"},"file":{"path":"blueprints/winrm/client.md","mtime":"2017-10-26T13:41:38.682Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-10-26T14:14:53.591Z"},"basePath":"../..","book":{"language":""}}); + gitbook.page.hasChanged({"page":{"title":"Winrm4j Client","level":"1.5.14.1","depth":3,"next":{"title":"Testing YAML Blueprints","level":"1.5.15","depth":2,"path":"blueprints/test/index.md","ref":"blueprints/test/index.md","articles":[{"title":"Test Entities","level":"1.5.15.1","depth":3,"path":"blueprints/test/test-entities.md","ref":"blueprints/test/test-entities.md","articles":[]},{"title":"Example Tests","level":"1.5.15.2","depth":3,"path":"blueprints/test/usage-examples.md","ref":"blueprints/test/usage-examples.md","articles":[]}]},"previous":{"title":"Windows Blueprints","level":"1.5.14","depth":2,"path":"blueprints/winrm/index.md","ref":"blueprints/winrm/index.md","articles":[{"title":"Winrm4j Client","level":"1.5.14.1","depth":3,"path":"blueprints/winrm/client.md","ref":"blueprints/winrm/client.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["include-highlight","theme-api","collapsible-chapters","bootstrap-callout","styles-less","versions","partial-summary "],"root":"./guide","styles":{"website":"website-1523449269765.css","pdf":"pdf-1523449269817.css"},"pluginsConfig":{"styles-less":{},"search":{},"collapsible-chapters":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"include-highlight":{"extensionToLanguage":{"yml":"yaml","yaml":"yaml","bom":"yaml","java":"java"}},"bootstrap-callout":{},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[{"lang":"vagrant","name":"Vagrant","default":true},{"lang":"centos","name":"CentOS / RHEL 7"},{"lang":"ubuntu","name":"Ubuntu / Debian"},{"lang":"osx","name":"OSX / Linux"},{"lang":"windows","name":"Windows"},{"lang":"clouds","name":"Clouds"},{"lang":"byon","name":"BYON"},{"lang":"package","name":"RPM / DEB packages"},{"lang":"tarball","name":"Tarball"}],"split":false,"theme":"light"},"partial-summary":{"depth":0},"versions":{"type":"branches","gitbookConfigURL":"https://raw.githubusercontent.com/tbouron/brooklyn-docs/experiment/gitbo ok/book.json","options":[{"value":"https://brooklyn.apache.org/v/latest/","text":"Latest","selected":true},{"value":"https://brooklyn.apache.org/v/0.12.0/","text":"Version 0.12.0"},{"value":"https://brooklyn.apache.org/v/0.11.0/","text":"Version 0.11.0"},{"value":"https://brooklyn.apache.org/v/0.10.0/","text":"Version 0.10.0"},{"value":"https://brooklyn.apache.org/v/0.9.0/","text":"Version 0.9.0"}]},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS. md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{"brooklyn_version":"1.0.0-SNAPSHOT","brooklyn_version_stable":"0.12.0","url":{"brooklyn_website":"https://brooklyn.apache.org","brooklyn_javadoc":"https://brooklyn.apache.org/v/latest/misc/javadoc","brooklyn_git":"https://github.com/apache/brooklyn/tree","brooklyn_sever_git":"https://github.com/apache/brooklyn-server/tree","brooklyn_library_git":"https://github.com/apache/brooklyn-library/tree"},"path":{"docs":""}},"gitbook":"^3.2.3"},"file":{"path":"blueprints/winrm/client.md","mtime":"2018-04-11T12:18:40.000Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-04-11T12:21:07.465Z"},"basePath":"../..","book":{"language":""}}); }); </script> </div> Modified: brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/winrm/index.html URL: http://svn.apache.org/viewvc/brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/winrm/index.html?rev=1828892&r1=1828891&r2=1828892&view=diff ============================================================================== --- brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/winrm/index.html (original) +++ brooklyn/site/v/1.0.0-SNAPSHOT/blueprints/winrm/index.html Wed Apr 11 12:24:01 2018 @@ -50,7 +50,7 @@ - <link rel="stylesheet" href="../../website-1509027295765.css"> + <link rel="stylesheet" href="../../website-1523449269765.css"> @@ -1043,7 +1043,7 @@ <a href="../../locations/"> - Deploying Blueprint + Deploying Blueprints </a> @@ -1615,12 +1615,26 @@ </li> - <li class="chapter " data-level="1.7.13" data-path="../../ops/upgrade.html"> + <li class="chapter " data-level="1.7.13" data-path="../../ops/upgrades/"> + + <a href="../../ops/upgrades/"> + + + Upgrades + + </a> + + + + <ul class="articles"> + + + <li class="chapter " data-level="1.7.13.1" data-path="../../ops/upgrades/"> - <a href="../../ops/upgrade.html"> + <a href="../../ops/upgrades/#upgrading-brooklyn"> - Upgrade + Upgrading Brooklyn </a> @@ -1628,6 +1642,37 @@ </li> + <li class="chapter " data-level="1.7.13.2" data-path="../../ops/upgrades/"> + + <a href="../../ops/upgrades/#upgrading-blueprints-and-bundles"> + + + Upgrading Blueprints + + </a> + + + + </li> + + <li class="chapter " data-level="1.7.13.3" data-path="../../ops/upgrades/"> + + <a href="../../ops/upgrades/#upgrading-systems-under-management"> + + + Upgrading Systems under Management + + </a> + + + + </li> + + + </ul> + + </li> + <li class="chapter " data-level="1.7.14" data-path="../../ops/security-guidelines.html"> <a href="../../ops/security-guidelines.html"> @@ -2094,8 +2139,9 @@ <section class="normal markdown-section"> - <h1 id="windows-blueprints">Windows Blueprints</h1> -<p>Brooklyn can deploy to Windows servers using WinRM to run commands. These deployments can be +<h1>Windows Blueprints</h1> + + <p>Brooklyn can deploy to Windows servers using WinRM to run commands. These deployments can be expressed in pure <a href="../../GLOSSARY.html#yaml" class="glossary-term" title="A human-readable data format. See the Wikipedia article for more information.">YAML</a>, and utilise Powershell to install and manage the software process. This approach is similar to the use of SSH for UNIX-like servers.</p> <h2 id="about-winrm">About WinRM</h2> @@ -2548,6 +2594,7 @@ deployment, because it will expect inter <p>Detailed instruction how to prepare an Unattended installation are provided at <a href="https://technet.microsoft.com/en-us/library/cc722411%28v=ws.10%29.aspx" target="_blank">https://technet.microsoft.com/en-us/library/cc722411%28v=ws.10%29.aspx</a>.</p> + </section> </div> @@ -2579,7 +2626,7 @@ deployment, because it will expect inter <script> var gitbook = gitbook || []; gitbook.push(function() { - gitbook.page.hasChanged({"page":{"title":"Windows Blueprints","level":"1.5.14","depth":2,"next":{"title":"Winrm4j Client","level":"1.5.14.1","depth":3,"path":"blueprints/winrm/client.md","ref":"blueprints/winrm/client.md","articles":[]},"previous":{"title":"Entitlements","level":"1.5.13.10","depth":3,"path":"blueprints/java/entitlements.md","ref":"blueprints/java/entitlements.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-highlight","theme-api","collapsible-chapters","bootstrap-callout","styles-less","versions","partial-summary"],"root":"./guide","styles":{"website":"website-1509027295765.css","pdf":"pdf-1509027295792.css"},"pluginsConfig":{"styles-less":{},"search":{},"collapsible-chapters":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"include-highlight":{"extensionToLanguage":{"yml":"yaml","yaml":"yaml","bom":"yaml","java":"java"}},"bootstrap-callout":{},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme -api":{"languages":[{"lang":"vagrant","name":"Vagrant","default":true},{"lang":"centos","name":"CentOS / RHEL 7"},{"lang":"ubuntu","name":"Ubuntu / Debian"},{"lang":"osx","name":"OSX / Linux"},{"lang":"windows","name":"Windows"},{"lang":"clouds","name":"Clouds"},{"lang":"byon","name":"BYON"},{"lang":"package","name":"RPM / DEB packages"},{"lang":"tarball","name":"Tarball"}],"split":false,"theme":"light"},"partial-summary":{"depth":0},"versions":{"type":"branches","gitbookConfigURL":"https://raw.githubusercontent.com/tbouron/brooklyn-docs/experiment/gitbook/book.json","options":[{"value":"https://brooklyn.apache.org/v/latest/","text":"Latest","selected":true},{"value":"https://brooklyn.apache.org/v/0.12.0/","text":"Version 0.12.0"},{"value":"https://brooklyn.apache.org/v/0.11.0/","text":"Version 0.11.0"},{"value":"https://brooklyn.apache.org/v/0.10.0/","text":"Version 0.10.0"},{"value":"https://brooklyn.apache.org/v/0.9.0/","text":"Version 0.9.0"}]},"sharing":{"facebook":true,"twitte r":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{"brooklyn_version":"1.0.0-SNAPSHOT","brooklyn_version_stable":"0.12.0","url":{"brooklyn_website":"https://brooklyn.apache.org","brooklyn_javadoc":"https://brooklyn.apache.org/v/latest/misc/javadoc","brooklyn_git":"https://github.com/apache/brooklyn/tree","brooklyn_sever_git":"https://github.com/apache/brooklyn-server/tree","brooklyn_library_git":"h ttps://github.com/apache/brooklyn-library/tree"},"path":{"docs":""}},"gitbook":"^3.2.3"},"file":{"path":"blueprints/winrm/index.md","mtime":"2017-10-26T13:41:38.683Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-10-26T14:14:53.591Z"},"basePath":"../..","book":{"language":""}}); + gitbook.page.hasChanged({"page":{"title":"Windows Blueprints","level":"1.5.14","depth":2,"next":{"title":"Winrm4j Client","level":"1.5.14.1","depth":3,"path":"blueprints/winrm/client.md","ref":"blueprints/winrm/client.md","articles":[]},"previous":{"title":"Entitlements","level":"1.5.13.10","depth":3,"path":"blueprints/java/entitlements.md","ref":"blueprints/java/entitlements.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-highlight","theme-api","collapsible-chapters","bootstrap-callout","styles-less","versions","partial-summary"],"root":"./guide","styles":{"website":"website-1523449269765.css","pdf":"pdf-1523449269817.css"},"pluginsConfig":{"styles-less":{},"search":{},"collapsible-chapters":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"include-highlight":{"extensionToLanguage":{"yml":"yaml","yaml":"yaml","bom":"yaml","java":"java"}},"bootstrap-callout":{},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme -api":{"languages":[{"lang":"vagrant","name":"Vagrant","default":true},{"lang":"centos","name":"CentOS / RHEL 7"},{"lang":"ubuntu","name":"Ubuntu / Debian"},{"lang":"osx","name":"OSX / Linux"},{"lang":"windows","name":"Windows"},{"lang":"clouds","name":"Clouds"},{"lang":"byon","name":"BYON"},{"lang":"package","name":"RPM / DEB packages"},{"lang":"tarball","name":"Tarball"}],"split":false,"theme":"light"},"partial-summary":{"depth":0},"versions":{"type":"branches","gitbookConfigURL":"https://raw.githubusercontent.com/tbouron/brooklyn-docs/experiment/gitbook/book.json","options":[{"value":"https://brooklyn.apache.org/v/latest/","text":"Latest","selected":true},{"value":"https://brooklyn.apache.org/v/0.12.0/","text":"Version 0.12.0"},{"value":"https://brooklyn.apache.org/v/0.11.0/","text":"Version 0.11.0"},{"value":"https://brooklyn.apache.org/v/0.10.0/","text":"Version 0.10.0"},{"value":"https://brooklyn.apache.org/v/0.9.0/","text":"Version 0.9.0"}]},"sharing":{"facebook":true,"twitte r":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{"brooklyn_version":"1.0.0-SNAPSHOT","brooklyn_version_stable":"0.12.0","url":{"brooklyn_website":"https://brooklyn.apache.org","brooklyn_javadoc":"https://brooklyn.apache.org/v/latest/misc/javadoc","brooklyn_git":"https://github.com/apache/brooklyn/tree","brooklyn_sever_git":"https://github.com/apache/brooklyn-server/tree","brooklyn_library_git":"h ttps://github.com/apache/brooklyn-library/tree"},"path":{"docs":""}},"gitbook":"^3.2.3"},"file":{"path":"blueprints/winrm/index.md","mtime":"2018-04-11T12:18:40.000Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-04-11T12:21:07.465Z"},"basePath":"../..","book":{"language":""}}); }); </script> </div>