1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
Commit graph

8 commits

Author SHA1 Message Date
Mike Pountney
ef03cb7292 Add query support to tasks model, inc Mock 2014-09-23 19:31:01 +01:00
Paul Thornthwaite
2e0b7e545a Standardise empty lines throughout codebase
Done with `rubocop --auto-correct --only EmptyLineBetweenDefs,EmptyLines,EmptyLinesAroundBody`
2014-05-26 14:20:02 +01:00
Dan Abel
db51bab821 [vcloud_director] fix progress reporting of tasks without progress
Set progress to 0 in tasks that do not have progress prevents the
rendering of the progress of these tasks failing with a nil error.

According to vcloud api "Read-only indicator of task progress as an
approximate percentage between 0 and 100. Not available for all tasks."

http://pubs.vmware.com/vcd-55/index.jsp?topic=%2Fcom.vmware.vcloud.api.reference.doc_55%2Fdoc%2Ftypes%2FTaskType.html
2014-04-09 15:44:13 +01:00
Nick Osborn
353b50acfc [vcloud_director] Do ensure_list in request methods.
Mitigation for Fog::ToHashDocument. This is (still) a short-term fix
until we get to real response parsers.
2013-10-15 14:14:05 +01:00
Nick Osborn
dc2006769b [vcloud_director] Request method renaming.
This renames most request methods in line with page names in the vCloud
API documentation. Previous method names remain as deprecations.
2013-10-01 08:43:28 +01:00
rsalm
3dddaf3863 [vcloud_director] Move ensure_list to VCloudDirector::Collection.
Replace inline wrap implementations in Tasks and Organizations with
ensure_list.
2013-09-20 17:29:46 +03:00
Nick Osborn
13ed21eaa5 [vcloud_director] Improve support for Tasks.
- add Organization#tasks
- add Task#cancel
- rename Task#expirity_time to expiry_time
- Task#progress is an integer
- add missing Task#start_time
- expose Task attributes introduced in 5.1 API
2013-09-10 18:07:36 +01:00
Rodrigo Estebanez
063678f840 Rename Vcloudng to VcloudDirector 2013-08-27 11:19:54 +02:00
Renamed from lib/fog/vcloudng/models/compute/tasks.rb (Browse further)