Commit Graph

815 Commits

Author SHA1 Message Date
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
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
vijaykiran d2d70fd2bf Update API end point for elastichosts 2012-07-25 20:44:15 +02:00
Adrian Cole 5d6e005e8b Issue 1030:defaults not picking up on compute.templateOptions() 2012-07-25 00:33:39 -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
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
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
Andrew Donald Kennedy 4463b52051 Added optional timeout to EC2 listNodes strategy and made awaitCompletion update latch in finally block 2012-07-16 16:58:37 +01:00
Adrian Cole 315d5fb3ef Issue 1011: introducing PagedIterable 2012-07-15 23:34:42 -07:00
Adrian Cole 180265fe49 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 2012-07-15 15:00:42 -07:00
Adrian Cole 05fd64af44 cleaned up http builders and expect tests 2012-07-15 01:50:38 -07:00
Adrian Cole 74b404eab8 Issue 1008:aws-s3 could not get location for region eu-west-1 error 2012-07-07 17:28:44 -07:00
Adrian Cole e9bfb9d1a2 Issue 1007: changed ec2 date parsing logic to use DateCodec and isolated hacks to eucalyptus and openstack-nova-ec2 respectively 2012-07-06 22:54:45 -07:00
Adam Lowe 4a5be7a7ec gogrid: improving logging during live tests 2012-07-06 16:59:41 +01:00
Adam Lowe 9af07d0073 gogrid: improving GridImageClientLiveTest 2012-07-06 16:59:41 +01:00
Adam Lowe 3c01b3171b gogrid: making domain objects immutable and using ConstructorProperties to mark names for deserialization 2012-07-06 16:59:33 +01:00
Adrian Cole 570f33a387 Issue 961: promote rackspace-cloudservers-us to providers 2012-07-03 22:25:34 -07:00
Adrian Cole e35005d45c updated amazon templates 2012-07-03 22:14:06 -07:00
Adam Lowe 7ed9ebda47 Moving TypeAdapterFactories that eliminate null values in Sets, Maps and Multimaps to jclouds-core. 2012-07-03 14:46:54 +01: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 17fce87661 switched keystone-backed providers and apis to strictly return a single scope of location 2012-07-02 15:23:52 -07:00
Adrian Cole bd0d319473 updated identityName 2012-06-27 12:19:26 -07:00
Jeremy Whitlock 2702e942d2 Issue 992: Fix AWS S3 to work with non-DNS, but still valid, named buckets.
Prior to this commit, jclouds wouldn't allow you to interact with any buckets
in S3 that were named with uppercase characters.  Per AWS S3 docs, this
non-standard naming is valid in US regions only.  This update fixes jclouds so
that it can interact with, and even attempt to create, buckets with uppercase
characters for AWS S3 without actually impacting other S3 implementations.  This
fix also will not have any impact in non-US regions other than instead of a
bucket name validation error you'll get an InvalidBucketName error back from
AWS S3 when you attempt to create a bucket with an uppercase character in a
non-US region.  To summarize, nothing changes other than US regions now allow
creation of bucket names with upper case characters and jclouds now can
interact with these non-standard named buckets without failure.
2012-06-21 17:05:20 -06:00
Adrian Cole 8311d0a4e4 Issue 988:Extra port added to swift url 2012-06-19 18:32:06 -06:00
Adrian Cole edf99657c0 fixed missing provider name on ninefold test 2012-06-19 18:31:39 -06:00
Adrian Cole b5797ad543 introduce KeystoneProperties/TENANT_NAME KeystoneProperties/TENANT_ID properties; set value of prefix to tenantName 2012-06-19 01:06:44 -06:00
Adrian Cole 1a6ef2a37c updated correct identityName in openstack providers 2012-06-18 08:39:59 -07:00
Adrian Cole a928746528 Issue 976:update to support eucalyptus 3 2012-06-15 23:35:18 -04:00
Adrian Cole d29fbba783 Issue 980: timestamp on ec2 requests are in the future 2012-06-15 23:35:17 -04:00
Adrian Cole d980b4fd42 changed test poms to use provider.template and provider.ec2-template accordingly 2012-06-15 23:35:10 -04:00
Adrian Cole 8a34254c8e in CloudBridge terminatedInstances go away quickly unveiling the need to address instanceId not found 2012-06-15 23:31:33 -04:00
Andrew Gaul 736554d049 Correct spelling errors 2012-06-14 10:03:39 -04:00
Aled Sage 9b4c3cb25d Sets endpoint for cloudservers-uk
Previously was inheriting default, which was the US endpoint.
2012-06-12 17:37:25 +01:00
Adrian Cole 72493161ab Issue 965:transition openstack-nova from v1_1 package to v2_0 2012-06-08 10:35:58 -07:00
Adrian Cole 46b4a6c8da Issue 963:add transitional api for keystone-authenticated swift 2012-06-07 22:06:18 -07:00
Adrian Cole 8f84608fe7 regression 2012-06-06 23:33:38 -07:00
Adrian Cole d00e360d65 Issue 815: refactored the 3 major features of keystone into separate clients. removed cyclic dependency needed to support keystone controlling keystones in other regions 2012-06-06 23:14:23 -07:00
Adrian Cole 8684e59025 fixed hpcloud-objectstorage blob signing 2012-06-06 16:04:06 -07:00
Adrian Cole b58060599b Issue 815: repackaged keystone classes into their own api 2012-06-06 14:57:50 -07:00
Adrian Cole bcd3d50ad6 Issue 956:add getImage by id to ComputeService 2012-06-04 16:54:49 -07:00
Adrian Cole ef31f5114d added rawState to RunningInstance 2012-06-04 16:54:30 -07:00
Adrian Cole 92d1f1b471 moved to explicitly adding clojure projects 2012-06-03 17:28:56 -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 f122aeadd8 fixed cloudservers expectations 2012-06-01 15:55:42 -07:00
Adrian Cole 96773b8a1b Issue 952:add status field to image 2012-05-30 21:22:10 -07:00
Adrian Cole 07c2c24721 Issue 949:Introduce: ComputeMetadataIncludingStatus; Deprecate NodeState -> NodeMetadata.Status 2012-05-29 20:41:10 -07:00
Adrian Cole 8c2cc935b8 removed awkward test, as this is now addressed at a higher level. Ex. malformed date string creation can be tested in jclouds-core 2012-05-22 11:31:32 -06:00
Adrian Cole a2bbb0e611 cleanup ninefold properties 2012-05-21 15:57:50 -06:00
Adrian Cole 6a7daac7ed removed duplicate test class 2012-05-21 15:57:50 -06:00
Adrian Cole 3ce355a2b4 image extension related classes under extensions package 2012-05-21 13:13:42 -06:00
Adrian Cole 67d8f9a0f4 image extension related classes under extensions package 2012-05-21 12:39:32 -06:00
Aled Sage ffe783d92b Issue 936: fixes async multi-part upload of small blob
Previously, the upload did not start...
2012-05-21 15:39:27 +01:00
Adrian Cole 5c647df129 Issue 938:TemplateBuilderSpec 2012-05-21 02:45:25 -06:00
Adrian Cole c6a65df48d fixed tests 2012-05-21 01:05:53 -06:00
Adrian Cole a91a23f745 aws-ec2 works with tags now 2012-05-18 19:57:29 -07:00
Adrian Cole b4f01eda7b Issue 445: moved incidental test into its own class until we can convert it to an expect test 2012-05-18 17:50:38 -07:00
Adrian Cole a53cece32d Issue 445: moved incidental test into its own class until we can convert it to an expect test 2012-05-18 17:49:59 -07:00
Aled Sage 2637a4b6e9 Issue 647: DateCodec impl delegates to DateService 2012-05-17 11:25:13 +01: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
Adrian Cole 96e272a91d Issue 925: added default ctors so that gson can work w/o using sun.misc.Unsafe 2012-05-16 14:51:16 -07:00
Adam Lowe c259bce623 Issue 872: softlayer ProductItemToImage now categorizes unknown operating systems accordingly, instead of throwing exceptions 2012-05-15 17:16:21 +01:00
Aled Sage 1b2eb74604 Issue 656: failing test, demonstrating failures when non-default aws-s3 location is specified 2012-05-14 23:18:30 -07:00
Adrian Cole 2a10087df9 gogrid test glitches 2012-05-14 23:12:27 -07:00
Adam Lowe cc016d5dc8 Adjusting MapBinder to take Map<String,Object> so BindToJsonPayload can bind objects annotated with PayloadParam correctly 2012-05-14 13:09:22 +01:00
Andrew Gaul 191a4e7341 Identity should be tenameName:accessKey
tenantId is something else.  Tested against hpcloud.
2012-05-11 15:34:41 -07:00
Adrian Cole e96f2333ee in openstack-swift there are regions, not zones 2012-05-10 20:08:04 -07:00
Adrian Cole 5bd59d50cd fixed test configuration 2012-05-10 19:29:19 -07:00
Adrian Cole 59f2b6d171 Merge pull request #625 from aledsage/Issue-888-GroupNamingConvention
Issue 888 group naming convention
2012-05-10 16:45:39 -07:00
Adrian Cole a6cc00e078 Merge pull request #603 from dralves/image-extension-all
image extension working on hpcloud, virtualbox and aws-ec2, cloudservers...
2012-05-10 16:43:27 -07:00
David Ribeiro Alves f71e1d5780 fixed a transient status bug in openstack-nova (working on hpcloud) 2012-05-10 19:31:50 +01:00
Aled Sage 94ac48070d Issue 888: use GroupNamingConvention for keyName/securityGroup; don't include region in name 2012-05-10 16:47:37 +01:00
Aled Sage 8631b90c32 Fix aws-ec2 template live tests: update OS versions 2012-05-10 16:45:54 +01:00
David Ribeiro Alves 5a8f0c1743 added image extension state checker to aws-ec2 module 2012-05-10 08:48:40 +01:00
Adrian Cole acf1bc2d22 updated template expectations 2012-05-09 18:20:42 -07:00
Adam Lowe 850cdc2fc8 Moving EncodedRSAPublicKeyToBase64 (and corresponding unit test) up into EC2 so both openstack-nova-ec2 and aws-ec2 can share the same class 2012-05-03 12:31:39 +01:00
David Ribeiro Alves 082158ac3f image extension working on hpcloud, virtualbox and aws-ec2, cloudservers implemented but has issues 2012-05-03 03:55:40 +01: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
Adrian Cole 19b19d2a5d updated hpcloud template test 2012-04-26 08:46:27 -07:00
Matt Stephenson 381851b8ab Remove IPSocket class, replace with Guava's HostAndPort class. 2012-04-25 17:52:01 -07:00
Richard Downer 18a65bf1a7 Move WindowsClientLiveTest from ec2 to aws-ec2 as it depends on AWS's published AMIs and naming conventions 2012-04-25 20:18:13 +03:00
Richard Downer 1a77b194e5 EC2 Windows AMIs have a separate owner (which changed recently) - add this owner ID to the default set. Update WindowsClientLiveTest to use the default set and verify it passes. 2012-04-25 19:42:35 +03:00
Adrian Cole 1f7211d32d minor volume test-related changes 2012-04-24 12:36:11 -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
Adrian Cole f1010e13a4 fixed aws-ec2 image parsing 2012-04-21 10:59:01 -07:00
Roman Bogorodskiy 19e56692e3 Enable multipart for HPCloud. 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 dab1dd69fc fix covariance/assignability in RestContext<? extends Client> subclasses 2012-04-18 15:05:39 -07:00
Adrian Cole 2f9b1738a0 Merge pull request #572 from dralves/image-extension
implemented image extension
2012-04-18 07:37:02 -07:00
Adrian Cole 5ea29cbbb7 Merge pull request #560 from danikov/covariant-future-iterables
covariant compatible version of futureIterables
2012-04-18 07:35:23 -07:00
danikov fff1c7dc2d make FutureIterables covariant compatible + update tests 2012-04-18 13:06:54 +01:00
David Ribeiro Alves 05212b75fa implemented image extension 2012-04-18 09:37:44 +01:00
Adrian Cole 0b59dea073 removed ContextBuilder subclasses; added unwrap; undid generic params 2012-04-16 00:44:20 -07:00
Adrian Cole 3b2e6ea796 fix cloudwatch 2012-04-13 10:48:38 -06: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
Adam Lowe ba493257be Adjusting default cloudwatch version for live tests 2012-04-10 09:39:39 +01:00
Andrew Gaul b47860afc1 Use inference to elide duplicated type parameters
Found with:
grep 'Builder.*<.*>.*Immutable.*<.*>.*builder();'
2012-04-08 22:32:04 -07:00
Adrian Cole 00c7179f72 moved cacheloaders to the correct package 2012-04-05 17:42:06 -07:00
Adrian Cole 3923e78b9a Issue 896:ec2 doesn't pay attention to api version property 2012-04-02 22:24:59 -07:00
Adrian Cole 764e0907f7 Issue 657:ApiMetadata 2012-04-01 18:43:31 -07:00
Adrian Cole a6429398fd Issue 891: switch to openjdk; tested on ubuntu 2012-03-30 16:57:31 -07:00
Adrian Cole 49e475edcd Issue 888: consolidate code that addresses naming conventions, using hyphen as default delimiter 2012-03-28 03:37:54 -04:00
Adrian Cole 5c6ce9f081 organize imports 2012-03-28 03:37:48 -04:00
Adrian Cole 343470d0a5 removed deprecated RunScriptOptions & TemplateOptions 2012-03-28 03:37:43 -04:00
Adrian Cole 025396be37 added new properties object 2012-03-28 03:37:41 -04:00
Adrian Cole e46cef9fbb passwordAuthentication is now default for keystone 2012-03-28 03:37:40 -04:00
Adrian Cole c56043db08 refactored properties objects to be consistent w/keystone 2012-03-28 02:30:04 -04:00
Roman Bogorodskiy ef549235fe Issue 882: Make aws-s3 provider respect PROPERTY_S3_VIRTUAL_HOST_BUCKETS. 2012-03-27 13:46:43 +04:00
Richard Downer 5d1c5aec9e Add regexp that matches style of Windows AMI names in EC2 starting March 2012. Add a unit test. 2012-03-25 10:52:44 +02:00
Adrian Cole 5dced71f42 moved cdn extension to an Optional 2012-03-23 00:38:52 -07:00
Adrian Cole 000ed4a393 removed broken hpcloud-objectstorage-lvs 2012-03-23 00:38:15 -07:00
Adrian Cole a6ff7579f5 Issue 885:add TryStack provider 2012-03-22 21:50:27 -07:00
Adrian Cole 305b0b8972 Issue 864:create hpcloud-compute provider 2012-03-22 21:48:11 -07:00
Adrian Cole 33fa1ec555 Issue 879:keystone v2 hpcloud-objectstorage provider 2012-03-22 21:45:25 -07:00
Adrian Cole 01e6036589 Issue 874:Bluelock upgraded production to vCloud Director 1.5 2012-03-16 02:33:54 -07:00
Adrian Cole 16a44b2e02 test updates now that bluelock is no longer 1.0.0 2012-03-16 00:45:32 -07:00
Adrian Cole 6301e23a1a temporary fix to CloudLinux blow-up 2012-03-15 16:33:48 -07:00
Adrian Cole 3ebdb89e1d template changes in cloudsigma 2012-03-13 14:43:37 -07:00
Adrian Cole 428c08379d aws-ec2 template update 2012-03-12 21:53:01 -07:00
Adrian Cole 11b36f2083 Merge pull request #421 from milkmansrevenge/master
Reduced log levels for compute parsing methods
2012-03-10 16:18:26 -08:00
Chris Strand 8272352f9b Log level of debug for the various parse methods 2012-03-11 00:05:04 +00:00
Adrian Cole e82e198a9f changed gogrid to not use ssh ctor 2012-03-10 14:43:58 -08:00
Adrian Cole 8394fa90e6 fixed provider metadata 2012-03-09 19:56:22 -08:00
Adrian Cole 605b2dbd25 template updates for cloudservers 2012-03-09 16:51:26 -08:00
Adrian Cole 926cd0991f spot test also needs m1.medium 2012-03-09 12:28:10 -08:00
Adrian Cole 38de846947 Issue 859:AWS EC2 Updates: New Medium Instance, 64-bit Ubiquity 2012-03-08 10:52:56 -08:00
Adrian Cole e8f5b049d8 modernized some gogrid tests and corrected iso information for datacenter 3 2012-03-07 13:11:31 -08:00
Adrian Cole cf0b725b26 refactored hashCode, etc. as in NL sometimes date fields are not present 2012-03-07 12:59:58 -08:00
Adrian Cole 1e8841062b Issue 854:move savvis-symphonyvpdc to labs 2012-03-05 17:01:19 -08:00
Adrian Cole d50d70a397 corrected urls for savvis 2012-03-05 16:36:37 -08:00
Adrian Cole 1f4bd46074 removed timeouts from savvis 2012-03-05 14:50:17 -08:00
Adrian Cole d8b465ec2e Issue 851:add save/delete image support to go grid 2012-03-03 11:33:27 -08:00
Adrian Cole 4d919ce14e cloudwatch free interval is 5m not 1m 2012-02-26 16:55:18 +02:00
Adrian Cole dadd4f6515 changed bindings that imply i/o to Supplier<X> 2012-02-26 13:54:43 +02:00
Adrian Cole fa7f81c4e7 Issue 847:version updates 2012-02-23 15:11:05 +02:00
Ioannis Canellos ebe53d1b71 Fixed aws-ec2 bundle imports 2012-02-17 02:01:39 +02: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 2da5d297a5 Issue 838: convert jboss tests and java tests to use InstallJDK 2012-02-14 23:22:24 +01:00
Adrian Cole 2332662a90 move to using AtomicReference for retryable predicates saves at least one network call on re-fetch 2012-02-14 23:22:24 +01:00
Adrian Cole 567f845444 corrected keystone parsing and default url for hp cloud storage 2012-02-09 17:54:06 +00:00
Adrian Cole 5830665a74 HP Cloud Identity Services/CDN 2012-02-09 06:36:09 +01:00
Jeremy Daggett d2a4bfa2a9 Updated NOTICE.txt and inserted correct production URL for PropertiesBuilder 2012-02-06 11:18:53 -08:00
Adrian Cole 0058c3a5eb updated test expectations to lastest amis 2012-02-04 13:10:53 -08:00