Skip to content

拉取艿艿最新 #2

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 191 commits into from
Apr 15, 2020
Merged
Changes from all commits
Commits
Show all changes
191 commits
Select commit Hold shift + click to select a range
58de7ee
增加 spring cloud netflix ribbon 入门示例
Feb 8, 2020
7f8fec6
增加 spring cloud netflix ribbon 入门示例
Feb 9, 2020
8ed4a6f
增加 spring cloud netflix ribbon 入门示例
Feb 9, 2020
7e7044a
增加 spring cloud netflix ribbon 入门示例
Feb 9, 2020
8f94841
增加 spring cloud netflix ribbon 入门示例
Feb 9, 2020
8edc9bb
增加 spring cloud netflix ribbon 入门示例
Feb 9, 2020
9ba8574
增加 spring cloud netflix ribbon 入门示例
Feb 9, 2020
c13e363
增加 spring cloud netflix ribbon 入门示例
Feb 9, 2020
abc4a04
增加 spring cloud openfeign 入门示例
Feb 9, 2020
75c1f68
增加 spring cloud openfeign 入门示例
Feb 9, 2020
2d5b824
增加 spring cloud openfeign 入门示例
Feb 10, 2020
44903f5
增加 spring cloud openfeign 入门示例
Feb 10, 2020
f830ba3
增加 spring cloud openfeign 入门示例
Feb 11, 2020
2369c1a
增加 spring cloud openfeign 入门示例
Feb 11, 2020
c85ca25
增加 spring cloud openfeign 入门示例
Feb 11, 2020
0474c2b
增加 spring cloud openfeign 入门示例
Feb 11, 2020
b65e457
增加 spring cloud openfeign 入门示例
Feb 11, 2020
5caa5d3
增加 spring cloud openfeign 多参数示例
Feb 11, 2020
0e375eb
增加 spring cloud openfeign 各种示例
Feb 12, 2020
3e62b8e
增加 spring cloud openfeign 各种示例
Feb 12, 2020
72438fd
增加 spring cloud alibaba sentinel 服务容错
Feb 12, 2020
21d475a
增加 spring cloud alibaba sentinel 服务容错
Feb 13, 2020
038a6be
增加 spring cloud alibaba sentinel 服务容错
Feb 13, 2020
cda3f3c
增加 spring cloud alibaba sentinel 服务容错
Feb 14, 2020
2380435
增加 spring cloud alibaba sentinel 服务容错
Feb 14, 2020
d32a94c
增加 spring cloud alibaba sentinel 服务容错
Feb 14, 2020
96dae56
增加 spring cloud alibaba sentinel 服务容错
Feb 15, 2020
bb2c23e
增加 spring cloud alibaba sentinel 服务容错
Feb 15, 2020
630140c
增加 spring cloud alibaba sentinel 服务容错
Feb 15, 2020
be60686
增加 spring cloud alibaba sentinel 服务容错
Feb 15, 2020
4bfb6af
增加 spring cloud alibaba sentinel 服务容错
Feb 15, 2020
47180ae
增加 spring cloud alibaba sentinel 服务容错
Feb 15, 2020
8bf7766
增加 spring cloud alibaba sentinel 服务容错
Feb 15, 2020
c178aba
增加 spring cloud alibaba nacos 配置中心
Feb 16, 2020
5f9ffb6
增加 spring cloud alibaba nacos 配置中心
Feb 16, 2020
f6b61e0
增加 spring cloud alibaba nacos 配置中心
Feb 16, 2020
39b90c0
增加 spring cloud alibaba nacos 配置中心
Feb 16, 2020
5da2d06
增加 spring cloud alibaba nacos 配置中心
Feb 17, 2020
89bb3d1
增加 spring cloud alibaba rocketmq 消息队列的示例
Feb 18, 2020
e9b0115
增加 spring cloud alibaba rocketmq 消息队列的示例
Feb 19, 2020
3796d7e
增加 spring cloud alibaba rocketmq 消息队列的示例
Feb 19, 2020
7c95270
增加 spring cloud alibaba rocketmq 消息队列的示例
Feb 19, 2020
986aad8
增加 spring cloud alibaba rocketmq 消息队列的示例
Feb 19, 2020
92a2006
增加 spring cloud alibaba rocketmq 消息队列的示例
Feb 20, 2020
2a43c83
增加 spring cloud alibaba rocketmq 消息队列的示例
Feb 20, 2020
d4c80a1
增加 spring cloud alibaba rocketmq 消息队列的示例
Feb 20, 2020
73605ed
增加 spring cloud alibaba rocketmq 消息队列的示例
Feb 20, 2020
eb75868
增加 spring cloud alibaba rocketmq 消息队列的示例
Feb 20, 2020
be19446
增加 spring cloud alibaba rocketmq 消息队列的示例
Feb 20, 2020
39b5402
增加 spring cloud alibaba dubbo 服务调用的示例
Feb 20, 2020
84f443f
增加 spring cloud alibaba dubbo 服务调用的示例
Feb 21, 2020
0eb518e
增加 spring cloud alibaba dubbo 服务调用的示例
Feb 22, 2020
fbaf88e
增加 spring cloud alibaba dubbo 服务调用的示例(解决 rest 协议报错)
Feb 22, 2020
a22eeb9
增加 spring cloud alibaba dubbo 服务调用的示例
Feb 22, 2020
9a5bd54
增加 spring cloud alibaba dubbo 服务调用的示例
Feb 22, 2020
41bef41
增加 spring cloud alibaba dubbo 服务调用的示例
Feb 22, 2020
4be48ae
增加 spring cloud alibaba dubbo 服务调用的示例,项目结构改造
Feb 23, 2020
fc98993
增加 spring cloud alibaba dubbo 服务调用的示例,项目结构改造
Feb 23, 2020
3ff65ce
增加 spring cloud alibaba dubbo 服务调用的示例
Feb 23, 2020
8ea833b
增加 spring cloud alibaba dubbo 服务调用的示例,参数校验
Feb 23, 2020
39065f1
增加 spring cloud alibaba dubbo 服务调用的示例,参数校验
Feb 23, 2020
446f7f8
增加 spring cloud alibaba dubbo 服务调用的示例,自定义 spi
Feb 23, 2020
ec1dcc0
增加 spring cloud alibaba dubbo 服务调用的示例,流量控制
Feb 23, 2020
56cba02
增加 spring cloud alibaba dubbo 服务调用的示例
Feb 23, 2020
b05623d
增加 spring cloud gateway 网关的示例
Feb 24, 2020
96c5b98
增加 spring cloud gateway 网关的示例
Feb 24, 2020
bc97491
增加 spring cloud gateway 网关的示例
Feb 25, 2020
5b11085
增加 spring cloud gateway 网关的示例
Feb 25, 2020
0626cc3
增加 spring cloud gateway 网关的示例
Feb 26, 2020
77417c7
增加 spring cloud gateway 网关的示例
Feb 27, 2020
e58deef
增加 spring cloud gateway 网关的示例
Feb 28, 2020
6942001
增加 spring cloud gateway 网关的示例
Feb 28, 2020
41c8092
增加 spring cloud gateway 网关的示例
Feb 28, 2020
dfb2b76
增加 spring cloud gateway 网关的示例
Feb 29, 2020
2ff9136
增加 spring cloud gateway 网关的示例
Feb 29, 2020
04bc047
增加 spring cloud gateway 网关的示例
Feb 29, 2020
3ec9130
增加 spring cloud gateway 网关的示例
Feb 29, 2020
c12f257
增加 spring cloud gateway 网关的示例
Feb 29, 2020
84a92f9
增加 spring cloud gateway 网关的示例
Feb 29, 2020
c740fd0
增加 spring cloud apollo 示例
Mar 1, 2020
e345d14
增加 spring cloud apollo 示例
Mar 1, 2020
f8d7372
增加 spring cloud apollo 示例
Mar 1, 2020
dd5ab70
增加 spring cloud apollo 示例
Mar 1, 2020
74fc78b
增加 spring cloud apollo 示例
Mar 1, 2020
3a56e7a
增加 spring cloud apollo 示例
Mar 1, 2020
69f4868
增加 spring cloud stream rabbitmq 示例
Mar 2, 2020
0f9391b
增加 spring cloud stream rabbitmq 示例
Mar 2, 2020
d7d68a6
增加 spring cloud stream rabbitmq 示例
Mar 3, 2020
15c7919
增加 spring cloud stream rabbitmq 示例
Mar 3, 2020
51bcfb7
增加 spring cloud stream rabbitmq 示例
Mar 4, 2020
ab4a541
增加 spring cloud stream rabbitmq 示例
Mar 4, 2020
1ba3109
Merge pull request #1 from YunaiV/master
yuanzhixiang Mar 4, 2020
a944264
打假
yuanzhixiang Mar 4, 2020
8f17803
增加 spring cloud stream rabbitmq 示例
Mar 4, 2020
bd45b62
Merge pull request #13 from zhixiangyuan/dev_counterfeit
YunaiV Mar 4, 2020
2d462ac
增加 spring cloud stream rabbitmq 示例
Mar 5, 2020
ffbdbda
增加 spring cloud stream rabbitmq 示例
Mar 5, 2020
19d1078
增加 spring cloud stream rabbitmq 示例
Mar 5, 2020
8e80452
增加 spring cloud stream rabbitmq 示例(消息确认,开始乱炖`)
Mar 6, 2020
fd39615
增加 spring cloud stream rabbitmq 示例(消息确认,完成乱炖)
Mar 6, 2020
231102c
增加 spring cloud stream rabbitmq 示例(消息确认,完成乱炖)
Mar 7, 2020
3a7551f
增加 spring cloud stream rabbitmq 示例
Mar 7, 2020
ba4fa4f
增加 spring cloud stream rabbitmq 示例
Mar 7, 2020
f9b6a6a
增加 spring cloud stream kafka 示例
Mar 8, 2020
32dc774
增加 spring cloud stream kafka 示例
Mar 8, 2020
c62f631
增加 spring cloud stream kafka 示例
Mar 8, 2020
495fe7b
增加 spring cloud stream kafka 示例
Mar 8, 2020
6c91e4a
增加 spring cloud stream kafka 示例
Mar 9, 2020
e818bc3
增加 spring cloud stream kafka 示例
Mar 9, 2020
cf7c2ff
增加 spring cloud stream kafka 示例
Mar 9, 2020
a28f245
增加 spring cloud stream kafka 示例
Mar 9, 2020
e491599
增加 spring cloud stream kafka 示例
Mar 9, 2020
6522438
增加 spring cloud stream kafka 示例
Mar 10, 2020
7b6e6ec
增加 spring cloud stream kafka 示例
Mar 10, 2020
4b01320
增加 spring cloud stream kafka 示例
Mar 10, 2020
3382a6e
梳理 README 增加 MQ 相关专栏
Mar 11, 2020
5888a75
梳理 README 增加 MQ 相关专栏
Mar 11, 2020
c301cf4
增加 spring cloud config 配置中心的示例
Mar 11, 2020
9c7c81e
增加 spring cloud config 配置中心的示例
Mar 12, 2020
f8d9668
增加 spring cloud config 配置中心的示例
Mar 13, 2020
e0b4c06
增加 spring cloud config 配置中心的示例
Mar 13, 2020
2508230
增加 spring cloud config 配置中心的示例
Mar 13, 2020
0e3c476
增加 spring cloud config 配置中心的示例
Mar 14, 2020
e1724f2
增加 spring cloud config 配置中心的示例
Mar 15, 2020
86d2ff4
增加 spring cloud config 配置中心的示例
Mar 15, 2020
73bef7c
增加 spring cloud config 配置中心的示例
Mar 15, 2020
611c798
增加 spring cloud sleuth 链路追踪
Mar 16, 2020
e3bcb85
增加 spring cloud sleuth 链路追踪
Mar 17, 2020
786ed5b
增加 spring cloud sleuth 链路追踪
Mar 18, 2020
f901462
增加 spring cloud sleuth 链路追踪
Mar 18, 2020
2be94ab
增加 spring cloud sleuth 链路追踪
Mar 19, 2020
1868d28
增加 spring cloud sleuth 链路追踪
Mar 19, 2020
7e92a03
增加 spring cloud sleuth 链路追踪
Mar 19, 2020
a564adc
增加 spring cloud sleuth 链路追踪
Mar 19, 2020
cacf031
增加 spring cloud sleuth 链路追踪
Mar 20, 2020
6797f6f
增加 spring cloud sleuth 链路追踪
Mar 20, 2020
c3e8aa3
增加 spring cloud sleuth 链路追踪
Mar 21, 2020
b2397fc
增加 spring cloud sleuth 链路追踪
Mar 21, 2020
a6ecdf1
增加 spring cloud sleuth 链路追踪
Mar 21, 2020
24ce2e0
增加 zipkin 对 dubbo 的链路追踪
Mar 21, 2020
52b4a2d
增加 zipkin 对 dubbo 的链路追踪
Mar 21, 2020
837382f
增加 spring cloud x skywalking 链路追踪
Mar 22, 2020
820a3ec
增加 spring cloud x skywalking 链路追踪
Mar 22, 2020
9b9f786
增加 spring cloud x skywalking 链路追踪
Mar 22, 2020
0b2244e
增加 spring cloud x skywalking 链路追踪
Mar 22, 2020
02351e5
增加 spring boot x skywalking 链路追踪
Mar 23, 2020
f3a68d1
增加 Dubbo 相关内容
Mar 23, 2020
da5219b
增加 spring cloud x skywalking 链路追踪
Mar 23, 2020
ec7cb88
增加 spring cloud x skywalking 链路追踪
Mar 22, 2020
1e5d414
增加 spring boot x sentry
Mar 26, 2020
894fa48
增加 spring cloud x admin
Mar 28, 2020
fa570f2
增加 spring cloud x admin
Mar 29, 2020
02d8edc
增加 spring cloud x admin
Mar 29, 2020
dc55940
增加 spring cloud x admin
Mar 29, 2020
76d6754
增加 spring cloud x admin
Mar 29, 2020
9aaf6b8
增加 spring cloud x admin
Mar 29, 2020
26c82b0
增加 spring cloud x jenkins
Mar 30, 2020
8e8a7c9
增加 spring cloud x jenkins
Mar 30, 2020
46d9895
文章目录梳理,美滋滋~
Mar 30, 2020
48522b1
增加 spring cloud alibaba 入门介绍
Mar 31, 2020
644ef85
增加 spring boot x seata
Apr 1, 2020
d2d18b8
增加 spring boot x seata
Apr 2, 2020
8b1a03a
增加 seata 服务
Apr 2, 2020
9f807d2
增加 seata 服务
Apr 2, 2020
d6f1ca6
增加 seata 服务
Apr 3, 2020
dd503c3
增加分布式事务相关的内容
Apr 5, 2020
80d478d
增加 dubbo x seata 分布式事务
Apr 5, 2020
5e96f4f
增加 spring cloud alibaba seata 示例
Apr 5, 2020
04310ee
增加 spring cloud alibaba seata 示例
Apr 5, 2020
c428fe4
增加 spring cloud alibaba seata 示例,升级下 seata 版本
Apr 5, 2020
90334d1
增加 spring cloud feign x seata 的示例
Apr 6, 2020
7ac639a
增加 spring cloud feign x seata 的示例
Apr 6, 2020
ffd93a8
增加 spring cloud feign x seata 的示例
Apr 6, 2020
1480151
增加 spring 事件模型
Apr 7, 2020
1c215d9
增加 spring 事件模型
Apr 7, 2020
3ce7501
增加 spring cloud bus rabbitmq 示例
Apr 7, 2020
70514ce
增加 spring cloud bus rabbitmq 示例
Apr 8, 2020
1032257
增加 spring cloud bus kafka 示例
Apr 8, 2020
7348e04
增加 spring cloud bus kafka 示例
Apr 8, 2020
2a1ab5f
增加 spring cloud bus kafka 示例
Apr 9, 2020
f48dfc7
增加 spring cloud bus rocketmq 示例
Apr 9, 2020
d9cfd3c
增加 spring cloud bus rocketmq 示例
Apr 9, 2020
cf5d92c
增加 spring cloud bus rocketmq 示例
Apr 9, 2020
ba6d0e5
增加 spring cloud bus rocketmq 示例
Apr 9, 2020
c32f1ef
增加 spring cloud bus rocketmq 示例
Apr 9, 2020
83715f9
仓库整理
Apr 10, 2020
22554db
增加入门文章
Apr 10, 2020
183e2ed
增加入门文章
Apr 10, 2020
9ee05f7
增加入门文章
Apr 10, 2020
1ac1fc7
增加入门文章
Apr 10, 2020
f8ab2df
增加入门文章
Apr 10, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -31,3 +31,7 @@ target/**
*.iml
*ipr
*.iws

### IntelliJ IDEA
.idea
target
223 changes: 199 additions & 24 deletions README.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Spring-Boot/Spring-Security/?github>
1 change: 0 additions & 1 deletion lab-02/README.md

This file was deleted.

1 change: 1 addition & 0 deletions lab-02/《芋道 Spring Security OAuth2 入门》.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Spring-Security/OAuth2-learning/?github>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Spring-Boot/Kafka/?github>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Spring-Boot/RabbitMQ/?github>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Performance-Testing/Tomcat-Jetty-Undertow-benchmark/?github>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Performance-Testing/SpringMVC-Webflux-benchmark/?github>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Performance-Testing/SpringMVC-Webflux-benchmark/?github>
Empty file added lab-08/准备删除
Empty file.
Empty file added lab-09/准备删除
Empty file.
Empty file added lab-10/准备删除
Empty file.
1 change: 1 addition & 0 deletions lab-11/《芋道 Spring Boot Redis 入门》.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Spring-Boot/Redis/?github>
1 change: 1 addition & 0 deletions lab-12/《芋道 Spring Boot MyBatis 入门》.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Spring-Boot/MyBatis/?github>
1 change: 1 addition & 0 deletions lab-13/《芋道 Spring Boot JPA 入门》.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Spring-Boot/JPA/?github>
1 change: 1 addition & 0 deletions lab-14/《芋道 Spring Boot JdbcTemplate 入门》.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Spring-Boot/JdbcTemplate/?github>
1 change: 1 addition & 0 deletions lab-15/《芋道 Spring Boot Elasticsearch 入门》.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Spring-Boot/Elasticsearch/?github>
1 change: 1 addition & 0 deletions lab-16/《芋道 Spring Boot MongoDB 入门》.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Spring-Boot/MongoDB/?github>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Spring-Boot/dynamic-datasource/?github>
1 change: 1 addition & 0 deletions lab-18/《芋道 Spring Boot 分库分表入门》.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Spring-Boot/sharding-datasource/?github>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Spring-Boot/datasource-pool/?github>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Spring-Boot/database-version-control/?gtihub>
1 change: 1 addition & 0 deletions lab-21/《芋道 Spring Boot 缓存 Cache 入门》.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Spring-Boot/Cache/?github>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Spring-Boot/Validation/?github>
1 change: 1 addition & 0 deletions lab-23/《芋道 Spring Boot SpringMVC 入门》.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Spring-Boot/SpringMVC/?github>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Spring-Boot/Swagger/?github>
1 change: 1 addition & 0 deletions lab-25/《芋道 Spring Boot WebSocket 入门》.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Spring-Boot/WebSocket/?github>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Spring-Boot/Distributed-Session/?github>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Spring-Boot/WebFlux/?github>
1 change: 1 addition & 0 deletions lab-28/《芋道 Spring Boot 定时任务入门》.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Spring-Boot/Job/?github>
1 change: 1 addition & 0 deletions lab-29/《芋道 Spring Boot 异步任务入门》.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Spring-Boot/Async-Job/?github>
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ dubbo:
provider:
timeout: 1000 # 【重要】远程服务调用超时时间,单位:毫秒。默认为 1000 毫秒,胖友可以根据自己业务修改
UserRpcService:
version: 1.0.
version: 1.0.0
# 配置扫描 Dubbo 自定义的 @Service 注解,暴露成 Dubbo 服务提供者
scan:
base-packages: cn.iocoder.springboot.lab30.rpc.service
1 change: 1 addition & 0 deletions lab-30/《芋道 Spring Boot Dubbo 入门》.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Spring-Boot/Dubbo/?github>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Spring-Boot/RocketMQ/?github>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Spring-Boot/ActiveMQ/?github>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Spring-Boot/Shiro/?github>
2 changes: 1 addition & 1 deletion lab-34/lab-34-actuator-demo-info/pom.xml
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>lab-34-acturator-demo-info</artifactId>
<artifactId>lab-34-actuator-demo-info</artifactId>

<dependencies>
<!-- 实现对 Spring MVC 的自动化配置 -->
2 changes: 1 addition & 1 deletion lab-34/lab-34-actuator-demo/pom.xml
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>lab-34-acturator-demo</artifactId>
<artifactId>lab-34-actuator-demo</artifactId>

<dependencies>
<!-- 实现对 Spring MVC 的自动化配置 -->
2 changes: 1 addition & 1 deletion lab-34/lab-34-actuator-test/pom.xml
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>lab-34-acturator-test</artifactId>
<artifactId>lab-34-actuator-test</artifactId>

<dependencies>
<!-- 实现对 Spring MVC 的自动化配置 -->
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Spring-Boot/Actuator/?github>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Spring-Boot/Admin/?github>
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Spring-Boot/Logging/?github>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Spring-Boot/ELK/?github>
15 changes: 15 additions & 0 deletions lab-39/lab-39-skywalking-dubbo/lab-39-skywalking-dubbo-api/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>lab-39-skywalking-dubbo</artifactId>
<groupId>cn.iocoder.springboot.labs</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>lab-39-skywalking-dubbo-api</artifactId>


</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package cn.iocoder.springboot.lab39.skywalkingdemo.api;

/**
* 用户服务 RPC Service 接口
*/
public interface UserService {

/**
* 根据指定用户编号,获得用户信息
*
* @param id 用户编号
* @return 用户信息
*/
String get(Integer id);

}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package cn.iocoder.springcloud.labx13;
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.2.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>lab-39-skywalking-dubbo-consumer</artifactId>

<dependencies>
<!-- 引入定义的 Dubbo API 接口 -->
<dependency>
<groupId>cn.iocoder.springboot.labs</groupId>
<artifactId>lab-39-skywalking-dubbo-api</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>

<!-- 引入 SpringMVC 相关依赖,并实现对其的自动配置 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>

<!-- 实现对 Dubbo 的自动化配置 -->
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo</artifactId>
<version>2.7.4.1</version>
</dependency>
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-spring-boot-starter</artifactId>
<version>2.7.4.1</version>
</dependency>

<!-- 使用 Zookeeper 作为注册中心 -->
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-framework</artifactId>
<version>2.13.0</version>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-recipes</artifactId>
<version>2.13.0</version>
</dependency>
</dependencies>

</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package cn.iocoder.springboot.lab39.skywalkingdemo.consumerdemo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class ConsumerApplication {

public static void main(String[] args) {
SpringApplication.run(ConsumerApplication.class);
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
package cn.iocoder.springboot.lab39.skywalkingdemo.consumerdemo.controller;

import cn.iocoder.springboot.lab39.skywalkingdemo.api.UserService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/user")
public class UserController {

@Reference(protocol = "dubbo", version = "1.0.0")
private UserService userService;

@GetMapping("/get")
public String get(@RequestParam("id") Integer id) {
return userService.get(id);
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
server:
port: 8079

spring:
application:
name: user-service-consumer

# dubbo 配置项,对应 DubboConfigurationProperties 配置类
dubbo:
# Dubbo 应用配置
application:
name: ${spring.application.name} # 应用名
# Dubbo 注册中心配置
registry:
address: zookeeper://127.0.0.1:2181 # 注册中心地址。个鞥多注册中心,可见 http://dubbo.apache.org/zh-cn/docs/user/references/registry/introduction.html 文档。
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.2.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>lab-39-skywalking-dubbo-provider</artifactId>

<dependencies>
<!-- 引入定义的 Dubbo API 接口 -->
<dependency>
<groupId>cn.iocoder.springboot.labs</groupId>
<artifactId>lab-39-skywalking-dubbo-api</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>

<!-- 引入 Spring Boot 依赖 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>

<!-- 实现对 Dubbo 的自动化配置 -->
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo</artifactId>
<version>2.7.4.1</version>
</dependency>
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-spring-boot-starter</artifactId>
<version>2.7.4.1</version>
</dependency>

<!-- 使用 Zookeeper 作为注册中心 -->
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-framework</artifactId>
<version>2.13.0</version>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-recipes</artifactId>
<version>2.13.0</version>
</dependency>
</dependencies>

</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package cn.iocoder.springboot.lab39.skywalkingdemo.providerdemo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class ProviderApplication {

public static void main(String[] args) {
SpringApplication.run(ProviderApplication.class);
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package cn.iocoder.springboot.lab39.skywalkingdemo.providerdemo.service;

import cn.iocoder.springboot.lab39.skywalkingdemo.api.UserService;

@org.apache.dubbo.config.annotation.Service(version = "1.0.0")
public class UserServiceImpl implements UserService {

@Override
public String get(Integer id) {
return "user:" + id;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
spring:
application:
name: user-service-provider

# dubbo 配置项,对应 DubboConfigurationProperties 配置类
dubbo:
# Dubbo 应用配置
application:
name: ${spring.application.name} # 应用名
# Dubbo 注册中心配
registry:
address: zookeeper://127.0.0.1:2181 # 注册中心地址。个鞥多注册中心,可见 http://dubbo.apache.org/zh-cn/docs/user/references/registry/introduction.html 文档。
# Dubbo 服务提供者协议配置
protocol:
port: -1 # 协议端口。使用 -1 表示随机端口。
name: dubbo # 使用 `dubbo://` 协议。更多协议,可见 http://dubbo.apache.org/zh-cn/docs/user/references/protocol/introduction.html 文档
# 配置扫描 Dubbo 自定义的 @Service 注解,暴露成 Dubbo 服务提供者
scan:
base-packages: cn.iocoder.springboot.lab39.skywalkingdemo.providerdemo.service
21 changes: 21 additions & 0 deletions lab-39/lab-39-skywalking-dubbo/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>lab-39</artifactId>
<groupId>cn.iocoder.springboot.labs</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>lab-39-skywalking-dubbo</artifactId>
<packaging>pom</packaging>

<modules>
<module>lab-39-skywalking-dubbo-api</module>
<module>lab-39-skywalking-dubbo-provider</module>
<module>lab-39-skywalking-dubbo-consumer</module>
</modules>

</project>
1 change: 1 addition & 0 deletions lab-39/pom.xml
Original file line number Diff line number Diff line change
@@ -27,6 +27,7 @@
<module>lab-39-trace-annotations</module>
<module>lab-39-opentracing</module>
<module>lab-39-async</module>
<module>lab-39-skywalking-dubbo</module>
</modules>

</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<http://www.iocoder.cn/Spring-Boot/SkyWalking/?github>
Loading