Comments (18)
I try to attach the server.js file
from ld-r.
https://drive.google.com/open?id=1VSKMzSwrFuC4zbxNejlGoSJf-qHIua2J
from ld-r.
I think the issue is that for dynamic datasets, the LD-R always used ClioPatria
as default triple store and then you need to go to the configurations and change the endpointType.
I made a minor change in code where the generic endpointType will be used for dynamic datasets. Maybe you want to try that.
p.s. I think you need to use 'username' instead of 'user' in your server.js configs.
from ld-r.
from ld-r.
I don't see any config about the username, password here. You should edit this in your server config (click on the configurations icon).
You should know the difference between static and dynamic configs in LD-R. When you try to connect to a new dataset, all your local static config in server.js is ignored. For static one, you should change the configs manually in reactor.js
from ld-r.
When I click on the config icon I get this
from ld-r.
this means you cannot connect to the SPARQL endpoint that hosts your configurations! check your config for 'http://ld-r.org/configurations': {
in your server.js file. And use username
instead of user
from ld-r.
Yes , but since the ldr base has been populated when the process started, that means that the program accesses and writes into the base in some way non ?
I changed user to username too
from ld-r.
Not necessarily as LD-R is just a UI on top of a SPARQL endpoint. If the connection is not established, the UI can still run but with error messages. And the configurations for datasets and configs are separate. You might be able to see some datasets but cannot write any configurations.
I you share you code with me, I can have a look.
from ld-r.
Here's the code
https://drive.google.com/open?id=1qn_5KK1u7dS5XNhgjRp0UuLX7kpF8Axt
Thanks Ali
from ld-r.
I checked the code. If you remove the graphName
and the trailing slashes, it should work fine:
'generic': {
host: 'localhost', port: 7200, path: '/repositories/ldr' , endpointType: 'graphdb',
username: '***', password: '***'
},
'http://ld-r.org/configurations': {
host: 'localhost', port: 7200, path: '/repositories/ldr' , endpointType: 'graphdb',
username: '***', password: '*****'
},
from ld-r.
I get that on the command line
uri: '**http://example.com**:7200/repositories/enedis
instead of
uri: 'localhost:7200/repositories/enedis
while the content of the base is
from ld-r.
no clue what to do! I checked your files with my local GraphDB and everything worked well with the above changes!
from ld-r.
It looks like localhost or '127.0.0.1' is ignored (static or dynamic)
from ld-r.
localhost is ignored for all dynamic configs as it might cause a security breach!
from ld-r.
That's annoying ;)
from ld-r.
if you really want to have it enabled, you can just remove that restriction in your fork.
from ld-r.
Yes, I'll do it .
Thanks Ali
from ld-r.
Related Issues (20)
- deploy on Heroku HOT 1
- Nesting property categories HOT 1
- Support property chains in reactor.js HOT 9
- Weird Behaviour HOT 2
- working with jena/fuseki HOT 1
- Wrong propertyURI creation while creating the "facets" HOT 1
- SPARQL Editor
- Question on setting base URI when creating a new resource HOT 5
- No users displayed in admin user list HOT 4
- dealing with reading/writing to named graphs and the default graph in GraphDB HOT 3
- Workflow for managing user permissions HOT 1
- property set to isHidden is still visible in detailed view
- blank nodes cannot be viewed as subjects HOT 2
- Default edit access for users HOT 1
- Support JWT to authenticate against GraphDB HOT 1
- Multi Resource Reactor HOT 13
- Debugging HOT 2
- reference to the sparql endpoint for a dataset (Dynamic Configuration) HOT 2
- Label rendering behavior
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ld-r.