All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ugins.validator-lite-spring-boot-samples.1.2.0.source-code.application.properties Maven / Gradle / Ivy

There is a newer version: 1.2.2
Show newest version
#
# Copyright (C) 2019-2020 the original author or authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#


# Server
server.port = 80
server.error.whitelabel.enabled = true
server.error.include-exception = true
server.servlet.context-path = /
server.servlet.application-display-name = validator-lite-spring-boot-samples

# Basic
#spring.profiles.active = dev
spring.application.name = ${server.servlet.application-display-name}

# Application settings (SpringApplication)
spring.main.banner-mode = console

# SpringMVC (WebMvcProperties)
spring.mvc.dateFormat = yyyy-MM-dd HH\:mm\:ss
spring.mvc.logResolvedException = true
spring.mvc.static-path-pattern = /static-resource
spring.mvc.throw-exception-if-no-handler-found = true
spring.mvc.formcontent.putfilter.enable = true

# Spring resources handling (ResourceProperties)
spring.resources.static-locations = classpath:/META-INF/,classpath:/META-INF/resources/,classpath:/META-INF/templates/

# Jackson (JacksonProperties)
spring.jackson.serialization.write-dates-as-timestamps = true

# I18N (MessageSourceProperties)
spring.messages.basename = Message
spring.messages.cache-seconds = -1
spring.messages.encoding = UTF-8
spring.messages.always-use-message-format = false
spring.messages.fallback-to-system-locale = true
spring.messages.use-code-as-default-message = true

# Validator
#validator.setting.default-language = zh-TW(default)
#validator.setting.enable-strict-mode = true(default)
#validator.setting.enable-single-mode = false(default)
#validator.setting.enable-warning-log = true(default)
validator.setting.handlers = com.viiyue.validator.spring.boot.samples.handlers
#validator.setting.factory = com.viiyue.plugins.validator.ValidatorFactoryProvider(default)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy