-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use proxy endpoints #129
Comments
To change the SPARQL endpoints, use the constructor like so: https://github.com/perseids-project/nemo_plokamos_plugin/blob/master/tests/test_app.py#L13 |
@fbaumgardt it's taken me a little while to wade my way through various issues with the oauth plugin and the proxy setup that hadn't been found before. I've identified a couple of new problems:
e..g we get these two posts, and only the first passes the authorization check, which looks at the annotatedBy line and compares it with the current user uri (I had to make bug fixes to the oauth plugin and the plokamos plugin to get this to work )
I'm going to think on this a little. |
1: My mistake, for some reason I thought GET -> select and POST -> update, but that's obviously not the case. 2: I might have split the two named graphs into separate insert statement because of issues with RDFStore.JS -- I will look into this tomorrow and let you know if that's the case. But even if we can put multiple graphs into a single INSERT, there are still the DROP GRAPH commands that wouldn't go through. And checking authorization on those is much trickier. |
Yeah it all needs a little thought :-) |
the plokamos update code should be using the proxy endpoint through the nemo annotations plugin for update calls, rather than posting directly to annotation.perseids.org
The text was updated successfully, but these errors were encountered: