deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dko...@apache.org
Subject git commit: Mock: advertise start/stop operations on cimi system
Date Mon, 08 Apr 2013 11:50:52 GMT
Updated Branches:
  refs/heads/master 64a8da06f -> 678f9e2d2


Mock: advertise start/stop operations on cimi system


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/678f9e2d
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/678f9e2d
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/678f9e2d

Branch: refs/heads/master
Commit: 678f9e2d2b55a7a3b5e095b55d17f08d24a2a71a
Parents: 64a8da0
Author: Dies Koper <diesk@fast.au.fujitsu.com>
Authored: Fri Apr 5 00:25:28 2013 +1100
Committer: Dies Koper <diesk@fast.au.fujitsu.com>
Committed: Mon Apr 8 21:50:30 2013 +1000

----------------------------------------------------------------------
 .../drivers/mock/data/cimi/system/system1.json     |    1 +
 .../drivers/mock/data/cimi/system/system2.json     |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/678f9e2d/server/lib/deltacloud/drivers/mock/data/cimi/system/system1.json
----------------------------------------------------------------------
diff --git a/server/lib/deltacloud/drivers/mock/data/cimi/system/system1.json b/server/lib/deltacloud/drivers/mock/data/cimi/system/system1.json
index 0e9ec8b..f921632 100644
--- a/server/lib/deltacloud/drivers/mock/data/cimi/system/system1.json
+++ b/server/lib/deltacloud/drivers/mock/data/cimi/system/system1.json
@@ -4,6 +4,7 @@
   "created": "Fri Feb 08 15:25:41 EET 2013",
   "state": "STOPPED",
   "operations": [
+    { "rel": "http://schemas.dmtf.org/cimi/1/action/start", "href": "http://cimi.example.org/systems/system1/start"
},
     { "rel": "edit", "href": "http://cimi.example.org/systems/system1" },
     { "rel": "delete", "href": "http://cimi.example.org/systems/system1" }
   ]

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/678f9e2d/server/lib/deltacloud/drivers/mock/data/cimi/system/system2.json
----------------------------------------------------------------------
diff --git a/server/lib/deltacloud/drivers/mock/data/cimi/system/system2.json b/server/lib/deltacloud/drivers/mock/data/cimi/system/system2.json
index 1c698e3..208feca 100644
--- a/server/lib/deltacloud/drivers/mock/data/cimi/system/system2.json
+++ b/server/lib/deltacloud/drivers/mock/data/cimi/system/system2.json
@@ -4,6 +4,7 @@
   "created": "Fri Feb 08 15:25:41 EET 2013",
   "state": "STOPPED",
   "operations": [
+    { "rel": "http://schemas.dmtf.org/cimi/1/action/start", "href": "http://cimi.example.org/systems/system1/start"
},
     { "rel": "edit", "href": "http://cimi.example.org/systems/system2" },
     { "rel": "delete", "href": "http://cimi.example.org/systems/system2" }
   ]


Mime
View raw message