1. 增加了apollo 配置中心使用的 demo
2. 调整了apollo starter的pom, 增加了对于mvc starter的依赖
This commit is contained in:
@ -14,7 +14,6 @@
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>eureka-example</name>
|
||||
<url>http://maven.apache.org</url>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
@ -26,4 +25,13 @@
|
||||
<artifactId>mall-ebtp-cloud-eureka-starter</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
|
@ -0,0 +1,8 @@
|
||||
server:
|
||||
port: 8082
|
||||
max-http-header-size: 1000000
|
||||
|
||||
# 胜智云eureka 统一配置 (以下内容已在starter中配置好,如无必要无需定义)
|
||||
# eureka.client.service-url.defaultZone=http://192.168.40.17:12093/eureka/,http://192.168.40.17:18126/eureka/,http://192.168.40.17:28641/eureka/
|
||||
# eureka.instance.prefer-ip-address=true
|
||||
# eureka.instance.instance-id=${spring.cloud.client.ip-address}:${server.port}
|
@ -1,12 +1,5 @@
|
||||
server:
|
||||
port: 8082
|
||||
max-http-header-size: 1000000
|
||||
|
||||
spring:
|
||||
application:
|
||||
name: eureka-example
|
||||
|
||||
# 胜智云eureka 统一配置 (以下内容已在starter中配置好,如无必要无需定义)
|
||||
# eureka.client.service-url.defaultZone=http://192.168.40.17:12093/eureka/,http://192.168.40.17:18126/eureka/,http://192.168.40.17:28641/eureka/
|
||||
# eureka.instance.prefer-ip-address=true
|
||||
# eureka.instance.instance-id=${spring.cloud.client.ip-address}:${server.port}
|
||||
profiles:
|
||||
active: dev
|
Reference in New Issue
Block a user