String clusterName = config.clusterName().get() == null ? DEFAULT_CLUSTER_NAME : config.clusterName().get();
index = config.index().get() == null ? DEFAULT_INDEX_NAME : config.index().get();
indexNonAggregatedAssociations = config.indexNonAggregatedAssociations().get();
String identity = hasIdentity.identity().get();
Settings settings = ImmutableSettings.settingsBuilder().
put( "path.work", new File( fileConfig.temporaryDirectory(), identity ).getAbsolutePath() ).
put( "path.logs", new File( fileConfig.logDirectory(), identity ).getAbsolutePath() ).
put( "path.data", new File( fileConfig.dataDirectory(), identity ).getAbsolutePath() ).
put( "path.conf", new File( fileConfig.configurationDirectory(), identity ).getAbsolutePath() ).
put( "gateway.type", "local" ).