jena
jena copied to clipboard
GH-2753: Improve customising Fuseki args
Improves how Fuseki arguments are customised, in particular makes the ServerConfig
class public adding the ability to store extra configuration on it.
It also changes the previously private static applyServerArgs()
method into a protected instance method so users can extend FusekiMain
and override it to use that to customise the FusekiServer.Builder
further.
Unit tests are added that validate that custom arguments can now be passed through CLI inputs and used to influence the Server being built.
GitHub issue resolved #2753
- [x] Tests are included.
- [ ] Documentation change and updates are provided for the Apache Jena website
- [x] Commits have been squashed to remove intermediate development commit messages.
- [x] Key commit messages start with the issue number (GH-xxxx)
By submitting this pull request, I acknowledge that I am making a contribution to the Apache Software Foundation under the terms and conditions of the Contributor's Agreement.
See the Apache Jena "Contributing" guide.