Commit Graph

6913 Commits

Author SHA1 Message Date
Andrew Gaul f5548f3a94 Shuffle strategy methods into consistent order
Group by container, blob, and miscellaneous methods.  Within these
groups, sort by by exists, getter, setter, and remove.  Code movement
only; no functional changes.
2012-07-26 13:52:23 -07:00
Andrew Gaul ead8748199 Avoid unneeded branch in LocalAsyncBlobStore 2012-07-26 13:44:14 -07:00
Adrian Cole c7976c8abc Merge pull request #754 from andrewgaul/hp-cloud-account-regex
Loosen regex for parsing HP Cloud account
2012-07-26 13:32:55 -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 3e2e24493e Issue 981: better toString on template 2012-07-26 11:28:38 -07:00
Adrian Cole 1b0d6e027a prettier toString on ec2 2012-07-26 10:07:14 -07:00
Adrian Cole 2cca4a9c66 added ec2 live tests for clones 2012-07-26 09:25:11 -07:00
Andrew Gaul cd48729f65 Prefer ImmutableMap for SyncProxy maps 2012-07-26 08:44:13 -07:00
Adrian Cole 64dce4c154 added test to greenqloud 2012-07-26 08:41:28 -07:00
Adrian Cole 23f84a9114 fixed things visibly wrong 2012-07-25 22:57:04 -07:00
Adrian Cole 0bc602a3d2 Issue 309: support CRUD on instances, w/incidental security group fns 2012-07-25 22:56:52 -07:00
Adrian Cole 4ef5d60ce6 Merge pull request #752 from vijaykiran/issue-1034
Update API end point for elastichosts
2012-07-25 12:52:50 -07:00
vijaykiran d2d70fd2bf Update API end point for elastichosts 2012-07-25 20:44:15 +02:00
Adrian Cole 899034097e Merge pull request #751 from richardcloudsoft/issue-1033
DescribeSnapshotsResponseHandler bug parsing tags
2012-07-25 10:13:28 -07:00
Richard Downer 6c86b89d83 DescribeSnapshotsResponseHandler bug parsing tags
DescribeSnapshotsResponseHandler behaved incorrectly when a snapshot had
metadata tags added - it would stop parsing and start the next Snapshot
object every time it saw an </item> tag. Since metadata tags contain
</item>, each tag would cause a new Snapshot object in the response
containing all nulls. Fixed by counting the tag nesting depth and only
responding to </item> at the correct nesting level.
2012-07-25 16:20:12 +01:00
Adrian Cole 17172a7d17 Issue 1031:update maven archetype 2012-07-25 00:33:40 -07:00
Adrian Cole 8179713655 fixed joyent error handler 2012-07-25 00:33:40 -07:00
Adrian Cole 01918a02ec cleaned up joyent and fixed ssh auth related issues 2012-07-25 00:33:40 -07:00
Adrian Cole 5d6e005e8b Issue 1030:defaults not picking up on compute.templateOptions() 2012-07-25 00:33:39 -07:00
Adrian Cole 821b422b94 added SshKeyPairGenerator 2012-07-25 00:33:38 -07:00
Adrian Cole cab271d30f expect test ignored properties 2012-07-25 00:33:38 -07:00
Adrian Cole 416a795796 Merge pull request #750 from andrewgaul/predicates2
Introduce Predicates2.startsWith and endsWith
2012-07-24 23:17:41 -07:00
Adrian Cole 3374193272 Merge pull request #749 from vijaykiran/issue-1026
issue-1026 Support for aws-ec2 hi1.4x instance
2012-07-24 22:53:19 -07:00
Andrew Gaul 3648863a3c Introduce Predicates2.startsWith and endsWith 2012-07-24 22:21:34 -07:00
vijaykiran de3db2103d issue-1026 Support for aws-ec2 hi1.4x instance 2012-07-25 00:26:21 +02:00
Adrian Cole 3128eb25fc Merge pull request #747 from vijaykiran/optimize-imports
optimize imports
2012-07-24 08:06:54 -07:00
vijaykiran 829e4af9ee optimize imports 2012-07-24 07:53:52 +02:00
Adrian Cole 9d007a40b7 reset loginpassword/privatekey when explicitly set 2012-07-23 19:28:59 -07:00
Adrian Cole 32da070317 revised tests that AdminAccess change recently broke 2012-07-23 19:28:58 -07:00
Adrian Cole 5bd9e3ad9f Issue 1028:vCloud Director 1.5: require x-vcloud-authorization header on vcloud api 2012-07-23 19:28:58 -07:00
Adrian Cole 6d9d638a1f Merge pull request #746 from dkoper/master
adding SYSTEM location scope required for FGCP
2012-07-23 19:19:50 -07:00
Dies Koper 966f1fc459 Add SYSTEM scope from DMTF CIMI. FGCP provider needs it. 2012-07-24 11:39:54 +10:00
Adrian Cole 2ef7f2bf1b Merge pull request #745 from vijaykiran/issue-1020
Issue-1020 Add full name option for AdminUser and UserAdd
2012-07-23 16:10:46 -07:00
Adrian Cole 9eaf7acd5c Merge pull request #743 from andrewgaul/transient-strategy-override
Add missing @Override in TransientStorageStrategy
2012-07-23 15:09:36 -07:00
vijaykiran 7227d70c4e Issue-1020 Add full name option for AdminUser and UserAdd 2012-07-23 23:42:31 +02:00
Andrew Gaul 6b8a2a73d4 Add missing @Override in TransientStorageStrategy 2012-07-23 13:31:21 -07:00
Adrian Cole 6016272486 Merge pull request #742 from andrewgaul/event-bus-singleton
Ensure that EventBus is a singleton
2012-07-23 12:18:58 -07:00
Adrian Cole 86b07ed768 format and imports 2012-07-23 11:43:37 -07:00
Andrew Gaul 8524dd3a67 Ensure that EventBus is a singleton 2012-07-23 11:02:55 -07:00
Adrian Cole 8402446365 Merge pull request #741 from andrewgaul/local-async-blobstore
Introduce LocalAsyncBlobStore
2012-07-23 10:25:44 -07:00
Andrew Gaul 562f8277d3 Introduce LocalAsyncBlobStore
This commit unifies the filesystem and transient blobstores.
2012-07-23 09:20:41 -07:00
Adrian Cole 5101cd0a76 Merge pull request #740 from andrewgaul/local-blobstore-misc
Miscellaneous local blobstore cleanups
2012-07-23 09:01:41 -07:00
Andrew Gaul 756e46333f Miscellaneous local blobstore cleanups
There are no more functional differences between the filesystem and
transient blobstores.  This is the last commit before introducing a
unified LocalAsyncBlobStore class.
2012-07-23 08:06:36 -07:00
Adrian Cole b890765e9e Merge pull request #738 from andrewgaul/local-blobstore-move-helper-method
Move helper method to TransientStorageStrategy
2012-07-23 07:37:30 -07:00
Adrian Cole d5f9bb3172 Merge pull request #739 from andrewgaul/prefer-valueof
Prefer valueOf over explicit object creation
2012-07-22 22:00:09 -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 22da88d2ae Move helper method to TransientStorageStrategy
Also move etag generation since we cannot reuse Payloads in the
general case.
2012-07-22 20:02:59 -07:00
Adrian Cole 7a13dffeed Merge pull request #737 from andrewgaul/mutable-blob-metadata-copy
Move copy(MutableBlobMetadata) to BlobStoreUtils
2012-07-22 18:20:43 -07:00
Andrew Gaul 0bc5c69a4f Move copy(MutableBlobMetadata) to BlobStoreUtils 2012-07-22 17:37:18 -07:00
Adrian Cole b517bc79c7 Merge pull request #736 from abayer/master
Allow negative cpuUsed values for Cloudstack virtual machines
2012-07-22 14:38:30 -07:00