From 95fe7fb6071322bdcf142e32b0ec02b74133a432 Mon Sep 17 00:00:00 2001 From: "udf_admin@163.com" Date: Sat, 10 Nov 2018 23:47:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/bootstrap-dev.properties | 11 +---------- .../src/main/resources/bootstrap.properties | 18 +++++++++++++++--- 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/udf-server/udf-eureka-server/src/main/resources/bootstrap-dev.properties b/udf-server/udf-eureka-server/src/main/resources/bootstrap-dev.properties index 76824f8..8bc8253 100644 --- a/udf-server/udf-eureka-server/src/main/resources/bootstrap-dev.properties +++ b/udf-server/udf-eureka-server/src/main/resources/bootstrap-dev.properties @@ -8,13 +8,4 @@ eureka.client.serviceUrl.defaultZone=http://127.0.0.1:${server.port}/eureka/ eureka.client.register-with-eureka=true eureka.client.fetch-registry=true # LOGGING -logging.file=d:/develop/application-log/${spring.application.name}_${server.port}_${spring.profiles.active}/base.log -# JACKSON -#spring.jackson.dateFormat=${org.itkk.application.config.dateFormat} -#spring.jackson.jodaDateTimeFormat=${org.itkk.application.config.dateFormat} -#spring.jackson.timeZone=${org.itkk.application.config.timeZone} -spring.jackson.serialization.INDENT_OUTPUT=true -spring.jackson.serialization.FAIL_ON_EMPTY_BEANS=true -spring.jackson.deserialization.FAIL_ON_UNKNOWN_PROPERTIES=true -spring.jackson.parser.ALLOW_SINGLE_QUOTES=true -spring.jackson.parser.ALLOW_UNQUOTED_CONTROL_CHARS=true \ No newline at end of file +logging.file=d:/develop/application-log/${spring.application.name}_${server.port}_${spring.profiles.active}/base.log \ No newline at end of file diff --git a/udf-server/udf-eureka-server/src/main/resources/bootstrap.properties b/udf-server/udf-eureka-server/src/main/resources/bootstrap.properties index 6ed51c0..bc019e3 100644 --- a/udf-server/udf-eureka-server/src/main/resources/bootstrap.properties +++ b/udf-server/udf-eureka-server/src/main/resources/bootstrap.properties @@ -7,11 +7,23 @@ info.build.time=${project.build.date} info.build.encoding=${project.build.sourceEncoding} info.build.java.source=${java.version} info.build.java.target=${java.version} +# JACKSON +#spring.jackson.dateFormat=${org.itkk.application.config.dateFormat} +#spring.jackson.jodaDateTimeFormat=${org.itkk.application.config.dateFormat} +#spring.jackson.timeZone=${org.itkk.application.config.timeZone} +spring.jackson.serialization.INDENT_OUTPUT=true +spring.jackson.serialization.FAIL_ON_EMPTY_BEANS=true +spring.jackson.deserialization.FAIL_ON_UNKNOWN_PROPERTIES=true +spring.jackson.parser.ALLOW_SINGLE_QUOTES=true +spring.jackson.parser.ALLOW_UNQUOTED_CONTROL_CHARS=true # SPRING spring.application.name=${project.name} -# SERVER +# HTTP SERVER server.port=${server.port} +# MANAGEMENT HTTP SERVER (ManagementServerProperties) +#management.server.address=127.0.0.1 +management.server.port=${management.port} # ENDPOINTS WEB CONFIGURATION (WebEndpointProperties) management.endpoints.web.exposure.include=* -# ADMIN (SpringApplicationAdminJmxAutoConfiguration) -spring.application.admin.enabled=true \ No newline at end of file +# SHUTDOWN ENDPOINT (ShutdownEndpoint) +management.endpoint.shutdown.enabled=true \ No newline at end of file