51525354555657585960
public void setUp() throws Exception { super.GET_LAYER_BY_ID_WITH_CONCURRENT_ADD_TEST_COUNT = 10; testSupport.setUp(); ConfigDatabase configDb = testSupport.getDatabase(); facade = new JDBCCatalogFacade(configDb); super.setUp(); }
354355356357358359360361
return new DataSourceTransactionManager(dataSource()); } @Bean public ConfigDatabase configDatabase() { return new ConfigDatabase(dataSource(), new XStreamInfoSerialBinding( new XStreamPersisterFactory())); }
52535455565758596061626364
if (!config.isEnabled()) { return; } ConfigDatabase configDatabase = ((JDBCCatalogFacade) catalogFacade).getConfigDatabase(); URL initScript = config.isInitDb() ? config.getInitScript() : null; configDatabase.initDb(initScript); config.setInitDb(false); config.save(); }
4546474849505152535455
@Override public void setUp() throws Exception { testSupport.setUp(); ConfigDatabase configDb = testSupport.getDatabase(); facade = new JDBCGeoServerFacade(configDb); facade.setResourceLoader(testSupport.getResourceLoader()); super.setUp(); }