-
Notifications
You must be signed in to change notification settings - Fork 25
Configuring application.properties
Configuring the application.properties file The application.properties file is used to store: 1. database and server connection details 2. the location of the ReCiter log file, and 3. parameters that can be customized to run ReCiter in different modes.
The application.properties file resides in /src/main/resources/. A sample format for this file is at the bottom of this page. To use the file, you will need to fill in details that correspond to your own ReCiter install configuration. Instructions on doing so are below.
Spring MongoDB connection
Next to spring.data.mogodb.host=, indicate your host. For example, xyz.myhost.com. Next to spring.data.mongodb.port=, enter the port number. For example, 12345. Next to spring.data.mongodb.database=, if your database is called "reciter", enter reciter. In the following lines enter your database username and password. ReCiter log file output Next to logging file=, enter the path to your log file. For example, logs/reciter.log
Tomcat server port number Next to server.port=, enter the port used by your Tomcat server. For example, 8080
Enable/disable different strategies To enable a given strategy, set the value to true. To disable, set the value to false.
Enable/Disable use of Scopus If you wish to enable the use of Scopus data, set the value to true. If not, set the value to false.
Enable/Disable usage of gold standard as evidence By default, use of the gold standard as evidence is enabled. If you wish ReCiter to use the gold standard as evidence in assigning publications, set the value to true. Otherwise, set the value to false.
LDAP connection info If you are using ReCiter to connect to an institutional database using LDAP, enter the configuration settings here.
Next to ldap.bind.dn=, enter the bind DN attributes (using LDAP syntax) for the user authenticating to the LDAP Directory. For example, cn=user1,ou=east,dc=my,dc=university,dc=edu Next to ldap.bind.password=, enter the password configured for LDAP authentication. Next to ldap.hostname=, enter the computer name, IP address, or domain name that hosts LDAP. For example, myserver.myuniversity.edu. Next to ldap.port=, enter the LDAP port number of the port on the server that hosts LDAP. Next to ldap.base.dn=, enter the base DN attributes (using LDAP syntax) for the user authenticating to the LDAP Directory. For example, ou=mydb,dc=my,dc=university,dc=edu Oracle connection info If you are using ReCiter to connect to an institutional Oracle database, enter the configuration settings here.
If applicable, enter the username and password for the Oracle database that you are connecting to ReCiter. Next to oracle.db.url=, enter the URL for the Oracle database. For example, oracle.db.url=jdbc:oracle:thin:@//mydept-abc-server.my.university.edu:9999/XYZ. Sample application.properties file format
spring.data.mongodb.host= spring.data.mongodb.port= spring.data.mongodb.database= spring.data.mongodb.username= spring.data.mongodb.password=
logging.file=
server.port=
strategy.email= strategy.department= strategy.known.relationship= strategy.affiliation= strategy.scopus.common.affiliation= strategy.coauthor= strategy.journal= strategy.citizenship= strategy.education= strategy.grant= strategy.citation= strategy.cocitation= strategy.article.size= strategy.bachelors.year.discrepancy= strategy.doctoral.year.discrepancy= strategy.remove.by.name= strategy.cluster.size= strategy.mesh.major=
use.scopus.articles=
use.gold.standard.evidence=
ldap.bind.dn= ldap.bind.password= ldap.hostname= ldap.port= ldap.base.dn=
oracle.db.username= oracle.db.password= oracle.db.url=