container/src/main/java/com/streamsets/datacollector/validation/ValidationUtil.java
public static boolean resolveLibraryAliases(
    StageLibraryTask stageLibrary,
    List<StageConfiguration> stageConfigurations
  ) {
    for (StageConfiguration stageConf : stageConfigurations) {
      String name = stageConf.getLibrary();
      if (stageLibrary.getLibraryNameAliases().containsKey(name)) {
        stageConf.setLibrary(stageLibrary.getLibraryNameAliases().get(name));
      }
      resolveStageAlias(stageLibrary, stageConf);
    }
    return true;
  }
public static boolean resolveLibraryAliases(
    StageLibraryTask stageLibrary,
    List<StageConfiguration> stageConfigurations
  ) {
    for (StageConfiguration stageConf : stageConfigurations) {
      String name = stageConf.getLibrary();
      if (stageLibrary.getLibraryNameAliases().containsKey(name)) {
        stageConf.setLibrary(stageLibrary.getLibraryNameAliases().get(name));
      }
      resolveStageAlias(stageLibrary, stageConf);
    }
    return true;
  }
public static boolean resolveLibraryAliases ( StageLibraryTask stageLibrary , List < StageConfiguration > stageConfigurations ) { for ( StageConfiguration stageConf : stageConfigurations ) { String name = stageConf . getLibrary ( ) ; if ( stageLibrary . getLibraryNameAliases ( ) . containsKey ( name ) ) { stageConf . setLibrary ( stageLibrary . getLibraryNameAliases ( ) . get ( name ) ) ; } resolveStageAlias ( stageLibrary , stageConf ) ; } return true ; }
Resolve all stage library relevant aliases - this includes:

* Change in stage library name - e.g. when a stage moves from let say cdh5_cluster_2 to cdh_5_spark2)

* Change in stage name - e.g. when a stage class is renamed
Resolve all stage library relevant aliases - this includes :