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 15393c3..76824f8 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 @@ -1,35 +1,15 @@ -######################################################## -###eureka.environment ( EurekaServerBootstrap ) (must reboot) -######################################################## +# EUREKA.ENVIRONMENT ( EurekaServerBootstrap ) eureka.environment=${spring.profiles.active} -######################################################## -###eureka.instance ( EurekaInstanceConfigBean ) (must reboot) -######################################################## +# EUREKA.INSTANCE ( EurekaInstanceConfigBean ) eureka.instance.preferIpAddress=true -######################################################## -###eureka.client (EurekaClientConfigBean , EurekaServerConfigBean ) (must reboot) -######################################################## +# EUREKA.CLIENT (EurekaClientConfigBean , EurekaServerConfigBean ) eureka.client.enabled=true eureka.client.serviceUrl.defaultZone=http://127.0.0.1:${server.port}/eureka/ eureka.client.register-with-eureka=true eureka.client.fetch-registry=true -######################################################## -###LOGGING (must reboot) -######################################################## +# LOGGING logging.file=d:/develop/application-log/${spring.application.name}_${server.port}_${spring.profiles.active}/base.log -######################################################## -###GZIP (ServerProperties) ((must reboot) -######################################################## -#server.compression.enabled=true -#server.compression.mime-types=text/html,text/xml,text/plain,text/css,text/javascript,application/javascript,application/json -######################################################## -###SPRING MVC (WebMvcProperties) (must reboot) -######################################################## -#spring.mvc.async.request-timeout=-1 -#spring.mandatory-file-encoding=${org.itkk.application.config.encoding} -######################################################## -###JACKSON ( JacksonProperties ) -######################################################## +# 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} 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 e1be56c..6ed51c0 100644 --- a/udf-server/udf-eureka-server/src/main/resources/bootstrap.properties +++ b/udf-server/udf-eureka-server/src/main/resources/bootstrap.properties @@ -1,6 +1,4 @@ -######################################################## -###INFO ( note : info.build.time is the UTC time ) -######################################################## +# INFO info.build.group=${project.groupId} info.build.artifact=${project.artifactId} info.build.version=${project.version} @@ -9,36 +7,11 @@ info.build.time=${project.build.date} info.build.encoding=${project.build.sourceEncoding} info.build.java.source=${java.version} info.build.java.target=${java.version} -######################################################## -###IDENTITY -######################################################## +# SPRING spring.application.name=${project.name} -######################################################## -###WEB PROPERTIES (ServerProperties) -######################################################## +# SERVER server.port=${server.port} -######################################################## -###MANAGEMENT (ManagementServerProperties) -######################################################## -#management.security.enabled=false -######################################################## -###PROFILES -######################################################## -#spring.profiles.active=${profiles.activation} -######################################################## -###org.itkk.application.config (ApplicationConfig) (must reboot) -######################################################## -#org.itkk.application.config.encoding=UTF-8 -#org.itkk.application.config.timeZone=Asia/Shanghai -#org.itkk.application.config.dateFormat=yyyy-MM-dd'T'HH:mm:ss:SSSZ -######################################################## -### shutdown -######################################################## -#management.endpoint.shutdown.enabled=true -#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