Adrian Cole
a9a0c53fb2
Issue 191: added RSA PEM parsing to encryptionUtils
2010-07-30 23:58:31 -07:00
Adrian Cole
34518f54ba
Issue 325: massive refactor in order to stop serializing native async http client requests
2010-07-30 01:26:55 -07:00
Adrian Cole
909fc0d79a
switched off performance test and removed unused class
2010-07-28 21:22:10 -07:00
Adrian Cole
8c0e387b3e
added performance research tests
2010-07-28 19:38:22 -07:00
Adrian Cole
ca247efaed
Issue 324: added properties for (jclouds|provider).modules, (jclouds|provider).credential.resource, and (jclouds|provider).credential.file in order to support rewiring jclouds http and other components via properties files, and extract out where credentials are obtained from
2010-07-28 00:41:13 -07:00
Adrian Cole
d884978a98
fixed NPE when httpresponseexception is caused by an io exception
2010-07-27 17:04:05 -07:00
Adrian Cole
35a766c0fa
Issue 320: introduced Json object to decouple us from gson libraries
2010-07-25 17:40:44 -07:00
Adrian Cole
c40a14012a
enhanced to make jsonball store primitives better
2010-07-23 15:50:56 -07:00
Adrian Cole
7c3518f7ff
Issue 191: changed encryption service so that it can decode a PEM key. updated chef to work in google appengine
2010-07-22 15:35:03 -07:00
Adrian Cole
7c2b014f25
Issue 191: added json literal support with default mapping on JsonBall class; updated chef implementation
2010-07-21 01:50:44 -07:00
Hugo Duncan
2fd0ac55b5
Added passing of constucted modules to compute-service options
2010-07-19 16:31:25 -04:00
Adrian Cole
887bb7adfe
Issue 316: refactored ssh to use Payload object; deprecated non-payload methods
2010-07-19 13:08:12 -07:00
Adrian Cole
1d0949dec5
Issue 315: added auto-deserialization of json into java objects and new @Unwrap annotation; Issue 311: fixed template parsing for new cluster instance in ec2; Issue 191: started adding node support to chef
2010-07-17 01:30:37 -05:00
Adrian Cole
4098c4bd0a
regression in last commit; guice child injector locks up under threading; also added new ec2 instance size
2010-07-13 16:56:38 -05:00
Adrian Cole
436037c7be
Issue 191: updated chef to use new utilities
2010-07-12 14:38:14 -07:00
Adrian Cole
41e3ec6709
Issue 27: got eucalyptus and walrus working, after refactoring error handling
2010-07-11 01:26:56 -07:00
Adrian Cole
e8d0a11cda
Issue 301: refactored http payload and rewrote crufty tests
2010-07-09 21:13:11 -07:00
Adrian Cole
31d2da3c6f
Issue 301: removed encryption service dependency from blob and added helper methods to blobstore.clj
2010-07-08 10:42:18 -07:00
Adrian Cole
da3baf523c
Issue 301: refactored http payload data from blob -> core, added content length, type, md5; fixed length bug in ec2 and added more tests to ensure this doesn't happen again
2010-07-08 03:46:34 -07:00
Adrian Cole
47a843dd24
fixed regression on http headers
2010-07-06 22:41:44 -07:00
Adrian Cole
204c093753
refactored encryption service and exposed sha256 routine
2010-07-06 18:21:11 -07:00
Adrian Cole
bff39d81f0
created a test case for rest context factory
2010-07-06 13:30:28 -07:00
Adrian Cole
f29d003914
Issue 299: converted 409 -> IllegalStateException and mapped AWS and vCloud exceptions
2010-07-02 23:19:11 -07:00
Adrian Cole
85b5bd48f1
loosened dependency on the GeneratedHttpRequest class
2010-07-02 16:47:46 -07:00
Adrian Cole
9bac52d315
Issue 298: fixed regression on authorizationexception not propagating, and also missing gogrid file
2010-07-02 12:05:41 -07:00
Adrian Cole
714a459796
Issue 297: exposed utilities like encryption, logging, date, threads, and ssh to context objects
2010-06-29 15:45:59 -07:00
Adrian Cole
caceae90bd
Issue 293: normalized on identity/credential vocab
2010-06-28 11:33:41 -07:00
Adrian Cole
27f4f69b4c
Issue 293: refactored code to provide for api versions and coherent properties for authorization
2010-06-28 05:07:36 -07:00
Adrian Cole
055c56dc08
Issue 292: added simple http client
2010-06-25 10:45:15 -07:00
Adrian Cole
aabaae2a51
Issue 283 added
...
client.templateOptions().blockUntilRunning(false) and Issue 284: consolidated timeout properties into ComputeServiceConstants
2010-06-14 23:51:11 -04:00
Adrian Cole
f25100fe9b
Issue 191: corrected multipart form and added cookbook signing to chef client
2010-06-12 17:17:42 -07:00
Adrian Cole
306bb0ebde
Issue 191: started cookbook support; refactored multipart form code
2010-06-11 19:02:19 -07:00
Adrian Cole
50b1aa3cae
Issue 230: corrected URI parsing so that we can access ibm image manifests
2010-06-09 22:46:25 -07:00
Adrian Cole
ab5e8b3ab4
added new annotation @PartParam for multipart form support
2010-06-09 17:00:18 -07:00
Adrian Cole
9b9f9c4e9c
Issue 230: more progress on ibm
2010-06-08 12:54:52 -07:00
Adrian Cole
84ad021268
added retry handler for io exceptions, created modular rest client, swapped generic type args on restcontext
2010-06-06 23:01:48 -07:00
Adrian Cole
c8cd0b0f2e
Issue 260: fixed executors per kimchy's advice; also fixed regression in a lot of live tests
2010-05-23 22:26:14 -07:00
Adrian Cole
a4bdd433f4
Issue 260: fixed i/o threadpool to min=max; refactored session expiry logic. Issue 258 refactored load balancer code
2010-05-23 15:39:49 -07:00
Adrian Cole
050af3c3f7
Issue 176: size can now test compatibility with images; refactored vcloud config logic; updated to support latest bluelock
2010-05-22 22:43:28 -07:00
Adrian Cole
566aa9f0d0
Issue 255, 256: lazy parsing of images so you can specify imageId() that isn't in the default owner list
2010-05-18 16:28:44 -07:00
Adrian Cole
239519c8ca
added exceptions to ssh commands and changed interface to not index on id, since ids are not guaranteed unique
2010-05-04 15:01:01 -07:00
Adrian Cole
a1c7ccfd3f
Issue 241:Add provider to the Location hierarchy and make getParent a Location object; also fixed compute services where broken and added ssh logging for runscript
2010-05-03 01:04:48 -07:00
Adrian Cole
f4f32e07e0
throw root exception for login failures, not provisioningexception
2010-04-30 13:27:55 -07:00
Adrian Cole
10af8cdae8
Issues 203 234 235, add visibility to image from nodemetadata, update to stable version of guava, harden tests, normalize location
2010-04-25 00:46:54 -07:00
Adrian Cole
dedd8f8270
fixed templateBuilder logger and also fixed copyright headers
2010-04-13 23:40:56 -07:00
Alex Yarmula
6c26047e6a
added support for ning http client
2010-04-03 11:02:46 -07:00
Alex Yarmula
9b510a9efe
corrected BaseJettyTest: by HTML spec, HEAD requests shouldnt get any body in response
2010-03-26 12:15:17 -07:00
Adrian Cole
de359a52cc
Issue 214: leaned test a bit
2010-03-24 17:00:57 -07:00
Alex Yarmula
9b6dbd59ed
Merge branch 'master' of github.com:jclouds/jclouds
2010-03-24 14:05:28 -07:00
Alex Yarmula
a13fd648c9
issue 214. test uploading a large file
2010-03-24 14:03:41 -07:00
Adrian Cole
ebcaae325f
Issue 215: removed RuntimeDelegate.setInstance and turned to dependency injection for UriBuilder
2010-03-22 22:33:26 -07:00
Adrian Cole
574af762f6
added md5OutputStream to encryptionService and refactored blobstore.clj to use it
2010-03-21 21:04:10 -07:00
Adrian Cole
614cbb24c6
Issue 207: increased ferocity of tests to do concurrent 5MB downloads w/checksum on both http and blobstore level.
2010-03-21 16:48:16 -07:00
Hugo Duncan
cb0928afae
major update to blobstore clojure binding. factored out core.clj
2010-03-09 11:11:19 -05:00
Alex Yarmula
4892b843d8
added jobs and ip services; more test; single live test
2010-03-03 09:13:09 -08:00
Adrian Cole
e6b5978616
more parser tests
2010-02-22 21:27:05 -08:00
Adrian Cole
b59faeb385
fix where username and password cannot both contain @
2010-02-22 20:49:32 -08:00
Adrian Cole
a72efaea6d
Issue 177: support scheme-only redirects
2010-02-21 10:43:00 -08:00
Adrian Cole
041ef28bcb
fix where executor service doesn't close when context does
2010-02-16 08:28:56 -08:00
Adrian Cole
44a744de9e
Issue 140: initial validator support from Alex
2010-02-09 12:38:44 -08:00
Adrian Cole
7228d2ea04
Issue 107: added proxy support, timeout parameters, and refactored ssl module
2010-02-05 23:16:34 -08:00
Adrian Cole
268bc2ec04
issue 107: revised hc module, and included it in the enterprise config
2010-02-04 21:51:37 -08:00
adrian.f.cole
a268309c94
overhauled the blobstore api to work with pseudo directories and continuable lists. fixed connection errors in http executor. changed to return null on resource not found
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2745 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-02-01 10:09:45 +00:00
adrian.f.cole
70aa7e4ef3
Issue 73, 130, 150: overhauled context builders, blobstore javadocs, setup http connection limiter, and otherwise readied the code for consumption
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2729 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-25 09:41:37 +00:00
adrian.f.cole
a17da70588
support null; add AuthorizationException
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2717 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-22 00:30:07 +00:00
adrian.f.cole
cb906ded3c
Issue 130: added options to runNode like openPorts and runScript; added ability to specify alternate endpoint in *ContextBuilderFactory; updated ant tasks to use new node features; Issue 112: normalized vcloud clients
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2712 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-21 06:22:42 +00:00
adrian.f.cole
49f14ca0e8
fixed wire logging
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2671 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-19 07:05:59 +00:00
adrian.f.cole
969bb8ea38
Issue 144: Temporary hack until http://code.google.com/p/guava-libraries/issues/detail?id=317 is fixed.
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2670 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-19 02:23:30 +00:00
adrian.f.cole
27de8ac105
Issue 148 Issue 9 cleanup javadoc, removed use of string.replaceAll
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2664 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-18 20:28:37 +00:00
adrian.f.cole
d8e6c0e248
Issue 130, Issue 29: normalize location, called Region in amazon speak, restructured domain model across compute and blobstore
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2658 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-15 23:13:35 +00:00
adrian.f.cole
2e138bebe3
bad test fixed
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2654 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-14 16:50:50 +00:00
adrian.f.cole
7559ba165e
Issue 122: added proxy support to default java engine
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2649 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-13 21:05:23 +00:00
adrian.f.cole
6ff6abd36c
Issue 129 Issue 130: changed naming convention per libcloud; added context object
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2644 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-13 01:19:42 +00:00
adrian.f.cole
b29521ef41
Issue 147: performace improvements to SQS
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2641 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-12 02:18:23 +00:00
adrian.f.cole
83a2d54e3e
Issue 144: convert to ListenableFutures
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2625 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-10 06:25:44 +00:00
adrian.f.cole
1284fd67fa
Issue 144: replaced FutureFunctionCallable, FutureFunctionWrapper, RunnableFutureTask with Futures.compose and Futures.chain
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2617 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-07 01:46:43 +00:00
adrian.f.cole
6a5a4df606
Issue 144: replace WithinThreadExecutorService with com.google.common.util.concurrent.Executors.sameThreadExecutor
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2616 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-06 22:21:24 +00:00
adrian.f.cole
7e34f51cc4
Issue 29: completed instance commands
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2561 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-01 01:38:23 +00:00
adrian.f.cole
32ab37d3d7
Fixed license error caught by libcloud: jclouds isn't licensed to Apache, it just uses that license. thanks guys
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2558 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-31 17:36:46 +00:00
adrian.f.cole
1c8b5cce44
Issue 29, Issue 76: allowed for null parameters; converted existing ec2 methods to employ Region as a required argument
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2527 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-28 04:51:10 +00:00
adrian.f.cole
e7c6cbf492
Issue 29, Issue 76: added new annotation @EndpointParam, added support for Availability Zones and Regions
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2526 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-28 01:41:31 +00:00
adrian.f.cole
9c4ff83f25
Issue 139: introduced default exception for 404 errors
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2501 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-22 00:05:16 +00:00
adrian.f.cole
8116d47b67
Removed dependency of apache commons-io as it overlaps with guava. note guava will include google collections soon
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2457 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-17 20:10:58 +00:00
adrian.f.cole
f9e5839134
Issue 112, Issue 129, Issue 130: add hosting.com to compute provider and ant tool
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2444 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-16 03:49:13 +00:00
adrian.f.cole
96c9758da8
Issue 128: added atmos to vfs
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2427 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-15 01:05:58 +00:00
adrian.f.cole
4a22f808d1
Issue 134: switch to typed payloads for http requests and blob types
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2410 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-13 20:46:48 +00:00
adrian.f.cole
74be2180d3
Issue 131: reorganized package structure
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2409 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-13 06:42:22 +00:00
adrian.f.cole
1eb4619faa
Issue 131: extract out bouncycastle
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2408 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-13 05:16:26 +00:00
adrian.f.cole
507794042e
Issue 131: move joda to extension
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2407 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-13 02:24:30 +00:00
adrian.f.cole
a900e05a1f
Issue 131: modularized out blobstore
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2405 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-12 23:28:02 +00:00
adrian.f.cole
2fddd3223e
Issue 130, 129, 112: added ability for terremark to remove its dependencies. added profile and image objects. refactored ant to include logger
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2396 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-10 23:12:57 +00:00
adrian.f.cole
6aeb907620
Issue 129: only use uri to get abstract services. credentials are embedded in the uri, urlencoded as necessary
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2387 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-09 01:56:27 +00:00
ivan@ivan.net.nz
22f98a77c7
Added ant tests
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2385 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-08 07:34:02 +00:00
adrian.f.cole
fc5f675be5
reduced iterations so the tests will run faster
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2382 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-07 19:42:51 +00:00
adrian.f.cole
1f6b92fc9d
made times looser so that windows won't break
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2381 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-07 19:28:17 +00:00
adrian.f.cole
9e340f286e
Issue 128: added initial vfs module and fixed dependent bugs
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2374 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-07 07:09:57 +00:00
adrian.f.cole
4a65872d9b
removed unused import
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2363 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-02 16:56:43 +00:00
ivan@ivan.net.nz
84116b387c
Renamed servers -> compute, ServerService -> ComputeService
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2347 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-30 02:28:42 +00:00
ivan@ivan.net.nz
13dd0a3f67
RimuHosting Impl of Server and ServerService
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2342 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-29 04:41:27 +00:00
ivan@ivan.net.nz
44ec84c8aa
Initial Server Interface commit
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2341 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-28 23:30:57 +00:00
adrian.f.cole
a6e43612fd
added Utils.replaceTokens
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2336 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-28 01:50:26 +00:00
adrian.f.cole
0b94f0ef12
added path to redirect options
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2315 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-23 08:09:59 +00:00
adrian.f.cole
839cf3d26c
converted to nanos as currenttimemillis is only accurate to 10ms
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2307 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-22 18:20:56 +00:00
adrian.f.cole
bc238bc507
Issue 121: converted all modules to sync/asyc
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2293 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-15 23:16:38 +00:00
adrian.f.cole
9a1abce72f
Issue 112: added better testing for cloud compatibility
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2290 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-15 01:48:27 +00:00
adrian.f.cole
fedf3ac2cd
fixed annotation processing of @ParamParser
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2268 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-12 18:41:46 +00:00
adrian.f.cole
9a654d7708
Issue 117: fixed pom.xml and character encodings
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2267 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-12 15:42:49 +00:00
adrian.f.cole
10fe315b7d
Issue 116: consolidated blobstore into core
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2249 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-11 07:10:33 +00:00
adrian.f.cole
0268cb59fc
Issue 118: removed JDK 5 and rolled concurrent into core
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2248 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-11 06:29:38 +00:00
adrian.f.cole
7f3e658953
Issue 76: added FormParam support
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2233 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-09 03:25:17 +00:00
adrian.f.cole
67612d0f0c
Issue 114: first support for twitter
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2033 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-31 19:35:14 +00:00
adrian.f.cole
3d030cfac0
removed mapmaker expiration as it is incompatible with google appengine. replaced with ExpirableSupplier
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2032 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-31 09:07:57 +00:00
adrian.f.cole
5b95c35ca7
Issue 113: signature logger
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2006 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-30 16:19:35 +00:00
adrian.f.cole
050f6e9a82
Issue 74, Issue 76, Issue 101: revamped blobstore and rest subsystems; Issue 10: removed assisted inject
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2001 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-29 20:17:42 +00:00
adrian.f.cole
ff9abb6884
Issue 76: parse response header Location
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1985 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-19 01:11:34 +00:00
adrian.f.cole
bf0943ac6c
add better support for matrix
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1983 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-14 21:24:11 +00:00
adrian.f.cole
33d11fe07f
Issue 73: changed eTag to String, as at least two clouds don't have parsable etags; changed user metadata to Map from Multimap as there are no dupes
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1973 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-12 06:10:15 +00:00
adrian.f.cole
9c3dcdf495
Issue 76: Reverted decision to rename binders to decorators. binders are not decorators, as they do not enclose objects and add behavior
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1970 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-11 23:22:49 +00:00
adrian.f.cole
50fc3cb913
Issue 74: refactored logging including addition of new trace and header logs. These remove the need for separate json and xml debugging, as it is seen in wire logs
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1968 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-10 21:55:18 +00:00
adrian.f.cole
5b7878b0ea
Issue 76: added support for @Produces and @Consumes, replaced @EntityBinder with @DecoratorParam so that we can manipulate more things then just entities; organized rest module
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1952 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-10 00:18:34 +00:00
adrian.f.cole
557d28783f
Issue 109, Issue 73: more work on compatibility layer; expose vendor interface as getApi(); more Strategies
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1946 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-10-05 16:27:48 +00:00
adrian.f.cole
502dc92836
Issue 103, Issue 73: cleaned up injection and portability layer, removing need for most internal classes and facilitating shared testing stubs across providers
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1940 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-30 21:17:07 +00:00
adrian.f.cole
be48d352f9
Issue 103: changed class processors to use TypeLiteral to obtain class object instead of factories
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1936 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-28 01:53:44 +00:00
adrian.f.cole
2de58bb5b9
Issue 102: refactor to use RestContext instead of httpresponse.request
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1935 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-27 19:28:37 +00:00
adrian.f.cole
9f2ebf62cd
Issue 88: corrected test to accurately reflect need for leading double-dashes
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1933 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-27 19:09:26 +00:00
adrian.f.cole
ac8c681eb1
Issue 76: added ParamParser on Methods and added ability for ResponseTransformers to implement RestContext which will give them access to the originating request and args
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1931 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-27 18:24:51 +00:00
adrian.f.cole
09b2c80cd2
Issue 97: added function to derive date from seconds since epoch
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1930 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-27 18:22:32 +00:00
adrian.f.cole
98ad5128df
fixed test name
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1929 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-27 18:21:30 +00:00
adrian.f.cole
e89aab8453
Issue 99: added multipart form support
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1928 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-27 18:20:53 +00:00
adrian.f.cole
98b759f51a
Issue 76: add support for @QueryParam
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1926 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-25 17:22:34 +00:00
adrian.f.cole
bb50a7364f
Issue 99: organize binders
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1924 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-25 05:33:03 +00:00
adrian.f.cole
58b075562f
Issue 95: multiple endpoints per interface
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1922 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-25 04:02:38 +00:00
adrian.f.cole
95409990b1
Issue 95: created qualifier annotations for endpoints and removed host/port logic
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1917 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-24 22:49:43 +00:00
adrian.f.cole
9f78e8d2fc
Issue 96: removed redundant factories and modified utilities and functions to use XML parsers directly
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1915 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-24 22:42:58 +00:00
adrian.f.cole
eaa4674918
added support for BASIC authentication
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1914 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-24 22:36:53 +00:00
adrian.f.cole
3cde3d6356
Issue 67: convert to javax.inject annotations
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1913 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-24 05:37:25 +00:00
adrian.f.cole
ffd34b36c2
Updates to Http: separate md5 from etag, switch from URL to URI
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1909 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-24 00:20:42 +00:00
adrian.f.cole
2f2dd9f881
refactored to not require the type of the api
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1907 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-24 00:14:17 +00:00
adrian.f.cole
6de55b5fd6
Issue 76: added ability to specify multiple default headers and queries, as well addedd a common collection type
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1901 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-23 23:15:43 +00:00
adrian.f.cole
94b13626f1
Issue 76: added support for default header parameters on an interface
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1872 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-03 03:49:13 +00:00
adrian.f.cole
086bab21f3
Issue 76: added support for default query parameters on an interface
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1870 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-02 23:09:30 +00:00
adrian.f.cole
8889daaa9b
tests for hex encoding
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1869 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-09-02 23:08:35 +00:00
adrian.f.cole
93866572a0
Issue 85: removed HttpMethod enum, as it is inherently non-extensible. Documented http://code.google.com/p/jclouds/wiki/NewService
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1859 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-22 23:19:30 +00:00
adrian.f.cole
fbb7740f17
allow filtering to be chained by returning the request on filter()
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1854 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-08-09 22:59:33 +00:00
adrian.f.cole
feb0385c0a
Issue 76: retyped PostBinder so that it can be used with PUTs that also need parameters
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1826 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-21 17:00:15 +00:00
adrian.f.cole
16e87c39f2
Issue 75: fixed Range header on tests
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1822 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-20 15:28:14 +00:00
adrian.f.cole
2b0eb5025a
Issue 76:
...
New interface annotation parsing:
1. HttpRequestOptions can now be a vararg option. While we only support one element at the moment, it can cut down on repetition.
ex.
public List<Stuff> listStuff();
public List<Stuff> listStuff(ListOptions options);
becomes
public List<Stuff> listStuff(ListOptions ... options);
This is especially important when attempting to limit the copy-pasting of annotations which are the same between slight deviations
2. HttpRequestOptions can now create a path suffix. Again, this is to cut down on redundancy in the api:
ex.
public List<Stuff> listStuff();
public List<Stuff> listStuff(ListOptions options);
@Path(/details)
public List<Stuff> listStuffDetails();
@Path(/details)
public List<Stuff> listStuffDetails(ListOptions options);
becomes
public List<Stuff> listStuff(ListOptions ... options);
where ListOptions contains withDetails option.
example usage:
List<Server> servers = connection.listServers(withDetails());
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1652 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-19 17:33:17 +00:00
adrian.f.cole
5a548f5a7e
Issue 76: POST support; Added PostParam PostBinder and renamed PathParamParser to ParamParser so that it can be reused for post.
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1644 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-18 14:52:19 +00:00
adrian.f.cole
2573d399ca
Issue 76: new annotation for RequestFilters
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1623 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-13 22:47:45 +00:00
jamurty
f9cd7e19d9
HttpResponse now requires the corresponding request's URL in its constructor, so the response's S3Object key name can be reconstituted. A better approach may be to associate the entire HttpRequest object with the related HttpResponse?
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1620 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-13 19:56:45 +00:00
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
adrian.f.cole
f86e06f3d8
Issue 73: created module for object storage
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1604 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-07-05 21:24:22 +00:00
adrian.f.cole
fe012d98e2
increased default timeout so ec2 can finish
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1497 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-29 15:54:15 +00:00
adrian.f.cole
383b9bf2c6
cleaning up Handler binding
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1462 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-24 22:38:37 +00:00
adrian.f.cole
48c3155450
issue 69: refactored http clients to not be bound to a single endpoint such that redirects can be assigned to another host
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1456 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-24 18:25:04 +00:00
adrian.f.cole
39e96d041f
Issue 69: removed unusable or redundant code wrt http error handling
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1455 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-22 07:21:03 +00:00
adrian.f.cole
1557173695
Issue 68 expose endPoint URI in HttpRequest
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1453 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-21 01:45:34 +00:00
adrian.f.cole
8bd15c7fc9
converted http methods to enums
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1449 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-21 00:22:04 +00:00
adrian.f.cole
3f7833c2c3
Issue 55 enhanced integration tests to support redirect testing
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1448 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-19 20:08:31 +00:00
adrian.f.cole
e773803ee2
Issue 62: always set Content-Length
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1424 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-11 23:20:37 +00:00
adrian.f.cole
bc0fddac45
fixed imports
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1422 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-06-11 23:18:03 +00:00
jamurty
e102d1e64f
Made backoff-delay error handler test more forgiving of delays in testing
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@869 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-29 07:12:59 +00:00
adrian.f.cole
0f346ca1c2
new license header
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@864 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-28 21:10:33 +00:00
jamurty
2c4b66a960
Factored Jetty testing code into a separate class, and added a derived test for Backoff Retry implementation. This test needs some work to obtain the system's actual retry limit, rather than assuming a constant limit of 5
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@854 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-25 18:33:27 +00:00
jamurty
1f64fb1db3
Unit tests for BackoffLimitedRetryHandler
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@853 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-25 17:33:29 +00:00
adrian.f.cole
bb3e8e160c
increased timeout for slow machines
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@835 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-22 15:39:31 +00:00
adrian.f.cole
f8da659695
made tests parallel and fixed some transient errors in BaseS3Map
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@834 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-22 15:35:57 +00:00
adrian.f.cole
69deb933e8
separated out unit tests from integration tests and fixed javadoc
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@810 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-19 17:33:41 +00:00
adrian.f.cole
67683084ff
finished creating integration tests for all functionality needed for beta. fixed bad logging formats, added javadoc
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@643 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-10 19:52:55 +00:00
adrian.f.cole
db14a0232d
refactored out s3nio module and centralized http handling code
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@485 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-09 20:31:55 +00:00
adrian.f.cole
186504b7e8
cleaning cruft
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@418 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-06 22:09:35 +00:00
adrian.f.cole
23b956f894
integration tests for gae
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@394 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-05 18:37:03 +00:00
adrian.f.cole
352f99b0b8
Issue 4: retry on 500
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@347 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-05 16:47:17 +00:00
adrian.f.cole
e55f31caad
addressed all generic issues and Issue 14
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@310 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-05 12:07:27 +00:00
adrian.f.cole
c5486f6c5e
Issue 8: Removed direct dependencies on java.util.logging, LoggingModules are now used to select logging
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@251 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-04 20:19:42 +00:00
adrian.f.cole
7b10148328
Issue 1: resolved connection leak and hardened code related to connection handling
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@199 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-02 20:04:12 +00:00
adrian.f.cole
89d86de812
changed domain object keys to be immutable and hardened with null checks
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@140 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-05-01 19:43:02 +00:00
adrian.f.cole
ca8f278580
removed google from default module list
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@72 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-04-30 13:28:24 +00:00
ferncam1
86a2e33f7e
formatting
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@68 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-04-28 18:58:08 +00:00
ferncam1
483043ea87
initial import to svn
...
git-svn-id: http://jclouds.googlecode.com/svn/trunk@3 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-04-28 09:59:49 +00:00