Package com.vmware.bdd.service.job.software.external

Examples of com.vmware.bdd.service.job.software.external.ExternalManagementTask


public class TestExternalManagementTask {

   @Test
   public void createClusterTasklet() throws Exception {
      ExternalManagementTask task =
            new ExternalManagementTask("testCluster",
                  ManagementOperation.CREATE, new ClusterBlueprint(),
                  new MockStatusUpdator(),
                  new MockConcurrentClusterEntityManager(),
                  new MockSoftwareManager(), null);

      Map<String, Object> result = task.call();
      Assert.assertTrue("should get success result", (Boolean)result.get("succeed"));
   }
View Full Code Here


   public static ISoftwareManagementTask createExternalMgtTask(
         String targetName, ManagementOperation managementOperation,
         ClusterBlueprint clusterBlueprint, StatusUpdater statusUpdater,
         ILockedClusterEntityManager lockedClusterEntityManager,
         SoftwareManager softwareManager, ChunkContext chunkContext) {
      ISoftwareManagementTask task = new ExternalManagementTask(targetName, managementOperation,
            clusterBlueprint, statusUpdater, lockedClusterEntityManager,
            softwareManager, chunkContext);
      return task;
   }
View Full Code Here

TOP

Related Classes of com.vmware.bdd.service.job.software.external.ExternalManagementTask

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.