Commit Graph

1077 Commits

Author SHA1 Message Date
Adrian Cole 0bc602a3d2 Issue 309: support CRUD on instances, w/incidental security group fns 2012-07-25 22:56:52 -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
Andrew Gaul 3648863a3c Introduce Predicates2.startsWith and endsWith 2012-07-24 22:21:34 -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 86b07ed768 format and imports 2012-07-23 11:43:37 -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
Adrian Cole 4c31fb65f1 Merge pull request #735 from dralves/nodepool
issue 558 - corrected final bug nodepool is working
2012-07-20 16:11:14 -07:00
David Ribeiro Alves b4c6d01eba removed dead code 2012-07-20 22:24:45 +01:00
David Ribeiro Alves b45fad87d8 corrected destroyNodes bug 2012-07-20 22:23:16 +01:00
Adrian Cole c4dde78b0c Merge pull request #725 from dralves/nodepool
issue 558 - nodepool
2012-07-19 04:38:59 -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 Phillips 75ce908c13 Made joyent-api tests compatible with Windows 2012-07-18 09:51:03 -04:00
Andrew Phillips f3419e90c9 Made virtualbox tests compatible with Windows 2012-07-18 09:51:01 -04:00
David Ribeiro Alves 0949d52224 added admin access property to all unit tests as hudson requires it (no pk) 2012-07-18 11:36:57 +01:00
David Ribeiro Alves 240f76661c corrected assertion 2012-07-18 02:42:25 +01:00
David Ribeiro Alves 4f3de0777f readded missing test 2012-07-18 01:58:55 +01:00
David Ribeiro Alves cdde419b24 re-enabled most tests and corrected some minor bugs, only destoyPoolNodes is missing 2012-07-18 01:58:18 +01:00
Adrian Cole 6264dee999 Merge pull request #713 from magnayn/master
Initial implementation of SmartOS-SSH
2012-07-17 15:26:02 -07:00
Nigel Magnay 46414e339a Initial implementation of controlling SmartOS over SSH connection.
This has been implemented mainly to allow jenkins-jclouds integration.

Signed-off-by: Nigel Magnay <nigel.magnay@gmail.com>
2012-07-17 11:19:00 +01:00
Adrian Cole addeb0d031 added concat to PagedIterable 2012-07-16 11:07:17 -04:00
Adrian Cole 315d5fb3ef Issue 1011: introducing PagedIterable 2012-07-15 23:34:42 -07:00
Adrian Cole daef7b4ce9 disabled test that broke cloudbees build 2012-07-15 15:58:22 -07:00
Adrian Cole 647317b9b4 Issue 1022:Move naming convention to Api from Client or Services:: cdmi 2012-07-15 15:47:44 -07:00
Kenneth Nagin 929a9ce044 merged cdmi changes and fixed classpath issues 2012-07-15 15:45:48 -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 bb5d9b4577 Issue 1022:Move naming convention to Api from Client or Services:: carrenza-vcloud-director 2012-07-15 09:57:29 -07:00
Adrian Cole 199d39e093 Issue 1022:Move naming convention to Api from Client or Services:: joyent-cloudapi joyentcloud 2012-07-15 01:54:21 -07:00
Adrian Cole 6d13652338 Issue 1022:Move naming convention to Api from Client or Services:: vcloud-director 2012-07-15 01:50:51 -07:00
Adrian Cole 05fd64af44 cleaned up http builders and expect tests 2012-07-15 01:50:38 -07:00
Andrew Gaul b95f36952d Fix infinite loops, found by FindBugs 2012-07-14 18:46:58 -07:00
David Ribeiro Alves d4453b2ac2 nodepool progress and AdminAccessBuilderSpec 2012-07-12 11:04:55 -07:00
Adrian Cole 25ab7814e4 Issue 1022: updated aws-elb aws-iam aws-rds iam elb rds to new naming conventions 2012-07-12 10:08:10 -07:00
Andrea Turli 2400d9d826 jenkins api: added lastBuil api 2012-07-11 16:17:01 +02:00
Adrian Cole df3f331286 fixed delete on elb on 404 2012-07-11 00:11:05 -07:00
Adrian Cole c9f49bd512 Issue 309: initial support for amazon rds 2012-07-11 00:11:05 -07:00
Adrian Cole 105a302b1f stupid bug 2012-07-10 15:49:41 -07:00
Adrian Cole df2b88402c Issue 1014:rename joyent-sdc to joyent-cloudapi 2012-07-10 12:01:03 -07:00
Adrian Cole 8e88c53a3a Issue 852: added availability zone functions 2012-07-09 18:06:54 -07:00
Adrian Cole 0383a80904 Issue 1011: PaginatedIterable with marker type as Object 2012-07-09 16:08:32 -07:00
Adrian Cole 0d82a61142 elb usage cleanup 2012-07-09 00:03:02 -07:00
Adrian Cole d9d5aa2a12 added vpc data and cleaned usage 2012-07-08 18:18:54 -07:00
Adrian Cole 578c9e93f9 Issue 852: cleaned remaining elb methods 2012-07-06 20:23:09 -07:00
Adrian Cole 5d30da2908 Issue 852: added InstanceClient and got live tests passing 2012-07-05 23:22:20 -07:00
Adrian Cole 570f33a387 Issue 961: promote rackspace-cloudservers-us to providers 2012-07-03 22:25:34 -07:00
Adrian Cole c94064b0fd Issue 961: promoted rackspace-cloudidentity to apis 2012-07-03 22:20:08 -07:00
Adam Lowe 908e164698 openstack: adjusting beans in openstack-quantum, openstack-glance and openstack-swift to use ConstructorProperties and Named annotations 2012-07-03 12:39:53 +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 c016bcc8fd added policy client to elb 2012-07-01 20:58:35 -07:00
Adrian Cole 49b90879a8 added healthcheck to elb 2012-07-01 11:31:47 -07:00
Adrian Cole b84a923615 added default list op 2012-06-27 12:24:01 -07:00
Adrian Cole 90b1224e7d started on new loadbalancer object in elb 2012-06-27 12:19:27 -07:00
Adrian Cole 38ee79999a cleanup of nodepool and start integration of byon 2012-06-25 22:03:54 -07:00
Adrian Cole 8030d0044d Merge branch 'master' of github.com:jclouds/jclouds into nodepool
* 'master' of github.com:jclouds/jclouds:
  Issue 997:support AWS IAM api
  added paginated set functionality
  glesys: updating to API version 0.1.29
  glesys: removing ArchiveDetails (duplicate of Archive)
  glesys: bean cleaning, using ConstructorProperties for deserialization (note no serialization annotations as we don't currently serialize any of these beans)
  glesys: adjusting ParserModule - removing support for odd dates (no longer present in api) and adding support for "yes"/"no" Boolean fields
  Specifically adding the osgi import org.apache.commons.io.input;version=[1.4,3)
  Upgrading commons-io dependency of sshj driver to 2.0
  Improve Maven build time dramatically by moving source and javadoc to profiles.
  Issue 992: Fix AWS S3 to work with non-DNS, but still valid, named buckets.
  Issue 995: handle illegal argument in vcloud images
  Issue 994: fix vcloud sax parsing of namespaces
  cloudstack: don't set networkId to default when iptonetworklist is populated
  Fix for iptonetworklist (was incorrectly sending ipnetworklist)
  Adjusting general strategy to accept @Named in place of @SerializedName. Adding TypeAdapterFactory to handle deserialization based on constructor annotations (Inject/Named and/or ConstructorProperties).
  added min-disk to compute2.clj
  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-25 16:01:54 -07:00
David Ribeiro Alves a8ea32e29d refactored nodepool to avoid having internal state and to survive restarts 2012-06-25 03:34:55 +01:00
Adrian Cole 5687a6d8ea Issue 997:support AWS IAM api 2012-06-24 12:23:06 -07:00
Adam Lowe 79dc8b91af glesys: updating to API version 0.1.29 2012-06-24 19:39:52 +03:00
Adam Lowe 9b4e68cc6b glesys: removing ArchiveDetails (duplicate of Archive) 2012-06-24 19:05:42 +03:00
Adam Lowe b1877bbee5 glesys: bean cleaning, using ConstructorProperties for deserialization (note no serialization annotations as we don't currently serialize any of these beans) 2012-06-24 19:05:42 +03:00
Adam Lowe fd79c479af glesys: adjusting ParserModule - removing support for odd dates (no longer present in api) and adding support for "yes"/"no" Boolean fields 2012-06-24 19:05:42 +03:00
David Ribeiro Alves e9ec08e6a8 addressed some of the issues 2012-06-19 13:58:40 +01:00
Adrian Cole 5ad8d2c1f7 corrected api metadata 2012-06-19 01:21:12 -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 39e21ad652 better name 2012-06-16 19:05:27 -04:00
Adrian Cole 3afdcb66b3 Issue 981:Quiet down jclouds.compute logger 2012-06-16 18:27:29 -04:00
Adrian Cole c9424692ab Issue 734: added implicit key generation for joyent 2012-06-16 18:21:59 -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 05bf76d589 joyent now w/keypair & metadata works in computeservice 2012-06-14 23:28:31 -04:00
Adrian Cole 6cb7829b1b added iso data to joyent 2012-06-14 15:35:12 -04:00
Adrian Cole 4f2232e6da version to joyent image 2012-06-14 15:33:30 -04:00
Kenneth Nagin 3d1a2dd7fa createContainer, deleteContainer, updates to container to parse metadata and accompany testcases.
Added handling of null ObjectName.
2012-06-14 10:41:01 -04:00
Andrew Gaul 736554d049 Correct spelling errors 2012-06-14 10:03:39 -04:00
Adrian Cole db086697aa added compute service adapter for joyent 2012-06-13 23:52:57 -04:00
Adrian Cole 4eef8fcfaf added joyentcloud provider= 2012-06-13 19:13:57 -04:00
Adrian Cole 0ec72c4476 added datacenter awareness to joyent-sdc 2012-06-13 19:13:56 -04:00
Adrian Cole 64069236ef Issue 972: add greenqloud-storage as org.jclouds.labs/greenqloud-storage 2012-06-12 23:09:48 -07:00
Adrian Cole 46edf40d40 Issue 972:add greenqloud-compute as org.jclouds.labs/greenqloud-compute 2012-06-12 23:09:11 -07:00
David Ribeiro Alves 022ca3bfd8 filtering out nodes that do not apply to the pool 2012-06-12 11:17:17 -07:00
Adrian Cole dcad558752 Issue 966: removed pid bracketing 2012-06-08 17:44:16 -07:00
Adrian Cole 8d700e4e11 renamed rackspace providers 2012-06-08 15:43:23 -07: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 12e57eec53 made admin features optional and url based on adminURL for identity service in catalog 2012-06-07 10:24:58 -07:00
Adrian Cole ee64660f45 changed default login to root 2012-06-07 00:36:00 -07:00
Adrian Cole d7cbb2da8d attempt to clear fuzz from cloudservers 2012-06-07 00:14:48 -07:00
Adrian Cole 5c56e0b9c8 Issue 961:add cloudservers-nova-us 2012-06-06 23:39:09 -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 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 5a3f6011a2 removed junit test dependency 2012-06-03 17:26:57 -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
Adam Lowe e5127ffd9a openstack-quantum: addressing review comments 2012-06-01 23:35:46 +01:00
Adam Lowe c9de23a272 openstack-quantum: addressing review comments - adjusting method names and using @Path and @PathParam on delegate method to simplify PortClient 2012-06-01 22:50:48 +01:00
Adam Lowe c47017e640 openstack-quantum: correcting bundle configuration 2012-06-01 16:06:15 +01:00
Adam Lowe e5c7afa70c openstack-quantum: adding network service for openstack 2012-06-01 16:00:32 +01:00
Adam Lowe 57c11155fb openstack-glance: following example in swift and not extending openstack-common BaseListOptions 2012-05-31 14:43:56 +01:00
Adam Lowe fe53765de0 openstack-glance: documenting multiple vararg usage 2012-05-31 14:19:51 +01:00
Adam Lowe 7de87a1238 openstack-glance: adjusting to allow tests to pass when images have been reserved 2012-05-31 14:09:21 +01:00
Adam Lowe 03267c6e33 openstack-glance: Adding create, reserve, update, upload and delete methods to ImageClient 2012-05-31 13:41:00 +01: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 67d8f9a0f4 image extension related classes under extensions package 2012-05-21 12:39:32 -06:00
Adrian Cole 5c647df129 Issue 938:TemplateBuilderSpec 2012-05-21 02:45:25 -06:00
Adrian Cole bab3852140 Issue 908: list, listInDetail, show, getAsStream 2012-05-18 15:58:51 -07:00
Aled Sage 83c9ecc3d8 Issue 858: moved RetryIfSocketNotYetOpen from compute/ to labs/virtualbox/ 2012-05-17 11:29:30 +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
unknown c4499d8c5e merged 2012-05-16 13:08:48 -07:00
Adrian Cole c63f3119ca formatting and imports 2012-05-15 14:43:29 -07:00
unknown c1d9a7c47c Joyent server and Dataset features 2012-05-15 14:30:44 -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
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
Adam Lowe 305a593d9a vcloud-director: fixing expect tests that were incorrectly passing due to missing requestline check in BaseRestClientExpectTest 2012-05-10 15:24:46 +01:00
David Ribeiro Alves f63c5a44c6 corrected formating issues and added headers 2012-05-10 09:07:12 +01:00
Adrian Cole 743773aeef formatting 2012-05-08 10:14:14 -07:00
Adrian Cole d99c18140e cleanup on vbox 2012-05-07 11:51:29 -07:00
Adrian Cole 057313e512 Merge pull request #609 from grkvlt/vcloud-director-updates
Bugfixes and tidying for vcloud-director and automated test tool
2012-05-04 13:29:48 -07:00
Andrew Donald Kennedy 49e60aa8bc Bugfixes and tidying for vcloud-director and automated test tool 2012-05-04 18:13:50 +01:00
Andrew Gaul b0cd47befb Prefer ImmutableMap for static ErrorCode map
Also mark member as final and fix line wrapping.
2012-05-03 15:39:07 -07: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
Adrian Cole 19390ea87d Merge pull request #602 from andrewgaul/propagate-or-null
Eliminate Throwables2.propagateOrNull
2012-05-02 15:21:30 -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 646f8d8b13 Improve use of Throwables.propagate
Throwing the return value removes some unneeded asserts and return
statements.  Also remove some useless and misspelled propogate
wrappers.
2012-05-02 11:05:22 -07:00
Andrea Turli 96c98be9fd jenkins api: multimaps.for(map) 2012-05-02 09:25:01 +02:00
Andrea Turli fd7c8c06a2 jenkins api: buildWithParameters added 2012-05-01 22:15:45 +02:00
Adrian Cole af65dbbac3 Merge pull request #593 from andrewgaul/string-builder
Prefer unsynchronized StringBuilder
2012-04-30 10:46:21 -07:00
Andrew Gaul 198d19714e Prefer unsynchronized StringBuilder
A few instances remain due to EasyMock and Matcher.
2012-04-30 09:50:18 -07:00
Adrian Cole 6923a11ce7 Merge pull request #579 from danikov/vcloud-director-endpoints-and-predicates
Issue 830: vCloud director functions, endpoints and predicates
2012-04-30 07:59:58 -07:00
Adam Lowe 86e56096a0 Adding links to openstack-keystone admin API documentation 2012-04-30 15:28:58 +01:00
Adam Lowe 8857144dbc Adding openstack-keystone to labs pom 2012-04-30 11:23:18 +01:00
Adam Lowe 7d53e18ed7 Renaming the service client (user operations) ServiceClient to better match up to Keystone documentation 2012-04-30 10:53:50 +01:00
Adam Lowe 10c6d80a39 Fixing javadocs 2012-04-30 10:49:44 +01:00
Adam Lowe 46b7ffa23c Renaming the service client (user operations) ServiceClient to better match up to Keystone documentation 2012-04-30 10:49:31 +01:00
Adam Lowe b6502b13c1 Adding openstack-keystone to expose additional methods available on keystone api 2012-04-30 10:04:05 +01:00
danikov 3a61b143b4 fix default behaviour 2012-04-27 14:39:50 +01:00
danikov 9b7bd20986 fix SectionForVApp usage 2012-04-27 14:39:50 +01:00
danikov ef79f94e1d change to use vm -> node mapping 2012-04-27 14:39:50 +01:00
danikov 401d2f675f cloud director compute functions and predicates 2012-04-27 14:39:50 +01:00
danikov a1e2d6d047 added caching behaviour to link predicates 2012-04-27 14:39:49 +01:00
Andrew Donald Kennedy 4840fdaf3f Add XmlRootElement annotation to Vm 2012-04-26 17:39:05 +01:00
Andrew Donald Kennedy b09f35fa9d Tidyup the AfterClass methods for VApp test groups to ensure environment always cleaned up 2012-04-26 17:39:05 +01:00
Andrew Donald Kennedy a13e63c0ef Add VmClient tests from existing VAppClient tests 2012-04-26 17:39:04 +01:00
Andrew Donald Kennedy 8becbd0394 Create new VmClient and references using existing methods from VAppClient 2012-04-26 17:39:04 +01:00
Matt Stephenson 381851b8ab Remove IPSocket class, replace with Guava's HostAndPort class. 2012-04-25 17:52:01 -07:00
Adrian Cole 98fb68576a first working operation in joyent 2012-04-25 16:29:50 -07:00
Adrian Cole 349d74bfaa Issue 734: skeleton for joyent 2012-04-25 13:50:05 -07:00
Adrian Cole c925539b27 Issue 908: initial skeleton for glance 2012-04-25 13:32:27 -07:00
Andrea Turli 9069ad7136 jenkins lab: added build command to JobClient + Tests 2012-04-25 18:17:05 +02:00
Adrian Cole a03565003f added get job 2012-04-24 23:36:06 -07:00