2015-02-23 11:13:27 -05:00
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# This file specifies the structure of the Vitro application: which modules
|
|
|
|
# are used, and what parameters they require.
|
|
|
|
#
|
|
|
|
# Most Vitro installations will not need to modify this file.
|
|
|
|
#
|
|
|
|
# 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 08:51:41 -05:00
|
|
|
@prefix vitroWebapp: <java:edu.cornell.mannlib.vitro.webapp#> .
|
2015-02-23 11:13:27 -05:00
|
|
|
|
|
|
|
# ----------------------------
|
|
|
|
#
|
|
|
|
# Describe the application by its implementing class and by references to the
|
|
|
|
# modules it uses.
|
|
|
|
#
|
|
|
|
|
|
|
|
:application
|
2018-01-10 08:51:41 -05:00
|
|
|
a vitroWebapp:application.ApplicationImpl ,
|
|
|
|
vitroWebapp:modules.Application ;
|
2015-02-23 11:13:27 -05:00
|
|
|
:hasSearchEngine :instrumentedSearchEngineWrapper ;
|
|
|
|
:hasSearchIndexer :basicSearchIndexer ;
|
2016-05-02 14:12:25 +01:00
|
|
|
:hasImageProcessor :iioImageProcessor ;
|
2015-02-23 11:13:27 -05:00
|
|
|
:hasFileStorage :ptiFileStorage ;
|
|
|
|
:hasContentTripleSource :sdbContentTripleSource ;
|
|
|
|
:hasConfigurationTripleSource :tdbConfigurationTripleSource ;
|
|
|
|
:hasTBoxReasonerModule :jfactTBoxReasonerModule .
|
|
|
|
|
|
|
|
# ----------------------------
|
|
|
|
#
|
|
|
|
# Image processor module:
|
|
|
|
#
|
|
|
|
|
2016-05-02 14:12:25 +01:00
|
|
|
:iioImageProcessor
|
2018-01-10 08:51:41 -05:00
|
|
|
a vitroWebapp:imageprocessor.imageio.IIOImageProcessor ,
|
|
|
|
vitroWebapp:modules.imageProcessor.ImageProcessor .
|
2015-02-23 11:13:27 -05:00
|
|
|
|
|
|
|
# ----------------------------
|
|
|
|
#
|
|
|
|
# File storage module:
|
|
|
|
# The PairTree-inspired implementation is the only standard option.
|
|
|
|
# It requires no parameters.
|
|
|
|
#
|
|
|
|
|
|
|
|
:ptiFileStorage
|
2018-01-10 08:51:41 -05:00
|
|
|
a vitroWebapp:filestorage.impl.FileStorageImplWrapper ,
|
|
|
|
vitroWebapp:modules.fileStorage.FileStorage .
|
2015-02-23 11:13:27 -05:00
|
|
|
|
|
|
|
# ----------------------------
|
|
|
|
#
|
|
|
|
# Search engine module:
|
|
|
|
# The Solr-based implementation is the only standard option, but it can be
|
|
|
|
# wrapped in an "instrumented" wrapper, which provides additional logging
|
|
|
|
# and more rigorous life-cycle checking.
|
|
|
|
#
|
|
|
|
|
|
|
|
:instrumentedSearchEngineWrapper
|
2018-01-10 08:51:41 -05:00
|
|
|
a vitroWebapp:searchengine.InstrumentedSearchEngineWrapper ,
|
|
|
|
vitroWebapp:modules.searchEngine.SearchEngine ;
|
2015-02-23 11:13:27 -05:00
|
|
|
:wraps :solrSearchEngine .
|
|
|
|
|
|
|
|
:solrSearchEngine
|
2018-01-10 08:51:41 -05:00
|
|
|
a vitroWebapp:searchengine.solr.SolrSearchEngine ,
|
|
|
|
vitroWebapp:modules.searchEngine.SearchEngine .
|
2015-02-23 11:13:27 -05:00
|
|
|
|
|
|
|
# ----------------------------
|
|
|
|
#
|
|
|
|
# Search indexer module:
|
|
|
|
# There is only one standard implementation. You must specify the number of
|
|
|
|
# worker threads in the thread pool.
|
|
|
|
#
|
|
|
|
|
|
|
|
:basicSearchIndexer
|
2018-01-10 08:51:41 -05:00
|
|
|
a vitroWebapp:searchindex.SearchIndexerImpl ,
|
|
|
|
vitroWebapp:modules.searchIndexer.SearchIndexer ;
|
2015-02-23 11:13:27 -05:00
|
|
|
:threadPoolSize "10" .
|
|
|
|
|
|
|
|
# ----------------------------
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
2015-02-23 13:34:06 -05:00
|
|
|
# Other implementations are based on a local TDB instance, a "standard" SPARQL
|
|
|
|
# endpoint, or a Virtuoso endpoint, with parameters as shown.
|
2015-02-23 11:13:27 -05:00
|
|
|
#
|
|
|
|
|
|
|
|
:sdbContentTripleSource
|
2018-01-10 08:51:41 -05:00
|
|
|
a vitroWebapp:triplesource.impl.sdb.ContentTripleSourceSDB ,
|
|
|
|
vitroWebapp:modules.tripleSource.ContentTripleSource .
|
2015-02-23 11:13:27 -05:00
|
|
|
|
|
|
|
#:tdbContentTripleSource
|
2018-01-10 08:51:41 -05:00
|
|
|
# a vitroWebapp:triplesource.impl.tdb.ContentTripleSourceTDB ,
|
|
|
|
# vitroWebapp:modules.tripleSource.ContentTripleSource ;
|
2015-02-23 11:13:27 -05:00
|
|
|
# # May be an absolute path, or relative to the Vitro home directory.
|
|
|
|
# :hasTdbDirectory "tdbContentModels" .
|
|
|
|
|
|
|
|
#:sparqlContentTripleSource
|
2018-01-10 08:51:41 -05:00
|
|
|
# a vitroWebapp:triplesource.impl.virtuoso.ContentTripleSourceSPARQL ,
|
|
|
|
# vitroWebapp:modules.tripleSource.ContentTripleSource ;
|
2015-02-23 11:13:27 -05:00
|
|
|
# # The URI of the SPARQL endpoint for your triple-store.
|
|
|
|
# :hasEndpointURI "PUT_YOUR_SPARQL_ENDPOINT_URI_HERE" ;
|
2015-02-23 13:34:06 -05:00
|
|
|
# # The URI to use for SPARQL UPDATE calls against your triple-store.
|
|
|
|
# :hasUpdateEndpointURI "PUT_THE UPDATE_URI_HERE" .
|
|
|
|
|
|
|
|
#:virtuosoContentTripleSource
|
2018-01-10 08:51:41 -05:00
|
|
|
# a vitroWebapp:triplesource.impl.virtuoso.ContentTripleSourceVirtuoso ,
|
|
|
|
# vitroWebapp:modules.tripleSource.ContentTripleSource ;
|
2015-02-23 13:34:06 -05:00
|
|
|
# # The URI of Virtuoso's SPARQL endpoint.
|
|
|
|
# :hasEndpointURI "PUT_YOUR_VIRTUOSO_URI_HERE" ;
|
|
|
|
# # The URI to use for SPARQL UPDATE calls against Virtuoso.
|
2015-02-23 11:13:27 -05:00
|
|
|
# :hasUpdateEndpointURI "PUT_THE UPDATE_URI_HERE" .
|
|
|
|
|
|
|
|
|
|
|
|
# ----------------------------
|
|
|
|
#
|
|
|
|
# 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 08:51:41 -05:00
|
|
|
a vitroWebapp:triplesource.impl.tdb.ConfigurationTripleSourceTDB ,
|
|
|
|
vitroWebapp:modules.tripleSource.ConfigurationTripleSource .
|
2015-02-23 11:13:27 -05:00
|
|
|
|
|
|
|
# ----------------------------
|
|
|
|
#
|
|
|
|
# TBox reasoner module:
|
|
|
|
# The JFact-based implementation is the only standard option.
|
|
|
|
# It requires no parameters.
|
|
|
|
#
|
|
|
|
|
|
|
|
:jfactTBoxReasonerModule
|
2018-01-10 08:51:41 -05:00
|
|
|
a vitroWebapp:tboxreasoner.impl.jfact.JFactTBoxReasonerModule ,
|
|
|
|
vitroWebapp:modules.tboxreasoner.TBoxReasonerModule .
|