What setting do you have for "endpoint:"

{ endpoint: "http://localhost:3030/ds/sparql"; }

and does the port number agree with your setup?

(you have to choose one Fuseki server to server the browser.html for this temp workaround)

    Andy

On 05/10/2020 19:22, Johan Kumps wrote:
Andy,

I have a setup on my localhost following the tutorial at :
https://afs.github.io/rdf-delta/ha-system.html#ha-patch-store

So in my opinion, i don't change hostnames...

Johan,

Op ma 5 okt. 2020 om 20:03 schreef Andy Seaborne <[email protected]>:

What is your setup for this?
How many servers? and which backend storage are you using?
----

There could be a CORS problem - if the Fuseki server in a different DNS
domain to the browser client, the javascript is going to require CORS.
The release of Delta with Fuseki doesn't have that in.

The code in development Delta does. As Delta isn't part of the Jena
project, there isn't a prebuilt SNAPSHOT. Current development Delta
requires Java11.

      Andy

On 05/10/2020 12:32, Johan Kumps wrote:
Andy,

I'm looking for mainly query and data manipulation features.

Johan,

Op ma 5 okt. 2020 om 13:32 schreef Johan Kumps <[email protected]
<mailto:[email protected]>>:

     Thanks Andy!

     I tried the Yasgui approach in your browser.html file. I get the
     following error :

     image.png
     Any ideas?

     Johan,

     Op ma 5 okt. 2020 om 13:07 schreef Andy Seaborne <[email protected]
     <mailto:[email protected]>>:

         Hi Johan,
         On 03/10/2020 21:38, Johan Kumps wrote:
          > Hi all,
          >
          > I'm have a working high available setup of Jena Fuseki
         servers and
          > RDF-delta.

         For general information : what is your setup for this?

          > Is there a way to connect Fuseki UI to a remote Fuseki server?

         The Fuseki UI has two parts:
             Admin -- for create datasets etc
             Workbench -- for query and data modification.

         Which parts were you interested in?

         Neither is available for the Fuseki with Delta. The UI is in
         Fuseki/Webabpp ("Fuseki full") and the server package up with
         Delta is
         Fuseki/main which is just a server.

         The admin in Delta is completely different to Fuseki/webapp
         standalone
         server. Really, it needs a control interface on the Delta server
         cluster, not Fuseki.

         There is some on-going work to clean up and modernise the code
         for the
         UI and that will make it easier to have a standalone workbench
         separate
         from the admin functions.

         Fuseki/main has a "--base" argument which names a file area to
         server
         static files.

         For now, you can add a simple query page to load Yasgui (note the
         endpoint is in the HTML file) by putting this HTML file in the
         file area:

         ---- browser.html
         <html>
             <head>
               <link
         href="https://unpkg.com/@triply/yasgui/build/yasgui.min.css";
         rel="stylesheet" type="text/css" />
               <script
         src="https://unpkg.com/@triply/yasgui/build/yasgui.min.js
"></script>
             </head>
             <body>
               <h1>Browser</h1>
               <div id="yasgui"></div>
               <script>
                 const yasgui = new
         Yasgui(document.getElementById("yasgui"),  {
                   requestConfig: { endpoint:
         "http://localhost:3030/ds/sparql"; } ,
                   copyEndpointOnNewTab: false
                 });
               </script>
             </body>
         </html>
         ---- browser.html

               Andy

          >
          > Thanks for the info!
          >
          > Johan,
          >



Reply via email to