红中麻将源码下载
【hubawl.com】
资源信息遵循如下规则:
/{application}/{profile}[/{label}]
/{application}-{profile}.yml
/{label}/{application}-{profile}.yml
/{application}-{profile}.properties
/{label}/{application}-{profile}.properties
/application.properties
Server
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-config-server</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-eureka</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>org.jolokia</groupId>
<artifactId>jolokia-core</artifactId>
</dependency>
spring.cloud.config.server.native.searchLocations=file:E://git//config-repo//config
#git 配置br/>spring.cloud.config.server.git.uri=https://github.com/zhaoqilong3031/sprng-config-repo.git
spring.cloud.config.server.git.searchPaths={application}
spring.cloud.config.server.git.cloneOnStart=true
[email protected]
spring.cloud.config.server.git.password=password
#系统br/>server.port=7071
server.context-path=/
server.uri-encoding=utf-8
spring.application.name=config
management.context-path=/management
management.address=127.0.0.1
info.app.name=${spring.application.name}
info.app.profiles=${spring.profiles.active}
[email protected]@
#native 本地 native , git server
spring.profiles.active=git
#安全
security.basic.enabled=false
security.user.name=test
security.user.password=test
security.ignored=/management/**
client
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-config-client</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
spring.cloud.config.name=${spring.application.name}br/>[email protected]@
spring.cloud.config.label=masterbr/>[email protected]@
[email protected]@br/>[email protected]@
spring.cloud.config.failFast=true