afs commented on issue #2488:
URL: https://github.com/apache/jena/issues/2488#issuecomment-2124328808

   Hi @tgreenwood -- There is nothing I can see in the code history that 
suggests a change except a fix around [digest 
auth](https://github.com/apache/jena/issues/1318) but that was a bug fix. 
Dependencies may have been updated.
   
   A mock up of your description seems to work (5.1.0 development codebase). 
   
   What does stop working cover? Is there anything in the server log file?
   
   ```
       public static void main2488() {
           FusekiLogging.setLogging();
           SPARQL_QueryDataset custom = new SPARQL_QueryDataset() {
               @Override
               protected void validateRequest(HttpAction action) {
                   System.err.println("EXT::validateRequest");
                   super.validateRequest(action);
               }
               @Override
               protected void executeWithParameter(HttpAction action) {
                   System.err.println("EXT::executeWithParameter");
                   super.executeWithParameter(action);
               }
               @Override
               protected void executeBody(HttpAction action) {
                   System.err.println("EXT::executeBody");
                   super.executeBody(action);
               }
           };
   
           DatasetGraph dsg = DatasetGraphFactory.createTxnMem();
   
           var operationRegistry = OperationRegistry.createStd();
           operationRegistry.register(
                           Operation.Query,
                           WebContent.contentTypeSPARQLQuery,
                           custom /*<custom SPARQL_QueryDataset>*/);
           FusekiServer server = FusekiServer.create(operationRegistry)
                           .verbose(true)
                           //.securityHandler(<custom handler>)
                           .add("/api/rdf", dsg /*<custom 
DatasetGraphFilteredView>*/, false)
                           .port(0)
                           .start();
           try {
               try ( QueryExec qExec =
                       
QueryExecHTTP.service("http://localhost:"+server.getPort()+"/api/rdf")
                       .query("ASK{}")
                       //.urlGetLimit(0)
                       .build();
                       ) {
                   qExec.ask();
               }
           } finally { server.stop() ; }
       }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to