chaokunyang / microservices-event-sourcing

Microservices Event Sourcing 是一个微服务架构的在线购物网站,使用Spring Boot、Spring Cloud、Spring Reactor、OAuth2、CQRS 构建,实现了基于Event Sourcing的最终一致性,提供了构建端到端微服务的最佳实践

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

缺少配置文件目录

java-war opened this issue · comments

server:
port: 8888
spring:
application:
name: config-service
cloud:
config:
server:
git:
uri: https://github.com/chaokunyang/spring-event-sourcing.git
searchPaths: config-repository

你好,配置文件目录已添加。目前添加了online-store-app的dev、test、prod配置文件示例。由于在test、prod环境的配置与具体环境紧密相关,所以项目只给了配置方式,具体使用需结合实际应用环境。注意一点,在默认配置下,服务在配置服务器中的配置不会被本地应用的配置覆盖。