final String configurationSourceName = configurationProjection.getSourceName();
List<Projection> projections = Collections.singletonList(configurationProjection);
CommandExecutor executor = null;
if (configurationProjection.getRules().size() == 0) {
// There is no projection for the configuration repository, so just use a no-op executor
executor = new NoOpCommandExecutor(context, configurationSourceName);
} else if (configurationProjection.isSimple()) {
// There is just a single projection for the configuration repository, so just use an executor that
// translates the paths using the projection
executor = new SingleProjectionCommandExecutor(context, configurationSourceName, configurationProjection,
connectionFactory);