You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (Jira)" <ji...@apache.org> on 2020/09/09 18:35:00 UTC

[jira] [Created] (JENA-1960) Clean up Fuseki dispatch

Andy Seaborne created JENA-1960:
-----------------------------------

             Summary:  Clean up Fuseki dispatch
                 Key: JENA-1960
                 URL: https://issues.apache.org/jira/browse/JENA-1960
             Project: Apache Jena
          Issue Type: Improvement
          Components: Fuseki
    Affects Versions: Jena 3.16.0
            Reporter: Andy Seaborne
            Assignee: Andy Seaborne
             Fix For: Jena 3.17.0


In order to support the "old style" configuration (e.g. {{fuseki:serviceQuery}}), Fuseki dispatch currently interprets a named service endpoint like "{{/dataset/sparql?query=}}" as also configuring a service on the dataset URL "{{/dataset?query=}}".

This is currently done during request dispatch. It also applies to preferred
 "new style" configuration.
{noformat}
    fuseki:endpoint     [ fuseki:operation fuseki:query ; fuseki:name "sparql" ] ;
{noformat}
This ticket is to change changing of "old style" configuration to be part of
 server setup, not during dispatch, and also to apply it only to "old style".

A configuration like:
{noformat}
    fuseki:endpoint     [ fuseki:operation fuseki:query ; fuseki:name "sparql" ] ;
{noformat}
will only enable "{{/dataset/sparql?query=}}". A query service on the dataset URL
 is a service endpoint of ""
{noformat}
    fuseki:endpoint     [ fuseki:operation fuseki:query ; fuseki:name "" ] ;
{noformat}
or the name can be omitted:
{noformat}
    fuseki:endpoint     [ fuseki:operation fuseki:query ] ;
{noformat}
 

This compatibility dispatch effect on new style configurations has never been documented.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)