
Spring Boot与Spring Cloud的微服务架构
染的人
A person who knows why to live can bear any how to live.
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
A Microservice Architecture with Spring Boot and Spring Cloud(二)
下一步是保护这两个API。 虽然后面我们可能需要用OAuth2 + JWT来实现,但现在从基本认证开始。 这正是我们要开始的地方。翻译 2017-08-14 23:08:43 · 451 阅读 · 0 评论 -
A Microservice Architecture with Spring Boot and Spring Cloud(一)
前段日子,就有个想法,打算翻译一些关于SpringBoot的文档资料。后来在学习SpringBoot中,无意发现一本SpringBoot与SpringCloud微服务架构入门级的书籍,感觉不错,决定拿它作为我职业生涯翻译的第一本技术书。翻译 2017-08-12 15:26:55 · 717 阅读 · 0 评论 -
A Microservice Architecture with Spring Boot and Spring Cloud(三)
对于服务发现,我们需要Eureka,Cloud Config Client和Security:<dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-eureka-server</artifactId> </dependency> <depen翻译 2017-08-15 11:04:15 · 563 阅读 · 0 评论 -
A Microservice Architecture with Spring Boot and Spring Cloud(四)
REST APIs我们需要两个相同设置的API:Config Client,Eureka,JPA,Web,和Security:dependency> groupId>org.springframework.cloudgroupId> artifactId>spring-cloud-starter-configartifactId>dependency>dependenc翻译 2018-08-06 23:33:53 · 263 阅读 · 0 评论 -
A Microservice Architecture with Spring Boot and Spring Cloud(五)
测试 REST API最后,我们将测试我们的REST API。首先,一个简单的设置:private final String ROOT_URI = "http://localhost:8080";private FormAuthConfig formConfig = new FormAuthConfig("/login", "username", "password");...翻译 2018-08-07 22:13:07 · 384 阅读 · 0 评论