![JAR search and dependency download from the Maven repository](/logo.png)
de.li2b2.shrine.broker.standalone.DefaultConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of i2b2-shrine Show documentation
Show all versions of i2b2-shrine Show documentation
Standalone service to to run the AKTIN broker and aggregator
together with an i2b2 query frontend.
The newest version!
package de.li2b2.shrine.broker.standalone;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;
public class DefaultConfiguration implements Configuration{
@Override
public InputStream readOntologyXML() throws FileNotFoundException {
return new FileInputStream("ontology.xml");
}
@Override
public InputStream readAPIKeyProperties() throws FileNotFoundException {
return new FileInputStream("api-keys.properties");
}
@Override
public String getDatabasePath() {
return "broker";
}
@Override
public int getPort() {
return 8080;
}
@Override
public String getAggregatorDataPath() {
return "aggregator-data";
}
@Override
public String getBrokerDataPath() {
return "broker-data";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy