SpringCloudBook
SpringCloudBook copied to clipboard
《Spring Cloud微服务实战》配套示例代码
对spring.cloud.config.retry.initial-interval,spring.cloud.config.retry.multiplier的定义说明存在调换 版本:2017.5 ISBN 978-7-121-31301-1
代码结构太乱了
ps:能不能按照章节放代码
feign.FeignException: status 405 reading RefactorHelloService#hello(User); content: {"timestamp":1556303315208,"status":405,"error":"Method Not Allowed","exception":"org.springframework.web.HttpRequestMethodNotSupportedException","message":"Request method 'POST' not supported","path":"/refactor/hello6"} https://www.cnblogs.com/dennyzhangdd/p/7978454.html feign-httpclient只能用9.1.0 重写org.apache.http.entity.ContentType的valid(final String s)方法
建议文件改成UTF-8编码,GB2312用IDE打开时容易产生乱码,建议统一UTF-8
书上226页在配置过滤请求后,访问的路径写的是http://localhost:5555/api-a/hello&accessToken=token 这样访问的话accessToken一直为空,应该这样访问http://localhost:5555/api-a/hello?accessToken=token
默认是按字母排序,学习的时候对照很不方便,建议按章节存放代码
或者说有没有升级指南
比如说,Stream-hello这个案例,就有很大的不同。 个人使用Camden.SR6版本,基本上完成了所有书中demo,参见[eureka-parent](https://github.com/Switch-vov/eureka-parent)项目
建议按照章节来进行代码分类,如SpringInAction提供的代码一样,便于查阅