StageBean statsStage = pipelineBean.getStatsAggregatorStage();
if (statsStage != null) {
pipelineConfigurations.add(statsStage.getConfiguration());
}
pipelineConfigurations.add(pipelineBean.getOrigin().getConfiguration());
<BUG>for (StageBean stageBean : pipelineBean.getPipelineStageBeans().get(0).getStages()) {
pipelineConfigurations.add(stageBean.getConfiguration());</BUG>
}
ExecutionMode executionMode = ExecutionMode.STANDALONE;
for (StageConfiguration stageConf : pipelineConfigurations.build()) {

StageBean statsStage = pipelineBean.getStatsAggregatorStage();
if (statsStage != null) {
pipelineConfigurations.add(statsStage.getConfiguration());
}
pipelineConfigurations.add(pipelineBean.getOrigin().getConfiguration());
for (StageBean stageBean : pipelineBean.getPipelineStageBeans().getStages()) {
pipelineConfigurations.add(stageBean.getConfiguration());
}
ExecutionMode executionMode = ExecutionMode.STANDALONE;
for (StageConfiguration stageConf : pipelineConfigurations.build()) {
