Uncoce-SpringCloud基于 Spring Cloud 的微服務(wù)開發(fā)腳手架
Uncode-SpringCloud
Uncode-SpringCloud是一個基于最新的Spring Cloud2.0的微服務(wù)開發(fā)腳手架,用于快速構(gòu)建中大型系統(tǒng)的基礎(chǔ)框架。將開發(fā)中遇到的問題和生產(chǎn)中所碰到的各種坑整理歸納,形成相應(yīng)的解決方案融合到框架中。
功能概述
- 配置中心:Apollo。
- 服務(wù)注冊與發(fā)現(xiàn):Eureka,支持開發(fā)可以對節(jié)點狀態(tài)進行操作。計劃支持Nacos。
- 服務(wù)網(wǎng)關(guān):Spring Gateway,支持動態(tài)路由和灰度。
- 斷路保護和流量控制:Sentinel。
- 服務(wù)監(jiān)控:CAT、SpringCloud Admin。
- 服務(wù)安全:Uncode Session。
- 消息通知:RibbitMQ、Event。
- 分布式事務(wù):計劃集成seata/fescar。
- 日志:ELK。
- 依賴組件:Uncode-DAL、Uncode-Cache、Uncode-Schedule、Uncode-Session。
架構(gòu)圖
技術(shù)文檔
- 即將發(fā)布,敬請期待,請start項目,給作者一些寫文檔的支持。
核心依賴
| 依賴 | 版本 |
|---|---|
| Spring Boot | 2.0.x.RELEASE |
| Spring Cloud | Finchley |
| Spring Cloud Alibaba | 0.2.x.RELEASE |
| Uncode-DAL | 2.2.5 |
| Uncode-Cache | 2.0.5 |
| Uncode-Session | 2.1.0 |
| Uncode-Schedule | 1.1.0 |
工程結(jié)構(gòu)
uncode-springcloud ├── uncode-springcloud-dependencies -- 依賴定義 ├── uncode-springcloud-eureka -- 注冊中心 ├── uncode-springcloud-gateway -- Spring Cloud 網(wǎng)關(guān) ├── uncode-springcloud-utils -- 工具類 ├── uncode-springcloud-starter-boot -- 啟動、配置加載相關(guān)封裝 ├── uncode-springcloud-starter-bus -- 消息、事件、通知相關(guān)封裝 ├── uncode-springcloud-starter-fuse -- 熔斷、限流、降級及調(diào)用鏈相關(guān)封裝 ├── uncode-springcloud-starter-log -- 操作日志、ELK、系統(tǒng)日志相關(guān)封裝 ├── uncode-springcloud-starter-canary -- 灰度發(fā)布相關(guān)封裝 ├── uncode-springcloud-starter-monitor -- 監(jiān)控相關(guān)封裝 ├── uncode-springcloud-starter-web -- web相關(guān)功能封裝 ├── uncode-springcloud-starter-security -- 認證和受權(quán)相關(guān)功能封裝 ├── uncode-springcloud-parent -- 子應(yīng)用需要繼承的父pom ├── uncode-springcloud-admin -- 管理后臺&demo ├── uncode-springcloud-demo -- demo ├ ├── uncode-springcloud-provider-api -- 服務(wù)提供api ├ ├── uncode-springcloud-provider-impl -- 服務(wù)提供實現(xiàn) └── └── uncode-springcloud-consumer -- 服務(wù)消費demo
開源協(xié)議
Apache Licence 2.0 (英文原文)
Apache Licence是著名的非盈利開源組織Apache采用的協(xié)議。該協(xié)議和BSD類似,同樣鼓勵代碼共享和尊重原作者的著作權(quán),同樣允許代碼修改,再發(fā)布(作為開源或商業(yè)軟件)。
需要滿足的條件如下:
-
需要給代碼的用戶一份Apache Licence
-
如果你修改了代碼,需要在被修改的文件中說明。
-
在延伸的代碼中(修改和有源代碼衍生的代碼中)需要帶有原來代碼中的協(xié)議,商標,專利聲明和其他原來作者規(guī)定需要包含的說明。
-
如果再發(fā)布的產(chǎn)品中包含一個Notice文件,則在Notice文件中需要帶有Apache Licence。你可以在Notice中增加自己的許可,但不可以表現(xiàn)為對Apache Licence構(gòu)成更改。
Apache Licence也是對商業(yè)應(yīng)用友好的許可。使用者也可以在需要的時候修改代碼來滿足需要并作為開源或商業(yè)產(chǎn)品發(fā)布/銷售。
關(guān)于
作者:冶衛(wèi)軍([email protected],微信:yeweijun)
技術(shù)支持QQ群:47306892
界面一覽
評論
圖片
表情
