deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject svn commit: r1202678 - in /incubator/deltacloud/trunk/server/spec/cimi/data: machine_configuration.json machine_image.json
Date Wed, 16 Nov 2011 12:50:18 GMT
Author: mfojtik
Date: Wed Nov 16 12:50:17 2011
New Revision: 1202678

URL: http://svn.apache.org/viewvc?rev=1202678&view=rev
Log:
CIMI: Fixed properties format in JSON

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=1202678&r1=1202677&r2=1202678&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/spec/cimi/data/machine_configuration.json (original)
+++ incubator/deltacloud/trunk/server/spec/cimi/data/machine_configuration.json Wed Nov 16
12:50:17 2011
@@ -8,7 +8,7 @@
   "disks" : [
     { "capacity": { "quantity": "1", "units": "terabyte", "format": "ext4", "attachmentPoint":
"/" } }
   ],
-  "properties": [ { "name": "architectore", "value" : "i386" } ],
+  "properties": [ { "architectore": "i386" } ],
   "operations": [
     { "rel": "edit",
       "href": "http://cimi.example.org/machine_images/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=1202678&r1=1202677&r2=1202678&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/spec/cimi/data/machine_image.json (original)
+++ incubator/deltacloud/trunk/server/spec/cimi/data/machine_image.json Wed Nov 16 12:50:17
2011
@@ -4,7 +4,7 @@
   "description": "A image for testing",
   "created": "2011-11-14",
   "imageLocation": { "href": "nfs://cimi.example.com/images/1.img" },
-  "properties": [ { "name": "status", "value": "build"}, { "name": "locked", "value": "true"
} ],
+  "properties": [ { "status": "build"}, { "locked": "true" } ],
   "operations": [
   { "rel": "edit",
     "href": "http://cimi.example.org/machine_images/1/edit" },



Mime
View raw message