From 71bc98161c605c585fb9fd62ae84a735a3650e8b Mon Sep 17 00:00:00 2001
From: 吴学文 <wuxuewen@wuxuewendeMacBook-Pro.local>
Date: 星期三, 17 七月 2019 21:41:10 +0800
Subject: [PATCH] 服务绑定开发选择服务环节

---
 WebService/src/main/resources/application-test.yml |   26 +++-----------------------
 1 files changed, 3 insertions(+), 23 deletions(-)

diff --git a/WebService/src/main/resources/application-test.yml b/WebService/src/main/resources/application-test.yml
index 88619d6..17b30c4 100644
--- a/WebService/src/main/resources/application-test.yml
+++ b/WebService/src/main/resources/application-test.yml
@@ -15,7 +15,7 @@
     leaseRenewalIntervalInSeconds: 10
     leaseExpirationDurationInSeconds: 30
     preferIpAddress: true
-    instanceId: ${spring.cloud.client.ipAddress}:${server.port}
+    instanceId: ${spring.cloud.client.ip-address}:${server.port}
   client:
     serviceUrl:
       defaultZone: http://test.java110.com:8761/eureka/
@@ -40,7 +40,7 @@
       enabled: true
       force: true
   application:
-    name: console-service
+    name: web-service
   redis:
     database: 0
     host: test.redis.java110.com
@@ -51,29 +51,9 @@
       max-idle: 100
       min-idle: 0
       timeout: 0
-  datasource:
-    connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
-    minIdle: 5
-    validationQuery: SELECT 1 FROM DUAL
-    initialSize: 5
-    maxWait: 60000
-    filters: stat,wall,log4j
-    poolPreparedStatements: true
-    type: com.alibaba.druid.pool.DruidDataSource
-    url: jdbc:mysql://test.db.java110.com:3306/TT?useUnicode=true&characterEncoding=utf-8
-    maxPoolPreparedStatementPerConnectionSize: 20
-    password: TT@12345678
-    testOnBorrow: false
-    testWhileIdle: true
-    minEvictableIdleTimeMillis: 300000
-    timeBetweenEvictionRunsMillis: 60000
-    testOnReturn: false
-    driverClassName: com.mysql.jdbc.Driver
-    maxActive: 20
-    username: TT
 
   thymeleaf:
-    mode: HTML5
+    mode: LEGACYHTML5
     cache: false
     prefix: classpath:/views/
     encoding: UTF-8

--
Gitblit v1.8.0