From 8b33229fdd7df7d7c8f893cc1c80672075b2093e Mon Sep 17 00:00:00 2001 From: j2blake Date: Sun, 1 Jun 2014 18:26:31 -0400 Subject: [PATCH] VIVO-773 Update the JENA libraries and adjust to the changes Replace the JAR files with more current ones. Add a one-line change to BaseInfGraph (from the Jena source), so it will work with Pellet 2.3.1 Adjust all implementations of Graph to include new methods and remove old ones. Add annotations and generics to reduce compiler warnings. Remove all dependencies on RDB, which is no longer supported. This requires considerable refactoring of JenaIngestController, RDFUploadController, listModels.jsp Refactor the ModelMaker uses Remove VitroJenaModelMaker, Revise VitroInterceptingModelMaker to be configurable for Config or Content models Add debug logging code to ModelChangeImpl ChangeSetImpl, RDFServiceJena. Add TDB support: RDFServiceFactoryTDB, RDFServiceTDB Refactor RDFServiceJena and RDFServiceSDB so much of the code can be reused by RDFServiceTDB Accomodate two RDFService instances - one for Configuration models and one for Content models. Changes to RDFServiceUtils, RDFServiceSetup Configuration models use TDB directory in Vitro home directory Handle bulk updating: Jena has deprecated bulk operations, and their models classes no longer use the bulk updaters Create a VitroModelFactory to use instead of the ModelFactory, when bulk updating is required. Create adapter classes: BulkUpdatingModel, BulkUpdatingOntModel, AbstractModelDecorator Make the configuration model setup algorithms uniform Combine ApplicationModelSetup and UserModelSetup into ConfigurationModelsSetup --- productMods/WEB-INF/resources/startup_listeners.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/productMods/WEB-INF/resources/startup_listeners.txt b/productMods/WEB-INF/resources/startup_listeners.txt index ded2dccd..4c89771d 100644 --- a/productMods/WEB-INF/resources/startup_listeners.txt +++ b/productMods/WEB-INF/resources/startup_listeners.txt @@ -24,8 +24,7 @@ edu.cornell.mannlib.vitro.webapp.servlet.setup.JenaPersistentDataSourceSetup edu.cornell.mannlib.vitro.webapp.servlet.setup.RDFServiceSetup -edu.cornell.mannlib.vitro.webapp.servlet.setup.ApplicationModelSetup -edu.cornell.mannlib.vitro.webapp.servlet.setup.UserModelSetup +edu.cornell.mannlib.vitro.webapp.servlet.setup.ConfigurationModelsSetup edu.cornell.mannlib.vitro.webapp.servlet.setup.ContentModelSetup edu.cornell.mannlib.vitro.webapp.servlet.setup.ModelMakerSetup