cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edi...@apache.org
Subject [20/50] git commit: updated refs/heads/4.3 to f304df0
Date Wed, 04 Jun 2014 23:50:32 GMT
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/badff180
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/badff180
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/badff180

Branch: refs/heads/4.3
Commit: badff180210aec0b22c36a90daad03842849912f
Parents: dadc299
Author: Rajani Karuturi <rajanikaruturi@gmail.com>
Authored: Wed Feb 26 14:56:16 2014 +0530
Committer: ng.tuna@gmail.com <apple@Tuna.local>
Committed: Fri Mar 7 01:08:01 2014 +0700

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/badff180/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 26f8a40..854e7d1 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
@@ -24,6 +24,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;
@@ -80,6 +81,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


Mime
View raw message