提交 223a8e43 编写于 作者: Q qinyingjie

fix:提交修改信息

上级 fa53a6a3
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
<module>springcloud-service-portal-8081</module> <module>springcloud-service-portal-8081</module>
<module>springcloud-service-config</module> <module>springcloud-service-config</module>
<module>springcloud-service-config-client</module> <module>springcloud-service-config-client</module>
<module>springcloud-service-config-info</module>
<module>springcloud-service-feign</module> <module>springcloud-service-feign</module>
<module>springcloud-service-zuul</module> <module>springcloud-service-zuul</module>
<module>springcloud-service-consul</module> <module>springcloud-service-consul</module>
......
#端口号
server:
port: 9100
#兼容swagger配置 #兼容swagger配置
spring: spring:
# mysql # mysql
......
#端口号
server:
port: 9200
#兼容swagger配置 #兼容swagger配置
spring: spring:
# mysql # mysql
......
#端口号
server:
port: 9300
#兼容swagger配置 #兼容swagger配置
spring: spring:
# mysql # mysql
......
#端口号
server:
port: 8080
spring: spring:
application: application:
name: portal-service #服务名称 name: portal-service #服务名称
......
#端口号
server:
port: 8081
spring: spring:
application: application:
name: portal-service #服务名称 name: portal-service #服务名称
......
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.kwan.springcloud</groupId>
<artifactId>springcloud-service-parent</artifactId>
<version>1.0.0</version>
</parent>
<artifactId>springcloud-service-config-info</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>springcloud-service-config-info</name>
<properties>
<java.version>1.8</java.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
...@@ -9,12 +9,12 @@ spring: ...@@ -9,12 +9,12 @@ spring:
config: config:
server: server:
git: git:
uri: https://gitcode.net/qyj19920704/springcloud-config.git uri: https://gitcode.net/qyj19920704/springcloud-study.git
search-paths: search-paths:
- config-repo - springcloud-service-config-info/dev
username: 13113691357 username: 13113691357
password: 15671628341qwe password: 15671628341qwe
label: master label: main
#服务提供者 #服务提供者
eureka: eureka:
......
#端口号
server:
port: 9100
spring:
cloud:
config:
fail-fast: false #客户端连接失败时开启重试,需要结合spring-retry、spring-aop
label: main #获取配置文件的分支名
name: application-goods9100 #获取的文件名
profile: goods9100 #文件后缀
uri: http://localhost:7001 #配置中心服务端地址
eureka:
client:
service-url:
defaultZone: http://eureka8767:8767/eureka/,http://eureka8768:8768/eureka/,http://eureka8769:8769/eureka/
\ No newline at end of file
#端口号
server:
port: 9200
spring:
cloud:
config:
fail-fast: false #客户端连接失败时开启重试,需要结合spring-retry、spring-aop
label: main #获取配置文件的分支名
name: application-goods9200 #获取的文件名
profile: goods9200 #文件后缀
uri: http://localhost:7001 #配置中心服务端地址
eureka:
client:
service-url:
defaultZone: http://eureka8767:8767/eureka/,http://eureka8768:8768/eureka/,http://eureka8769:8769/eureka/
\ No newline at end of file
#端口号
server:
port: 9300
#spring配置
spring:
cloud:
config:
fail-fast: false #客户端连接失败时开启重试,需要结合spring-retry、spring-aop
label: main #获取配置文件的分支名
name: application-goods9300 #获取的文件名
profile: goods9300 #文件后缀
uri: http://localhost:7001 #配置中心服务端地址
#注册中心配置
eureka:
client:
service-url:
defaultZone: http://eureka8767:8767/eureka/,http://eureka8768:8768/eureka/,http://eureka8769:8769/eureka/
\ No newline at end of file
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
<groupId>org.springframework.cloud</groupId> <groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-openfeign-core</artifactId> <artifactId>spring-cloud-openfeign-core</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId> <artifactId>spring-boot-starter-actuator</artifactId>
...@@ -42,6 +41,15 @@ ...@@ -42,6 +41,15 @@
<groupId>org.springframework.cloud</groupId> <groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-hystrix</artifactId> <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
</dependency> </dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-config-client</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
</dependencies> </dependencies>
......
#端口号
server:
port: 8080
spring:
cloud:
config:
fail-fast: false #客户端连接失败时开启重试,需要结合spring-retry、spring-aop
label: main #获取配置文件的分支名
name: application-portal8080 #获取的文件名
profile: portal8080 #文件后缀
uri: http://localhost:7001 #配置中心服务端地址
eureka:
client:
service-url:
defaultZone: http://eureka8767:8767/eureka/,http://eureka8768:8768/eureka/,http://eureka8769:8769/eureka/
\ No newline at end of file
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
<groupId>org.springframework.cloud</groupId> <groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-openfeign-core</artifactId> <artifactId>spring-cloud-openfeign-core</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId> <artifactId>spring-boot-starter-actuator</artifactId>
...@@ -42,9 +41,15 @@ ...@@ -42,9 +41,15 @@
<groupId>org.springframework.cloud</groupId> <groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-hystrix</artifactId> <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
</dependency> </dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-config-client</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
......
#端口号,指定端口,不然默认是8080,会出现冲突
server:
port: 8081
spring:
cloud:
config:
fail-fast: false #客户端连接失败时开启重试,需要结合spring-retry、spring-aop
label: main #获取配置文件的分支名
name: application-portal8081 #获取的文件名
profile: portal8081 #文件后缀
uri: http://localhost:7001 #配置中心服务端地址
eureka:
client:
service-url:
defaultZone: http://eureka8767:8767/eureka/,http://eureka8768:8768/eureka/,http://eureka8769:8769/eureka/
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册