private Recommendation findVPlexHARecommendations(VirtualArray varray,VirtualPool vpool,VirtualArray haVarray,VirtualPool haVpool,Project project,VirtualPoolCapabilityValuesWrapper capabilities,Map<String,List<StoragePool>> vplexPoolMapForVarray){
  Recommendation haRecommendation=null;
  List<Recommendation> vplexHaVArrayRecommendations=null;
  if (haVarray == null) {
    haVarray=vplexScheduler.getHaVirtualArray(varray,project,vpool);
  }
  if (haVpool == null) {
    haVpool=vplexScheduler.getHaVirtualPool(varray,project,vpool);
  }
  vplexHaVArrayRecommendations=getAllHARecommendations(varray,vpool,haVarray,haVpool,capabilities,vplexPoolMapForVarray);
  if (!vplexHaVArrayRecommendations.isEmpty()) {
    haRecommendation=vplexHaVArrayRecommendations.get(0);
  }
  return haRecommendation;
}

private Recommendation findVPlexHARecommendations ( VirtualArray varray , VirtualPool vpool , VirtualArray haVarray , VirtualPool haVpool , Project project , VirtualPoolCapabilityValuesWrapper capabilities , Map < String , List < StoragePool > > vplexPoolMapForVarray ) { Recommendation haRecommendation = null ; List < Recommendation > vplexHaVArrayRecommendations = null ; if ( haVarray == null ) { haVarray = vplexScheduler . getHaVirtualArray ( varray , project , vpool ) ; } if ( haVpool == null ) { haVpool = vplexScheduler . getHaVirtualPool ( varray , project , vpool ) ; } vplexHaVArrayRecommendations = getAllHARecommendations ( varray , vpool , haVarray , haVpool , capabilities , vplexPoolMapForVarray ) ; if ( ! vplexHaVArrayRecommendations . isEmpty ( ) ) { haRecommendation = vplexHaVArrayRecommendations . get ( 0 ) ; } return haRecommendation ; }
find and return a recommendation for ha given the source side information .
