Comments (1)
- 部分项目时从nacos获取配置,部分不是,如mall-monitor时从本地获取的配置文件,项目中也无法配置成从nacos中获取配置文件,因为该项目无法在启动时先加载bootstrap.yml,导致无法再次配置nacos服务地址,继而启动报错,只能从本地获取配置。
- 项目的config目录下有五个服务的配置文件,和对应的项目下的application.yml的配置不相同,例如mall-admin项目等,config目录下的配置文件和服务数量不统一
既然服务已经拆分为微服务,通过nacos获取对应配置,那项目中的application.yml配置就不应该存在,统一在config下维护。
如果是多配置文件,那各个配置文件就不应该出现相同配置,依靠配置加载覆盖,配置起来很迷
@miaopass-future config文件夹下的配置文件可以上传到nacos配置中心管理,项目下面的配置文件可不用,至于配置文件里面的参数,按照需求自行配置就行
from mall-swarm.
Related Issues (20)
- 关于README.md中的描述
- gateway返回403错误
- 网关oauth资源服务异常拦截问题 HOT 1
- Read time out 长时间不请求后台接口会报超时
- 前端登录,报 Bad credentials
- mall-swarm这个项目是目前还没进行数据库拆分吗
- es中 /mydata/elasticsearch/data 数据文件挂载 HOT 1
- 前端登录接口无法访问服务
- search模块启动报错 HOT 4
- Elasticsearch health check failed: Connection refused
- [security vulnerability] Arbitrary Order Detail Access Vulnerability
- 在应用中发现了问题,希望联系到您一起做改善
- maven package 报错 HOT 2
- config下的portal/mall-portal-prod.yaml中数据库连接账号密码应该和其他模块prod环境一样为reader:123456
- 通过网关访问/oauth/token接口,获取token,浏览器报不安全访问
- mall-search连接elasticsearch异常【esProductController】
- Request URL: http://localhost:8085/sso/login Request Method: OPTIONS Status Code: 403 Forbidden HOT 1
- gateway Failed to introspect Class [com.github.xiaoymin.knife4j.spring.configuration.Knife4jAutoConfiguration] HOT 1
- English please
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mall-swarm.