摘要:
一、Spring Cloud Config Server 新建一个Spring Boot工程,命名为configserver 1.pom.xml添加依赖 2.application.properties添加配置 3.启动类加注解@EnableConfigServer,开启Spring Cloud C 阅读全文
摘要:
紧接着上篇随笔Spring Cloud Zuul写,添加过滤器,进行权限验证 1.添加过滤器 2.访问http://127.0.0.1:8767/service1/myOrder;http://127.0.0.1:8767/service2/myOrder 3.源码:https://github.c 阅读全文
摘要:
新建Spring Boot工程,命名为zuul 1.pom.xml添加依赖 2.将application.properties重命名为application.yml,并且添加配置 3.启动类添加注解@EnableZuulProxy开启Zuul 4.改造前几篇随笔中的代码 4.1 将ribbon工程c 阅读全文