[PATCH] Adds CIMI MachineAdmin model and spec/test

2011-11-18 Thread marios
From: marios Signed-off-by: marios --- server/lib/cimi/model.rb |1 + server/lib/cimi/model/machine_admin.rb | 26 + server/spec/cimi/data/machine_admin.json | 14 + server/spec/cimi/data/machine_admin.xml | 10

[jira] [Commented] (DTACLOUD-107) Images not loading with IBM SBC

2011-11-18 Thread Marios Andreou (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13152813#comment-13152813 ] Marios Andreou commented on DTACLOUD-107: - Hmm.. sound like it may be a tim

[jira] [Assigned] (DTACLOUD-107) Images not loading with IBM SBC

2011-11-18 Thread Marios Andreou (Assigned) (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marios Andreou reassigned DTACLOUD-107: --- Assignee: Marios Andreou (was: David Lutterkort) > Images not loading w

[PATCH] Adds CIMI Volume model and spec data/test

2011-11-18 Thread marios
From: marios Signed-off-by: marios --- server/lib/cimi/model.rb |1 + server/lib/cimi/model/volume.rb | 31 server/spec/cimi/data/volume.json | 16 ++ server/spec/cimi/data/volume.xml | 12 +++ server/spec

[jira] [Resolved] (DTACLOUD-106) Realms id not working correctly with IBM SBC

2011-11-17 Thread Marios Andreou (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marios Andreou resolved DTACLOUD-106. - Resolution: Fixed resolved by commit r1203146

[jira] [Closed] (DTACLOUD-106) Realms id not working correctly with IBM SBC

2011-11-17 Thread Marios Andreou (Closed) (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marios Andreou closed DTACLOUD-106. --- > Realms id not working correctly with IBM

[jira] [Commented] (DTACLOUD-106) Realms id not working correctly with IBM SBC

2011-11-17 Thread Marios Andreou (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151983#comment-13151983 ] Marios Andreou commented on DTACLOUD-106: - great, pushing the change

[jira] [Updated] (DTACLOUD-106) Realms id not working correctly with IBM SBC

2011-11-17 Thread Marios Andreou (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marios Andreou updated DTACLOUD-106: Attachment: 0001-Fix-filtering-of-realms-for-sbc-driver.patch minor addition of

[jira] [Assigned] (DTACLOUD-106) Realms id not working correctly with IBM SBC

2011-11-17 Thread Marios Andreou (Assigned) (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marios Andreou reassigned DTACLOUD-106: --- Assignee: Marios Andreou (was: Michal Fojtik) > Realms id not work

[jira] [Commented] (DTACLOUD-106) Realms id not working correctly with IBM SBC

2011-11-17 Thread Marios Andreou (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151919#comment-13151919 ] Marios Andreou commented on DTACLOUD-106: - Looks like we forgot to filte

[PATCH] Fix filtering of realms for sbc driver

2011-11-17 Thread marios
From: marios https://issues.apache.org/jira/browse/DTACLOUD-106 Signed-off-by: marios --- server/lib/deltacloud/drivers/sbc/sbc_driver.rb |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/server/lib/deltacloud/drivers/sbc/sbc_driver.rb b/server/lib/deltacloud/drivers

[PATCH] CIMI MachineAdmin model and spec

2011-11-16 Thread marios
From: marios Signed-off-by: marios --- server/lib/cimi/model.rb |1 + server/lib/cimi/model/machine_admin.rb | 26 +++ server/spec/cimi/data/machine_admin.json | 14 server/spec/cimi/data/machine_admin.xml | 10 +++ server/spec/cimi/model

CIMI Machine Admin model

2011-11-16 Thread marios
meant to extend the spec using the EntityMetadata to define the type of MachineAdmin attributes they expect. The examples xml and json included here have username/password, marios

[PATCH] Rename 'capitalize' in core-ext/string.rb to 'upcase_first'

2011-11-16 Thread marios
From: marios Used as part of CIMI schema class, but causes naming conflict with Ruby's own 'capitalize': https://issues.apache.org/jira/browse/DTACLOUD-104 Signed-off-by: marios --- server/lib/cimi/model/schema.rb |4 ++-- server/lib/deltacloud/core_ext/string.

[PATCH] Remove capitalize from core-ext/string.rb ... to address JIRA DTACLOUD104

2011-11-15 Thread marios
From: marios https://issues.apache.org/jira/browse/DTACLOUD-104 May be a typo but not sure what the intended behaviour was here. Ruby already provides a capitalize ("String" from "STRING" or "sTRiNG") and also an 'upcase' ("STRING"

[jira] [Commented] (DTACLOUD-104) Deltcloud API throws "uninitialized constant Net::HTTP::GET" Exception when clicking on the Buckets module for EC2 setup

2011-11-15 Thread Marios Andreou (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13150431#comment-13150431 ] Marios Andreou commented on DTACLOUD-104: - traced problem to a recent co

[jira] [Commented] (DTACLOUD-104) Deltcloud API throws "uninitialized constant Net::HTTP::GET" Exception when clicking on the Buckets module for EC2 setup

2011-11-15 Thread Marios Andreou (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13150409#comment-13150409 ] Marios Andreou commented on DTACLOUD-104: - update: [marios@name net]$

[jira] [Commented] (DTACLOUD-104) Deltcloud API throws "uninitialized constant Net::HTTP::GET" Exception when clicking on the Buckets module for EC2 setup

2011-11-15 Thread Marios Andreou (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13150362#comment-13150362 ] Marios Andreou commented on DTACLOUD-104: - i'm looking at this. fro

[jira] [Assigned] (DTACLOUD-104) Deltcloud API throws "uninitialized constant Net::HTTP::GET" Exception when clicking on the Buckets module for EC2 setup

2011-11-15 Thread Marios Andreou (Assigned) (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marios Andreou reassigned DTACLOUD-104: --- Assignee: Marios Andreou (was: David Lutterkort) > Deltcloud API thr

[PATCH] Add new us-west-2 (Oregon) endpoints for ec2 driver

2011-11-10 Thread marios
From: marios Signed-off-by: marios --- server/config/drivers/ec2.yaml |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/server/config/drivers/ec2.yaml b/server/config/drivers/ec2.yaml index 9e6f150..3073c1f 100644 --- a/server/config/drivers/ec2.yaml +++ b/server

[PATCH] Lower bound version of fog - earlier versions didn't support google as a storage provider

2011-11-09 Thread marios
From: marios Signed-off-by: marios --- server/deltacloud-core.gemspec |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/server/deltacloud-core.gemspec b/server/deltacloud-core.gemspec index 8bcefa4..27acfe0 100644 --- a/server/deltacloud-core.gemspec +++ b/server

[PATCH 3/3] Monkey patch fix for VCR normalisation code

2011-11-08 Thread marios
From: marios Needed in order to run google unit tests - see https://github.com/myronmarston/vcr/issues/101 Signed-off-by: marios --- server/tests/drivers/google/setup.rb | 25 + 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/server/tests/drivers

[PATCH 2/3] Unit tests for google storage driver

2011-11-08 Thread marios
From: marios Signed-off-by: marios --- server/Rakefile|4 +- server/tests/common.rb | 44 .../common_fixtures/deltacloud_blob_test.png | Bin 0 -> 24436 bytes server/tests/drivers/google/api_test

[PATCH 1/3] Fixes for google storage driver - blob metadata listing and valid_credentials method

2011-11-08 Thread marios
From: marios Signed-off-by: marios --- .../lib/deltacloud/drivers/google/google_driver.rb | 12 +++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/server/lib/deltacloud/drivers/google/google_driver.rb b/server/lib/deltacloud/drivers/google/google_driver.rb index

Unit tests Google Storage - v3

2011-11-08 Thread marios
er that came up when writing the tests$ Patch 2/3 contains the unit tests and vcr recordings. Invoke the tests by 'cd /path/to/deltacloud/server; rake test:google' Patch 3/3 contains the monkey patch for VCR body normalisation (we need to keep this for now - see https://github.com/myronmarston/vcr/issues/101) marios

[PATCH 3/3] Monkey patch fix for VCR normalisation code in order to run google unit tests - will remove once this is fixed in vcr

2011-11-02 Thread marios
From: marios Signed-off-by: marios --- server/tests/drivers/google/setup.rb | 22 ++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/server/tests/drivers/google/setup.rb b/server/tests/drivers/google/setup.rb index ac6bacd..abb48da 100644 --- a/server

[PATCH 1/3] Fixes for google storage driver - blob metadata listing and valid_credentials method

2011-11-02 Thread marios
From: marios Signed-off-by: marios --- .../lib/deltacloud/drivers/google/google_driver.rb | 12 +++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/server/lib/deltacloud/drivers/google/google_driver.rb b/server/lib/deltacloud/drivers/google/google_driver.rb index

[PATCH 2/3] Unit tests for google storage driver

2011-11-02 Thread marios
From: marios Signed-off-by: marios --- server/Rakefile|4 +- server/tests/common.rb | 37 +++ .../common_fixtures/deltacloud_blob_test.png | Bin 0 -> 24436 bytes server/tests/drivers/google/api_test

Unit tests Google Storage - v2

2011-11-02 Thread marios
vcr recordings. Invoke the tests by 'cd /path/to/deltacloud/server; rake test:google' Patch 3/3 contains the monkey patch for VCR body normalisation original patch series introduction message follows for convenience marios ===[original patch series in

[PATCH 2/2] Unit tests for google storage driver

2011-11-02 Thread marios
From: marios Signed-off-by: marios --- server/Rakefile|4 +- server/tests/common.rb | 37 +++ .../common_fixtures/deltacloud_blob_test.png | Bin 0 -> 24436 bytes server/tests/drivers/google/api_test

[PATCH 1/2] Fixes for google storage driver - blob metadata listing and valid_credentials method

2011-11-02 Thread marios
From: marios Signed-off-by: marios --- .../lib/deltacloud/drivers/google/google_driver.rb | 12 +++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/server/lib/deltacloud/drivers/google/google_driver.rb b/server/lib/deltacloud/drivers/google/google_driver.rb index

Unit tests Google Storage

2011-11-02 Thread marios
had to change the normalisation code: >From 5ad2e93a1c0d38164953b0845b83e141ddd9b494 Mon Sep 17 00:00:00 2001 From: marios Date: Wed, 2 Nov 2011 11:17:14 +0200 Subject: [PATCH] Fix normaliser - don't normalise body when body is a tempfile --- lib/vcr/structs/normalizers/body.rb |2 +- 1 files changed, 1 inserti

[PATCH] Fix for bugzilla 725646

2011-11-01 Thread marios
From: marios https://bugzilla.redhat.com/show_bug.cgi?id=725646 When you create a bucket in the default region 'us-east-1', specifying the bucket location as 'us-east-1' causes S3 to return an error. Check if location is 'us-east-1' and if so remove this param bef

Drop us-east-1 location parameter when creating S3 bucket

2011-11-01 Thread marios
1' to S3, when using the s3.amazonaws.com endpoint (us-east) causes S3 to fail the operation. Go figure. (hey, I'm just the messenger here). See http://docs.amazonwebservices.com/general/latest/gr/index.html?rande.html for more (look for 'Amazon Simple Storage Service') marios

[PATCH 2/3] Fix typo in rackspace bucket conversion (was missing bucket size)

2011-10-20 Thread marios
From: marios Signed-off-by: marios --- .../drivers/rackspace/rackspace_driver.rb |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/server/lib/deltacloud/drivers/rackspace/rackspace_driver.rb b/server/lib/deltacloud/drivers/rackspace/rackspace_driver.rb

[PATCH 1/3] Typo in rhevm api unit test

2011-10-20 Thread marios
From: marios Signed-off-by: marios --- server/tests/drivers/rhevm/api_test.rb |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/server/tests/drivers/rhevm/api_test.rb b/server/tests/drivers/rhevm/api_test.rb index 0f45c16..eea249e 100644 --- a/server/tests/drivers

rackspace unit tests: buckets + all new vcr episodes

2011-10-20 Thread marios
git gave me the 'line longer than 998 chars' error) - I can assure you this is not in the code but only in the yaml. You might have to disable any whitespace hooks/rules if you cannot apply, marios

[jira] [Updated] (DTACLOUD-95) EC2: report arch i386 for t1.micro even if instance is x86_64

2011-10-14 Thread Marios Andreou (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-95?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marios Andreou updated DTACLOUD-95: --- Attachment: 0001-Fix-for-Jira-DTACLOUD-95-t1.micro-hwp-instances-and-.patch I'm ass

[PATCH] Fix for Jira DTACLOUD-95 (t1.micro hwp instances and architecture)

2011-10-14 Thread marios
From: marios Signed-off-by: marios --- server/lib/deltacloud/drivers/ec2/ec2_driver.rb | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/server/lib/deltacloud/drivers/ec2/ec2_driver.rb b/server/lib/deltacloud/drivers/ec2/ec2_driver.rb index 22eaa5d..753a2aa

[jira] [Assigned] (DTACLOUD-95) EC2: report arch i386 for t1.micro even if instance is x86_64

2011-10-14 Thread Marios Andreou (Assigned) (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-95?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marios Andreou reassigned DTACLOUD-95: -- Assignee: Marios Andreou (was: Michal Fojtik) > EC2: report arch i386 for

[PATCH] Adds ap-northeast-1 endpoint for ec2 driver yaml

2011-10-11 Thread marios
From: marios Signed-off-by: marios --- server/config/drivers/ec2.yaml |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/server/config/drivers/ec2.yaml b/server/config/drivers/ec2.yaml index 0840558..9e6f150 100644 --- a/server/config/drivers/ec2.yaml +++ b/server

[PATCH] Adds google storage driver for google storage API v.1

2011-09-23 Thread marios
From: marios Signed-off-by: marios --- server/config/drivers/google.yaml |3 + .../lib/deltacloud/drivers/google/google_driver.rb | 227 server/lib/deltacloud/helpers/blob_stream.rb |1 + 3 files changed, 231 insertions(+), 0 deletions

google-storage driver rc1

2011-09-23 Thread marios
driver for google-storage. Implements all blob/bucket operations including our existing solutions for streaming up/down. Uses Wesley Beary's fog to talk to google (https://github.com/geemus/fog). Driver can be invoked with deltacloudd -i google NOTE: This driver is for google storage API

Update dependencies, .gemspec Gemfile rc2

2011-09-12 Thread marios
se check that the versions here are sane - nothing exploding/complaining/broken. If happy, I commit and then our the next gem we release (in theory 0.4 soon) will come with 'everything' (ie gem install will give users all dependencies), marios

[PATCH] Fix dependency situation. gemspec contains all you need to run deltacloud+talk to clouds. Gemfile contains all you need to develop/test.

2011-09-12 Thread marios
From: marios Signed-off-by: marios --- server/Gemfile | 59 ++- server/Gemfile.lock| 157 ++-- server/deltacloud-core.gemspec | 24 +-- 3 files changed, 111 insertions(+), 129 deletions(-) diff --git a

Site Docs Update - rc1

2011-09-09 Thread marios
n 998 chars' so I had to use the --no-validate option to get around it. If you have problems applying please let me know and I'll resend without the /output (though you will then have to run webby yourself to see the actual site html), marios

[PATCH] Fix dependency situation. gemspec contains all you need to run deltacloud+talk to clouds. Gemfile contains all you need to develop/test.

2011-09-01 Thread marios
From: marios Signed-off-by: marios --- server/Gemfile | 62 ++- server/Gemfile.lock| 160 ++-- server/deltacloud-core.gemspec | 26 +-- 3 files changed, 116 insertions(+), 132 deletions(-) diff --git a

Update dependencies, .gemspec Gemfile

2011-09-01 Thread marios
/issues/34 * I added this to the Gemfile: gem "linecache", ">= 0.3", "< 0.46" ===> BECAUSE: of this wonder: https://gist.github.com/1034765 *gem "rspec", "< 1.3.1" ===> because rspec has/is dropping support for 1.8.6 altogether http://www.ruby-forum.com/topic/2409252 marios

[PATCH 1/3] Updates the REST API to clarify use of application/x-www-form-urlencoded or application/form-data content types for POST operations. Examples are updated to use urlencoded where appropriat

2011-08-31 Thread marios
From: marios Signed-off-by: marios --- site/content/api.mdown | 359 1 files changed, 243 insertions(+), 116 deletions(-) diff --git a/site/content/api.mdown b/site/content/api.mdown index 757332f..a59511d 100644 --- a/site/content/api.mdown

[PATCH 3/3] INCOMPLETE! Updates Site docs - information for developers

2011-08-31 Thread marios
From: marios Signed-off-by: marios --- site/content/_navigation.haml |2 +- site/content/contribute.mdown | 101 --- site/content/developers.mdown | 106 + site/content/roadmap.mdown|9 +-- 4 files

[PATCH 2/3] Updates Site docs - easy Download/Get started instructions, with examples using the ruby client, deltacloudc, and curl. Also updated contact information page for project.

2011-08-31 Thread marios
From: marios Signed-off-by: marios --- site/content/_drivers.mdown|3 +- site/content/_navigation.haml |5 +- site/content/_providers.haml |4 +- site/content/contact.mdown | 30 site/content/documentation.haml

Site docs update - work in progress

2011-08-31 Thread marios
s work is still in progress so all comments are very welcome and helpful, marios

Clarify API Docs on use of multipart/form-data

2011-08-22 Thread marios
Deltacloud API accepts request parameters for POST operations as either multipart/form-data or application/x-www-form-urlencoded. Current API Docs show all examples with multipart/form-data. This patch clarifies that urlencoded parameters can also be used for POST operations, marios

[PATCH] Clarify the optional use of application/x-www-form-urlencoded for POST operation parameters in the Deltacloud API Docs (site).

2011-08-22 Thread marios
From: marios Signed-off-by: marios --- site/content/api.mdown | 105 +-- 1 files changed, 82 insertions(+), 23 deletions(-) diff --git a/site/content/api.mdown b/site/content/api.mdown index 6fbed21..39e334a 100644 --- a/site/content/api.mdown

[PATCH 2/3] Restores explicit route for getting the 'new_blob' form. A naming clash with GET /api/buckets/:bucket/:blob meant that the 'new_blob' operation under buckets collection was never triggered

2011-08-19 Thread marios
From: marios Signed-off-by: marios --- server/server.rb | 18 -- 1 files changed, 8 insertions(+), 10 deletions(-) diff --git a/server/server.rb b/server/server.rb index 231a89e..e302331 100644 --- a/server/server.rb +++ b/server/server.rb @@ -786,6 +786,14 @@ put

[PATCH 1/3] Replace 'blob' with 'blob_id' in create blob operation Change also made to API docs for site with reference to 'blob' parameter in POST create blob.

2011-08-19 Thread marios
From: marios Signed-off-by: marios --- client/lib/client_bucket_methods.rb |2 +- server/server.rb|2 +- server/views/blobs/new.html.haml|2 +- site/content/api.mdown |8 4 files changed, 7 insertions(+), 7 deletions(-) diff --git

[PATCH 3/3] Fix new blob form to work with jquery mobile - metadata params weren't being captured and have to disable ajax for file upload to work correctly.

2011-08-19 Thread marios
From: marios Signed-off-by: marios --- server/views/blobs/new.html.haml | 29 +++-- 1 files changed, 15 insertions(+), 14 deletions(-) diff --git a/server/views/blobs/new.html.haml b/server/views/blobs/new.html.haml index abfe24e..93cd9c7 100644 --- a/server/views

Fix breaks in blob creation via html interface

2011-08-19 Thread marios
f files - after a couple hours of frustrated head-meet-wall I found this: http://forum.jquery.com/topic/jquery-mobile-seems-to-clobber-ability-to-upload-files-via-forms So I disabled ajax for this particular form and now functionality is restored, marios

Update REST API docs for website

2011-07-29 Thread marios
Patch contains the updated REST API docs for the website in /deltacloud/site/content/api.mdown. You need to run webby in /deltacloud/site and you can see the output in /deltacloud/site/output.html. marios

[PATCH] Better response for the storage_volume attach and detach operations

2011-07-28 Thread marios
From: marios Signed-off-by: marios --- server/server.rb | 23 ++- 1 files changed, 18 insertions(+), 5 deletions(-) diff --git a/server/server.rb b/server/server.rb index f1a03f0..f4232fc 100644 --- a/server/server.rb +++ b/server/server.rb @@ -623,8 +623,15

Fix response codes for attach/detach storage volumes

2011-07-28 Thread marios
The attach/detach operations for storage volumes were redirecting to the storage_volume collection. I think 202 Accepted is a better response - state of the volume is still uncertain ('unkown' reported) hence the 202? marios

[PATCH] Fix typo in EC2 stop instance. No matter which instance you stopped you would always get the details of the first intance in the list returned.

2011-07-28 Thread marios
From: marios Signed-off-by: marios --- server/lib/deltacloud/drivers/ec2/ec2_driver.rb |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/server/lib/deltacloud/drivers/ec2/ec2_driver.rb b/server/lib/deltacloud/drivers/ec2/ec2_driver.rb index 67a4de4..c73c4cd 100644

EC2 destroy_instance typo

2011-07-28 Thread marios
minor typo in ec2 driver destroy_instance. No matter which instance you stopped the method always returned the details of first instance in instances list, marios

[PATCH] Minor typo in conversion of EC2 loadbalancer (wasn't capturing the attached instance IDs correctly)

2011-07-28 Thread marios
From: marios Signed-off-by: marios --- server/lib/deltacloud/drivers/ec2/ec2_driver.rb |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/server/lib/deltacloud/drivers/ec2/ec2_driver.rb b/server/lib/deltacloud/drivers/ec2/ec2_driver.rb index 67a4de4..36f8746 100644

Typo in EC2 load balancer conversion

2011-07-28 Thread marios
$subject (ids of all instances attached to load balancer were being reported as whatever the id of the first instance in instances list was) marios

[PATCH] Various bug fixes for Gogrid:

2011-07-28 Thread marios
From: marios * fixes issue with realms (first realm was always reported as we weren't filtering for :id) * load_balancer parameters weren't being captured correctly (inconsistency in naming from server.rb required parameters) * adds load_balancer listener if there are no instanc

Bug fixes for Gogrid driver

2011-07-28 Thread marios
e the load balancer listening port) marios

[PATCH] Fix to deltacloud ruby client so that it accepts the 'bucket_location' parameter in the 'create_bucket' method.

2011-07-28 Thread marios
From: marios Addresses bug https://bugzilla.redhat.com/show_bug.cgi?id=725646 client.create_bucket('id'=>"imagesbucket", 'bucket_location'=>"us-west-1") Signed-off-by: marios --- client/bin/deltacloudc |

Fix for bugzilla 725646

2011-07-28 Thread marios
html?rande.html (see Amazon Simple Storage Service) marios

Firewall create rule parameter consistency

2011-07-27 Thread marios
documentation and operation potentially confusing), marios

[PATCH] Restore consistency in create firewall rule parameters... port range is specified with 'port_from' and 'port_to' (removes instances of 'from_port'/'to_port')

2011-07-27 Thread marios
From: marios Signed-off-by: marios --- server/lib/deltacloud/drivers/ec2/ec2_driver.rb |2 +- server/server.rb|4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server/lib/deltacloud/drivers/ec2/ec2_driver.rb b/server/lib

[PATCH] Fix typo in XML for EC2 create_key (extraneous tag added)+single trailing whitespace

2011-07-26 Thread marios
From: marios Signed-off-by: marios --- .../lib/deltacloud/helpers/application_helper.rb |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/lib/deltacloud/helpers/application_helper.rb b/server/lib/deltacloud/helpers/application_helper.rb index ebfcf35

Mior typo in key XML

2011-07-26 Thread marios
Minor typo in key XML. application_helper was adding an extra tag in render_cdata so in EC2 create key you got THE_KEY. marios

Current version of API Docs - still work_in_progress

2011-07-22 Thread marios
re, you need to run 'webby' in /path/to/deltacloud/site and the api will be in /path/to/deltacloud/site/output/api2.html (not linked from the Docs, you need to explicitly open it) marios

[PATCH] Adds destroy_image for rackspace driver

2011-07-21 Thread marios
From: marios Signed-off-by: marios --- .../drivers/rackspace/rackspace_driver.rb | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/server/lib/deltacloud/drivers/rackspace/rackspace_driver.rb b/server/lib/deltacloud/drivers/rackspace

Adds destroy_image for Rackspace

2011-07-21 Thread marios
"#{subject}"

[PATCH] Fix typo in html interface for index of images - filter by 'owner_id'

2011-07-20 Thread marios
From: marios Signed-off-by: marios --- server/views/images/index.html.haml |2 +- server/views/images/show.html.haml |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/views/images/index.html.haml b/server/views/images/index.html.haml index b9ef869..b355588

Typo in html interface for images - filter owner_id

2011-07-20 Thread marios
Fix typo in links to filtering by owner_id in the html interface, marios

[PATCH] Fix typo in EC2 driver 'convert_image' (image[:state] ==> image[:aws_state]) and remove trailing whitespace in image model.

2011-07-20 Thread marios
From: marios Signed-off-by: marios --- server/lib/deltacloud/drivers/ec2/ec2_driver.rb |2 +- server/lib/deltacloud/models/image.rb |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/lib/deltacloud/drivers/ec2/ec2_driver.rb b/server/lib/deltacloud

Fix typo in EC2 driver

2011-07-20 Thread marios
Fixes minor typo in EC2 driver (+single trailing whitespace) State of an image is in 'image[:aws_state]' rather than 'image[:state]' so the state of images was being captured as nil, marios

[PATCH] REST API update - WORK IN PROGRESS DO NOT COMMIT

2011-07-15 Thread marios
From: marios Signed-off-by: marios --- site/content/api2.mdown | 1005 +++ 1 files changed, 1005 insertions(+), 0 deletions(-) create mode 100644 site/content/api2.mdown diff --git a/site/content/api2.mdown b/site/content/api2.mdown new file mode

REST API docs - IN PROGRESS and request for comments

2011-07-15 Thread marios
tructions' - right now I'm thinking about a 'How to contribute - dev setup' section (setting up git, basic git workflow how to make patches, send them etc etc) and then also a 'Guidelines for a new driver'. Anything else that might be useful? thanks, marios

[PATCH] Fix response codes for get/set blob metadata. Both these calls do not return a message body, so status should be 204 No Content.

2011-07-15 Thread marios
From: marios Signed-off-by: marios --- server/server.rb |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/server/server.rb b/server/server.rb index 294cf05..5183542 100644 --- a/server/server.rb +++ b/server/server.rb @@ -795,6 +795,10 @@ head "#{Si

Fix response codes for get/set blob metadata (200==>204)

2011-07-15 Thread marios
Get and set blob metadata do not return a message body. Rather they return the blob metadata (either existing or updated) in the X-Deltacloud-Blobmeta headers. Thus I think the response code should be 204 No Content rather than 200 OK. marios

[PATCH] Adds get and update blob metadata for ec2 driver:

2011-07-14 Thread marios
From: marios Signed-off-by: marios --- server/lib/deltacloud/drivers/ec2/ec2_driver.rb | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/server/lib/deltacloud/drivers/ec2/ec2_driver.rb b/server/lib/deltacloud/drivers/ec2/ec2_driver.rb index 45032d6

Adds get/set blob metadata for ec2 driver

2011-07-14 Thread marios
eta-KEY:Value X-Deltacloud-Blobmeta-Version:2.1 marios

[PATCH] Restores delete firewall rule semantics:

2011-07-11 Thread marios
From: marios DELETE /api/firewalls/:firewall/:rule_id Also, exposes URI for each firewall rule in returned XML. Signed-off-by: marios --- server/lib/deltacloud/drivers/ec2/ec2_driver.rb |2 +- server/server.rb| 31 ++ server/views

Restore firewall rule delete semantics

2011-07-11 Thread marios
l/:rule_id), you can use the firewall_rule URI to delete the given rule (i.e. DELETE /api/firewalls/:firewall/:rule_id), thanks to Chris Lalancette for bringing this up, marios

[PATCH] Restores delete firewall rule semantics:

2011-06-27 Thread marios
From: marios DELETE /api/firewalls/:firewall/:rule_id Signed-off-by: marios --- server/lib/deltacloud/drivers/ec2/ec2_driver.rb |2 +- server/server.rb| 31 ++ server/views/firewalls/show.html.haml |3 +- 3 files changed

Restore firewall rule delete semantics

2011-06-27 Thread marios
bringing this up, marios

[PATCH 4/4] Adds client unit tests for keys (for mock driver)

2011-06-24 Thread marios
From: marios Signed-off-by: marios --- client/specs/initialization_spec.rb |3 +- client/specs/keys_spec.rb | 97 +++ 2 files changed, 99 insertions(+), 1 deletions(-) create mode 100644 client/specs/keys_spec.rb diff --git a/client/specs

[PATCH 3/4] Adds client unit tests for buckets blobs (for mock driver)

2011-06-24 Thread marios
From: marios Signed-off-by: marios --- client/specs/buckets_spec.rb| 147 +++ client/specs/initialization_spec.rb |1 + 2 files changed, 148 insertions(+), 0 deletions(-) create mode 100644 client/specs/buckets_spec.rb diff --git a/client/specs

[PATCH 2/4] [minor] Fix typo in client bucket method params

2011-06-24 Thread marios
From: marios Signed-off-by: marios --- client/lib/client_bucket_methods.rb |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/lib/client_bucket_methods.rb b/client/lib/client_bucket_methods.rb index cc7dcff..edca0a7 100644 --- a/client/lib

[PATCH 1/4] Update/Fix failing client unit tests

2011-06-24 Thread marios
From: marios Signed-off-by: marios --- client/specs/hardware_profiles_spec.rb |4 ++-- client/specs/instances_spec.rb |8 +--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/client/specs/hardware_profiles_spec.rb b/client/specs/hardware_profiles_spec.rb

Client Unit Tests for Mock Driver

2011-06-24 Thread marios
dits and fixes to previously failing tests --> 2/4 a minor typo in client blobstore methods --> 3/4 adds the new unit tests for buckets/blobs --> 4/4 the unit tests for keys collection marios

[PATCH] Implements firewall support for ec2 instances

2011-06-17 Thread marios
From: marios Signed-off-by: marios --- server/lib/deltacloud/base_driver/features.rb |2 +- server/lib/deltacloud/drivers/ec2/ec2_driver.rb |6 -- server/lib/deltacloud/models/instance.rb|1 + server/server.rb|1 + server/views

firewall support for ec2 instances

2011-06-17 Thread marios
21 and place it into firewalls 'default' and 'test'. EC2 does not support 'moving' an instance between firewalls once it's launched so this functionality was not implemented (http://aws.amazon.com/articles/1145?_encoding=UTF8&jiveRedirect=1#13) marios

[PATCH 2/2] [minor] Fix typo in create blob and remove whitespace

2011-06-16 Thread marios
From: marios Signed-off-by: marios --- .../drivers/rackspace/rackspace_driver.rb |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/lib/deltacloud/drivers/rackspace/rackspace_driver.rb b/server/lib/deltacloud/drivers/rackspace/rackspace_driver.rb

Blob streaming PUT for Rax

2011-06-16 Thread marios
a-Name:mariosblob' -H 'X-Deltacloud-Blobmeta-Version:niceone' -H 'X-Deltacloud-Blobmeta-Author:me' -iv --upload-file "/home/marios/Desktop/larger.txt" --user 'rax_user:rax_key' http://localhost:3001/api/buckets/thebucket_name/the_new_blob_name?forma

[PATCH 1/2] Adds streaming PUT blob for rax (initialise the http,request objects for use with the BlobStreamIO class)

2011-06-16 Thread marios
From: marios Signed-off-by: marios --- .../drivers/rackspace/rackspace_driver.rb | 28 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/server/lib/deltacloud/drivers/rackspace/rackspace_driver.rb b/server/lib/deltacloud/drivers/rackspace

  1   2   >