-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathapplication.properties
75 lines (75 loc) · 5.05 KB
/
application.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# Hide the Spring boot favicon.
spring.mvc.favicon.enabled=false
# Hide the Spring boot banner.
spring.main.banner-mode=off
# Maximum upload and request sizes.
spring.servlet.multipart.max-file-size=100MB
spring.servlet.multipart.max-request-size=500MB
# Logging path.
logging.file.path = /validator/logs
# Disable default error page.
server.error.whitelabel.enabled=false
# Default logging level.
logging.level.eu.europa.ec.itb=INFO
# Default server port and context path.
server.port=8080
server.servlet.context-path=/shacl
# Reverse proxy support.
server.forward-headers-strategy=NATIVE
#
# Custom application properties
#
# Report path.
validator.tmpFolder = /validator/tmp
# Accepted SHACL extensions.
validator.acceptedShaclExtensions = rdf, ttl, jsonld
# Accepted content types that can be requested via the Accepts header.
validator.acceptedHeaderAcceptTypes = application/ld+json, application/rdf+xml, text/turtle, application/n-triples, application/xml, text/xml, application/json
# Build information
validator.buildVersion = @pom.version@
validator.buildTimestamp = @validatorTimestamp@
# Default validation report syntax.
validator.defaultReportSyntax = application/rdf+xml
# The rate at which the external file cache is refreshed (3600000 = 1 hour)
validator.cleanupRate = 3600000
# The rate at which the external file cache is refreshed (600000 = 10 minutes)
validator.cleanupWebRate = 600000
# Properties for the OpenAPI/Swagger documentation.
springdoc.packagesToScan = eu.europa.ec.itb.shacl.rest
springdoc.pathsToMatch = /**
validator.docs.licence.description = European Union Public Licence (EUPL) 1.2
validator.docs.licence.url = https://eupl.eu/1.2/en/
validator.docs.version = 1.0.0
validator.docs.title = SHACL Validator REST API
validator.docs.description = REST API to validate single or multiple RDF instances against SHACL shapes.
# The complete value to use for the server part for the Hydra API Link header.
validator.hydraServer = http://localhost:${server.port}
# The context path to consider when constructing the API paths in the Hydra documentation.
validator.hydraRootPath = ${server.servlet.context-path}
# The available content syntax to select for input in the web UI.
validator.contentSyntax = application/ld+json, application/rdf+xml, text/turtle, application/n-triples
# The preferred content type to retrieve the data from SPARQL endpoint.
validator.queryPreferredContentType = application/rdf+xml
# Default web service descriptions
validator.defaultContentToValidateDescription = The content to validate, provided as a string, BASE64 or a URI.
validator.defaultEmbeddingMethodDescription = The embedding method to consider for the 'contentToValidate' input ('BASE64', 'URL' or 'STRING').
validator.defaultContentSyntaxDescription = The mime type of the provided content.
validator.defaultValidationTypeDescription = The type of validation to perform (if multiple types are supported).
validator.defaultExternalRulesDescription = A list of maps that defines external SHACL shapes to consider in addition to any preconfigured ones. Each map item corresponds to a SHACL file and defines the following keys: 'ruleSet' (the rules to consider, see 'contentToValidate' for its semantics), 'ruleSyntax' (the syntax of the 'ruleSet' content, see 'contentSyntax' for its semantics), 'embeddingMethod' (the way to consider the 'ruleSet' value).
validator.defaultLoadImportsDescription = Whether owl:Imports should be loaded (true) or not (false).
validator.defaultAddInputToReportDescription = Whether the returned XML validation report should also include the validated input as context information.
validator.defaultAddRulesToReportDescription = Whether the returned XML validation report should also include the SHACL shapes used for the validation as context information.
validator.defaultContentQueryDescription = The SPARQL query to execute to retrieve the content to validate.
validator.defaultContentQueryEndpointDescription = The URI for the SPARQL endpoint to execute queries against.
validator.defaultContentQueryUsernameDescription = The username to authenticate against the SPARQL endpoint.
validator.defaultContentQueryPasswordDescription = The password to authenticate against the SPARQL endpoint.
validator.defaultAddRdfReportToReportDescription = Whether the raw RDF report should be returned as part of the resulting context information.
validator.defaultRdfReportSyntaxDescription = The mime type for the raw RDF report returned as part of the resulting context (if included).
validator.defaultRdfReportQueryDescription = A post-processing SPARQL CONSTRUCT query to run on the RDF report before returning it in the resulting context.
validator.defaultLocaleDescription = Locale (language code) to use for reporting of results. If the provided locale is not supported by the validator the default locale will be used instead (e.g. "fr", "fr_FR").
# Default identifier value for statistics reporting
validator.identifier = rdf
# Default country detection for statistics reporting
validator.webhook.statisticsEnableCountryDetection = false
# Default http header for the proxied ip
validator.webhook.ipheader = X-Real-IP