Skip to content

Commit

Permalink
Register RDF namespaces, and update Blazegraph to 2.1.4 (#383)
Browse files Browse the repository at this point in the history
* Register RDF namespaces, and update Blazegraph to 2.1.4
  • Loading branch information
ruebot authored and whikloj committed Sep 28, 2016
1 parent ddfd944 commit 75c6365
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 1 deletion.
37 changes: 37 additions & 0 deletions install/configs/claw.cnd
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/*
* Islandora CLAW namespaces
*/
<acl = 'http://www.w3.org/ns/auth/acl#'>
<bf = 'http://id.loc.gov/ontologies/bibframe/'>
<cc = 'http://creativecommons.org/ns#'>
<dcterms = 'http://purl.org/dc/terms/'>
<dwc = 'http://rs.tdwg.org/dwc/terms/'>
<exif = 'http://www.w3.org/2003/12/exif/ns#'>
<fedoramodel = 'info:fedora/fedora-system:def/model#'>
<geo = 'http://www.w3.org/2003/01/geo/wgs84_pos#'>
<gn = 'http://www.geonames.org/ontology#'>
<iana = 'http://www.iana.org/assignments/relation/'>
<islandorarelsext = 'http://islandora.ca/ontology/relsext#'>
<islandorarelsint = 'http://islandora.ca/ontology/relsint#'>
<ldp = 'http://www.w3.org/ns/ldp#'>
<mode = 'http://www.modeshape.org/1.0'>
<nfo = 'http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#'>
<ore = 'http://www.openarchives.org/ore/terms/'>
<owl = 'http://www.w3.org/2002/07/owl#'>
<pcdm = 'http://pcdm.org/models#'>
<pcdmfmt = 'http://pcdm.org/2015/10/14/file-format-types'>
<pcdmrts = 'http://pcdm.org/rights#'>
<pcdmuse = 'http://pcdm.org/use#'>
<pcdmwrks = 'http://pcdm.org/works#'>
<prov = 'http://www.w3.org/TR/prov-o/'>
<rdf = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
<rdfs = 'http://www.w3.org/2000/01/rdf-schema#'>
<rel = 'http://id.loc.gov/vocabulary/relators/'>
<schema = 'http://schema.org'>
<skos = 'http://www.w3.org/2004/02/skos/core#'>
<sv = 'http://www.jcp.org/jcr/sv/1.0'>
<test = 'info:fedora/test/'>
<xml = 'http://www.w3.org/XML/1998/namespace'>
<xmlns = 'http://www.w3.org/2000/xmlns/'>
<xs = 'http://www.w3.org/2001/XMLSchema'>
<xsi = 'http://www.w3.org/2001/XMLSchema-instance'>
28 changes: 28 additions & 0 deletions install/configs/repository.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name" : "repo",
"jndiName" : "",
"workspaces" : {
"predefined" : ["default"],
"default" : "default",
"allowCreation" : true
},
"storage" : {
"cacheName" : "FedoraRepository",
"cacheConfiguration" : "${fcrepo.ispn.configuration:config/infinispan/leveldb-default/infinispan.xml}",
"binaryStorage" : {
"type" : "file",
"directory" : "${fcrepo.binary.directory:target/binaries}",
"minimumBinarySizeInBytes" : 4096
}
},
"security" : {
"anonymous" : {
"roles" : ["readonly","readwrite","admin"],
"useOnFailedLogin" : false
},
"providers" : [
{ "classname" : "org.fcrepo.auth.common.BypassSecurityServletAuthenticationProvider" }
]
},
"node-types" : ["fedora-node-types.cnd", "file:/home/vagrant/islandora/install/configs/claw.cnd"]
}
2 changes: 1 addition & 1 deletion install/configs/variables
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ KARAF_CONFIGS="$HOME_DIR/islandora/install/configs/karaf/"
CAMEL_VERSION=4.4.0
SOLR_VERSION=4.10.3
SOLR_HOME="/var/lib/tomcat7/solr"
BLAZEGRAPH_VERSION=1.5.1
BLAZEGRAPH_VERSION=2.1.4
DRUPAL_HOME="/var/www/html/drupal"
FITS_VERSION=1.0.2
FITS_WS_VERSION=1.1.3
4 changes: 4 additions & 0 deletions install/scripts/fcrepo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@ cp -v "$DOWNLOAD_DIR/fcrepo-$FEDORA_VERSION.war" /var/lib/tomcat7/webapps/fcrepo
chown tomcat7:tomcat7 /var/lib/tomcat7/webapps/fcrepo.war
sed -i 's#JAVA_OPTS="-Djava.awt.headless=true -Xmx128m -XX:+UseConcMarkSweepGC"#JAVA_OPTS="-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms512m -Xmx1024m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m -XX:MaxPermSize=256m"#g' /etc/default/tomcat7
service tomcat7 restart

sleep 10
cp -v $HOME_DIR/islandora/install/configs/repository.json /var/lib/tomcat7/webapps/fcrepo/WEB-INF/classes/config/minimal-default/repository.json
service tomcat7 restart

0 comments on commit 75c6365

Please sign in to comment.