-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapplication.properties
65 lines (65 loc) · 3.68 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
# Maximum permitted size for uploaded files.
multipart.maxFileSize = -1
# Hide the Spring boot favicon.
spring.mvc.favicon.enabled=false
# Hide the Spring boot banner.
spring.main.banner-mode=off
# Logging path.
logging.file.path = /validator/logs
# Disable default error page.
server.error.whitelabel.enabled=false
# File upload sizes.
spring.servlet.multipart.max-file-size=10MB
spring.servlet.multipart.max-request-size=100MB
#
# Custom application properties
#
# Tmp path.
validator.tmpFolder = /validator/tmp
# The rate at which the configured email addresses (if defined) are polled for received input files (in ms).
validator.mailPollingRate = 60000
# Prefix of input files in the report folder.
validator.inputFilePrefix = ITB-
# Prefix of report files in the report folder.
validator.reportFilePrefix = TAR-
# Accepted mime-types for input files.
validator.acceptedMimeTypes = application/xml, text/xml, text/plain, application/rdf+xml
validator.acceptedSchemaExtensions = xsd
# Accepted schematron extensions.
validator.acceptedSchematronExtensions = xsl,xslt,sch
# Build information
validator.buildVersion = @pom.version@
validator.buildTimestamp = @validatorTimestamp@
# 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
#Accepted Mimetypes
validator.acceptedZipMimeType=application/zip,application/octet-stream,application/x-zip-compressed,multipart/x-zip
validator.acceptedSchemaMimeType=application/xml,text/xml,text/plain
validator.acceptedSchematronMimeType=application/xslt+xml,application/xml,text/xml,text/plain
validator.disablePreprocessingCache = false
# Default identifier value for statistics reporting
validator.identifier = xml
# Default country detection for statistics reporting
validator.webhook.statisticsEnableCountryDetection = false
# Default http header for the proxied ip
validator.webhook.ipheader = X-Real-IP
# Default web service descriptions
validator.defaultXmlDescription=The XML content to validate, provided as a string, BASE64 or a URI.
validator.defaultTypeDescription=The type of validation to perform (if multiple types are supported).
validator.defaultEmbeddingMethodDescription=The embedding method to consider for the 'xml' input ('BASE64', 'URL' or 'STRING').
validator.defaultExternalSchemaDescription=A list of maps that defines external XSDs to consider in addition to any preconfigured ones.
validator.defaultExternalSchematronDescription=A list of maps that defines external Schematrons to consider in addition to any preconfigured ones.
validator.defaultContextFilesDescription=A list of maps that defines context files to consider as part of the validation.
validator.defaultLocationAsPathDescription=Whether error locations should be XPath expressions or resolve their line and column locations in the provided input.
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").
validator.defaultAddInputToReportDescription=Whether the returned XML validation report should also include the validated input as context information.
# Properties for the OpenAPI/Swagger documentation.
springdoc.packagesToScan = eu.europa.ec.itb.xml.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 = XML Validator REST API
validator.docs.description = REST API to validate single or multiple XML documents against XML Schemas and Schematrons.