Skip to content

Configuring application.properties

paulalbert1 edited this page Nov 17, 2018 · 7 revisions

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 MongoDB connection

spring.data.mongodb.host= spring.data.mongodb.port= spring.data.mongodb.database= spring.data.mongodb.username= spring.data.mongodb.password=

ReCiter log file output

logging.file=

Tomcat server port number

server.port=

Enable/Disable different strategies

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=

Enable/Disable usage of Scopus

use.scopus.articles=

Enable/Disable usage of gold standard as evidence

use.gold.standard.evidence=

LDAP connection info

ldap.bind.dn= ldap.bind.password= ldap.hostname= ldap.port= ldap.base.dn=

Oracle connection info

oracle.db.username= oracle.db.password= oracle.db.url=

Clone this wiki locally