cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kous...@apache.org
Subject git commit: updated refs/heads/master to 8e2c4c8
Date Tue, 04 Mar 2014 08:59:23 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master bb149fb77 -> 8e2c4c810


added delete iso api to the simulator in the smoke tests, this will fix test_03_delete_iso
when run against a simulator

Signed-off-by: Koushik Das <koushik@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/8e2c4c81
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/8e2c4c81
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/8e2c4c81

Branch: refs/heads/master
Commit: 8e2c4c810557005995f8d49ed55e903d6bc4126d
Parents: bb149fb
Author: Rajani Karuturi <rajanikaruturi@gmail.com>
Authored: Wed Feb 26 14:56:16 2014 +0530
Committer: Koushik Das <koushik@apache.org>
Committed: Tue Mar 4 14:12:30 2014 +0530

----------------------------------------------------------------------
 .../datastore/driver/SimulatorImageStoreDriverImpl.java        | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8e2c4c81/plugins/hypervisors/simulator/src/org/apache/cloudstack/storage/datastore/driver/SimulatorImageStoreDriverImpl.java
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/simulator/src/org/apache/cloudstack/storage/datastore/driver/SimulatorImageStoreDriverImpl.java
b/plugins/hypervisors/simulator/src/org/apache/cloudstack/storage/datastore/driver/SimulatorImageStoreDriverImpl.java
index ff5c3a6..4497448 100644
--- a/plugins/hypervisors/simulator/src/org/apache/cloudstack/storage/datastore/driver/SimulatorImageStoreDriverImpl.java
+++ b/plugins/hypervisors/simulator/src/org/apache/cloudstack/storage/datastore/driver/SimulatorImageStoreDriverImpl.java
@@ -23,6 +23,7 @@ import java.util.UUID;
 
 import javax.inject.Inject;
 
+import org.apache.cloudstack.storage.command.CommandResult;
 import org.apache.log4j.Logger;
 
 import org.apache.cloudstack.engine.subsystem.api.storage.CreateCmdResult;
@@ -78,6 +79,11 @@ public class SimulatorImageStoreDriverImpl extends BaseImageStoreDriverImpl
{
         }
     }
 
+    @Override
+    public void deleteAsync(DataStore dataStore, DataObject data, AsyncCompletionCallback<CommandResult>
callback) {
+        callback.complete(new CommandResult());
+    }
+
     protected void createTemplate(DataObject data, AsyncCompletionCallback<CreateCmdResult>
callback) {
         CreateContext<CreateCmdResult> context = new CreateContext<CreateCmdResult>(callback,
data);
         AsyncCallbackDispatcher<SimulatorImageStoreDriverImpl, DownloadAnswer> caller
= AsyncCallbackDispatcher.create(this);


Mime
View raw message