Commit Graph

1322 Commits

Author SHA1 Message Date
Adrian Cole 5deb0ca54a [maven-release-plugin] prepare release jclouds-1.5.2 2012-10-11 11:23:43 +02:00
Adrian Cole c1e63bb360 corrected guice bindings for swift-based blob signatures and backfilled expect tests 2012-10-10 13:07:10 +02:00
Andrew Bayer d2f7efcda9 Fixing CloudStack TemplateFilter enum to work with 3.x API properly 2012-10-10 12:18:54 +02:00
Andrei Savu a3d421442a Issue 973. Performance problems with Synaptic's Atmos service and writing new blobs 2012-10-09 02:14:55 +03:00
Adrian Cole b34c253392 added id to endpoint and used only endpoint.versionId to enforce endpointVersion 2012-10-08 15:59:29 -04:00
Adrian Cole 0394afe23f Issue 671: NPE on aws-ec2 w/vpc security groups 2012-10-08 15:41:50 -04:00
Adrian Cole de9185ff01 refactored openstack-nova expect tests so that they don't mask zone ids from subclasses 2012-09-29 19:02:27 -07:00
Adrian Cole 3695c34bd4 cleanup and example of overriding nova api version 2012-09-29 14:05:10 -07:00
Andrew Gaul 554d6cfd24 Handle InputStreamPayload in filesystem putBlob
We must save input to subsequently calculate its MD5.  Also tidy up
testWritePayloadOnFile.  Closes #1093.  Test case written by Tom
Manning.
2012-09-29 12:42:58 -07:00
Adrian Cole 269915ce31 [maven-release-plugin] prepare for next development iteration 2012-09-27 11:00:25 -07:00
Adrian Cole e8fc6ae324 [maven-release-plugin] prepare release jclouds-1.5.1 2012-09-27 11:00:24 -07:00
Adrian Cole 43381f6c4d Issue 1092: fix hostname when path-based buckets are used in non-default location 2012-09-26 13:15:07 -07:00
Adrian Cole 5e14792016 corrected equals/hashCode as map builder doesn't honor that 2012-09-23 14:34:57 -07:00
Adrian Cole 737af9d355 added SQS utility for fetching all messages 2012-09-21 17:33:22 -07:00
Adrian Cole 4852c13fa0 added get queue by name for SQS 2012-09-20 15:32:29 -07:00
Andrew Gaul b68001e085 Fix deleteAndVerifyContainerGone return value
Return true if the container does not exist -- this matches the
behavior of Atmos and Swift.  This allows deleteAndEnsurePathGone to
terminate correctly with S3.
2012-09-20 11:06:42 -07:00
Everett Toews edfbfc61a5 Increased container count for cloudfiles tests so tests have enough containers to test against. 2012-09-20 17:56:43 +00:00
Adrian Cole 82f28c1800 [maven-release-plugin] prepare for next development iteration 2012-09-17 00:25:49 -07:00
Adrian Cole 93ac6cdf0f [maven-release-plugin] prepare release jclouds-1.5.0 2012-09-17 00:25:44 -07:00
Adrian Cole 3be0f27b4b merged latest 2012-09-16 23:53:55 -07:00
Adrian Cole 3d2504e1e4 updated cloudsigma tests 2012-09-16 23:40:10 -07:00
Adrian Cole bff49f8311 compatible tags across 2.0 and 4.0 2012-09-16 23:40:05 -07:00
Adrian Cole 54ec689019 stable openstack 2012-09-16 22:38:22 -07:00
Adrian Cole d766f8d4e3 stable ec2 2012-09-16 22:37:13 -07:00
Adrian Cole 605d6580de metadata for nova 2012-09-16 17:07:42 -07:00
Jeremy Daggett c078cb2170 Initial contribution to metadata APIs 2012-09-16 16:22:48 -07:00
Adrian Cole 612aa2c93a update for elastichosts to support metadata and tags 2012-09-16 16:21:09 -07:00
Adrian Cole 80d3b17720 elastichosts test glitches 2012-09-16 14:58:34 -07:00
Adrian Cole a0c383334e Boolean -> boolean 2012-09-16 14:58:07 -07:00
Andrei Savu 64a9888622 Merge remote-tracking branch 'upstream/master' into generic-tempurl 2012-09-16 23:11:30 +03:00
Andrei Savu 1e50fbeb69 Switched from a Provider to a Supplier as requested 2012-09-16 23:08:17 +03:00
Adrian Cole 6f5ebf3e90 Issue 1085:deprecate getRegion from EC2 domain objects 2012-09-16 12:55:48 -07:00
Adrian Cole fae9ec1228 straightened out AdminActionsApi test 2012-09-16 12:38:01 -07:00
Adrian Cole 09065a32ca value and statistics values are not compatible in cloudwatch 2012-09-16 12:38:00 -07:00
Adrian Cole f7feb0248a fixed bad test assertions in openstack-nova 2012-09-16 12:38:00 -07:00
Andrei Savu 3898f1eee2 Removed two unused imports 2012-09-16 21:53:58 +03:00
Andrei Savu 080d142ae1 Generic support for Swift TempUrl middleware 2012-09-16 21:46:51 +03:00
Andrew Phillips 085bc43d48 Allow for slightly inaccurate system timers in SQSErrorRetryHandlerTest (see https://groups.google.com/d/topic/jclouds-dev/uQsqlR-CEOQ/discussion) 2012-09-16 18:34:55 +01:00
Adrian Cole b5f60f1e70 pagination and consistency cleanup on openstack 2012-09-16 00:19:30 -07:00
Adrian Cole dcca748a79 unused imports 2012-09-15 23:48:35 -07:00
Adrian Cole b951276ec3 cleaned up aws apis 2012-09-15 23:47:44 -07:00
Adrian Cole 0b31622267 cleaned ec2 instance type 2012-09-15 14:05:24 -07:00
Adrian Cole c7cb9951a8 moved sqs/aws-sqs live 2012-09-14 18:15:50 -07:00
Andrew Phillips 2984626b9c issue 1069: Allowing @Nullable container to be null in compareTo 2012-09-14 12:35:45 -04:00
Everett Toews e19d27f97c Updates to Rackspace CDN Container Metadata handling. Added feature to Purge CDN Object. Added feature to set default index and error pages for CDN based static website. 2012-09-11 21:10:59 -05:00
Andrei Savu f0e95ced34 Replaced Instant.now() with System.currentTimeMillis() and removed some unused imports 2012-09-11 23:16:08 +03:00
Andrei Savu 0e8e07ce38 Removed unused import and added @Test annotation 2012-09-10 22:44:26 +03:00
Andrei Savu 49bde19fa0 Add support for Swift TempURL Middleware 2012-09-10 13:45:55 +03:00
Adrian Cole 76e6f78a67 [maven-release-plugin] prepare for next development iteration 2012-09-09 12:20:04 -07:00
Adrian Cole 0b24a7f0ee [maven-release-plugin] prepare release jclouds-1.5.0-rc.1 2012-09-09 12:20:00 -07:00
Adrian Cole 8b5091bea6 Merge branch 'master' of https://github.com/jclouds/jclouds into 1.5.x
* 'master' of https://github.com/jclouds/jclouds: (25 commits)
  Moved HP Storage Container Metadata parsing to Swift since it's a standard Swift feature. Moved HP Storage createContainer(String, CreateContainerOptions) to CommonSwiftClient since it's a standard Swift feature. Added support for setting Swift Container Metadata. Added support for deleting Swift Container Metadata. Added copy object feature to Swift. Removed unnecessary TODO comment. Changed DeleteContainerMetadataOptions to just be a List. Changed CopyObjectOptions to be just be a String. Changed CommonSwiftClient.setContainerMetadata() to use just a Map for metadata. Added ExpectTests. Changed setContainerMetadata() to use Iterable instead of List for more generic type goodness. Changed copyObject() to use 4 String params instead of 2 String params to be similar to other such methods in jclouds.
  issue 830: added systemadmin package; more tests fixed
  CDMI: adding support for 1) query parameters 2) non-cdmi content data object operations
  Javadoc update for CloudStack Template.getStatus()
  CloudStack template status parsing update
  merge
  azure management base implementation
  Update parsing of Status in CloudStack Template
  default region endpoint for rackspace legacy apis
  issue 830: fixed VAppTemplateApiLiveTest.deleteVAppTemplate
  Issue 1075:switch to use jetty for java install/web service tests
  nslookup on CentOS 6.2 doesn't set error code when failing, so grep expected output instead
  review addressed
  issue 830: keypair
  Added test descriptions and dependencies to basic Nova live tests
  Configure duplicates plugin to ignore .gitattributes
  decrufted metadataapi
  configure .gitattributes to not convert shell scripts to CRLF on Windows
  Correct typo
  issue 830: more LiveTests fixed on query, vapp, vapptemplate and vdc features
  ...
2012-09-09 11:59:23 -07:00
Everett Toews 73746588f4 Moved HP Storage Container Metadata parsing to Swift since it's a standard Swift feature.
Moved HP Storage createContainer(String, CreateContainerOptions) to CommonSwiftClient since it's a standard Swift feature.
Added support for setting Swift Container Metadata.
Added support for deleting Swift Container Metadata.
Added copy object feature to Swift.
Removed unnecessary TODO comment.
Changed DeleteContainerMetadataOptions to just be a List.
Changed CopyObjectOptions to be just be a String. Changed CommonSwiftClient.setContainerMetadata() to use just a Map for metadata. Added ExpectTests.
Changed setContainerMetadata() to use Iterable instead of List for more generic type goodness. Changed copyObject() to use 4 String params instead of 2 String params to be similar to other such methods in jclouds.
2012-09-08 15:02:01 -05:00
Richard Downer 8b29a6c4f6 Javadoc update for CloudStack Template.getStatus() 2012-09-03 11:35:19 +03:00
Richard Downer ca7ede5932 CloudStack template status parsing update
Remove the "Successfully Installed" message as it's not clear what its
definition is or even if it's possible to get that message - see
http://mail-archives.apache.org/mod_mbox/incubator-cloudstack-dev/201209.mbox/%3CCED8A372-E235-4C32-A15E-F021CC449BFD%40citrix.com%3E
2012-09-02 10:22:33 +03:00
Richard Downer 8aca1828fc Update parsing of Status in CloudStack Template
The CloudStack Template status field is generally presented as human
readable text. This commit extends the enum fromValue() to understand
the known status strings in CloudStack 3.0.4.
2012-09-01 17:56:49 +03:00
Adrian Cole c0e8470952 default region endpoint for rackspace legacy apis 2012-08-29 23:47:05 -07:00
Andrew Donald Kennedy 88a84ae3fb Added test descriptions and dependencies to basic Nova live tests 2012-08-24 21:19:35 +03:00
Andrew Donald Kennedy 0a7a9f378e Updated KeyPair toString method to make expect test pass 2012-08-23 17:08:06 +03:00
Andrew Donald Kennedy fec936ca36 Update Nova extension tests to use covariant returns 2012-08-23 08:17:30 +03:00
Andrew Donald Kennedy 7d70b5ddc3 Updated NovaComputeService and FloatingIp cache to deal with extensibility 2012-08-23 07:29:40 +03:00
Andrew Donald Kennedy 931aa7838a Make all Nova extensions extensible 2012-08-23 06:46:25 +03:00
Adrian Cole fef7bab24e [maven-release-plugin] prepare for next development iteration 2012-08-22 18:55:45 -07:00
Adrian Cole 80afcf834f [maven-release-plugin] prepare release jclouds-1.5.0-beta.11 2012-08-22 18:55:40 -07:00
Adrian Cole 0850217e5f merged 2012-08-22 18:26:52 -07:00
Adrian Cole 05e495fe08 CCE in elasticstack 2012-08-17 22:57:39 -07:00
Adrian Cole bb37f61965 Merge pull request #788 from grkvlt/openstack-extensibility-fixup
Openstack extensibility fixup
2012-08-16 14:56:40 -07:00
Andrew Donald Kennedy 1eee03ee1f Add missed Optional covariant return types for Keystone 2012-08-16 22:32:46 +01:00
Andrew Gaul e7040f8cc8 Use appropriate Predicates helpers
Also capitalize constant.
2012-08-16 13:35:28 -07:00
Andrew Gaul 130921fc29 Reduce HP Cloud authentication token timeout
I see a 12 hour expiry when requesting a new authentication token.
Reducing this timeout should not hurt in any case.
2012-08-15 17:46:52 -07:00
Adrian Cole e2b1ae38b9 [maven-release-plugin] prepare for next development iteration 2012-08-13 21:05:07 -07:00
Adrian Cole fa63b7a4db [maven-release-plugin] prepare release jclouds-1.5.0-beta.10 2012-08-13 21:05:00 -07:00
Adrian Cole 81d5f31359 Merge branch 'master' of github.com:jclouds/jclouds into 1.5.x
* 'master' of github.com:jclouds/jclouds: (30 commits)
  Merge Keystone optional admin API provider with optional extension provider
  Added binding for optional extensions
  Make the OpenStack extension lists accessible for all APIs. Copied the Nova extension related code to the shared keystone package and added providers for extensions and aliases to all modules
  added statement to rebase dist packages
  added VAppNetworksLiveTest
  Further OpenStack extensibility changes. Fixing constructors in RestContext classes
  Fixed a possible NPE when ServiceFunctionLoader finds no OSGi service for a function.
  fixed broken test
  threading issue in test
  openstack-quantum extensibility
  openstack-swift extensibility
  openstack-glance extensibility
  openstack-nova extensibility
  openstack-keystone extensibility
  add FirstNetwork, in line with FirstRegion, etc., for use in FGCP provider
  missing class
  refactoring of smartos-ssh
  Extend the VmSpecification to allow for all the extra memory settings.
  Issue 1067:update to guava 13
  removed invalid @Nullable usage and also usage of javax package usage
  ...
2012-08-13 20:29:15 -07:00
Andrew Donald Kennedy 2debb53e83 Merge Keystone optional admin API provider with optional extension provider 2012-08-14 03:27:34 +01:00
Andrew Donald Kennedy 8ae33f2315 Added binding for optional extensions 2012-08-14 02:23:54 +01:00
Andrew Donald Kennedy 0da2616737 Make the OpenStack extension lists accessible for all APIs. Copied the Nova extension related code to the shared keystone package and added providers for extensions and aliases to all modules 2012-08-13 22:22:04 +01:00
Adrian Cole 0666a6fbde fixed broken test 2012-08-12 10:00:17 -07:00
Adrian Cole 0f0bc429c1 threading issue in test 2012-08-12 09:31:18 -07:00
Adrian Cole b055fb1233 Merge pull request #780 from grkvlt/openstack
Openstack Extensibility
2012-08-12 09:29:51 -07:00
Andrew Donald Kennedy 9acfa880d4 openstack-nova extensibility 2012-08-12 12:29:36 +01:00
Andrew Donald Kennedy 6c9524dabc openstack-keystone extensibility 2012-08-12 12:04:54 +01:00
Adrian Cole c7f35d3bb1 removed invalid @Nullable usage and also usage of javax package usage 2012-08-11 20:59:16 -07:00
Adam Lowe 4fad770eaf openstack-nova: allowing extension of the standard extensions by providers 2012-08-12 02:48:24 +01:00
Everett Toews b16a0667a4 Fixed Issue 1063. See http://code.google.com/p/jclouds/issues/detail?id=1063
Old code was using flavorId in the request body when what is required is flavorRef. See http://docs.openstack.org/api/openstack-compute/2/content/Resize_Server-d1e3707.html
2012-08-10 14:14:42 -05:00
Andrew Donald Kennedy 8c544ddef0 Making more OpenStack Nova APIs extensible using generic return values 2012-08-09 17:02:23 +01:00
Adam Lowe 082ec6f008 openstack-nova: binding missing fields to CreateVolume requests 2012-08-08 10:11:56 +01:00
Andrew Donald Kennedy ec184ce4d2 Updating Nova to allow easier definition of OpenStack API providers with extensions, initially only for ServerApi 2012-08-06 17:34:50 +01:00
Adrian Cole a439c03efc [maven-release-plugin] prepare for next development iteration 2012-08-02 21:49:23 -07:00
Adrian Cole 1ece74b733 [maven-release-plugin] prepare release jclouds-1.5.0-beta.9 2012-08-02 21:49:21 -07:00
Adrian Cole a898999355 merged master 2012-08-02 21:17:47 -07:00
Adrian Cole 3ab960ce39 made ec2 tests a bit more portable 2012-08-02 17:08:10 -07:00
vijaykiran 7a81769e1c Issue-1051 overrideLoginUser not working 2012-08-03 01:14:09 +02:00
Adrian Cole 391c61c852 Issue 1051: added unit test to show what's wrong 2012-08-01 21:56:42 -07:00
Adrian Cole bb5927515e Issue 934: templateOptions.tags,userMetadata for vcloud 2012-08-01 16:56:19 -07:00
Adrian Cole 1abcffb612 Issue 1052:Path incorrect when S3 in path-mode and servicePath is default 2012-08-01 11:35:10 -07:00
Adrian Cole 795dd48abb Merge pull request #762 from andrewgaul/commons-io
Use consistent and latest version of commons-io
2012-07-31 08:15:56 -07:00
Adam Lowe 85eac27509 openstack-keystone: marking Role.id as @Nullable. Resolves live problem whereby keystone fails to return Role id's for admin users - added unit test with (slightly modified) real data. 2012-07-31 15:10:58 +01:00
Andrew Gaul 577cde0a02 Denormalize path when removing subtree
This commit improves filesystem blobstore compatibility on Windows.
This partially reverts cfe3169.  Tested on Ubuntu 12.04 and Windows 7.
References #737.  Closes #912.
2012-07-30 14:42:44 -07:00
Adrian Cole 00f5f0367d Merge pull request #763 from andrewgaul/filesystem-replace
Prefer string replacement over regular expression
2012-07-30 14:16:14 -07:00
Andrew Gaul e253f539d6 Prefer string replacement over regular expression
Previously this method threw an PatternSyntaxException due to a
missing level of escaping.  Also remove bogus test.
2012-07-30 13:36:43 -07:00
Adrian Cole b5558a25e9 test expectations 2012-07-30 12:31:16 -07:00