incubator-deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject svn commit: r1203694 - in /incubator/deltacloud/trunk/server/spec/cimi/data: machine_configuration.json machine_image.json
Date Fri, 18 Nov 2011 15:28:31 GMT
Author: mfojtik
Date: Fri Nov 18 15:28:31 2011
New Revision: 1203694

URL: http://svn.apache.org/viewvc?rev=1203694&view=rev
Log:
CIMI: Fixed properties syntax for JSON to be Hash

Modified:
    incubator/deltacloud/trunk/server/spec/cimi/data/machine_configuration.json
    incubator/deltacloud/trunk/server/spec/cimi/data/machine_image.json

Modified: incubator/deltacloud/trunk/server/spec/cimi/data/machine_configuration.json
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/spec/cimi/data/machine_configuration.json?rev=1203694&r1=1203693&r2=1203694&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/spec/cimi/data/machine_configuration.json (original)
+++ incubator/deltacloud/trunk/server/spec/cimi/data/machine_configuration.json Fri Nov 18
15:28:31 2011
@@ -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" },

Modified: incubator/deltacloud/trunk/server/spec/cimi/data/machine_image.json
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/spec/cimi/data/machine_image.json?rev=1203694&r1=1203693&r2=1203694&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/spec/cimi/data/machine_image.json (original)
+++ incubator/deltacloud/trunk/server/spec/cimi/data/machine_image.json Fri Nov 18 15:28:31
2011
@@ -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" },



Mime
View raw message