Package org.jclouds.abiquo.domain.event.options

Examples of org.jclouds.abiquo.domain.event.options.EventOptions


   public void testListEventsFilteredByVapp() {
      String name = randomName();
      env.virtualAppliance.setName(name);
      env.virtualAppliance.update();

      EventOptions options = EventOptions.builder().dateFrom(new Date()).virtualAppName(name).build();
      assertEvents(options);
   }
View Full Code Here


   public void testListEventsFilteredByVM() {
      VirtualMachine vm = createVirtualMachine();
      vm.delete();

      EventOptions options = EventOptions.builder().dateFrom(new Date()).actionPerformed(EventType.VM_DELETE).build();
      assertEvents(options);
   }
View Full Code Here

      Volume volume = createVolume();
      volume.setName(name);
      volume.update();
      volume.delete(); // We don't need it any more. events already exist

      EventOptions options = EventOptions.builder().dateFrom(new Date()).volumeName(name).build();
      assertEvents(options);
   }
View Full Code Here

   public void testListEventsFilteredBySeverity() {
      String name = randomName();
      env.virtualAppliance.setName(name);
      env.virtualAppliance.update();

      EventOptions options = EventOptions.builder().dateFrom(new Date()).virtualAppName(name)
            .severity(SeverityType.INFO).build();
      assertEvents(options);
   }
View Full Code Here

   public void testListEventsFilteredByActionPerformed() {
      String name = randomName();
      env.virtualAppliance.setName(name);
      env.virtualAppliance.update();

      EventOptions options = EventOptions.builder().dateFrom(new Date()).virtualAppName(name)
            .actionPerformed(EventType.VAPP_MODIFY).build();
      assertEvents(options);
   }
View Full Code Here

   public void testListEventsFilteredByComponent() {
      String name = randomName();
      env.virtualAppliance.setName(name);
      env.virtualAppliance.update();

      EventOptions options = EventOptions.builder().dateFrom(new Date()).virtualAppName(name)
            .component(ComponentType.VIRTUAL_APPLIANCE).build();
      assertEvents(options);
   }
View Full Code Here

   public void testListEventsFilteredByDescription() {
      String name = randomName();
      env.virtualAppliance.setName(name);
      env.virtualAppliance.update();

      EventOptions options = EventOptions.builder().dateFrom(new Date()).virtualAppName(name)
            .description("Virtual appliance '" + name + "' has been modified.").build();
      assertEvents(options);
   }
View Full Code Here

TOP

Related Classes of org.jclouds.abiquo.domain.event.options.EventOptions

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.