You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by mf...@redhat.com on 2011/10/27 13:17:22 UTC
[PATCH core 2/8] CIMI: Replaced EOS with regular string in collection description
From: Michal Fojtik <mf...@redhat.com>
Signed-off-by: Michal fojtik <mf...@redhat.com>
---
server/lib/cimi/server.rb | 27 +++++----------------------
1 files changed, 5 insertions(+), 22 deletions(-)
diff --git a/server/lib/cimi/server.rb b/server/lib/cimi/server.rb
index a76fe61..d995f34 100644
--- a/server/lib/cimi/server.rb
+++ b/server/lib/cimi/server.rb
@@ -77,9 +77,7 @@ get "#{settings.root_url}\/?" do
end
global_collection :cloudEntryPoint do
- description <<EOS
- cloud entry point
-EOS
+ description 'Cloud entry point'
operation :index do
description "list all resources of the cloud"
@@ -91,11 +89,7 @@ EOS
end
global_collection :machine_configurations do
-
-
- description <<EOS
-List all machine configurations
-EOS
+ description 'List all machine configurations'
operation :index do
description "List all machine configurations"
@@ -137,11 +131,7 @@ EOS
end
global_collection :machine_images do
-
-
- description <<EOS
-List all machine images
-EOS
+ description 'List all machine images'
operation :index do
description "List all machine configurations"
@@ -185,11 +175,7 @@ EOS
end
global_collection :machines do
-
-
- description <<EOS
-List all machine
-EOS
+ description 'List all machine'
operation :index do
description "List all machines"
@@ -233,10 +219,7 @@ EOS
end
global_collection :volumes do
-
- description <<EOS
-List all volumes
-EOS
+ description 'List all volumes'
operation :index do
description "List all volumes"
--
1.7.4.4
Re: [PATCH core 2/8] CIMI: Replaced EOS with regular string in collection description
Posted by Michal Fojtik <mf...@redhat.com>.
On Oct 27, 2011, at 2:37 PM, Tong Li wrote:
> ACK!
Thanks! Pushed to SVN. (r1189732)
>
> Tong Li
> Emerging Technologies & Standards
> B062/K317
> litong01@us.ibm.com
>
> mfojtik@redhat.com wrote on 10/27/2011 07:17:22 AM:
>
>> From: mfojtik@redhat.com
>> To: deltacloud-dev@incubator.apache.org
>> Date: 10/27/2011 07:18 AM
>> Subject: [PATCH core 2/8] CIMI: Replaced EOS with regular string in
>> collection description
>>
>> From: Michal Fojtik <mf...@redhat.com>
>>
>>
>> Signed-off-by: Michal fojtik <mf...@redhat.com>
>> ---
>> server/lib/cimi/server.rb | 27 +++++----------------------
>> 1 files changed, 5 insertions(+), 22 deletions(-)
>>
>> diff --git a/server/lib/cimi/server.rb b/server/lib/cimi/server.rb
>> index a76fe61..d995f34 100644
>> --- a/server/lib/cimi/server.rb
>> +++ b/server/lib/cimi/server.rb
>> @@ -77,9 +77,7 @@ get "#{settings.root_url}\/?" do
>> end
>>
>> global_collection :cloudEntryPoint do
>> - description <<EOS
>> - cloud entry point
>> -EOS
>> + description 'Cloud entry point'
>>
>> operation :index do
>> description "list all resources of the cloud"
>> @@ -91,11 +89,7 @@ EOS
>> end
>>
>> global_collection :machine_configurations do
>> -
>> -
>> - description <<EOS
>> -List all machine configurations
>> -EOS
>> + description 'List all machine configurations'
>>
>> operation :index do
>> description "List all machine configurations"
>> @@ -137,11 +131,7 @@ EOS
>> end
>>
>> global_collection :machine_images do
>> -
>> -
>> - description <<EOS
>> -List all machine images
>> -EOS
>> + description 'List all machine images'
>>
>> operation :index do
>> description "List all machine configurations"
>> @@ -185,11 +175,7 @@ EOS
>> end
>>
>> global_collection :machines do
>> -
>> -
>> - description <<EOS
>> -List all machine
>> -EOS
>> + description 'List all machine'
>>
>> operation :index do
>> description "List all machines"
>> @@ -233,10 +219,7 @@ EOS
>> end
>>
>> global_collection :volumes do
>> -
>> - description <<EOS
>> -List all volumes
>> -EOS
>> + description 'List all volumes'
>>
>> operation :index do
>> description "List all volumes"
>> --
>> 1.7.4.4
------------------------------------------------------
Michal Fojtik, mfojtik@redhat.com
Deltacloud API: http://deltacloud.org
Re: [PATCH core 2/8] CIMI: Replaced EOS with regular string in collection
description
Posted by Tong Li <li...@us.ibm.com>.
ACK!
Tong Li
Emerging Technologies & Standards
B062/K317
litong01@us.ibm.com
mfojtik@redhat.com wrote on 10/27/2011 07:17:22 AM:
> From: mfojtik@redhat.com
> To: deltacloud-dev@incubator.apache.org
> Date: 10/27/2011 07:18 AM
> Subject: [PATCH core 2/8] CIMI: Replaced EOS with regular string in
> collection description
>
> From: Michal Fojtik <mf...@redhat.com>
>
>
> Signed-off-by: Michal fojtik <mf...@redhat.com>
> ---
> server/lib/cimi/server.rb | 27 +++++----------------------
> 1 files changed, 5 insertions(+), 22 deletions(-)
>
> diff --git a/server/lib/cimi/server.rb b/server/lib/cimi/server.rb
> index a76fe61..d995f34 100644
> --- a/server/lib/cimi/server.rb
> +++ b/server/lib/cimi/server.rb
> @@ -77,9 +77,7 @@ get "#{settings.root_url}\/?" do
> end
>
> global_collection :cloudEntryPoint do
> - description <<EOS
> - cloud entry point
> -EOS
> + description 'Cloud entry point'
>
> operation :index do
> description "list all resources of the cloud"
> @@ -91,11 +89,7 @@ EOS
> end
>
> global_collection :machine_configurations do
> -
> -
> - description <<EOS
> -List all machine configurations
> -EOS
> + description 'List all machine configurations'
>
> operation :index do
> description "List all machine configurations"
> @@ -137,11 +131,7 @@ EOS
> end
>
> global_collection :machine_images do
> -
> -
> - description <<EOS
> -List all machine images
> -EOS
> + description 'List all machine images'
>
> operation :index do
> description "List all machine configurations"
> @@ -185,11 +175,7 @@ EOS
> end
>
> global_collection :machines do
> -
> -
> - description <<EOS
> -List all machine
> -EOS
> + description 'List all machine'
>
> operation :index do
> description "List all machines"
> @@ -233,10 +219,7 @@ EOS
> end
>
> global_collection :volumes do
> -
> - description <<EOS
> -List all volumes
> -EOS
> + description 'List all volumes'
>
> operation :index do
> description "List all volumes"
> --
> 1.7.4.4
>