{spring cloud 最新技术研究。spring cloud 生态、阿里生态(Nacos dubbo rocketmq)、华为生态(Apache ServiceComb,Apache ServiceComb Saga), 最实战例子研究,分享实战经验,完全开源,少理论多实践,拿出代码说话,这就是该开源项目的目的,所有技术绝不会有任何形式的收费。}
目前有maven,jdk17,spring boot 3.0.0-RC1,spring cloud 2022.0.0-RC1,mysql8.x(更多技术请查看maven)
例子有:
eureka-client(eureka客户端)rc 可用
eureka-server(eureka服务端,注册中心)rc 可用
3. gateway-zuul(zuul 网管)不再支持
security-base 实现 jwt+rbac+springdoc-ui
weir-consul-client01 weir-consul-client02 实现consul + OpenFeign
欢迎大家提交代码,各分支说明技术点即可
想成为开发者请点评留言申请(写清楚码云账号即可)
oauth2授权码模式步骤:
3.1. 请求:http://localhost:8081/oauth/authorize?response_type=code&client_id=weir&redirect_uri=http://www.loveweir.com 获得code
3.2. 请求:http://localhost:8081/oauth/token? grant_type=authorization_code&code=EAV5A3&redirect_uri=http://www.loveweir.com&scope=all 得到授权码:{ "access_token": "255862f2-15d7-4bf8-8750-8c686b11ea52", "token_type": "bearer", "expires_in": 7199, "scope": "all" }
3.3. 利用授权码,放在请求的header里面请求资源。
!微信群:
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。