@Test( expected = TargetException.class ) public void testValidate_error2() throws Exception { validate( new HashMap<String,String>( 0 )); }
static void validate( Map<String,String> targetProperties ) throws TargetException { checkProperty( API_URL, targetProperties ); checkProperty( IMAGE_NAME, targetProperties ); checkProperty( TENANT_NAME, targetProperties ); checkProperty( FLAVOR_NAME, targetProperties ); checkProperty( SECURITY_GROUP, targetProperties ); checkProperty( KEY_PAIR, targetProperties ); checkProperty( USER, targetProperties ); checkProperty( PASSWORD, targetProperties ); }
OpenstackIaasHandler extends AbstractThreadedTargetHandler { static void validate( Map<String,String> targetProperties ) throws TargetException { checkProperty( API_URL, targetProperties ); checkProperty( IMAGE_NAME, targetProperties ); checkProperty( TENANT_NAME, targetProperties ); checkProperty( FLAVOR_NAME, targetProperties ); checkProperty( SECURITY_GROUP, targetProperties ); checkProperty( KEY_PAIR, targetProperties ); checkProperty( USER, targetProperties ); checkProperty( PASSWORD, targetProperties ); } }
OpenstackIaasHandler extends AbstractThreadedTargetHandler { static void validate( Map<String,String> targetProperties ) throws TargetException { checkProperty( API_URL, targetProperties ); checkProperty( IMAGE_NAME, targetProperties ); checkProperty( TENANT_NAME, targetProperties ); checkProperty( FLAVOR_NAME, targetProperties ); checkProperty( SECURITY_GROUP, targetProperties ); checkProperty( KEY_PAIR, targetProperties ); checkProperty( USER, targetProperties ); checkProperty( PASSWORD, targetProperties ); }  }
OpenstackIaasHandler extends AbstractThreadedTargetHandler { static void validate( Map<String,String> targetProperties ) throws TargetException { checkProperty( API_URL, targetProperties ); checkProperty( IMAGE_NAME, targetProperties ); checkProperty( TENANT_NAME, targetProperties ); checkProperty( FLAVOR_NAME, targetProperties ); checkProperty( SECURITY_GROUP, targetProperties ); checkProperty( KEY_PAIR, targetProperties ); checkProperty( USER, targetProperties ); checkProperty( PASSWORD, targetProperties ); }  @Override String getTargetId(); @Override String createMachine( TargetHandlerParameters parameters ); @Override boolean isMachineRunning( TargetHandlerParameters parameters, String machineId ); @Override MachineConfigurator machineConfigurator( TargetHandlerParameters parameters, String machineId ); @Override void terminateMachine( TargetHandlerParameters parameters, String machineId ); @Override String retrievePublicIpAddress( TargetHandlerParameters parameters, String machineId ); }
OpenstackIaasHandler extends AbstractThreadedTargetHandler { static void validate( Map<String,String> targetProperties ) throws TargetException { checkProperty( API_URL, targetProperties ); checkProperty( IMAGE_NAME, targetProperties ); checkProperty( TENANT_NAME, targetProperties ); checkProperty( FLAVOR_NAME, targetProperties ); checkProperty( SECURITY_GROUP, targetProperties ); checkProperty( KEY_PAIR, targetProperties ); checkProperty( USER, targetProperties ); checkProperty( PASSWORD, targetProperties ); }  @Override String getTargetId(); @Override String createMachine( TargetHandlerParameters parameters ); @Override boolean isMachineRunning( TargetHandlerParameters parameters, String machineId ); @Override MachineConfigurator machineConfigurator( TargetHandlerParameters parameters, String machineId ); @Override void terminateMachine( TargetHandlerParameters parameters, String machineId ); @Override String retrievePublicIpAddress( TargetHandlerParameters parameters, String machineId ); static final String TARGET_ID; }