-
Notifications
You must be signed in to change notification settings - Fork 23
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
rewrite the static service tests to use a functioning location #11
Comments
(The working group faced this challenge) We, this community, can't provide that functioning service endpoint -- even if donated now, will it be operational next year or in 5 years, or longer time? And maintained at a 24x7 availability? From running sparql.org, I can say that providing adequate service without non-zero cost is depressingly difficult. Bad things happen all the time. W3C were not in a position to offer that level of guarantee. Documenting that the endpoint needs replacing, is a poorer solution but one with better longer term durability. |
(Chair hat off). I think that for most purposes, using an additional file in the test suite repo which serves static results when accessed as a service endpoint will do much of what is requested. If the need is to validate that a processor properly composes an HTTP request to access the federated service endpoint, we'd need to rely on descriptions of expected HTTP headers which an implementor could use to separately verify requests are made properly. Testing can't be perfect, but we can improve on existing tests using static techniques, IMO. In the case above, consider service01.rq:
This might simply use the data01endpoint.ttl file as is describe in the manifest test entry:
Alternatively, it could remain as is, with the responsibility of the testing infrastructure to proxy a request for http://example.org/sparql to simply return <data01endpoint.ttl>, which has the same effect, but would only work properly in the case of a proxy mechanism to make the substitution. |
On Oct 16, 2015 11:30 PM, "Gregg Kellogg" notifications@github.com wrote:
This tests the syntax and the job semantics but none of the mechanics of
|
at this point in sparql's life cycle, one goal should be to test interoperability. |
The server target of SERVICE does not need to provide federated query itself for a test of (local query execution) SERVICE functionality. We should not require "conforming implementation" to provide a public endpoint. It is not a separation of responsibilities of code writing and code operation. It would imply an implementation team can actually put up and sustain a public endpoint. |
yes, the client and server side if that relation are distinct, yet if sparql as a standard expects to claim that federation serves any purpose, it will have to demonstrate that it works. the current tests do not accomplish this. a short look at the state of the protocol test does not convince, that that would make a better home. |
If people would like to have a conference call to discuss such issues, I'm sure we can get time on the W3C WebEx account and use our #rdf-tests IRC channel for a meeting. Let me know, and I'll send out a Doodle for those interested. |
I have an email out to @ericprud and @philarcher1 to help coordinate this, but it will probably need to wait until after TPAC. |
the service tests are written in terms of non-existent service locations. for example service01.rq is
for these static tests, replace the location with that of a functioning "service".
this should be either an actual sparql endpoint which contains the requisite dataset(s).
short of that, investigate either reducing the requirements such that a single response suffices for all tests or introducing result-specific locations for static responses.
The text was updated successfully, but these errors were encountered: