jclouds/aws/s3/samples/createandlistbuckets
adrian.f.cole e9aee711d3 Issue 76: restructured to jaxrs annotations and created new ones where functionality was lacking. added resteasy client apis to our repository, as there is no dep-free dist available from source. introduced TransformingHttpCommandExecutorService, which processes http independently of extracting results.
This uses an ExecutorService.  In google app engine, there is now a WithinThreadExecutorService which is automatically selected via CloudContext as per the annotation SingleThreaded.  All command classes have been converted to annotation definitions in S3Connection.

git-svn-id: http://jclouds.googlecode.com/svn/trunk@1608 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-11 22:36:51 +00:00
..
src Issue 76: restructured to jaxrs annotations and created new ones where functionality was lacking. added resteasy client apis to our repository, as there is no dep-free dist available from source. introduced TransformingHttpCommandExecutorService, which processes http independently of extracting results. 2009-07-11 22:36:51 +00:00
README.txt Issue 40: simple example that uses s3 in a commandline environment. contributed by Cae Fernandez 2009-06-05 08:24:02 +00:00
pom.xml new beta 2009-06-30 17:53:59 +00:00

README.txt

====

    Copyright (C) 2009 Global Cloud Specialists, Inc. <info@globalcloudspecialists.com>

    ====================================================================
    Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements.  See the NOTICE file
    distributed with this work for additional information
    regarding copyright ownership.  The ASF licenses this file
    to you 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 is a simple example command line client that creates a bucket, then displays all buckets you own
# 1. execute 'mvn install' to build the sample
# 2. invoke the jar, passing your aws credentials and the bucket you wish to create
# ex.
#   java -jar target/jclouds-s3-sample-createandlistbuckets-jar-with-dependencies.jar accesskey secretkey testbucketName