ConfigurationManager { public OdataConfiguration getOdataConfiguration() { return loader.getConf().getSearchConfiguration().getOdataConfiguration(); } ConfigurationManager(); static void postLoad(Configuration conf); synchronized void reloadConfiguration(); Configuration getConfiguration(); synchronized void saveConfiguration(); ArchiveSynchronizationCronConfiguration getArchiveSynchronizationCronConfiguration(); CleanDatabaseCronConfiguration getCleanDatabaseCronConfiguration(); DumpDatabaseCronConfiguration getDumpDatabaseCronConfiguration(); CleanDatabaseDumpCronConfiguration getCleanDatabaseDumpCronConfiguration(); FileScannersCronConfiguration getFileScannersCronConfiguration(); SearchesCronConfiguration getSearchesCronConfiguration(); SendLogsCronConfiguration getSendLogsCronConfiguration(); SystemCheckCronConfiguration getSystemCheckCronConfiguration(); JmsConfiguration getJmsConfiguration(); MailConfiguration getMailConfiguration(); NetworkConfiguration getNetworkConfiguration(); DownloadConfiguration getDownloadConfiguration(); ProductConfiguration getProductConfiguration(); SolrType getSolrType(); SolrConfiguration getSolrConfiguration(); SolrStandaloneConfiguration getSolrStandaloneConfiguration(); SolrCloudConfiguration getSolrCloudConfiguration(); OdataConfiguration getOdataConfiguration(); GeonameConfiguration getGeonameConfiguration(); GeocoderConfiguration getGeocoderConfiguration(); NominatimConfiguration getNominatimConfiguration(); ServerConfiguration getServerConfiguration(); ArchiveConfiguration getArchiveConfiguration(); TomcatConfiguration getTomcatConfiguration(); SupportConfiguration getSupportConfiguration(); AdministratorConfiguration getAdministratorConfiguration(); NameConfiguration getNameConfiguration(); ProcessingConfiguration getProcessingConfiguration(); List<DataStoreConf> getDataStoresConf(); DatabaseConfiguration getDatabaseConfiguration(); ExecutorConfiguration getExecutorConfiguration(); String getWorkingDirectoryPath(); String getJDBCDriver(); String getJDBCUrl(); String getLogin(); String getPassword(); String getHibernateDialect(); DataStoreManager getDataStoreManager(); ScannerManager getScannerManager(); SourceManager getSourceManager(); SynchronizerManager getSynchronizerManager(); EvictionManager getEvictionManager(); String getTrashPath(); String getErrorPath();  }
@Test(dependsOnMethods="checkConfigurationLoaderSearch") public void checkConfigurationLoaderOdata () { SearchConfiguration search = conf.getSearchConfiguration (); OdataConfiguration oc = search.getOdataConfiguration (); Assert.assertNotNull (oc, "odata configuration is null."); Assert.assertNotNull (oc.getDefaultTop (), "odata configuration defaultTop is null."); Assert.assertEquals(oc.getDefaultTop(), 50, "odata configuration defaultTop value not expected."); }
@Test public void testgetOdataConfiguration() { Assert.assertNotNull(configurationManager.getOdataConfiguration()); Assert.assertEquals(configurationManager.getOdataConfiguration().getDefaultTop(), 50); }