jclouds/demos/gae-tweetstore-spring
sharedocs1@gmail.com 910e45ddb4 Reverted explicit servlet context setting and corrected a mistakenly committed change to the dispatcher ('/tweets.jsp' was changed to '/tweets' for a test but should not have been committed).
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2599 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-04 21:07:18 +00:00
..
src Reverted explicit servlet context setting and corrected a mistakenly committed change to the dispatcher ('/tweets.jsp' was changed to '/tweets' for a test but should not have been committed). 2010-01-04 21:07:18 +00:00
.svnignore Initial commit. 2010-01-02 19:03:42 +00:00
README.txt Added required Twitter properties to the READMEs and wrote some information about the purpose of the Spring demo. 2010-01-03 20:49:05 +00:00
pom.xml corrected the application id and bucket for spring tweetstore 2010-01-02 22:34:37 +00:00

README.txt

====

    Copyright (C) 2009 Cloud Conscious, LLC. <info@cloudconscious.com>

    ====================================================================
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    ====================================================================
====
This sample is a "port" of jclouds-demo-gae-tweetstore with the initial context setup
and wiring carried out with Spring. It is intended to demonstrate how to integrate
jclouds into your Spring application.

It should not be regarded as a sample of how to write a web application using Spring,
however! The original jclouds-demo-gae-tweetstore has been modified in as few places as
possible; it has not been rewritten in the style of a Spring MVC application.

This sample uses the Google App Engine for Java SDK located at http://googleappengine.googlecode.com/files/appengine-java-sdk-1.2.5.zip

Please unzip the above file and modify your maven settings.xml like below before attempting to run 'mvn -Plive install'

    <profile>
      <id>appengine</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <properties>
        <appengine.home>/path/to/appengine-java-sdk-1.2.5</appengine.home>
        <appengine.applicationid>yourappid</appengine.applicationid>
      </properties>
    </profile>

    <profile>
      <id>keys</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <properties>
        <jclouds.aws.accesskeyid>YOUR_ACCESS_KEY_ID</jclouds.aws.accesskeyid>
        <jclouds.aws.secretaccesskey>YOUR_SECRET_KEY</jclouds.aws.secretaccesskey>
        <jclouds.rackspace.user>YOUR_USER</jclouds.rackspace.user>
        <jclouds.rackspace.key>YOUR_HEX_KEY</jclouds.rackspace.key>
        <jclouds.azure.storage.account>YOUR_ACCOUNT</jclouds.azure.storage.account>
        <jclouds.azure.storage.key>YOUR_BASE64_ENCODED_KEY</jclouds.azure.storage.key>
        <jclouds.twitter.user>YOUR_TWITTER_USERNAME</jclouds.twitter.user>
        <jclouds.twitter.password>YOUR_TWITTER_PASSWORD</jclouds.twitter.password>        
      </properties>
    </profile>

    <repositories>
        <repository>
            <id>jclouds</id>
            <url>http://jclouds.googlecode.com/svn/trunk/repo</url>
        </repository>
    </repositories>