Created
April 17, 2012 11:14
-
-
Save ahgittin/2405337 to your computer and use it in GitHub Desktop.
brooklyn rest xml sample 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<app name="MyWebCluster"> | |
<entity type="ControlledDynamicWebAppCluster" name="web"> | |
<config name="war" value="classpath://hello-world-webapp.war"/> | |
<config name="httpPort" value="8080+"/> | |
<config name="jvmOpts" type="map"> | |
<field name="brooklyn.example.db.url"> | |
<source entity="mysql" sensor="url"/> | |
</field> | |
</config> | |
<policy type="Resizer"> | |
<source entity="web" sensor="avgRequestsPerSec"/> | |
<metricRange min="10" max="100"/> | |
<sizeRange min="1" max="5"/> | |
</policy> | |
</entity> | |
<entity type="MySqlNode" name="mysql"> | |
<config name="creationScriptUrl" value="classpath://visitors-creation-script.sql"/> | |
</entity> | |
</app> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment