All Projects → hiling → Mini Platform

hiling / Mini Platform

Licence: mit
Mini-Platform致力于更简洁易用的轻量级微服务治理平台。

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Mini Platform

Springcloudlearning
《史上最简单的Spring Cloud教程源码》
Stars: ✭ 16,218 (+35940%)
Mutual labels:  eureka, spring-boot, spring, spring-cloud, ribbon, zuul, gateway
Spring Cloud Learning
☁️适合刚接触微服务架构的初学者了解和学习微服务,主要集成了注册中心、服务网关、配置中心、熔断机制、应用监控。
Stars: ✭ 37 (-17.78%)
Mutual labels:  eureka, spring-boot, spring-cloud, ribbon, zuul, gateway
Spring Cloud
SpringCloud微服务架构,提供快速上手脚手架,快速构建高可用注册中心,高可用配置中心,加入Hystrix断路器,gateway服务官网,权限认证、服务降级、限流,加入应用监控
Stars: ✭ 130 (+188.89%)
Mutual labels:  eureka, spring-boot, spring-cloud, ribbon, zuul, gateway
Sample Spring Microservices
Many samples in different branches that shows how to create microservices with Spring Boot, Spring Cloud, Zipkin, Zuul, Eureka, Hystrix, Kubernetes, Elastic Stack and many more tools
Stars: ✭ 368 (+717.78%)
Mutual labels:  microservices, eureka, spring-boot, spring-cloud, ribbon, zuul
Springcloud Learning
Spring Cloud基础教程,持续连载更新中
Stars: ✭ 6,839 (+15097.78%)
Mutual labels:  eureka, spring-boot, spring-cloud, ribbon, zuul
Spring Cloud Netflix
Integration with Netflix OSS components
Stars: ✭ 4,498 (+9895.56%)
Mutual labels:  microservices, spring-boot, spring, spring-cloud, ribbon
Jbone
jbone基于Spring Cloud框架开发,旨在为中小企业提供稳定的微服务解决方案,为开发人员提供基础开发骨架,jbone包含微服务中所有常用组件,例如注册中心、服务管理、服务监控、JVM监控、内存分析、调用链跟踪、API网关等等。业务功能包括系统权限的统一管理、单点登录、CMS、电商平台、工作流平台、支付平台等等。
Stars: ✭ 961 (+2035.56%)
Mutual labels:  microservice, eureka, spring-boot, spring, spring-cloud
Lamp Cloud
lamp-cloud 基于Jdk11 + SpringCloud + SpringBoot的微服务快速开发平台,其中的可配置的SaaS功能尤其闪耀, 具备RBAC功能、网关统一鉴权、Xss防跨站攻击、自动代码生成、多种存储系统、分布式事务、分布式定时任务等多个模块,支持多业务系统并行开发, 支持多服务并行开发,可以作为后端服务的开发脚手架。代码简洁,注释齐全,架构清晰,非常适合学习和企业作为基础框架使用。
Stars: ✭ 4,125 (+9066.67%)
Mutual labels:  eureka, spring, spring-cloud, zuul, gateway
Microservices Example
Example of a microservices architecture on the modern stack of Java technologies
Stars: ✭ 66 (+46.67%)
Mutual labels:  microservices, microservice, eureka, spring-boot, spring-cloud
Bookstoreapp Distributed Application
Ecommerce project is being developed using Spring Boot Microservices and Spring Cloud (Backend) and React (Frontend). Splitting the Ecommerce functionality into various individual microservices so that they can be distributed, scale really well and make use of resources efficiently.
Stars: ✭ 63 (+40%)
Mutual labels:  microservices, eureka, spring-boot, spring-cloud, zuul
Spring Petclinic Microservices
Distributed version of Spring Petclinic built with Spring Cloud
Stars: ✭ 814 (+1708.89%)
Mutual labels:  microservices, eureka, spring-cloud, ribbon, zuul
Java Spring Cloud
Distributed tracing for Spring Boot, Cloud and other Spring projects
Stars: ✭ 326 (+624.44%)
Mutual labels:  microservices, spring-boot, spring, spring-cloud, zuul
Spring Boot Cloud
基于 Spring Boot、Spring Cloud、Spring Oauth2 和 Spring Cloud Netflix 等框架构建的微服务项目
Stars: ✭ 2,044 (+4442.22%)
Mutual labels:  eureka, spring-cloud, ribbon, zuul, oauth
Spring Cloud Cli
Spring Cloud CLI features
Stars: ✭ 139 (+208.89%)
Mutual labels:  microservices, eureka, spring-boot, spring, spring-cloud
Spring Cloud Security
Security concerns for distributed applications implemented in Spring
Stars: ✭ 488 (+984.44%)
Mutual labels:  microservices, spring-boot, spring, spring-cloud, zuul
Spring Cloud Cloudfoundry
Integration between Cloudfoundry and the Spring Cloud APIs
Stars: ✭ 83 (+84.44%)
Mutual labels:  microservices, spring-boot, spring, spring-cloud, ribbon
Sample Spring Microservices New
Demo for Spring Boot 2 and Spring Cloud microservices with distributed configuration (Spring Cloud Config), service discovery (Eureka), API gateway (Spring Cloud Gateway, Zuul), Swagger2 API documentation, logs correlation using Spring Cloud Sleuth and many more
Stars: ✭ 559 (+1142.22%)
Mutual labels:  microservices, eureka, spring-cloud, ribbon, zuul
Simplemall
基于SpringCloud的微服务架构实战案例项目,以一个简单的购物流程为示例,融合spring cloud 相关组件,如spring-cloud-netflix、swagger等
Stars: ✭ 687 (+1426.67%)
Mutual labels:  eureka, netflix, spring-boot, spring-cloud, zuul
Fw Cloud Framework
基于springcloud全家桶开发分布式框架(支持oauth2认证授权、SSO登录、统一下单、微信公众号服务、Shardingdbc分库分表、常见服务监控、链路监控、异步日志、redis缓存等功能),实现基于Vue全家桶等前后端分离项目工程
Stars: ✭ 717 (+1493.33%)
Mutual labels:  eureka, zuul, gateway, oauth
Spring Cloud Consul
Spring Cloud Consul
Stars: ✭ 703 (+1462.22%)
Mutual labels:  microservices, spring-boot, spring, spring-cloud

Mini-Platform轻量级微服务平台

  • Mini-Platform致力于打造更简洁易用的轻量级微服务治理平台,更易于实施与运维;
  • 核心技术:SpringBoot、Spring Cloud、OAuth2(自研)、MyBatis、Redis、MySQL;
  • 核心功能:服务注册与发现、服务网关、负载均衡、统一认证、配置中心、异常处理等;

mini-config - 配置中心

  • 采用Spring Cloud Config作为统一的配置中心
  • 所有服务启动均需要读取配置,因此配置中心为第一个启动服务;
  • 其他服务通过uri访问配置中心,当启动多个节点时,需要通过nginx等做代理达到高可用

mini-discovery - 注册中心

  • 采用Eureka做服务自动注册与发现;
  • 所有服务启动均需注册到注册中心,因此注册中心为第二个启动服务;
  • 注册中心启动多个节点时,可以在配置中心的config-common/common-discovery中配置多个节点地址

mini-gateway - API网关

  • 采用Zuul做服务网关;
  • 外部请求均需要通过网关进行转发,因此API网关为第三启动服务;
  • API网关启动多个节点时,需要通过nginx等做代理达到高可用;
  • Zuul支持三种路由策略:
    1. 支持基于service-id的动态路由策略,支持负载均衡,支持服务的自动注册与发现,当服务地址变化后无需手动配置,当后端服务引入Eureka client时可选用;
    2. 支持基于url的动态路由策略,支持负载均衡,支持服务的手动注册与发现,当服务地址变化后需要手动配置,当后端服务基于传统HTTP调用时可选用;
    3. 支持基于默认url的动态路由策略,不支持负载均衡,后端服务需要单独处理负载均衡(如Nginx),支持服务的手动注册与发现,配置简单,可在测试中使用;
  • 支持服务异常重试,建议只开启GET的重试,且确保GET的幂等,否则建议关闭;

mini-admin - 监控中心

  • 采用Spring Boot Admin作为统一的监控中心
  • 支持钉钉告警

mini-auth - 授权中心

  • 为了更简单易用,OAuth Server采用自研实现。

  • GrantType支持password、client_credentials、refresh_token。

  • Token支持延迟吊销、滑动过期和绝对过期。

  • 用户名密码验证支持直连用户中心数据库验证和调用远程服务验证两种方式。

  • 密码模式授权,用于客户端与服务器之间的授权,流程如下: oauth-password-flow 注:图例为三次请求,1.1-1.3为首次认证;2.1-2.5为通过Access Token访问后端资源;3.1-3.3为使用Refresh Token获取新的Access Token,可用于Access Token过期前刷新Token; 红色字体是Password与Client授权方式不同的地方。

  • 客户端模式授权,用于服务器与服务器之间的授权,流程如下: oauth-client-flow

  • 微服务模式授权示例,是获取到Access Token后请求后端资源的流程细化,如下: oauth-multi-services-flow


Gateway - ACL

  • Gateway中集成的ACL(访问控制列表)模块,对API进行权限控制。
  • 待实现

Gateway - RateLimiting

  • Gateway中集成的限流模块,对API进行流量控制。
  • 待实现

Gateway - Other

  • Gateway中的Log、Metrics、Trace、Alert、Security、Canary等模块。
  • 待实现

OAuth-Client

  • 使用OAuth的客户端使用;
  • 客户端引用后,只需要继承BaseController便可方便的获取用户信息;
  • 参考示例:UserController.java

项目中使用的其他技术介绍

欢迎Star和Fork,微信号:HilingWang,欢迎交流!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].