Commit Graph

184 Commits

Author SHA1 Message Date
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
Adam Lowe 2022bf3fbb swift: issue 971 adding builders and applying ConstructorProperties to domain objects 2012-07-30 10:36:03 +01:00
Adrian Cole 735da0a285 Issue 1037: consolidate keystone endpoints to end with /v2.0/ + change hpcloud to default to user/pass auth 2012-07-29 16:30:20 -07:00
Andrew Gaul 8ed0e28e68 Spelling corrections 2012-07-26 22:39:35 -07:00
Andrew Gaul ebc65ec8f3 Loosen regex for parsing HP Cloud account
My account has only digits without an underscore.  The failed regex
match caused calls to blobExists to throw an exception when the blob
did not exist.
2012-07-26 12:44:21 -07:00
Adrian Cole 25fc0d69a3 [maven-release-plugin] prepare for next development iteration 2012-07-24 11:11:18 -07:00
Adrian Cole 9c38d9af14 [maven-release-plugin] prepare release jclouds-1.5.0-beta.8 2012-07-24 11:11:09 -07:00
Adrian Cole 954b5f914b Merge branch 'master' of github.com:jclouds/jclouds into 1.5.x
* 'master' of github.com:jclouds/jclouds: (33 commits)
  optimize imports
  reset loginpassword/privatekey when explicitly set
  revised tests that AdminAccess change recently broke
  Issue 1028:vCloud Director 1.5: require x-vcloud-authorization header on vcloud api
  Add SYSTEM scope from DMTF CIMI. FGCP provider needs it.
  Issue-1020 Add full name option for AdminUser and UserAdd
  Add missing @Override in TransientStorageStrategy
  format and imports
  Ensure that EventBus is a singleton
  Introduce LocalAsyncBlobStore
  Miscellaneous local blobstore cleanups
  Prefer valueOf over explicit object creation
  Move helper method to TransientStorageStrategy
  Move copy(MutableBlobMetadata) to BlobStoreUtils
  Cloudstack VirtualMachines can have negative cpuUsed values for some reason
  removed dead code
  corrected destroyNodes bug
  Fixed compilation failures caused by 70fa74df1a
  Remove encodeString() and encodeString(String)
  Shuffle blobstore parameters to match superclass
  ...
2012-07-24 10:05:43 -07:00
Andrew Gaul 562f8277d3 Introduce LocalAsyncBlobStore
This commit unifies the filesystem and transient blobstores.
2012-07-23 09:20:41 -07:00
Andrew Gaul 985cccff9a Prefer valueOf over explicit object creation
This allows use of cached values.  Patched with:

find -name \*.java | xargs sed -i 's/new Boolean(false)/Boolean.FALSE/g'
find -name \*.java | xargs sed -i 's/new Boolean(true)/Boolean.TRUE/g'
find -name \*.java | xargs sed -i 's/new Boolean(/Boolean.valueOf(/g'
find -name \*.java | xargs sed -i 's/new Integer(/Integer.valueOf(/g'
find -name \*.java | xargs sed -i 's/new Long(/Long.valueOf(/g'
2012-07-22 21:01:46 -07:00
Andrew Gaul a40983a39d Prefer InputSupplier helpers
These ensure that inputs are closed properly.

Updated with: find -name \*.java | xargs sed -i
's/toStringAndClose(\(.*\)\.getInput())/toString(\1)/'
2012-07-18 17:42:48 -07:00
Adrian Cole 11e9728dd5 [maven-release-plugin] prepare for next development iteration 2012-07-17 23:32:35 -04:00
Adrian Cole c3697ebbae [maven-release-plugin] prepare release jclouds-1.5.0-beta.7 2012-07-17 23:32:32 -04:00
Adrian Cole e4545fe5fa Merge branch 'master' of github.com:jclouds/jclouds into 1.5.x
* 'master' of github.com:jclouds/jclouds: (30 commits)
  Issue 1011: introducing PagedIterable
  Transform to work with SaxParser
  added @Transform
  disabled test that broke cloudbees build
  Issue 1022:Move naming convention to Api from Client or Services:: cdmi
  merged cdmi changes and fixed classpath issues
  Issue 1022:Move naming convention to Api from Client or Services:: glesys jenkins openstack-* opsource-servers savvis-symphonyvpdc cloudwatch cloudidentity rackspace-cloudidentity aws-cloudwatch rackspace-cloudservers-us hpcloud-compute rackspace-cloudservers-us trystack-nova
  Issue 1022: naming conventions
  cloudstack: removing unnecessary (and in some cases misleading Named annotations). Also removing CloudstackParserModule - handling deserialization in constructors marked with ConstructorProperties annotation
  Issue 1022:Move naming convention to Api from Client or Services:: carrenza-vcloud-director
  Issue 1022:Move naming convention to Api from Client or Services:: joyent-cloudapi joyentcloud
  Issue 1022:Move naming convention to Api from Client or Services:: vcloud-director
  cleaned up http builders and expect tests
  Fix infinite loops, found by FindBugs
  Log hostnames only if they differ
  vcloud tidies
  nodepool progress and AdminAccessBuilderSpec
  Issue 1022: updated aws-elb aws-iam aws-rds iam elb rds to new naming conventions
  Issue 1022: added BaseRestApiExpectTest
  swift keystone 2.0: applying defaultProperties()
  ...
2012-07-15 23:46:35 -07:00
Adrian Cole 05fd64af44 cleaned up http builders and expect tests 2012-07-15 01:50:38 -07:00
Adam Lowe dfed1b2189 swift keystone 2.0: applying defaultProperties() 2012-07-12 14:40:38 +01:00
Adam Lowe a105e370a8 swift keystone 2.0: adjusting default modules to include KeystoneAuthenticationModule.RegionModule 2012-07-12 11:10:16 +01:00
Adrian Cole a14b940060 [maven-release-plugin] prepare for next development iteration 2012-07-10 12:22:44 -07:00
Adrian Cole fd69ec5249 [maven-release-plugin] prepare release jclouds-1.5.0-beta.6 2012-07-10 12:22:42 -07:00
Adrian Cole d284839a83 [maven-release-plugin] prepare for next development iteration 2012-07-03 22:58:26 -07:00
Adrian Cole e96803862f [maven-release-plugin] prepare release jclouds-1.5.0-beta.5 2012-07-03 22:58:21 -07:00
Adrian Cole 21e4d4ffe4 merged latest 2012-07-03 22:45:05 -07:00
Adrian Cole fb98ce82f7 cleanup of module binding, clarity in toStrings, reduced wrapper depth for memoized sets 2012-07-02 19:36:27 -07:00
Adrian Cole 44d6a4ea2b [maven-release-plugin] prepare for next development iteration 2012-06-19 19:01:10 -06:00
Adrian Cole 35d704e3a4 [maven-release-plugin] prepare release jclouds-1.5.0-beta.4 2012-06-19 19:01:04 -06:00
Adrian Cole 0c54dbcb47 Merge branch 'master' of github.com:jclouds/jclouds into 1.5.x
* 'master' of github.com:jclouds/jclouds:
  Issue 988:Extra port added to swift url
  consistent ordering of hardware
  fixed missing provider name on ninefold test
  Eliminate unlikely transient blobstore TOCTOU bug
2012-06-19 18:36:50 -06:00
Adrian Cole 8311d0a4e4 Issue 988:Extra port added to swift url 2012-06-19 18:32:06 -06:00
Adrian Cole c800b354d5 Merge branch 'master' of github.com:jclouds/jclouds into 1.5.x
* 'master' of github.com:jclouds/jclouds:
  corrected api metadata
2012-06-19 01:21:38 -06:00
Adrian Cole 5ad8d2c1f7 corrected api metadata 2012-06-19 01:21:12 -06:00
Adrian Cole 66d23889ce [maven-release-plugin] prepare for next development iteration 2012-06-16 19:36:59 -04:00
Adrian Cole daa041d76f [maven-release-plugin] prepare release jclouds-1.5.0-beta.3 2012-06-16 19:36:55 -04:00
Adrian Cole 8900413995 merge 2012-06-16 19:06:26 -04:00
Andrew Gaul 736554d049 Correct spelling errors 2012-06-14 10:03:39 -04:00
Adrian Cole ef10cf29ee [maven-release-plugin] prepare for next development iteration 2012-06-12 10:19:07 -07:00
Adrian Cole b00929f901 [maven-release-plugin] prepare release jclouds-1.5.0-beta.2 2012-06-12 10:19:04 -07:00
Adrian Cole 3114b652fc merged changes master 2012-06-11 17:30:43 -07:00
Adrian Cole 46b4a6c8da Issue 963:add transitional api for keystone-authenticated swift 2012-06-07 22:06:18 -07:00
Adrian Cole b58060599b Issue 815: repackaged keystone classes into their own api 2012-06-06 14:57:50 -07:00
Ioannis Canellos b078adc3ce Removed fragments and dynamic imports. Added centralized control of the maven-bundle-plugin. 2012-06-03 19:41:54 +03:00
Adrian Cole d724c71894 [maven-release-plugin] prepare for next development iteration 2012-05-22 23:37:36 -06:00
Adrian Cole 610887e5da [maven-release-plugin] prepare release jclouds-1.5.0-beta.1 2012-05-22 23:37:33 -06:00
Adrian Cole 90a559b809 Merge branch 'master' of github.com:jclouds/jclouds into 1.5.x
* 'master' of github.com:jclouds/jclouds: (148 commits)
  cloudservers test fixes
  more compatible delimiter as - doesn't work in rackspace
  cleanup ninefold properties
  removed duplicate test class
  Fixing a few more %d format errors.
  Issue 915: supports AdminAccess.adminHome, and UserAdd.home
  image extension related classes under extensions package
  image extension related classes under extensions package
  unraveled injector a bit
  cloudstack logging working
  Initial CloudStack 3.0 compatibility work.
  pretty json test
  Issue 936: fixes async multi-part upload of small blob
  fixed NPE
  Issue 938:TemplateBuilderSpec
  fixed tests
  fixed tests
  allow use of tenantId when specified numeric
  aws-ec2 works with tags now
  openstack-nova works with tags now
  ...
2012-05-21 22:37:11 -06:00
Aled Sage cd9c830c5a Issue 647: store Expires as Date; added ContentMetadataCodec for converting to/from HTTP headers 2012-05-17 11:24:50 +01:00
Aled Sage 9aedf7b6f6 Issue 647: added "Expires" header for ContentMetadata 2012-05-17 11:24:45 +01:00
Andrew Gaul 4ac7629f44 Delegate blob storage to TransientStorageStrategy
This further minimizes the drift between the filesystem and transient
blobstores.  We also now require that users keep the BlobStoreContext
open instead of using ConcurrentMap singletons.  Finally we remove the
"stub" container.
2012-05-08 14:11:32 -07:00
Andrew Gaul 74440a7a87 Eliminate Throwables2.propagateOrNull
Throwables.propagate always propagates the Throwable; there is no need
to return null.
2012-05-02 13:51:36 -07:00
Andrew Gaul 755d51ad27 Remove unused transient blobstore methods
Also make some helpers private.  Generally, make the transient
blobstore more similar to others.
2012-05-01 22:37:01 -07:00
Adrian Cole eeb085ec49 [maven-release-plugin] prepare for next development iteration 2012-05-01 10:44:39 -07:00
Adrian Cole e02cd8c264 [maven-release-plugin] prepare release jclouds-1.5.0-alpha.6 2012-05-01 10:44:35 -07:00
Adrian Cole be7a30593a [maven-release-plugin] prepare for next development iteration 2012-04-24 13:03:09 -07:00
Adrian Cole 7992c4fb0a [maven-release-plugin] prepare release jclouds-1.5.0-alpha.5 2012-04-24 13:03:07 -07:00
Adrian Cole 00fc02736b Merge branch 'master' of github.com:jclouds/jclouds into 1.5.x
* 'master' of github.com:jclouds/jclouds: (50 commits)
  wrapper -> view; typo undo
  wrapper -> view
  removed freegeoip, as it hasn't worked in ages
  created base Context class with ProviderMetadata and Identity
  'uniqueVersion' is no longer supported in Maven 3
  Using the Javadoc plugin's 'aggregate-jar' goal instead of 'aggregate' for the jclouds-multi Javadoc build, so the Javadocs are actually attached and deployed
  Modify a warning message to state the problem in full right at the beginning of the message (instead of having the crucial part of the message drifting in the middle of an ocean of toString()ed objects)
  fixed aws-ec2 image parsing
  Issue 905:create openstack-swift api
  functions for regions
  base implemenation of nodepool
  Switch to calling apt-get update before every apt-get install.
  added javadoc
  functions and endpoints for vCloud Director
  bugfix for self-referential loop + test
  Add a live test for swift multipart upload.
  Remove useless comment.
  Remove deub prints and fall back to traditional upload if file is not large enough.
  Enable multipart for HPCloud.
  Use CommonSwiftClient instead of SwiftClient in multipart code.
  ...
2012-04-23 19:40:35 -07:00
Adrian Cole df7d2acbb4 wrapper -> view 2012-04-23 19:14:36 -07:00
Adrian Cole 886d2cafb9 created base Context class with ProviderMetadata and Identity 2012-04-23 16:16:51 -07:00
Roman Bogorodskiy 1b5462346b Add a live test for swift multipart upload. 2012-04-19 17:18:27 +04:00
Roman Bogorodskiy 2fa96a9cb3 Remove useless comment. 2012-04-19 15:51:53 +04:00
Roman Bogorodskiy 52c144fce5 Remove deub prints and fall back to traditional upload if file is not large enough. 2012-04-19 15:51:52 +04:00
Roman Bogorodskiy 19e56692e3 Enable multipart for HPCloud. 2012-04-19 15:51:52 +04:00
Roman Bogorodskiy a3c8023e84 Use CommonSwiftClient instead of SwiftClient in multipart code. 2012-04-19 15:51:52 +04:00
Roman Bogorodskiy 338d28325c Clean up commented out useless function. 2012-04-19 15:51:52 +04:00
Roman Bogorodskiy c6b7d510b2 Initial implementation of MPU for SwiftAsyncBlobStore. 2012-04-19 15:51:52 +04:00
Roman Bogorodskiy 807d078c6f First working implementation of swift multipart upload. Async client TDB. 2012-04-19 15:51:52 +04:00
Roman Bogorodskiy e11dd37237 Stubs for multipart upload support in swift. 2012-04-19 15:51:52 +04:00
Adrian Cole 00b1297ec6 [maven-release-plugin] prepare for next development iteration 2012-04-18 17:08:02 -07:00
Adrian Cole 0a52c7bd49 [maven-release-plugin] prepare release jclouds-1.5.0-alpha.4 2012-04-18 17:07:57 -07:00
Adrian Cole 3c948c0320 Merge branch 'master' of github.com:jclouds/jclouds into 1.5.x
* 'master' of github.com:jclouds/jclouds:
  fix covariance/assignability in RestContext<? extends Client> subclasses
  Issue 891: ensure we run apt update when install jdk fails
2012-04-18 15:53:35 -07:00
Adrian Cole dab1dd69fc fix covariance/assignability in RestContext<? extends Client> subclasses 2012-04-18 15:05:39 -07:00
Adrian Cole 48ff7d882c merged latest 2012-04-17 16:49:45 -07:00
Adrian Cole 0b59dea073 removed ContextBuilder subclasses; added unwrap; undid generic params 2012-04-16 00:44:20 -07:00
Adrian Cole 23cb01f977 refactor PropertiesBuilder and related types into ApiMetadata and ProviderMetadata, and update all usage 2012-04-11 19:47:09 -06:00
Adrian Cole b19d86b7e0 [maven-release-plugin] prepare for next development iteration 2012-04-08 22:58:46 -06:00
Adrian Cole e2bd8ac6c2 [maven-release-plugin] prepare release jclouds-1.5.0-alpha.3 2012-04-08 22:58:41 -06:00
Adrian Cole e686d26ada Merge branch 'master' of github.com:jclouds/jclouds into 1.5.x
* 'master' of github.com:jclouds/jclouds: (34 commits)
  Issue 899:NPE on cleanUpIncidentalResourcesOfDeadNodes
  openstack-nova-ec2 errors on authorizing security group to itself, and also needs to auto-allocate elastic ips
  updated error parser to work with Nova EC2 error message
  moved cacheloaders to the correct package
  default to allocate elastic ips on openstack-nova-ec
  more details when image doesn't match
  PresentWhenExtensionAnnotationNamespaceEqualsAnyNamespaceInExtensionsSetTest
  fix Accept header in delete
  fix (unused) createImage http body in 404 test.
  add tests for createImage, switch argument order.
  remove unused import statements.
  create an image from a nova vm instance.
  Issue 891: update to support lucid
  added openstack-nova-ec2 to allcompute
  Updated PlatformServices attribute name for RUN@cloud's TweetStore version
  Updated PlatformServices attribute name for OpenShift's TweetStore version
  ensure tests are tidy, consistent, and clean up after themselves
  refactor out test session to exist on the suite scope
  make adminContext more robust
  refactor out admin tests
  ...
2012-04-08 22:39:13 -06:00
Adrian Cole 764e0907f7 Issue 657:ApiMetadata 2012-04-01 18:43:31 -07:00
Adrian Cole 03090fb01e [maven-release-plugin] prepare for next development iteration 2012-03-31 07:54:05 -07:00
Adrian Cole ac48975c2e [maven-release-plugin] prepare release jclouds-1.5.0-alpha.2 2012-03-31 07:53:59 -07:00
Adrian Cole 98c1e14820 Merge branch 'master' of github.com:jclouds/jclouds into 1.5.x
* 'master' of github.com:jclouds/jclouds: (31 commits)
  fixed keypair on nova and added test
  First set of api's for opsource
  First set of api's for opsource
  Issue 830: Update client get methods to use new error handler
  README.md - improved
  README.md
  Issue 888: consolidate code that addresses naming conventions, using hyphen as default delimiter
  organize imports
  removed deprecated RunScriptOptions & TemplateOptions
  added new properties object
  passwordAuthentication is now default for keystone
  refactored properties objects to be consistent w/keystone
  corrected spacing and new lines for README.md
  updated readme.md
  Intermittent JAXB error
  Issue 830: Use ResourceNotFoundException
  Issue 830: Make RasdItemsList implement Set
  Issue 830: Tidy up client imports and javadoc
  Issue 830: Tidy up domain object imports and remove unnecessary annotations
  Issue 830: Use XmlElementWrapper annotation where possible
  ...
2012-03-29 15:20:24 -04:00
Adrian Cole 5c6ce9f081 organize imports 2012-03-28 03:37:48 -04:00
Adrian Cole f66c84d92f [maven-release-plugin] prepare for next development iteration 2012-03-23 01:08:49 -07:00
Adrian Cole dc2a42cc97 [maven-release-plugin] prepare release jclouds-1.5.0-alpha.1 2012-03-23 01:08:46 -07:00
Adrian Cole 91ccba370b cleaned up error handler in swift 2012-03-23 00:37:33 -07:00
Ioannis Canellos 5490b3068c [842] Added required import packages to cloudfiles api bundle. Improved import packages in all bundles. 2012-02-17 00:49:39 +02:00
Adrian Cole fe4d148528 updated current version to 1.5.0-SNAPSHOT 2012-02-04 11:06:07 -08:00
Adrian Cole ae1effd748 made openstack multi-region, and now select correct endpoint via apiversion property 2012-02-04 00:51:44 -08:00
Adrian Cole e759c6a450 openstack and rackspace related changes for Issue 826 2012-02-03 00:29:27 -08:00
Adrian Cole f93c495c43 refactored to use consistent setup*Properties methods like expect tt tests 2012-01-29 20:36:24 +08:00
Adrian Cole 3df052565f updated current version to 1.4.0-SNAPSHOT 2012-01-16 13:08:32 -08:00
Aled Sage b11a608396 Issue 731: added RetryOnRenew handler to CloudLoadBalancers, Nova and Swift 2012-01-10 17:41:38 -08:00
Adrian Cole add431a329 missing build property commit 2012-01-08 00:04:04 -08:00
Adrian Cole f06e6982eb Issue 800:introduce property for build version 2012-01-05 17:51:55 -08:00
Adrian Cole 42137677da Issue 801:fix inconsistency in test property test.provider.apiversion set in pom.xml -> api-version 2012-01-05 13:09:45 -08:00
Adrian Cole f9b38f646c Issue 730: removed deprecated methods from ComputeService RunScript/TemplateOptions SshClient.Factory and replaced occurences of Credentials with LoginCredentials whereever possible 2011-12-20 23:19:45 -08:00
Adrian Cole 375870bced swift does not support quotes in blob names 2011-12-19 17:37:14 -08:00
Jeremy Daggett fb9739f615 Merging issues 2011-12-18 20:37:44 -08:00
Jeremy Daggett c8ca287303 Fixes to Container related operations 2011-12-18 19:43:50 -08:00
Jeremy Daggett c8ee6c10cc Updated files from other git repo for Swift public ACL 2011-11-21 12:52:47 -08:00
Jeremy Daggett d151e6bee4 Updated files from other git repo for Swift public ACL 2011-11-14 21:25:54 -08:00
Adrian Cole 2ea8dc2cee Issue 754:fix swift to use the documented X-Auth-User headers, and not X-Storage-... which is not universally supported 2011-11-14 21:18:01 +02:00