Closed (fixed)
Project:
SPARQL
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Jul 2011 at 14:31 UTC
Updated:
22 Jul 2011 at 12:51 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedThis patch:
Comment #2
Anonymous (not verified) commentedThis one does all of those things and also adds a CHANGELOG file to keep track of API changes and things that will affect existing user config.
Comment #3
scor commentedwhere are the options handled then? in sparql registry? in any case, shouldn't the ARC2 remote endpoint config be aware of it?
Powered by Dreditor.
Comment #4
Anonymous (not verified) commentedDoes store_read_key work for remote endpoints? In reviewing the ARC2 code, I thought it only applied to local stores, but I might be wrong.
I'm planning on adding a form to SPARQL Registry that will allow you to associate keys and values (like 'apikey' = 'linAbCd'). These would then be used in the remote query. They would be passed as part of the object.
EDIT: typo
Comment #5
scor commentedeven if ARC2 does not support it, we should design the API such that read/write key can be used for remote endpoints for example.
Comment #6
Anonymous (not verified) commentedOr no, I think store_read_key only works with other ARC2 endpoints because it uses a specific key, which other endpoints might not use.
Comment #7
Anonymous (not verified) commentedYes, that is what I plan to do with #1210582: Add support for URL parameters. I plan to start work on that once this patch is committed.
Comment #8
scor commentedI hadn't seen that issue.
I think you should go ahead and commit that patch #2, as there currently is no easy way to test this patch without the other pending issues. We should think about the previous feature where there was a temporary store which was used for random SPARQL queries. this store could be created manually via the SR, but it would be nice if it was instead hidden from that UI (via passing a SR-like object?). This could probably be in a separate issue.
Comment #9
Anonymous (not verified) commentedOk, that makes sense to me. I did test this patch with SPARQL Views, and it worked. Issue #1211986: sync with API changes in sparql module has a patch that shows the necessary change.
I'll commit and then start work on #1210582: Add support for URL parameters
Comment #10
Anonymous (not verified) commentedFixed with commit http://drupal.org/node/222959/commits