Skip to content

Commit

Permalink
FAIRSPC-69: fixed the Fuseki SPARQL endpoint which stopped working af…
Browse files Browse the repository at this point in the history
…ter upgrade of Jena from
  • Loading branch information
tgreenwood committed May 22, 2024
1 parent 0de8142 commit 4c37849
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion projects/saturn/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
buildscript {
ext {
jena_version = '4.10.0'
jena_version = '4.10.0' // todo: upgrade to 5+ (FAIRSPC-69)
milton_version = '3.1.1.488' // Milton >= 4 is migrated to Jakarta EE 9, which is not compatible with Jena < 5 (no stable release of Jena 5 yet). To be updated when Jena 5 is released.
mockitoVersion = '5.11.0'
jacksonVersion = '2.15.3' // check what version is used by Jena
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ protected BaseApp(String basePath) {
public final void init() {
path(basePath, () -> {
notFound((req, res) -> {
if (req.pathInfo().startsWith("/api/webdav") || req.pathInfo().startsWith("/api/extra-storage")) {
String pathInfo = req.pathInfo();
if (pathInfo.startsWith("/api/webdav")
|| pathInfo.startsWith("/api/extra-storage")
|| pathInfo.startsWith("/api/rdf")) {
return null;
}
return errorBody(SC_NOT_FOUND, "Not found");
Expand Down

0 comments on commit 4c37849

Please sign in to comment.