![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
JanelSirry
这个作者很懒,什么都没留下…
展开
-
SpringCloud2020 学习笔记(十五)Spring Cloud Eureka 自我保护机制 关闭
SpringCloud2020 学习笔记(十五)Spring Cloud Eureka 自我保护机制我使用spring boot 2.2.2我使用spring cloud Hoxton.SR1我使用spring cloud alibaba 2.1.0.RELEASE一.说人话就是二.官方对于自我保护机制的定义:三.自我保护机制的工作机制是:四.自我保护开关五.重启测试我使用spring boot 2.2.2我使用spring cloud Hoxton.SR1我使用spring cloud alibab原创 2020-11-23 15:19:14 · 1418 阅读 · 0 评论 -
SpringCloud2020 学习笔记(十四)服务发现Discovery
SpringCloud2020 学习笔记(十四)服务发现Discovery我使用spring boot 2.2.2我使用spring cloud Hoxton.SR1我使用spring cloud alibaba 2.1.0.RELEASE一.说明二.编写服务发现简单代码三.启动测试四.添加服务发现的postman接口测试脚本我使用spring boot 2.2.2我使用spring cloud Hoxton.SR1我使用spring cloud alibaba 2.1.0.RELEASE为什么使原创 2020-11-23 12:58:55 · 318 阅读 · 0 评论 -
SpringCloud2020 学习笔记(十三)actuator微服务信息完善 实例名 服务ip 多网卡 细节
SpringCloud2020 学习笔记(十三)actuator微服务信息完善 细节我使用spring boot 2.2.2我使用spring cloud Hoxton.SR1我使用spring cloud alibaba 2.1.0.RELEASE一.登录eureka后台二.修改注册中心显示的实例名和访问路径可以显示IP地址(鼠标移到服务名那边,左下角会显示ip地址)三.重启支付模块和订单模块我使用spring boot 2.2.2我使用spring cloud Hoxton.SR1我使用sprin原创 2020-11-20 19:23:22 · 329 阅读 · 0 评论 -
SpringCloud2020 学习笔记(十二)支付模块做集群 cloud-provider-payment8001 cloud-provider-payment8002
SpringCloud2020 学习笔记(十二)支付模块做集群 cloud-provider-payment8001 cloud-provider-payment8002我使用spring boot 2.2.2我使用spring cloud Hoxton.SR1我使用spring cloud alibaba 2.1.0.RELEASE一.新建cloud-provider-payment8002支付模块1.pom修改name不同 和 artifactId不同2.yml修改服务端口不同3.启动类修改二.eure原创 2020-11-20 17:58:56 · 495 阅读 · 0 评论 -
SpringCloud2020 学习笔记(十一)cloud-consumer-order80 订单模块 cloud-provider-payment8001支付模块 入驻eurekaServer 集群
SpringCloud2020 学习笔记(十一)cloud-consumer-order80 消费者订单模块 cloud-provider-payment8001支付模块 入驻eurekaServer集群注册中心我使用spring boot 2.2.2我使用spring cloud Hoxton.SR1我使用spring cloud alibaba 2.1.0.RELEASE一.修改cloud-provider-payment8001的yml文件二.修改cloud-consumer-order80的yml文原创 2020-11-20 13:33:42 · 262 阅读 · 0 评论 -
SpringCloud2020 学习笔记(十)cloud-eureka-server7001 cloud-eureka-server7002 Eureka集群安装
SpringCloud2020 学习笔记(十)cloud-eureka-server7001 cloud-eureka-server7002 Eureka集群安装我使用spring boot 2.2.2我使用spring cloud Hoxton.SR1我使用spring cloud alibaba 2.1.0.RELEASE一.修改cloud-eureka-server7001 EurekaServer服务端模块的配置文件1.修改eureka服务端实例名称2.修改defaultZone3.修改hosts文原创 2020-10-16 09:12:54 · 409 阅读 · 0 评论 -
SpringCloud2020 学习笔记(九)cloud-consumer-order80 消费者订单模块入驻eurekaServer注册中心
SpringCloud2020 学习笔记(九)cloud-consumer-order80 消费者订单模块入驻eurekaServer注册中心我使用spring boot 2.2.2我使用spring cloud Hoxton.SR1我使用spring cloud alibaba 2.1.0.RELEASE一.修改pom加入eureka客户端依赖二.修改yml配置文件加入eureka客户端相关和服务名三.修改主启动类加入eureka相关注解四.测试订单模块是否加入到注册中心五.如果我们不让订单模块入驻注册中原创 2020-10-15 19:13:24 · 273 阅读 · 1 评论 -
SpringCloud2020 学习笔记(八)cloud-provider-payment8001支付模块入驻eurekaServer注册中心
SpringCloud2020 学习笔记(八)cloud-provider-payment8001支付模块入驻eurekaServer注册中心我使用spring boot 2.2.2我使用spring cloud Hoxton.SR1我使用spring cloud alibaba 2.1.0.RELEASE一.修改pom加入eureka客户端依赖二.修改yml配置文件加入eureka客户端相关三.修改主启动类加入eureka相关注解四.测试支付模块是否加入到注册中心我使用spring boot 2.2.2原创 2020-10-14 21:18:07 · 457 阅读 · 2 评论 -
SpringCloud2020 学习笔记(七)cloud-eureka-server7001 EurekaServer服务端安装
SpringCloud2020 学习笔记(七)cloud-eureka-server7001 EurekaServer服务端安装我使用spring boot 2.2.2我使用spring cloud Hoxton.SR1我使用spring cloud alibaba 2.1.0.RELEASE一.新建cloud-eureka-server7001 EurekaServer服务端模块1.选中cloud2020工程,新建模块2.完整pom.xml3.新建配置文件application.yml4.因为我们是配置中原创 2020-10-14 20:22:55 · 866 阅读 · 0 评论 -
SpringCloud2020 学习笔记(六)如何开启idea中的Run DashBoard or Services
SpringCloud2020 学习笔记(六)如何开启idea中的Run DashBoard or Services我使用IDEA 2019.1.3我使用spring boot 2.2.2我使用spring cloud Hoxton.SR1我使用spring cloud alibaba 2.1.0.RELEASE开启方式一开启方式二我使用IDEA 2019.1.3我使用spring boot 2.2.2我使用spring cloud Hoxton.SR1我使用spring cloud alibaba原创 2020-10-14 19:08:59 · 374 阅读 · 0 评论 -
SpringCloud2020 学习笔记(五)cloud-consumer-order80 消费者订单模块
SpringCloud2020 学习笔记(五)cloud-consumer-order80 消费者订单模块我使用spring boot 2.2.2我使用spring cloud Hoxton.SR1我使用spring cloud alibaba 2.1.0.RELEASE一.新建cloud-consumer-order80消费者订单模块1.选中cloud2020工程,新建模块2.完整pom.xml3.新建资源文件夹4.新建配置文件application.yml5.因为我们是调别的服务,所以只要control原创 2020-10-14 13:27:54 · 427 阅读 · 0 评论 -
SpringCloud2020 学习笔记(四) cloud-provider-payment8001支付模块
SpringCloud2020 学习笔记(四) cloud-provider-payment8001支付模块(上)我使用spring boot 2.2.2我使用spring cloud Hoxton.SR1我使用spring cloud alibaba 2.1.0.RELEASE一.新建cloud-provider-payment8001支付模块1.选中cloud2020工程,新建模块2.完整pom.xml3.新建资源文件夹4.新建配置文件application.yml5.新建mapper文件夹存放mapp原创 2020-10-12 18:36:15 · 917 阅读 · 1 评论 -
SpringCloud2020 学习笔记(一)springboot和springcloud技术选型以及版本选择
SpringCloud2020 学习笔记(一)springboot和springcloud技术选型以及版本选择我使用spring boot 2.2.2我使用spring cloud Hoxton.SR1我使用spring cloud alibaba 2.1.0.RELEASE一.打算按下图示的路线学习二.打算按如下版本进行开发学习我使用spring boot 2.2.2我使用spring cloud Hoxton.SR1我使用spring cloud alibaba 2.1.0.RELEASE一.打原创 2020-10-12 10:44:58 · 533 阅读 · 0 评论 -
SpringCloud2020 学习笔记(三) cloud-api-commons通用模块搭建
SpringCloud2020 学习笔记 cloud-api-commons通用模块搭建我使用spring boot 2.2.2我使用spring cloud Hoxton.SR1我使用spring cloud alibaba 2.1.0.RELEASE一.新建cloud-api-commons模块1.选中cloud2020工程,新建模块2.完整pom.xml3.新建实体包4.新建Payment类5.新建返回包装实体类CommonResult6.看一下代码最终效果7.跳过测试打包到本地仓库我使用sprin原创 2020-10-11 10:15:13 · 1727 阅读 · 2 评论 -
SpringCloud2020 学习笔记(二)父工程搭建
SpringCloud2020 学习笔记 父工程搭建我使用spring boot 2.2.2我使用spring cloud Hoxton.SR1我使用spring cloud alibaba 2.1.0.RELEASE一.新建项目1.方式1.Spring Initializr2.方式2.Maven3.删除src,只留下pom.xml4.package类型改为pom,默认不写为jar类型5.统一管理jar包版本6.预先定义子模块jar版本7.完整pom.xml我使用spring boot 2.2.2我使用原创 2020-10-09 21:44:22 · 281 阅读 · 0 评论