microservices-platform

基于SpringBoot2.x、SpringCloud和SpringCloudAlibaba并采用前后端分离的企业级微服务多租户系统架构。并引入组件化的思想实现高内聚低耦合,项目代码简洁注释丰富上手容易,适合学习和企业中使用。真正实现了基于RBAC、jwt和oauth2的无状态统一权限认证的解决方案,面向互联网设计同时适合B端和C端用户,支持CI/CD多环境部署,并提供应用管理方便第三方系统接入;同时还集合各种微服务治理功能和监控功能。模块包括:企业级的认证系统、开发平台、应用监控、慢sql监控、统一日志、单点登录、Redis分布式高速缓存、配置中心、分布式任务调度、接口文档、代码生成等等。

APACHE-2.0 License

Stars
4.6K
Committers
21

Bot releases are hidden (Show)

microservices-platform - v3.3.0

Published by zlt2000 over 4 years ago

更新说明https://mp.weixin.qq.com/s/BPwDUFLNtwsMT29o2E4rEw

Features / Enhancements

  • 审计日志增加插入数据库实现类,配置动态切换loggerdb模式
  • 增加基于 oauth2sso 单点登录样例工程 sso-demo
  • 升级 hutool-all5.1.4
  • 升级 lettuce-core5.2.2.RELEASE
microservices-platform - v3.2.0

Published by zlt2000 over 4 years ago

更新说明https://mp.weixin.qq.com/s/n8VNlc_lZJcerONdQ4x9dg

Features / Enhancements

  • 新增审计日志记录功能(支持 spEL 表达式)
  • 新增审计日志页面
  • 升级 spring-boot2.1.12.RELEASE
  • 升级 spring-cloudGreenwich.SR5
  • 升级 fastjson1.2.62
  • 升级 druid-spring-boot-starter1.1.21
  • 升级 hutool-all5.1.2
  • 升级 mybatis-plus-boot-starter3.3.1
  • 升级 poi4.1.1
  • 升级 lettuce-core5.2.1.RELEASE

Bug fixes

  • 修复开启多租户功能后,用户管理中用户只能分配webApp的角色
  • 修复开启url权限时,无权限访问的api前端会报跨域错误
microservices-platform - v3.1.0

Published by zlt2000 almost 5 years ago

更新说明https://mp.weixin.qq.com/s/KNCn6qKecJkEuG-489_zAw

Features / Enhancements

  • 拆分 feign 拦截器适配 webflux
  • 新增 zlt-config/bootstrap.properties 文件,用于 bootstrap 级别通用配置
  • 简化 nacosserver-addr 配置
  • 迁移所有的 nacos 相关配置到 zlt-config/bootstrap.properties 文件下统一配置
  • 升级 spring-boot2.1.9.RELEASE
  • 升级 spring-cloud-alibaba2.1.1.RELEASE
  • 升级 zlt-register/nacos1.1.4
  • 升级 mybatis-plus3.2.0
  • 升级 spring-boot-admin-starter-server2.1.6
  • 升级 hutool-all5.0.5

Bug fixes

  • 优化网关认证信息传递逻辑,修复 oauth2客户端模式 认证时报错的问题
  • 修复 sc-gateway 开启 url 权限时租户的传递问题
microservices-platform - v3.0.0

Published by zlt2000 about 5 years ago

  • 增加 Spring Cloud Gateway 网关(sc-gateway模块)
    • 集成 Spring Security 统一认证
    • url权限控制
    • swagger-api聚合
    • 动态路由
    • 版本号隔离策略
  • 升级 Spring Boot2.1.8.RELEASE
  • 升级 Spring CloudGreenwich.SR3
  • 升级 Spring Cloud Alibaba2.1.0.RELEASE
  • 优化部分公共模块适配 webFlux
  • 增加分支 2.x
    • 该分支只修复问题不增加新功能
    • Spring Boot 2.0.9
    • Spring Cloud Finchley.SR4
microservices-platform - v2.7.2

Published by zlt2000 about 5 years ago

  • 优化代码生成器代码
  • 修复开启动态路由后网关聚合的SWAGGER-API有重复
microservices-platform - v2.7.1

Published by zlt2000 about 5 years ago

  • 修复租户id判断逻辑问题
  • 去掉无用的配置
  • 修改文件id的生成规则为uuid,修复同一个文件id相同的问题
microservices-platform - v2.7.0

Published by zlt2000 about 5 years ago

  • 新增分布式事务seata-demo演示工程
  • 增加自定义负载均衡规则,实现服务实例版本号隔离
  • 优化 租户trace 等数据传递方式,由拦截器改为过滤器
  • 优化请求IP获取
  • 修复开启url权限认证时认证方法的租户id获取不到的问题
  • 升级验证码 easy-captcha 包到 1.6.2
  • 升级 fastjson1.2.60
  • 升级 swagger-butler 2.0.0
microservices-platform - v2.6.0

Published by zlt2000 about 5 years ago

  • zuul网关增加动态路由实现
  • 增加分布式日志链路追踪
  • 扩展线程池,父线程能传递租户MDC信息给子线程
  • 文件日志logger改为异步方式
  • Spring Boot自定义配置支持IDE自动提示
  • 增加自定义banner
  • 升级lettuce5.1.8.RELEASE
microservices-platform - v2.5.0

Published by zlt2000 about 5 years ago

  • 后端
    • 增加多租户功能(应用隔离)
    • 优化图像验证码,改为gif动图
    • 增强jwtToken额外添加用户id参数,@LoginUser注解能获取(id、username 和roles)三个属性
    • 优化Feign拦截器,增加access_tokenuseridusernamerolesclient等参数传递
    • 优化部分接口返回前端的json格式改为标准格式
    • 解决poi包冲突问题导致导入报错,并优化导出为xlsx格式
    • 升级easypoi4.1.0
    • 升级zlt-register/nacos1.1.3
  • 前端
    • 角色管理、菜单管理、token管理增加所属应用选择
    • 应用管理增加应用名称字段
microservices-platform - v2.3.0

Published by zlt2000 about 5 years ago

  • 优化url权限,并增加用户管理的前后端结合样例(按钮/资源权限+后台api权限)
  • api网关集成Sentinel网关流控组件
  • 新增jwtrsa工具类
  • 优化授权认证配置,授权服务器关闭basic认证
  • 优化多记录insert改为batch批量方式
  • 升级spring-cloud-alibaba2.0.0.RELEASE
  • 升级spring-cloudFinchley.SR4
  • 升级mybatis-plus3.1.2
Related Projects