-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapplication.properties
69 lines (69 loc) · 4.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
66
67
68
69
# 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=1024MB
spring.servlet.multipart.max-request-size=1124MB
# 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
logging.level.org.apache.tika=ERROR
logging.level.com.networknt.schema=ERROR
# Default server port and context path.
server.port=8080
server.servlet.context-path=/csv
#
# Custom application properties
#
# Tmp path.
validator.tmpFolder = /validator/tmp
# Accepted Schema extensions.
validator.acceptedSchemaExtensions = json
# 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 web report cache is refreshed (600000 = 10 minutes)
validator.cleanupWebRate = 600000
# Time to keep CSV input files in milliseconds (600000 = 10 minutes)
validator.minimumCachedInputFileAge = 600000
# Time to keep report files in milliseconds (600000 = 10 minutes)
validator.minimumCachedReportFileAge = 600000
# Accepted mime-types for input files.
validator.acceptedMimeTypes = text/csv, text/plain
# 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.defaultValidationTypeDescription = The type of validation to perform (if multiple types are supported).
validator.defaultExternalSchemaDescription = A map that defines the external Table Schema to consider. The map's items define the following keys: 'content' (the schema content to consider, see 'contentToValidate' for its semantics), 'embeddingMethod' (the way to consider the 'content' value).
validator.defaultInputHasHeadersDescription = A boolean flag specifying whether the provided input contains as its first line the header definitions.
validator.defaultInputDelimiterDescription = The character to be used as the field delimiter.
validator.defaultInputQuoteDescription = The character to be used as the quote character.
validator.defaultDifferentInputFieldCountViolationLevelDescription = The violation level in case the input field count doesn't match the schema field count ('none', 'info', 'optional', 'required').
validator.defaultDifferentInputFieldSequenceViolationLevelDescription = The violation level in case the input fields' sequence doesn't match the schema fields' sequence ('none', 'info', 'optional', 'required').
validator.defaultDuplicateInputFieldsViolationLevelDescription = The violation level in case duplicate input fields are found ('none', 'info', 'optional', 'required').
validator.defaultFieldCaseMismatchViolationLevelDescription = The violation level in case input fields match schema fields but with different casing ('none', 'info', 'optional', 'required').
validator.defaultMultipleInputFieldsForSchemaFieldViolationLevelDescription = The violation level in case multiple input fields map to the same schema field ('none', 'info', 'optional', 'required').
validator.defaultUnknownInputFieldViolationLevelDescription = The violation level in case of unknown input fields ('none', 'info', 'optional', 'required').
validator.defaultUnspecifiedSchemaFieldDescription = The violation level in case schema fields are not defined ('none', 'info', 'optional', 'required').
validator.defaultAddInputToReportDescription = Whether the returned XML validation report should also include the validated input as context information.
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 = csv
# Default country detection for statistics reporting
validator.webhook.statisticsEnableCountryDetection = false
# Default http header for the proxied ip
validator.webhook.ipheader = X-Real-IP
# Properties for the OpenAPI/Swagger documentation.
springdoc.packagesToScan = eu.europa.ec.itb.csv.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 = CSV Validator REST API
validator.docs.description = REST API to validate single or multiple CSV documents against Table Schema(s).