Commit Graph

1122 Commits

Author SHA1 Message Date
Andrea Turli 22629824aa issue 830: fixed networkConfiguration() private method 2012-08-22 18:27:30 +02:00
Andrea Turli 963edd906b issue 830: fixed tests on VAppApiLiveTest 2012-08-21 19:04:30 +02:00
Andrea Turli 77ae46fef3 issue 830: added VAppTemplateURNToHref conversion to get(String reference) 2012-08-20 16:29:12 +02:00
Adrian Cole aff96befbe refactored Metadata to implement Immutable Map<String, String>; addGroupToOrg GroupApi, MediaApi to use urn 2012-08-19 21:48:04 -07:00
Adrian Cole e016367280 case issue 2012-08-19 20:02:02 -07:00
Adrian Cole 169006b3ed Issue 830: refactored MediaClient to not require href arg; refactored VmApi, VAppApi, VAppTemplateApi to use urn 2012-08-19 19:50:51 -07:00
Adrian Cole cd0aa72ae1 Issue 830: renamed Api methods to be in accordance with vCloud relationship links 2012-08-19 16:46:02 -07:00
Adrian Cole cb844928c0 Issue 830: refactored VdcApi,AdminVdcApi to use urn 2012-08-19 16:08:16 -07:00
Adrian Cole 206af90b77 Issue 830: refactored Org, Network, Task, User apis to support URN; removed 'id' from Reference type 2012-08-19 15:23:20 -07:00
Adrian Cole 9e69626413 Issue 830: Cleaned up CatalogApi and AdminCatalogApi; added logic to use URNs as opposed to Hrefs 2012-08-19 02:34:25 -07:00
Adrian Cole 7fe724db43 Issue 830: add resolveEntity 2012-08-18 22:15:51 -07:00
Andrew Donald Kennedy 8b1a48b2e0 Fix hashCode to include parent Reference id 2012-08-16 22:32:45 +01:00
Adrian Cole 027b3d0d33 removed log4j dep 2012-08-15 22:29:36 -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
Adrian Cole e0ecf3aea1 Merge pull request #782 from grkvlt/openstack
Further OpenStack extensibility changes
2012-08-13 20:14:28 -07: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
Andrea Turli e92b370d51 added VAppNetworksLiveTest 2012-08-13 23:12:59 +02:00
Andrew Donald Kennedy f9a550529d Further OpenStack extensibility changes. Fixing constructors in RestContext classes 2012-08-13 16:18:43 +01:00
Adrian Cole b055fb1233 Merge pull request #780 from grkvlt/openstack
Openstack Extensibility
2012-08-12 09:29:51 -07:00
Andrew Donald Kennedy 2bfa9e0b23 openstack-quantum extensibility 2012-08-12 12:46:25 +01:00
Andrew Donald Kennedy 70fc6f5c52 openstack-swift extensibility 2012-08-12 12:43:55 +01:00
Andrew Donald Kennedy b3121b7889 openstack-glance extensibility 2012-08-12 12:42:22 +01:00
Adrian Cole 1dfd7e2b23 refactoring of smartos-ssh 2012-08-11 22:40:53 -07:00
Nigel Magnay 0bde836ed5 Extend the VmSpecification to allow for all the extra memory settings.
Correct the ComputeServiceAdapter to use information from the template
hardware provider ID to match the correct VmSpecification.

Provide some additional nice default templates.

Signed-off-by: Nigel Magnay <nigel.magnay@gmail.com>
2012-08-11 21:05:45 -07:00
Adrian Cole c7f35d3bb1 removed invalid @Nullable usage and also usage of javax package usage 2012-08-11 20:59:16 -07:00
Andrea Turli 14ab852907 adrian`s comments addressed 2012-08-09 19:41:30 +02:00
Andrea Turli efbaa257e5 added compose and recompose vapp live test 2012-08-09 17:35:18 +02:00
Andrea Turli 9454aeb257 issue 830: fixing vAppTemplateApi*Test, vAppApiLiveTest and vmApiLiveTest 2012-08-06 19:41:30 +02: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 486be5acc4 Issue 1056:create cloudstack-ec2 api 2012-08-02 17:43:38 -07:00
Adrian Cole b416496698 disabled greenqloud compute tests until baseline stuff works 2012-08-02 17:08:11 -07:00
Adrian Cole b478b02bbe switched to binary-based package manager checks 2012-08-01 11:35:10 -07:00
Andrew Gaul ed8319dbae Use consistent and latest version of commons-io
Changelogs:
http://commons.apache.org/io/upgradeto2_0.html
http://commons.apache.org/io/upgradeto2_2.html
http://commons.apache.org/io/upgradeto2_4.html
2012-07-30 10:58:32 -07: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
Adrian Cole 7a23930df6 typo 2012-07-29 16:30:19 -07:00
Nigel Magnay 56d5cf5834 If *not* empty, have IP, not other way around.
Signed-off-by: Nigel Magnay <nigel.magnay@gmail.com>
2012-07-28 16:40:18 +01:00
Andrew Gaul 8ed0e28e68 Spelling corrections 2012-07-26 22:39:35 -07:00
Adrian Cole 2cca4a9c66 added ec2 live tests for clones 2012-07-26 09:25:11 -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 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 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
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
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 00d2ac2df7 Merge branch 'master' of https://github.com/jclouds/jclouds into 1.5.x
* 'master' of https://github.com/jclouds/jclouds:
  Issue 1024:Not possible to create hvm Linux nodes on Amazon
  Remove duplicated hexadecimal conversion code
  Ensure we close streams via InputSupplier methods
  Reduce filesystem and transient differences
  expect tests: removing requirement that requests are unique (so orderedRequestsSendResponses can tee up different responses for the same request when testing functions)
  Initial implementation of controlling SmartOS over SSH connection.
  Harmonize filesystem and transient putBlob
  remove stray @Test on base class as it's causing warnings due to its public non-test methods
  Issue 1011: remove PagedIterator
  Added optional timeout to EC2 listNodes strategy and made awaitCompletion update latch in finally block
  added concat to PagedIterable
2012-07-17 23:17:46 -04: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 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 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 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 e8d31d599b Issue 1014:rename joyent-sdc to joyent-cloudapi 2012-07-10 12:03:00 -07:00
Adrian Cole df2b88402c Issue 1014:rename joyent-sdc to joyent-cloudapi 2012-07-10 12:01:03 -07:00
Adrian Cole 1f085e9e1d merge 2012-07-09 18:14:52 -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