Skip to content
Permalink
Browse files
build: bump fuseki base container version (#1946)
  • Loading branch information
subotic committed Nov 23, 2021
1 parent ceaef97 commit cf8bdec91c15b07a303e6661ad8e1cc861499cfc
Showing with 6 additions and 19 deletions.
  1. +0 −11 README.md
  2. +0 −2 WORKSPACE
  3. +4 −4 third_party/versions.bzl
  4. +1 −1 webapi/scripts/fuseki-functions.sh
  5. +1 −1 webapi/scripts/fuseki-repository-config.ttl.template
@@ -175,17 +175,6 @@ A pull request should include tests and documentation for the changes that were
made. See the [documentation README](https://github.com/dasch-swiss/knora-api/blob/main/docs/Readme.md)
for information on writing Knora documentation.

## Contact information

### Technical

Please use the [discuss.dasch.swiss](https://discuss.dasch.swiss) forum for
technical questions.

### Administrative

Lukas Rosenthaler `<lukas.rosenthaler@unibas.ch>`

## Commit Message Schema

When writing commit messages, we follow the [Conventional Commit messages](https://www.conventionalcommits.org/) rules.
@@ -74,15 +74,13 @@ container_pull(
digest = SIPI_IMAGE_DIGEST,
registry = "docker.io",
repository = SIPI_REPOSITORY,
# tag = SIPI_VERSION,
)

container_pull(
name = "jenafuseki",
digest = FUSEKI_IMAGE_DIGEST,
registry = "docker.io",
repository = FUSEKI_REPOSITORY,
# tag = FUSEKI_VERSION,
)

#####################################
@@ -9,11 +9,11 @@ METRICS_VERSION = "4.0.1"
# SIPI - digest takes precedence!
SIPI_REPOSITORY = "daschswiss/sipi"
SIPI_VERSION = "3.3.0"
SIPI_IMAGE = SIPI_REPOSITORY + ":" + SIPI_VERSION
SIPI_IMAGE = SIPI_REPOSITORY
SIPI_IMAGE_DIGEST = "sha256:24ff26999d3727aa4a0c4751fc5706761cea01e9df02e08e676160f234d8506d"

# Jena Fuseki - digest takes precedence!
FUSEKI_REPOSITORY = "daschswiss/apache-jena-fuseki"
FUSEKI_VERSION = "1.0.5" # contains Fuseki 3.16
FUSEKI_IMAGE = FUSEKI_REPOSITORY + ":" + FUSEKI_VERSION
FUSEKI_IMAGE_DIGEST = "sha256:5caba3d092ccc04fe8dc988137d97c012b020eeb649f439511429d6b4ae467ec"
FUSEKI_VERSION = "2.0.2" # contains Fuseki 4.2.0
FUSEKI_IMAGE = FUSEKI_REPOSITORY
FUSEKI_IMAGE_DIGEST = "sha256:7b04aa3a9b51a419948f1cd92ce6504435b9930726a2f714be2e37bd7a32e624"
@@ -79,7 +79,7 @@ create-repository() {
}

upload-graph() {
STATUS=$(curl -s -o /dev/null -w '%{http_code}' -u ${USER_NAME}:${PASSWORD} -H "Content-Type:text/turtle; charset=utf-8" --data-binary @$1 -X PUT http://${HOST}/${REPOSITORY}\?graph\="$2")
STATUS=$(curl -s -o /dev/null -w '%{http_code}' -u ${USER_NAME}:${PASSWORD} -H "Content-Type:text/turtle; charset=utf-8" --data-binary @$1 -X PUT http://${HOST}/${REPOSITORY}/data\?graph\="$2")

if [ "${STATUS}" -eq 201 ]; then
echo "==> 201 Created: $1 -> $2"
@@ -29,7 +29,7 @@
text:dataset :tdb_dataset_readwrite ;
text:index :indexLucene .

# A TDB datset used for RDF storage
# A TDB2 dataset used for RDF storage
:tdb_dataset_readwrite a tdb2:DatasetTDB2 ;
tdb2:unionDefaultGraph true ;
tdb2:location "/fuseki/databases/@REPOSITORY@" .

0 comments on commit cf8bdec

Please sign in to comment.