[Spring cloud 一步步实现广告系统] 6. Service实现&Zuul配置&Test

2019-07-29
阅读 8 分钟
2.2k
JPARepository 的默认实现方法,如果我们只是继承了JpaRepository而没有实现具体的操作方法,我们也是可以通过使用它的默认方法来做CRUD操作的,如下:

[Spring cloud 一步步实现广告系统] 3. 网关路由

2019-07-27
阅读 3 分钟
2.3k
Zuul(Router and Filter) WIKI: 传送门 作用 认证,鉴权(Authentication/Security) 预判(Insights) 压力测试(Stress Testing) 灰度/金丝雀测试(Canary Testing) 动态路由(Dynamic Routing) 服务迁移(Service Migration) 降低负载(Load Shedding) 静态响应处理(Static Response handling) 主动/主动交...