Commit Graph

76 Commits

Author SHA1 Message Date
Adrian Cole dcca748a79 unused imports 2012-09-15 23:48:35 -07:00
Adam Lowe 2f01337b64 nova: issue 971 adding/adjusting builders and applying ConstructorProperties to domain objects 2012-07-30 13:50:00 +01: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 05fd64af44 cleaned up http builders and expect tests 2012-07-15 01:50:38 -07: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 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
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
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
Matt Stephenson 381851b8ab Remove IPSocket class, replace with Guava's HostAndPort class. 2012-04-25 17:52:01 -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 dab1dd69fc fix covariance/assignability in RestContext<? extends Client> subclasses 2012-04-18 15:05:39 -07:00
Adrian Cole 0b59dea073 removed ContextBuilder subclasses; added unwrap; undid generic params 2012-04-16 00:44:20 -07:00
Andrew Donald Kennedy a919985b2b Fix broken build due to ApiMetadata changes 2012-04-12 23:11:00 +01: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 764e0907f7 Issue 657:ApiMetadata 2012-04-01 18:43: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
Chris Strand 8272352f9b Log level of debug for the various parse methods 2012-03-11 00:05:04 +00:00
Adrian Cole 3e5e09f406 formatting bug when image not found 2012-02-14 23:22:24 +01: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
Christophe Hamerling 88c85a8c49 Be able to define adminPass when creating a server 2012-01-23 15:16:33 +01:00
Christophe Hamerling 5c0ca0b7c1 Add access IPs in Server 2012-01-20 12:28:14 +01:00
Christophe Hamerling 9090625b78 Change List to Set in CreateServerOptions and Server 2012-01-17 09:51:47 +01:00
Christophe Hamerling 134b65dbc6 Introduce Security Groups support to Nova 2012-01-16 23:48:15 +01:00
Christophe Hamerling 6c47f43a98 Fix comments and add keyName field in Server class 2012-01-13 12:30:57 +01:00
Christophe Hamerling 03a5a55fcc Adding key name when creating server and floating ip methods 2012-01-12 11:40:27 +01:00
Aled Sage b11a608396 Issue 731: added RetryOnRenew handler to CloudLoadBalancers, Nova and Swift 2012-01-10 17:41:38 -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
Matt Stephenson f50ef6ecfc Add tests for Virtual CPU attribute in Flavor json 2011-12-28 10:46:10 -06:00
Matt Stephenson 481f7a4b2f Refactor Flavor class so that it is immutable 2011-12-28 10:45:34 -06:00
Matt Stephenson dbb7e5fb5d Add vcpus to the flavor entity. 2011-12-27 17:24:55 -06:00
Adrian Cole c418edb140 license header 2011-12-22 02:17:49 -08:00
Adrian Cole 57df10029a cleaned up nova impl 2011-12-22 00:04:31 -08:00
Adrian Cole ca749a2c8b cleaned up nova impl 2011-12-21 23:59:51 -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 8148151b85 Issue 783:HTTP Accept header field contains invalid type (*) 2011-12-19 22:57:52 -08:00
Adrian Cole beb87a2131 Issue 781:update to guava 11.0-rc1 2011-12-14 23:56:50 -08:00
Adrian Cole 4a5af1e7a5 Issue 441: added new type: LoginCredentials, and (jclouds|provider).image.(login-user|authenticate-sudo) context properties 2011-11-21 11:00:12 +02:00
Matt Stephenson 882ae7fc41 Support new nova api 1.1 image and flavor entities on the server entity. As of openstack Diablo, imageref and flavorref no longer exist in the api. 2011-11-09 14:52:54 -06:00
Matt Stephenson 6f97696283 Add server uuid verification to existing unit tests. 2011-11-09 14:52:54 -06:00
Matt Stephenson ae287a97e8 Add ability to use uuid to delete servers using the nova client 2011-11-09 14:52:54 -06:00
Matt Stephenson 393c99561d Fix bug with nova client and Diablo where client sends Accept header that Diablo rejects as unparseable 2011-11-09 14:52:54 -06:00
Matt Stephenson a25c2616cc Add uuid to the nova Server domain object. 2011-11-09 14:52:54 -06:00