Optimize the Apollo sample program (#1265)

* Optimize the Apollo sample program

* Optimize the Apollo sample program
pull/1266/head
马称 1 year ago committed by GitHub
parent b914c1dfea
commit 3de6921d31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -78,6 +78,18 @@
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<finalName>${project.artifactId}</finalName>
<plugins>

@ -1,4 +1,3 @@
# 将以下内容复制到 Apollo 配置文件
# Copy the following to the apollo configuration file
spring.dynamic.thread-pool.web.core-pool-size=64

@ -7,6 +7,9 @@ apollo.autoUpdateInjectedSpringProperties=true
apollo.bootstrap.enabled=true
apollo.bootstrap.namespaces=application
apollo.bootstrap.eagerLoad.enabled=true
# If you have problems starting, add VM parameters: -Denv=dev -Dapollo.configService=http://127.0.0.1:8080
env=dev
apollo.configService=http://127.0.0.1:8080
spring.profiles.active=dev
spring.application.name=hippo4j-config-apollo-spring-boot-1x-starter-example

@ -1,4 +1,3 @@
# \u4EE5\u4E0B\u5185\u5BB9\u590D\u5236\u5230 apollo \u914D\u7F6E\u6587\u4EF6\u4E2D
# Copy the following to the apollo configuration file
spring.dynamic.thread-pool.web.core-pool-size=64

@ -7,6 +7,9 @@ apollo.autoUpdateInjectedSpringProperties=true
apollo.bootstrap.enabled=true
apollo.bootstrap.namespaces=application
apollo.bootstrap.eagerLoad.enabled=true
# The following parameters are used for testing
env=dev
apollo.configService=http://127.0.0.1:8080
spring.profiles.active=dev
spring.application.name=hippo4j-config-apollo-spring-boot-starter-example

Loading…
Cancel
Save