2015-02-23 11:13:11 -05:00
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# This file specifies the structure of the Vitro application: which modules
|
|
|
|
# are used, and what parameters they require.
|
|
|
|
#
|
2019-05-03 10:51:00 -06:00
|
|
|
# Most Vitro installations will not need to modify this file.
|
2015-02-23 11:13:11 -05:00
|
|
|
#
|
|
|
|
# For most installations, only the settings in the runtime.properties file will
|
|
|
|
# be changed.
|
|
|
|
#
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
@prefix : <http://vitro.mannlib.cornell.edu/ns/vitro/ApplicationSetup#> .
|
2018-01-10 10:06:59 -05:00
|
|
|
@prefix vitroWebapp: <java:edu.cornell.mannlib.vitro.webapp#> .
|
2015-02-23 11:13:11 -05:00
|
|
|
|
|
|
|
# ----------------------------
|
|
|
|
#
|
2019-05-03 10:51:00 -06:00
|
|
|
# Describe the application by its implementing class and by references to the
|
2015-02-23 11:13:11 -05:00
|
|
|
# modules it uses.
|
2019-05-03 10:51:00 -06:00
|
|
|
#
|
2015-02-23 11:13:11 -05:00
|
|
|
|
2019-05-03 10:51:00 -06:00
|
|
|
:application
|
2018-01-10 10:06:59 -05:00
|
|
|
a vitroWebapp:application.ApplicationImpl ,
|
|
|
|
vitroWebapp:modules.Application ;
|
2015-02-23 11:13:11 -05:00
|
|
|
:hasSearchEngine :instrumentedSearchEngineWrapper ;
|
|
|
|
:hasSearchIndexer :basicSearchIndexer ;
|
2016-05-02 14:13:07 +01:00
|
|
|
:hasImageProcessor :iioImageProcessor ;
|
2015-02-23 11:13:11 -05:00
|
|
|
:hasFileStorage :ptiFileStorage ;
|
2020-02-24 17:05:40 -05:00
|
|
|
:hasContentTripleSource :tdbContentTripleSource ;
|
2015-02-23 11:13:11 -05:00
|
|
|
:hasConfigurationTripleSource :tdbConfigurationTripleSource ;
|
|
|
|
:hasTBoxReasonerModule :jfactTBoxReasonerModule .
|
|
|
|
|
|
|
|
# ----------------------------
|
|
|
|
#
|
2019-05-03 10:51:00 -06:00
|
|
|
# Image processor module:
|
2015-02-23 11:13:11 -05:00
|
|
|
#
|
|
|
|
|
2016-05-02 14:13:07 +01:00
|
|
|
:iioImageProcessor
|
2018-01-10 10:06:59 -05:00
|
|
|
a vitroWebapp:imageprocessor.imageio.IIOImageProcessor ,
|
|
|
|
vitroWebapp:modules.imageProcessor.ImageProcessor .
|
2015-02-23 11:13:11 -05:00
|
|
|
|
|
|
|
# ----------------------------
|
|
|
|
#
|
2019-05-03 10:51:00 -06:00
|
|
|
# File storage module:
|
2015-02-23 11:13:11 -05:00
|
|
|
# The PairTree-inspired implementation is the only standard option.
|
|
|
|
# It requires no parameters.
|
|
|
|
#
|
|
|
|
|
2019-05-03 10:51:00 -06:00
|
|
|
:ptiFileStorage
|
2018-01-10 10:06:59 -05:00
|
|
|
a vitroWebapp:filestorage.impl.FileStorageImplWrapper ,
|
|
|
|
vitroWebapp:modules.fileStorage.FileStorage .
|
2019-05-03 10:51:00 -06:00
|
|
|
|
2015-02-23 11:13:11 -05:00
|
|
|
# ----------------------------
|
|
|
|
#
|
2019-05-03 10:51:00 -06:00
|
|
|
# Search engine module:
|
2015-02-23 11:13:11 -05:00
|
|
|
# The Solr-based implementation is the only standard option, but it can be
|
2019-05-03 10:51:00 -06:00
|
|
|
# wrapped in an "instrumented" wrapper, which provides additional logging
|
2015-02-23 11:13:11 -05:00
|
|
|
# and more rigorous life-cycle checking.
|
|
|
|
#
|
|
|
|
|
2019-05-03 10:51:00 -06:00
|
|
|
:instrumentedSearchEngineWrapper
|
|
|
|
a vitroWebapp:searchengine.InstrumentedSearchEngineWrapper ,
|
2018-01-10 10:06:59 -05:00
|
|
|
vitroWebapp:modules.searchEngine.SearchEngine ;
|
2015-02-23 11:13:11 -05:00
|
|
|
:wraps :solrSearchEngine .
|
|
|
|
|
|
|
|
:solrSearchEngine
|
2018-01-10 10:06:59 -05:00
|
|
|
a vitroWebapp:searchengine.solr.SolrSearchEngine ,
|
|
|
|
vitroWebapp:modules.searchEngine.SearchEngine .
|
2015-02-23 11:13:11 -05:00
|
|
|
|
|
|
|
# ----------------------------
|
|
|
|
#
|
2019-05-03 10:51:00 -06:00
|
|
|
# Search indexer module:
|
|
|
|
# There is only one standard implementation. You must specify the number of
|
2015-02-23 11:13:11 -05:00
|
|
|
# worker threads in the thread pool.
|
|
|
|
#
|
|
|
|
|
|
|
|
:basicSearchIndexer
|
2018-01-10 10:06:59 -05:00
|
|
|
a vitroWebapp:searchindex.SearchIndexerImpl ,
|
|
|
|
vitroWebapp:modules.searchIndexer.SearchIndexer ;
|
2015-02-23 11:13:11 -05:00
|
|
|
:threadPoolSize "10" .
|
2019-05-03 10:51:00 -06:00
|
|
|
|
2015-02-23 11:13:11 -05:00
|
|
|
# ----------------------------
|
|
|
|
#
|
|
|
|
# Content triples source module: holds data contents
|
|
|
|
# The SDB-based implementation is the default option. It reads its parameters
|
|
|
|
# from the runtime.properties file, for backward compatibility.
|
|
|
|
#
|
2019-05-03 10:51:00 -06:00
|
|
|
# Other implementations are based on a local TDB instance, a "standard" SPARQL
|
2015-02-23 13:34:19 -05:00
|
|
|
# endpoint, or a Virtuoso endpoint, with parameters as shown.
|
2015-02-23 11:13:11 -05:00
|
|
|
#
|
|
|
|
|
2020-02-24 17:05:40 -05:00
|
|
|
#:sdbContentTripleSource
|
|
|
|
# a vitroWebapp:triplesource.impl.sdb.ContentTripleSourceSDB ,
|
|
|
|
# vitroWebapp:modules.tripleSource.ContentTripleSource .
|
2015-02-23 11:13:11 -05:00
|
|
|
|
2020-02-24 17:05:40 -05:00
|
|
|
:tdbContentTripleSource
|
|
|
|
a vitroWebapp:triplesource.impl.tdb.ContentTripleSourceTDB ,
|
|
|
|
vitroWebapp:modules.tripleSource.ContentTripleSource ;
|
|
|
|
# May be an absolute path, or relative to the Vitro home directory.
|
|
|
|
:hasTdbDirectory "tdbContentModels" .
|
2015-02-23 11:13:11 -05:00
|
|
|
|
|
|
|
#:sparqlContentTripleSource
|
2018-01-10 10:06:59 -05:00
|
|
|
# a vitroWebapp:triplesource.impl.sparql.ContentTripleSourceSPARQL ,
|
|
|
|
# vitroWebapp:modules.tripleSource.ContentTripleSource ;
|
2015-02-23 11:13:11 -05:00
|
|
|
# # The URI of the SPARQL endpoint for your triple-store.
|
|
|
|
# :hasEndpointURI "PUT_YOUR_SPARQL_ENDPOINT_URI_HERE" ;
|
2019-05-03 10:51:00 -06:00
|
|
|
# # The URI to use for SPARQL UPDATE calls against your triple-store.
|
2015-02-23 13:34:19 -05:00
|
|
|
# :hasUpdateEndpointURI "PUT_THE UPDATE_URI_HERE" .
|
|
|
|
|
|
|
|
#:virtuosoContentTripleSource
|
2018-01-10 10:06:59 -05:00
|
|
|
# a vitroWebapp:triplesource.impl.virtuoso.ContentTripleSourceVirtuoso ,
|
|
|
|
# vitroWebapp:modules.tripleSource.ContentTripleSource ;
|
2015-04-27 14:45:45 -04:00
|
|
|
# # The URI where Virtuoso can be accessed: don't include the /sparql path.
|
|
|
|
# :hasBaseURI "http://localhost:8890" ;
|
|
|
|
# # The name and password of a Virtuoso account that has the SPARQL_UPDATE role.
|
|
|
|
# :hasUsername "USERNAME" ;
|
|
|
|
# :hasPassword "PASSWORD" .
|
2015-02-23 11:13:11 -05:00
|
|
|
|
|
|
|
|
|
|
|
# ----------------------------
|
|
|
|
#
|
|
|
|
# Configuration triples source module: holds configuration data and user accounts
|
|
|
|
# The TDB-based implementation is the only standard option.
|
|
|
|
# It requires no parameters.
|
|
|
|
#
|
|
|
|
|
|
|
|
:tdbConfigurationTripleSource
|
2018-01-10 10:06:59 -05:00
|
|
|
a vitroWebapp:triplesource.impl.tdb.ConfigurationTripleSourceTDB ,
|
|
|
|
vitroWebapp:modules.tripleSource.ConfigurationTripleSource .
|
2019-05-03 10:51:00 -06:00
|
|
|
|
2015-02-23 11:13:11 -05:00
|
|
|
# ----------------------------
|
|
|
|
#
|
2019-05-03 10:51:00 -06:00
|
|
|
# TBox reasoner module:
|
2015-02-23 11:13:11 -05:00
|
|
|
# The JFact-based implementation is the only standard option.
|
|
|
|
# It requires no parameters.
|
|
|
|
#
|
|
|
|
|
|
|
|
:jfactTBoxReasonerModule
|
2018-01-10 10:06:59 -05:00
|
|
|
a vitroWebapp:tboxreasoner.impl.jfact.JFactTBoxReasonerModule ,
|
|
|
|
vitroWebapp:modules.tboxreasoner.TBoxReasonerModule .
|