OK
Tong Li
Emerging Technologies & Standards
Building 501/B205
liton...@us.ibm.com

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

> From: mfoj...@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 <mfoj...@redhat.com>
>
>
> Signed-off-by: Michal fojtik <mfoj...@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
>

Reply via email to