apache / apache/jena

Serving the Jena Fuseki UI from the Embedded Server?

Open
#1,795 11 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Java
Stars
1.4k
Forks
712
Avg merge
15h 41m
Merged PRs (30d)
53

Description

### Version

4.7.0

### Question

I am using the embedded Fuseki server in a Spring Boot application like this:

```java
FusekiServer fusekiServer = FusekiServer.create()
.add("/ds", ds)
.build();
fusekiServer.start();
```
I would like to use the Fuseki UI.

[Here](https://github.com/afs/fuseki-mods/blob/070033d90a4b6c917e1cf88c0eecf415358e2ad6/jena-fmod-admin/src/main/java/dev/RunFusekiAdmin.java#L61-L78) I saw that a few things have to be added for it to work? I also added `implementation "org.apache.jena:jena-fuseki-ui:4.7.0"` to my `build.gradle` and saw, that it adds a readily built webapp to my gradle libraries. I can't seem to find out how to serve this though and wire it up properly to the embedded Fuseki server.

Spring Boot serves content located in `src/main/resources/static` automatically at `8080`, should I use this or let `FusekiServer` do the serving via `.staticFileBase()` somehow?

Contributor guide

Open the contributing guide

Research direction

Start with the referenced RunFusekiAdmin.java example, then inspect the jena-fuseki-ui dependency and the embedded server's staticFileBase() API. Determine the supported way to expose the UI in the Spring Boot setup, and verify that it loads and connects to the /ds dataset; document any required wiring.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
Domain
backend, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.