Added 'cloneonestorage' test credentials and environment-specific settings for the host URL at which StoreTweetsController should be called

This commit is contained in:
Andrew Phillips 2011-06-29 22:55:52 -04:00
parent 4aa9bcb82e
commit 0448fcaa9f
2 changed files with 33 additions and 20 deletions

View File

@ -32,9 +32,10 @@
<properties>
<bees.appid>jclouds/tweetstore</bees.appid>
<bees.environment>run</bees.environment>
<bees.address>localhost</bees.address>
<bees.port>8088</bees.port>
<!-- first part of the live URL, used in cloudbees-web.xml -->
<bees.apptitle>tweetstore</bees.apptitle>
<test.bees.address>localhost</test.bees.address>
<test.bees.port>8088</test.bees.port>
<jclouds.tweetstore.container>jclouds-tweetstore-runatcloud</jclouds.tweetstore.container>
</properties>
@ -75,15 +76,11 @@
<systemProperties>
<property>
<name>bees.address</name>
<value>${bees.address}</value>
<value>${test.bees.address}</value>
</property>
<property>
<name>bees.port</name>
<value>${bees.port}</value>
</property>
<property>
<name>bees.environment</name>
<value>${bees.environment}</value>
<value>${test.bees.port}</value>
</property>
<property>
<name>bees.basedir</name>
@ -171,17 +168,21 @@
<name>test.aws-s3.credential</name>
<value>${test.aws-s3.credential}</value>
</property>
<property>
<name>test.cloudonestorage.identity</name>
<value>${test.cloudonestorage.identity}</value>
</property>
<property>
<name>test.cloudonestorage.credential</name>
<value>${test.cloudonestorage.credential}</value>
</property>
<property>
<name>bees.address</name>
<value>${bees.address}</value>
<value>${test.bees.address}</value>
</property>
<property>
<name>bees.port</name>
<value>${bees.port}</value>
</property>
<property>
<name>bees.environment</name>
<value>${bees.environment}</value>
<value>${test.bees.port}</value>
</property>
<property>
<name>jclouds.tweetstore.blobstores</name>
@ -233,7 +234,7 @@
<artifactId>bees-maven-plugin</artifactId>
<version>1.0-SNAPSHOT</version>
<configuration>
<environment>${bees.environment}</environment>
<environment>run</environment>
<apikey>${bees.apikey}</apikey>
<secret>${bees.secret}</secret>
</configuration>

View File

@ -1,8 +1,20 @@
<?xml version="1.0"?>
<cloudbees-web-app xmlns="http://www.cloudbees.com/xml/webapp/1">
<appid>${bees.appid}</appid>
<context-param>
<param-name>application.environment</param-name>
<param-value>${bees.environment}</param-value>
</context-param>
<environment name="itest">
<context-param>
<param-name>application.host</param-name>
<param-value>${test.bees.address}:${test.bees.port}</param-value>
</context-param>
</environment>
<environment name="run">
<context-param>
<!-- this value could better be retrieved programmatically using the RUN@cloud API, see
https://cloudbees.zendesk.com/entries/417046-cloudbees-api-for-run-cloud -->
<param-name>application.host</param-name>
<param-value>${bees.apptitle}.jclouds.cloudbees.net</param-value>
</context-param>
</environment>
</cloudbees-web-app>