spring 功能demo
- 公共配置
- mybatis-puls
- mybatis-puls generanor
- druid
- druid 监控
- spring cloud alibaba
- swagger
- nacos 配置
- nacos 注册中心
- openfeign 调用
- Sentinel 监控
- gateway
- sharding-jdbc
- druid 多数据源
- 登录权限
- sso
- [x]
- 模块间session共享(session redis)
- redis 分布式锁 (redisson)
- gateway 强制指定分发
- 启动 Sentinel 控制台
- 启动 nacos
- 修改 bootstrap.yaml 中 Sentinel和nacos 地址
- 导入 nacos 的配置文件
- 修改 bootstrap.yaml 中 nacos 的group , namespace 信息
- 启动 所有服务
如果不显示,打开项目根目录下 .idea/workspace.xml
文件 替换以下节点,然后重新打开窗口.
<component name="RunDashboard">
<option name="configurationTypes">
<set>
<option value="SpringBootApplicationConfigurationType"/>
</set>
</option>
</component>