deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tong Li <liton...@us.ibm.com>
Subject Re: [PATCH core 3/4] CIMI: Fixed properties syntax for JSON to be Hash
Date Fri, 18 Nov 2011 15:16:06 GMT
OK
Tong Li
Emerging Technologies & Standards
Building 501/B205
litong01@us.ibm.com

mfojtik@redhat.com wrote on 11/18/2011 08:32:32 AM:

> From: mfojtik@redhat.com
> To: deltacloud-dev@incubator.apache.org
> Date: 11/18/2011 08:32 AM
> Subject: [PATCH core 3/4] CIMI: Fixed properties syntax for JSON to be
Hash
>
> From: Michal Fojtik <mfojtik@redhat.com>
>
>
> Signed-off-by: Michal fojtik <mfojtik@redhat.com>
> ---
>  server/spec/cimi/data/machine_configuration.json |    2 +-
>  server/spec/cimi/data/machine_image.json         |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/server/spec/cimi/data/machine_configuration.json b/
> server/spec/cimi/data/machine_configuration.json
> index 7dbd0ae..f106a2d 100644
> --- a/server/spec/cimi/data/machine_configuration.json
> +++ b/server/spec/cimi/data/machine_configuration.json
> @@ -8,7 +8,7 @@
>    "disks" : [
>      { "capacity": { "quantity": "1", "units": "terabyte" } }
>    ],
> -  "properties": [ { "architectore": "i386" } ],
> +  "properties": { "architecture": "i386" },
>    "operations": [
>      { "rel": "edit",
>        "href": "http://cimi.example.org/machine_configurations/1/edit" },
> diff --git a/server/spec/cimi/data/machine_image.json b/server/spec/
> cimi/data/machine_image.json
> index dbd7218..d338517 100644
> --- a/server/spec/cimi/data/machine_image.json
> +++ b/server/spec/cimi/data/machine_image.json
> @@ -4,7 +4,7 @@
>    "description": "Machine Image One",
>    "created": "2011-11-14",
>    "imageLocation": { "href": "nfs://cimi.example.com/images/1.img" },
> -  "properties": [ { "status": "build"}, { "locked": "true" } ],
> +  "properties": { "status": "BUILD", "locked": "true" },
>    "operations": [
>    { "rel": "edit",
>      "href": "http://cimi.example.org/machine_images/1/edit" },
> --
> 1.7.4.4
>
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message