From ed239f64a77c2969f7d665349ba554c19b59da7b Mon Sep 17 00:00:00 2001 From: j2blake Date: Mon, 23 Feb 2015 11:13:11 -0500 Subject: [PATCH] VIVO-978 move applicationSetup.n3 to example.applicationSetup.n3 and add comments. --- config/applicationSetup.n3 | 46 ---------- config/example.applicationSetup.n3 | 142 +++++++++++++++++++++++++++++ 2 files changed, 142 insertions(+), 46 deletions(-) delete mode 100644 config/applicationSetup.n3 create mode 100644 config/example.applicationSetup.n3 diff --git a/config/applicationSetup.n3 b/config/applicationSetup.n3 deleted file mode 100644 index 7b009909..00000000 --- a/config/applicationSetup.n3 +++ /dev/null @@ -1,46 +0,0 @@ -@prefix : . - -:application - a , - ; - :hasSearchEngine :instrumentedSearchEngineWrapper ; - :hasSearchIndexer :basicSearchIndexer ; - :hasImageProcessor :jaiImageProcessor ; - :hasFileStorage :ptiFileStorage ; - :hasContentTripleSource :sdbContentTripleSource ; - :hasConfigurationTripleSource :tdbConfigurationTripleSource ; - :hasTBoxReasonerModule :jfactTBoxReasonerModule . - -:jaiImageProcessor - a , - . - -:ptiFileStorage - a , - . - -:instrumentedSearchEngineWrapper - a , - ; - :wraps :solrSearchEngine . - -:solrSearchEngine - a , - . - -:basicSearchIndexer - a , - ; - :threadPoolSize "10" . - -:sdbContentTripleSource - a , - . - -:tdbConfigurationTripleSource - a , - . - -:jfactTBoxReasonerModule - a , - . \ No newline at end of file diff --git a/config/example.applicationSetup.n3 b/config/example.applicationSetup.n3 new file mode 100644 index 00000000..c46ceb6b --- /dev/null +++ b/config/example.applicationSetup.n3 @@ -0,0 +1,142 @@ +# ------------------------------------------------------------------------------ +# +# 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 : . + +# ---------------------------- +# +# Describe the application by its implementing class and by references to the +# modules it uses. +# + +:application + a , + ; + :hasSearchEngine :instrumentedSearchEngineWrapper ; + :hasSearchIndexer :basicSearchIndexer ; + :hasImageProcessor :jaiImageProcessor ; + :hasFileStorage :ptiFileStorage ; + :hasContentTripleSource :sdbContentTripleSource ; + :hasConfigurationTripleSource :tdbConfigurationTripleSource ; + :hasTBoxReasonerModule :jfactTBoxReasonerModule . + +# ---------------------------- +# +# Image processor module: +# The JAI-based implementation is the only standard option. +# It requires no parameters. +# + +:jaiImageProcessor + a , + . + +# ---------------------------- +# +# File storage module: +# The PairTree-inspired implementation is the only standard option. +# It requires no parameters. +# + +:ptiFileStorage + a , + . + +# ---------------------------- +# +# 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 + a , + ; + :wraps :solrSearchEngine . + +:solrSearchEngine + a , + . + +# ---------------------------- +# +# Search indexer module: +# There is only one standard implementation. You must specify the number of +# worker threads in the thread pool. +# + +:basicSearchIndexer + a , + ; + :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. +# +# Other implementations are based on a local TDB instance, a Virtuoso endpoint, +# or a "standard" SPARQL endpoint, with parameters as shown. +# + +:sdbContentTripleSource + a , + . + +#:tdbContentTripleSource +# a , +# ; +# # May be an absolute path, or relative to the Vitro home directory. +# :hasTdbDirectory "tdbContentModels" . + +#:virtuosoContentTripleSource +# a , +# ; +# # The URI of Virtuoso's SPARQL endpoint. +# :hasEndpointURI "PUT_YOUR_VIRTUOSO_URI_HERE" ; +# # URI to use for SPARQL UPDATE calls against Virtuoso. If not specified, +# # the primary endpoint URI will be used. +# :hasUpdateEndpointURI "PUT_THE UPDATE_URI_HERE" . + +#:sparqlContentTripleSource +# a , +# ; +# # The URI of the SPARQL endpoint for your triple-store. +# :hasEndpointURI "PUT_YOUR_SPARQL_ENDPOINT_URI_HERE" ; +# # URI to use for SPARQL UPDATE calls against your triple-store. If not +# # specified, the primary endpoint URI will be used. +# :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 + a , + . + +# ---------------------------- +# +# TBox reasoner module: +# The JFact-based implementation is the only standard option. +# It requires no parameters. +# + +:jfactTBoxReasonerModule + a , + .