From 12807f254fa5fba93e41177ef3228727fddf0fb9 Mon Sep 17 00:00:00 2001 From: kingflag <1362168862@qq.com> Date: Fri, 4 Sep 2020 11:01:31 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E9=98=B2=E6=AD=A2maven=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E4=B8=8D=E9=80=9A=E8=BF=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hystrix-collapser-consumer/pom.xml" | 7 +++++++ .../stream-consumer-group/pom.xml" | 7 +++++++ .../stream-hello/pom.xml" | 7 +++++++ 3 files changed, 21 insertions(+) diff --git "a/2-Dalston\347\211\210\346\225\231\347\250\213\347\244\272\344\276\213/hystrix-collapser-consumer/pom.xml" "b/2-Dalston\347\211\210\346\225\231\347\250\213\347\244\272\344\276\213/hystrix-collapser-consumer/pom.xml" index 2f26cbd2..e3e0617b 100644 --- "a/2-Dalston\347\211\210\346\225\231\347\250\213\347\244\272\344\276\213/hystrix-collapser-consumer/pom.xml" +++ "b/2-Dalston\347\211\210\346\225\231\347\250\213\347\244\272\344\276\213/hystrix-collapser-consumer/pom.xml" @@ -71,6 +71,13 @@ org.springframework.boot spring-boot-maven-plugin + + org.apache.maven.plugins + maven-surefire-plugin + + true + + diff --git "a/2-Dalston\347\211\210\346\225\231\347\250\213\347\244\272\344\276\213/stream-consumer-group/pom.xml" "b/2-Dalston\347\211\210\346\225\231\347\250\213\347\244\272\344\276\213/stream-consumer-group/pom.xml" index 7f69896b..9f0e526d 100644 --- "a/2-Dalston\347\211\210\346\225\231\347\250\213\347\244\272\344\276\213/stream-consumer-group/pom.xml" +++ "b/2-Dalston\347\211\210\346\225\231\347\250\213\347\244\272\344\276\213/stream-consumer-group/pom.xml" @@ -52,6 +52,13 @@ org.springframework.boot spring-boot-maven-plugin + + org.apache.maven.plugins + maven-surefire-plugin + + true + + diff --git "a/2-Dalston\347\211\210\346\225\231\347\250\213\347\244\272\344\276\213/stream-hello/pom.xml" "b/2-Dalston\347\211\210\346\225\231\347\250\213\347\244\272\344\276\213/stream-hello/pom.xml" index e89263aa..c1936b9d 100644 --- "a/2-Dalston\347\211\210\346\225\231\347\250\213\347\244\272\344\276\213/stream-hello/pom.xml" +++ "b/2-Dalston\347\211\210\346\225\231\347\250\213\347\244\272\344\276\213/stream-hello/pom.xml" @@ -55,6 +55,13 @@ org.springframework.boot spring-boot-maven-plugin + + org.apache.maven.plugins + maven-surefire-plugin + + true + + From d0a0ca2e5dfca54632f1957c953cf2dda1cca24d Mon Sep 17 00:00:00 2001 From: kingflag <1362168862@qq.com> Date: Fri, 4 Sep 2020 11:28:36 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E8=B7=B3=E8=BD=ACip=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../eureka-client/src/main/resources/application.properties" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/2-Dalston\347\211\210\346\225\231\347\250\213\347\244\272\344\276\213/eureka-client/src/main/resources/application.properties" "b/2-Dalston\347\211\210\346\225\231\347\250\213\347\244\272\344\276\213/eureka-client/src/main/resources/application.properties" index 933eeb4c..f68f5acc 100644 --- "a/2-Dalston\347\211\210\346\225\231\347\250\213\347\244\272\344\276\213/eureka-client/src/main/resources/application.properties" +++ "b/2-Dalston\347\211\210\346\225\231\347\250\213\347\244\272\344\276\213/eureka-client/src/main/resources/application.properties" @@ -6,7 +6,7 @@ eureka.client.serviceUrl.defaultZone=http://localhost:1001/eureka/ logging.file=${spring.application.name}.log -#eureka.instance.prefer-ip-address=true +eureka.instance.prefer-ip-address=true # ½¡¿µ¼ì²é #eureka.client.healthcheck.enabled=true From 6bb32eb3a265353c531b47cac258377cd238b935 Mon Sep 17 00:00:00 2001 From: kingflag <1362168862@qq.com> Date: Fri, 4 Sep 2020 11:49:32 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E8=B7=B3=E8=BD=ACip=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application.properties" | 2 ++ 1 file changed, 2 insertions(+) diff --git "a/2-Dalston\347\211\210\346\225\231\347\250\213\347\244\272\344\276\213/eureka-consumer-ribbon/src/main/resources/application.properties" "b/2-Dalston\347\211\210\346\225\231\347\250\213\347\244\272\344\276\213/eureka-consumer-ribbon/src/main/resources/application.properties" index 7ccc1a89..b033cf1e 100644 --- "a/2-Dalston\347\211\210\346\225\231\347\250\213\347\244\272\344\276\213/eureka-consumer-ribbon/src/main/resources/application.properties" +++ "b/2-Dalston\347\211\210\346\225\231\347\250\213\347\244\272\344\276\213/eureka-consumer-ribbon/src/main/resources/application.properties" @@ -4,3 +4,5 @@ server.port=2101 eureka.client.serviceUrl.defaultZone=http://localhost:1001/eureka/ logging.file=${spring.application.name}.log + +eureka.instance.prefer-ip-address=true From 77929b41abb494ab187b488c84c4c7ec2f371407 Mon Sep 17 00:00:00 2001 From: kingflag <1362168862@qq.com> Date: Tue, 8 Sep 2020 15:16:49 +0800 Subject: [PATCH 4/4] =?UTF-8?q?=E5=A2=9E=E5=8A=A0config=20=E4=BE=9D?= =?UTF-8?q?=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../config-client/pom.xml" | 4 ++++ 1 file changed, 4 insertions(+) diff --git "a/2-Dalston\347\211\210\346\225\231\347\250\213\347\244\272\344\276\213/config-client/pom.xml" "b/2-Dalston\347\211\210\346\225\231\347\250\213\347\244\272\344\276\213/config-client/pom.xml" index 2731df47..652750a1 100644 --- "a/2-Dalston\347\211\210\346\225\231\347\250\213\347\244\272\344\276\213/config-client/pom.xml" +++ "b/2-Dalston\347\211\210\346\225\231\347\250\213\347\244\272\344\276\213/config-client/pom.xml" @@ -36,6 +36,10 @@ org.springframework.boot spring-boot-starter-actuator + + org.springframework.cloud + spring-cloud-starter-config +