Remove unuused files
This commit completes the code porting to go, and removes any old data no longer in use.
This commit is contained in:
parent
df4cfa3567
commit
437f499fb4
12 changed files with 1 additions and 760 deletions
|
|
@ -1,34 +0,0 @@
|
|||
-- create the database if it doesn't exist yet
|
||||
CREATE DATABASE IF NOT EXISTS `${DATABASE}`;
|
||||
|
||||
-- use the database we just created
|
||||
USE `${DATABASE}`;
|
||||
|
||||
-- create the bookkeeping table
|
||||
CREATE TABLE IF NOT EXISTS `${TABLE}`(
|
||||
-- automatically created fields
|
||||
pk INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
||||
created DATETIME DEFAULT CURRENT_TIMESTAMP,
|
||||
|
||||
-- slug of the website
|
||||
slug TEXT NOT NULL UNIQUE,
|
||||
|
||||
-- email address of owner, NULL if abndoned
|
||||
owner_email VARCHAR(320),
|
||||
|
||||
-- automatically call blind_update.sh for this repo
|
||||
auto_blind_update_enabled BIT NOT NULL DEFAULT 1,
|
||||
|
||||
-- local file path
|
||||
filesystem_base TEXT NOT NULL,
|
||||
|
||||
-- sql access credentials
|
||||
sql_database TEXT NOT NULL,
|
||||
sql_user TEXT NOT NULL,
|
||||
sql_password TEXT NOT NULL,
|
||||
|
||||
-- graphdb credentials
|
||||
graphdb_repository TEXT NOT NULL,
|
||||
graphdb_user TEXT NOT NULL,
|
||||
graphdb_password TEXT NOT NULL
|
||||
);
|
||||
|
|
@ -1,57 +0,0 @@
|
|||
# This file is used to initialize a new GraphDB repository.
|
||||
# In this file the variables ${GRAPHDB_REPO} and ${INSTANCE_DOMAIN} will be replaced.
|
||||
# All other variables will be left untouched.
|
||||
|
||||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
|
||||
@prefix rep: <http://www.openrdf.org/config/repository#>.
|
||||
@prefix sr: <http://www.openrdf.org/config/repository/sail#>.
|
||||
@prefix sail: <http://www.openrdf.org/config/sail#>.
|
||||
@prefix owlim: <http://www.ontotext.com/trree/owlim#>.
|
||||
|
||||
[] a rep:Repository ;
|
||||
rep:repositoryID "${GRAPHDB_REPO}" ;
|
||||
rdfs:label "${INSTANCE_DOMAIN}" ;
|
||||
rep:repositoryImpl [
|
||||
rep:repositoryType "graphdb:SailRepository" ;
|
||||
sr:sailImpl [
|
||||
sail:sailType "graphdb:Sail" ;
|
||||
|
||||
owlim:owlim-license "" ;
|
||||
|
||||
owlim:base-URL "http://${INSTANCE_DOMAIN}/" ;
|
||||
owlim:defaultNS "" ;
|
||||
owlim:entity-index-size "10000000" ;
|
||||
owlim:entity-id-size "32" ;
|
||||
owlim:imports "" ;
|
||||
owlim:repository-type "file-repository" ;
|
||||
owlim:ruleset "empty" ;
|
||||
owlim:storage-folder "storage" ;
|
||||
|
||||
owlim:enable-context-index "false" ;
|
||||
owlim:cache-memory "80m" ;
|
||||
owlim:tuple-index-memory "80m" ;
|
||||
|
||||
owlim:enablePredicateList "false" ;
|
||||
owlim:predicate-memory "0%" ;
|
||||
|
||||
owlim:fts-memory "0%" ;
|
||||
owlim:ftsIndexPolicy "never" ;
|
||||
owlim:ftsLiteralsOnly "true" ;
|
||||
|
||||
owlim:in-memory-literal-properties "false" ;
|
||||
owlim:enable-literal-index "true" ;
|
||||
owlim:index-compression-ratio "-1" ;
|
||||
|
||||
owlim:check-for-inconsistencies "false" ;
|
||||
owlim:disable-sameAs "false" ;
|
||||
owlim:enable-optimization "true" ;
|
||||
owlim:transaction-mode "safe" ;
|
||||
owlim:transaction-isolation "true" ;
|
||||
owlim:query-timeout "0" ;
|
||||
owlim:query-limit-results "0" ;
|
||||
owlim:throw-QueryEvaluationException-on-timeout "false" ;
|
||||
owlim:useShutdownHooks "true" ;
|
||||
owlim:read-only "false" ;
|
||||
owlim:nonInterpretablePredicates "http://www.w3.org/2000/01/rdf-schema#label;http://www.w3.org/1999/02/22-rdf-syntax-ns#type;http://www.ontotext.com/owlim/ces#gazetteerConfig;http://www.ontotext.com/owlim/ces#metadataConfig" ;
|
||||
]
|
||||
].
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
{
|
||||
"username": "${GRAPHDB_USER}",
|
||||
"grantedAuthorities": [
|
||||
"ROLE_USER",
|
||||
"READ_REPO_${GRAPHDB_REPO}",
|
||||
"WRITE_REPO_${GRAPHDB_REPO}"
|
||||
],
|
||||
"password": "${GRAPHDB_PASSWORD}"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue