2010-02-03 15:09:52 +00:00
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
#
|
2011-07-25 15:10:40 +00:00
|
|
|
# Vitro deployment properties
|
2010-02-03 15:09:52 +00:00
|
|
|
#
|
|
|
|
# This file is provided as example.deploy.properties.
|
|
|
|
#
|
|
|
|
# Save a copy of this file as deploy.properties, and edit the properties as
|
|
|
|
# needed for your deployment.
|
|
|
|
#
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
2010-04-12 14:22:35 +00:00
|
|
|
#
|
|
|
|
# This namespace will be used when generating URIs for objects created in the
|
2011-07-21 16:16:32 +00:00
|
|
|
# editor. In order to serve linked data, the default namespace must be composed
|
|
|
|
# as follows (optional elements in parentheses):
|
2010-04-12 14:22:35 +00:00
|
|
|
#
|
2011-07-21 16:16:32 +00:00
|
|
|
# scheme + server_name (+ port) (+ servlet_context) + "/individual/"
|
|
|
|
#
|
|
|
|
# For example, Cornell's default namespace is:
|
|
|
|
#
|
|
|
|
# http://vivo.cornell.edu/individual/
|
2010-04-12 14:22:35 +00:00
|
|
|
#
|
2011-07-21 16:16:32 +00:00
|
|
|
Vitro.defaultNamespace = http://vivo.mydomain.edu/individual/
|
2010-04-12 14:22:35 +00:00
|
|
|
|
2010-02-21 18:45:18 +00:00
|
|
|
#
|
2011-05-02 14:34:20 +00:00
|
|
|
# The base install directory for your Tomcat server. The Vitro application
|
2010-02-21 18:45:18 +00:00
|
|
|
# will be deployed in the /webapps directory below this base.
|
|
|
|
#
|
|
|
|
tomcat.home = /usr/local/tomcat
|
|
|
|
|
|
|
|
#
|
|
|
|
# The name of the Vitro application. This will be used as the name of the
|
|
|
|
# subdirectory within your Tomcat server's /webapps directory. It also appears
|
|
|
|
# in the URL for the application. For example, http://my.vitro.server/vitro
|
|
|
|
#
|
|
|
|
webapp.name = vitro
|
|
|
|
|
2011-07-13 21:32:50 +00:00
|
|
|
#
|
2011-07-18 20:34:57 +00:00
|
|
|
# URL of Solr context used in local Vitro search. This will usually consist of:
|
|
|
|
# scheme + server_name + port + vitro_webapp_name + "solr"
|
|
|
|
# In the standard installation, the Solr context will be on the same server as Vitro,
|
|
|
|
# and in the same Tomcat instance. The path will be the Vitro webapp.name (specified
|
2011-07-13 21:32:50 +00:00
|
|
|
# above) + "solr"
|
|
|
|
# Example:
|
2011-07-18 20:34:57 +00:00
|
|
|
# vitro.local.solr.url = http://localhost:8080/vitrosolr
|
|
|
|
vitro.local.solr.url = http://localhost:8080/vitrosolr
|
2011-07-13 21:32:50 +00:00
|
|
|
|
|
|
|
#
|
2011-12-13 20:24:33 +00:00
|
|
|
# Restricts access to the Solr search platform. The value is a regular expression.
|
|
|
|
# When a request is made to Solr, the IP address of the requestor must match the
|
|
|
|
# regular expression, or the request will be rejected.
|
|
|
|
#
|
|
|
|
# NOTE: don't leave a space on the end of the line, unless you want it to be
|
|
|
|
# part of the expression.
|
2011-07-13 21:32:50 +00:00
|
|
|
# Examples:
|
|
|
|
# vitro.local.solr.ipaddress.mask = 127\.0\.0\.1
|
2011-12-13 20:24:33 +00:00
|
|
|
# vitro.local.solr.ipaddress.mask = 127\.0\.0\.1|0:0:0:0:0:0:0:1
|
2011-12-31 16:32:44 +00:00
|
|
|
# vitro.local.solr.ipaddress.mask = 169\.254\..*
|
|
|
|
# If this line is removed, your Solr server will respond to requests from any
|
|
|
|
# location. This may be useful for experimenting but would likely be considered
|
|
|
|
# a security problem in a production environment.
|
2011-12-13 20:24:33 +00:00
|
|
|
vitro.local.solr.ipaddress.mask = 127\.0\.0\.1|[0:]+:1
|
2011-07-13 21:32:50 +00:00
|
|
|
|
2010-02-03 15:09:52 +00:00
|
|
|
#
|
2011-05-02 14:34:20 +00:00
|
|
|
# The location where the Vitro application will store the data that it creates.
|
2011-07-13 15:19:52 +00:00
|
|
|
# This includes uploaded files (usually images) and the search index.
|
2010-02-03 15:09:52 +00:00
|
|
|
#
|
2011-05-02 14:34:20 +00:00
|
|
|
vitro.home.directory = /usr/local/vitro/data
|
2010-02-03 15:09:52 +00:00
|
|
|
|
|
|
|
#
|
2011-06-09 20:37:07 +00:00
|
|
|
# Email parameters which VIVO can use to send mail. If these are left empty,
|
|
|
|
# the "Contact Us" form will be disabled and users will not be notified of
|
|
|
|
# changes to their accounts.
|
2010-02-03 15:09:52 +00:00
|
|
|
#
|
2011-06-09 20:37:07 +00:00
|
|
|
email.smtpHost = smtp.my.domain.edu
|
|
|
|
email.replyTo = vivoAdmin@my.domain.edu
|
2010-02-03 15:09:52 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# The basic parameters for a MySQL database connection. Change the end of the
|
|
|
|
# URL to reflect your database name (if it is not "vitro"). Change the username
|
|
|
|
# and password to match the authorized user you created in MySQL.
|
|
|
|
#
|
|
|
|
VitroConnection.DataSource.url = jdbc:mysql://localhost/vitro
|
|
|
|
VitroConnection.DataSource.username = vitroweb
|
|
|
|
VitroConnection.DataSource.password = vitrovitro
|
|
|
|
|
2011-05-26 13:58:06 +00:00
|
|
|
#
|
|
|
|
# The maximum number of active connections in the database connection pool.
|
|
|
|
# Increase this value to support a greater number of concurrent page requests.
|
|
|
|
#
|
|
|
|
VitroConnection.DataSource.pool.maxActive = 40
|
|
|
|
|
|
|
|
#
|
|
|
|
# The maximum number of database connections that will be allowed
|
|
|
|
# to remain idle in the connection pool. Default is 25%
|
|
|
|
# of the maximum number of active connections.
|
|
|
|
#
|
|
|
|
VitroConnection.DataSource.pool.maxIdle = 10
|
|
|
|
|
|
|
|
#
|
|
|
|
# Parameters to change in order to use VIVO with a database other than
|
|
|
|
# MySQL.
|
|
|
|
#
|
|
|
|
VitroConnection.DataSource.dbtype = MySQL
|
|
|
|
VitroConnection.DataSource.driver = com.mysql.jdbc.Driver
|
|
|
|
VitroConnection.DataSource.validationQuery = SELECT 1
|
|
|
|
|
2012-06-22 18:48:36 +00:00
|
|
|
#
|
|
|
|
# Optional URI of a SPARQL endpoint from which VIVO should display data.
|
|
|
|
# If set, VIVO will use this endpoint as its triple store instead of the
|
|
|
|
# SDB database.
|
|
|
|
#
|
|
|
|
#VitroConnection.DataSource.endpointURI =
|
|
|
|
|
|
|
|
#
|
|
|
|
# Optional URI to use for modifying the above endpoint via SPARQL UPDATE.
|
|
|
|
# This setting is only necessary if the endpoint does not support updates via
|
|
|
|
# its main URI. (This may be done for access control purposes.)
|
|
|
|
# If the endpointURI above is not set, this setting has no effect.
|
|
|
|
#
|
|
|
|
#VitroConnection.DataSource.updateEndpointURI =
|
|
|
|
|
2010-02-21 18:45:18 +00:00
|
|
|
#
|
2011-06-08 21:21:59 +00:00
|
|
|
# The email address of the root user for the VIVO application. The password
|
|
|
|
# for this user is initially set to "rootPassword", but you will be asked to
|
2011-01-14 19:38:23 +00:00
|
|
|
# change the password the first time you log in.
|
2010-02-21 18:45:18 +00:00
|
|
|
#
|
2011-06-08 21:21:59 +00:00
|
|
|
rootUser.emailAddress = root@myDomain.com
|
2010-12-14 21:58:01 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# How is a logged-in user associated with a particular Individual? One way is
|
|
|
|
# for the Individual to have a property whose value is the username of the user.
|
|
|
|
# This is the name of that property.
|
|
|
|
#
|
2011-05-02 14:34:20 +00:00
|
|
|
selfEditing.idMatchingProperty = http://vitro.mydomain.edu/ns#networkId
|
2010-12-14 21:58:01 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# If an external authentication system like Shibboleth or CUWebAuth is to be
|
|
|
|
# used, these properties say how the login button should be labeled, and which
|
|
|
|
# HTTP header will contain the user ID from the authentication system. If such
|
|
|
|
# as system is not to be used, leave these commented out. Consult the
|
|
|
|
# installation instructions for more details.
|
|
|
|
#
|
|
|
|
#externalAuth.buttonText = Log in using BearCat Shibboleth
|
|
|
|
#externalAuth.netIdHeaderName = remote_userID
|
2011-11-06 17:13:02 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Types of individual for which we can create proxy editors.
|
|
|
|
# If this is omitted, defaults to http://www.w3.org/2002/07/owl#Thing
|
|
|
|
proxy.eligibleTypeList = http://www.w3.org/2002/07/owl#Thing
|
|
|
|
|
2012-06-22 18:48:36 +00:00
|
|
|
#
|
|
|
|
# Show only the most appropriate data values based on the Accept-Language
|
|
|
|
# header supplied by the browser. Default is true if not set.
|
|
|
|
#
|
|
|
|
RDFService.languageFilter = true
|