Best way to disable an Actor? #812
Replies: 1 comment
-
Indeed, doing that should be the easiest solution.
The best way would be to create your own config via Components.js (we have several guides for this). Via You could in theory also not use the config files, and compose your engine purely via JS, but I definitely do no recommend that. This would require you to write hundreds LOC, and is very error-prone. That's exactly the reason why these config files exists :-) |
Beta Was this translation helpful? Give feedback.
-
I'm trying to run a SPARQL query on a Virtuoso endpoint through a local proxy
http://localhost:8010/proxy/sparql
.Comunica extracts the HTML microdata using the
@comunica/bus-rdf-metadata-extract
actor, finds the SPARQL service definition, and then makes subsequent requests directly to that endpoint (http://localhost:8890/sparql
) rather than through the proxy.I can and probably will either change the CORS settings on Virtuoso or set a Comunica-wide proxy with the context. I also just recently remembered I can just set the source type to sparql in JS.
But nevertheless, let's suppose I just want to disable a single or several Actors. What is the best way to do this? don't really want to run Components.js to compile my own version. Is there a way to do this at runtime?
Would it be possible to add to Comunica if not?
Thanks!
HTML microdata
Beta Was this translation helpful? Give feedback.
All reactions