ServerConfig
757677787980818283848586
{ throw new RuntimeException( "Properties file not specified. Use java -D.xri.test.properties=/path/to/server.properties"); } PropertiesServerConfig oConfig = new PropertiesServerConfig(); oConfig.init(sPropertiesFile); moAdmin = StoreFactory.getInstance().getStore(oConfig); if (moAdmin instanceof ResettableStore) { try { ((ResettableStore) moAdmin).resetStore(); } catch (StoreException e) {
115116117118119120121122123124125126127
if (!setupAuthorities(moAdmin)) { System.err.println("Failed to ensure XRI registrations state."); } PropertiesServerConfig oConfig = new PropertiesServerConfig(); oConfig.init(ssPropertiesFile); if (oConfig.isSigningMode()) { moCertChain = oConfig.getCertificateChain(); } } // setUp()
767778798081828384858687
{ throw new RuntimeException( "Properties file not specified. Use java -D.xri.test.properties=/path/to/server.properties"); } PropertiesServerConfig oConfig = new PropertiesServerConfig(); oConfig.init(sPropertiesFile); moAdmin = StoreFactory.getInstance().getStore(oConfig); if (moAdmin instanceof AbstractStore) { try { ((AbstractStore) moAdmin).resetStore();