自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(5)
  • 收藏
  • 关注

转载 springclound 微服务实战hystrix

Hystrix请求命令 HystrixCommand、HystrixObservableCommand Hystrix有两个请求命令 HystrixCommand、HystrixObservableCommand。   HystrixCommand用在依赖服务返回单个操作结果的时候。又两种执行方式    -execute():同步执行。从依赖的服务返回一个单一的结果对象,或是在发生错误的时...

2019-11-05 16:14:36 89

转载 springcloud微服务实战eureka 密码认证

添加依赖包 <!--加入服务认证(密码),需要引入security--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> </d...

2019-11-04 15:32:40 352

原创 Spring Clound Eureka

application-peer1.properties server.port=1111 management.endpoints.web.exposure.include=* management.endpoint.health.show-details=always spring.application.name=eureka-server info.app.name=spring...

2019-11-01 17:53:39 122

转载 初识actuator

springboot2.0配置 #actuator端口 management.server.port=9001 #修改访问路径 2.0之前默认是/ 2.0默认是 /actuator 可以通过这个属性值修改 management.endpoints.web.base-path=/monitor #开放所有页面节点 默认只开启了health、info两个节点 management....

2019-11-01 08:32:18 255

原创 springClound微服务实战(第二章)Restful

用springboot 2.2生成生成的代码pom.xml 默认去除org.junit.vintage导致@before注解找不到 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-...

2019-11-01 08:19:34 172

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除