Skip to content
pumba-lt edited this page Oct 14, 2014 · 6 revisions

Graphity Server is configured in web.xml (usually located at /src/main/webapp/WEB-INF) using <context-param>, for example:

    <context-param>
        <param-name>http://www.w3.org/ns/sparql-service-description#endpoint</param-name>
        <param-value>http://graphity.dydra.com/graphity/server/sparql</param-value>
    </context-param>

Currently supported parameters

Property Description
http://www.w3.org/ns/sparql-service-description#endpoint SPARQL endpoint the server is operating on. This endpoint is also accessible via local endpoint proxy, e.g. http://localhost:8080/sparql.
http://graphity.org/gs#graphStore Graph Store the server is operating on. This endpoint is also accessible via local endpoint proxy, e.g. http://localhost:8080/service.
http://jena.hpl.hp.com/Service#queryAuthUser Username for authentication against the SPARQL endpoint (so far only HTTP Basic authentication is supported)
http://jena.hpl.hp.com/Service#queryAuthPwd Password for authentication against the SPARQL endpoint (so far only HTTP Basic authentication is supported)
http://graphity.org/gs#preemptiveAuth If set to true, preemptive HTTP Basic authentication for SPARQL endpoint and Graph Store is enabled. In this mode, credentials are included in the request even without challenge.
http://graphity.org/gs#cacheControl Value of Cache-Control response header for all responses.
http://graphity.org/gs#resultLimit LIMIT value Graphity sets on SELECT queries executed against the local SPARQL endpoint, in order to limit the number of results

Clone this wiki locally