Closed (fixed)
Project:
SPARQL
Version:
7.x-2.x-dev
Component:
SPARQL Endpoints Registry
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
10 Jul 2011 at 18:47 UTC
Updated:
22 Sep 2011 at 12:37 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedAdding tag for code sprint.
Comment #2
Anonymous (not verified) commentedThe attached patch changes $endpoint->endpoint to $endpoint->uri. I have tested it with SPARQL Views module and it works. If no one objects, I'd like to commit this ASAP so that the API change is made before people start using it.
Comment #3
scor commentedI haven't had time to test it, but Looks good. Do you plan to deal with existing installations which already have endpoints registered?
Like you said, maybe standardizing on "URL" instead of URI is good.
Comment #4
Anonymous (not verified) commentedYou're right, I need an update function that updates the table field to uri.
Unless anyone has objections, I'll switch to url.
Comment #5
Anonymous (not verified) commentedIn thinking about it more, it might be best to stick with URI. Entity API is using the term and I'm sure that we use it elsewhere, so if no one has any objections again, I'll stick with URI.
This patch adds an update function.
Comment #6
Anonymous (not verified) commentedSmall typo
Comment #7
Anonymous (not verified) commentedSmall typo
Comment #8
scor commentedpatch looks good and includes update function and updated schema. +1
Comment #9
clayball commentedPatch worked for me. The sparql_registery db table updated successfully.
Based on scor's comment and my testing; changed status to RTBC.
Comment #10
Anonymous (not verified) commentedRad, thanks for the reviews guys! I'll be committing this tonight. I forgot to add a note in the CHANGELOG (which records any changes for UI or API), but I'll take care of that.
Comment #11
Anonymous (not verified) commentedThanks again for the reviews, this is now fixed :)
Fixed with commit http://drupalcode.org/project/sparql.git/commit/edf4428
Comment #13
sun.core commented