![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
微服务
rage_angel
日子被揉成金色的一团团
展开
-
spring boot MultipartFile[]文件上传
之前用spring MVC,转成spring boot之后发现上传不能用。网上参考说是spring boot已经有CommonsMultipartResolver了,但是我的上传后台接收的还是null。 后来参考https://segmentfault.com/q/1010000004657605 发现,还需要在Application里加些配置。 @SpringBootApplication翻译 2017-06-22 14:11:16 · 9269 阅读 · 2 评论 -
jenkins实现CI/CD
名词解释 CI:Continuous Integration,持续集成 CD:Continuous Delivery,持续交付 1、CI 持续集成实现过程: 安装jenkins。我们的jenkins是在docker里面起的一个镜像,当然也可以自己到官网上下载相应的安装包。push代码到码云(https://gitee.com)根据webhooks配置的url,给远程HTT原创 2017-10-11 14:11:12 · 2687 阅读 · 1 评论 -
spring cloud config server使用ssh方式连接config-repo
spring cloud config server 有三种连接git方式,从而读取config repo中的配置信息。方式一:用户名密码方式spring: cloud: config: server: git: uri: https://git.oschina.net/config-repo username: us...原创 2018-03-29 10:11:27 · 10243 阅读 · 1 评论 -
spring cloud feign调用service的两种POST传值方式
1、application/json包引用compile("org.springframework.cloud:spring-cloud-starter-openfeign")feign端调用@FeignClient(name = "dcv-service") public interface DCVService { @PostMapping(value = "/dcvApi/dcvVa...原创 2018-05-31 17:31:05 · 9166 阅读 · 1 评论