Kevin Olbrich
5389f7a21b
update compute with some attributes from api 7.0
2014-01-21 16:24:23 +00:00
Kevin Olbrich
df73f445d7
create instrumentations, handle errors better, get an individual instrumentation
2014-01-21 16:24:22 +00:00
Kevin Olbrich
2150f32b74
add option :joyent_keydata. This allows the key to be read from a file outside of Fog and be passed into the initializer. This way the key data can be stored in something other than a file and still be used.
2014-01-21 16:24:21 +00:00
Carlos Sanchez
1e18b71963
Only HTTPStatusError has request and response
...
Fixes NoMethodError:undefined method 'request' for #<Excon::Errors::SocketError:0x62540a41>
2013-08-29 12:43:14 -07:00
Kevin Chan
815b5dbbd8
Merge remote-tracking branch 'fog/master' into ssh-agent
...
Conflicts:
lib/fog/joyent/compute.rb
2013-06-02 17:34:59 +08:00
Blake Irvin and Eric Saxby
5fc41c8dc2
Add joyent API version and network support GH-1853
...
Adding support for listing networks in the Joyent Cloud.
:joyent_version was defined in a way that it would always
fall back to the default '~6.5'. Creating servers with
a particular network requires setting :joyent_version to '~7.0'
or greater.
2013-06-02 17:28:05 +08:00
Kevin Chan
f0dcb04b91
Fixes for tags for pre7 api, more ssh-agent improvements Refs: kevinykchan/knife-joyent#37
2013-05-20 16:34:10 -07:00
Kevin Chan
ffa3e89ebb
Support for request signing via ssh-agent
2013-05-19 06:28:16 -07:00
Pablo Baños López
386e63855d
Avoids Fog::Compute::Joyent::Real#decode_time_attrs raising an exception when an empty string is returned as created or updated property
2013-05-14 11:35:02 +02:00
Kevin Chan
55c720ba9f
Fixes #39 joyent server resize command requires expected response code
2013-05-06 10:05:38 -07:00
James Herdman
97b16d08d2
Remove absolute path when requiring
2012-05-26 11:27:28 -04:00
Kevin Chan
9229ec04f8
[joyent|compute] Support for DSA keys for auth
...
Certain ruby/openssl versions have issues with DSA key signing, if that is the
case, suggests user to use an RSA key instead.
Fixes #886
2012-05-02 15:22:07 +08:00
Kevin Menard
dcefc2d7de
Fixed #875 : Loosen multi_json version.
2012-04-25 10:31:28 -04:00
Steve Smith
d89dd56fe7
Use MultiJSON #dump and #load rather than #encode and #decode
...
MultiJSON deprecated these methods in 1.3.0 in favour of the new ones.
This requires an update to the gemspec to ensure ~>1.3
2012-04-20 13:09:14 +01:00
Kevin Chan
baf0f445e9
[joyent|compute] Added #list_datacenters
2012-04-10 15:46:57 +08:00
Kevin Chan
d9c2cc0036
cleanups + refactorings + better error reporting per joyent cloudapi spec
2012-02-27 23:14:11 -08:00
Kevin Chan
4ff115c1de
- Fixes tests to run in both mock and non-mock mode
...
- Clean ups and fixes
2012-02-27 17:33:21 -06:00
Kevin Chan
501ad27c0f
Revert "[joyent|compute] make password required"
...
This reverts commit 6e93321e29
.
The reason for reverting this is Joyent's CloudAPI allows authenticating using
either a username/password credential pair OR using a username and SSH private key.
In http-signature authentication scheme, no password is used.
2012-02-27 17:33:20 -06:00
geemus
0d203bb511
[joyent|compute] make password required
2012-02-27 17:33:20 -06:00
Kevin Chan
8d901a0121
Credentials: cloudapi_* -> joyent_* for consistency
2012-02-27 17:33:20 -06:00
Kevin Chan
e403854446
GH-690 Joyent Cloud Provider
...
Squashed from fog/joyent
2012-02-27 17:33:20 -06:00