wxiaoqi / spring-cloud-platform Goto Github PK
View Code? Open in Web Editor NEW🔥🔥🔥国内首个Spring Cloud微服务化RBAC的管理平台,核心采用Spring Boot 2.4、Spring Cloud 2020.0.0 & Alibaba,前端采用d2-admin中台框架。 🔝 🔝 记得上边点个star 关注更新
License: Other
🔥🔥🔥国内首个Spring Cloud微服务化RBAC的管理平台,核心采用Spring Boot 2.4、Spring Cloud 2020.0.0 & Alibaba,前端采用d2-admin中台框架。 🔝 🔝 记得上边点个star 关注更新
License: Other
020-11-02 10:12:21.999 INFO [ace-gateway,,,] 3437 --- [erListUpdater-0] c.netflix.config.ChainedDynamicProperty : Flipping property: ace-admin.ribbon.ActiveConnectionsLimit to use NEXT property: niws.loadbalancer.availabilityFilteringRule.activeConnectionsLimit = 2147483647
2020-11-02 10:12:22.788 ERROR [ace-gateway,,,] 3437 --- [ main] c.g.w.s.a.c.runner.AuthClientRunner : 初始化加载用户pubKey失败,1分钟后自动重试!
feign.FeignException$ServiceUnavailable: [503 Service Unavailable] during [POST] to [http://ace-admin/client/userPubKey?clientId=ace-gate&secret=123456] [ServiceAuthFeign#getUserPublicKey(String,String)]: []
at feign.FeignException.serverErrorStatus(FeignException.java:237) ~[feign-core-10.10.1.jar:na]
at feign.FeignException.errorStatus(FeignException.java:180) ~[feign-core-10.10.1.jar:na]
at feign.FeignException.errorStatus(FeignException.java:169) ~[feign-core-10.10.1.jar:na]
at feign.codec.ErrorDecoder$Default.decode(ErrorDecoder.java:92) ~[feign-core-10.10.1.jar:na]
at feign.AsyncResponseHandler.handleResponse(AsyncResponseHandler.java:96) ~[feign-core-10.10.1.jar:na]
at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:138) ~[feign-core-10.10.1.jar:na]
at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:89) ~[feign-core-10.10.1.jar:na]
at feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:100) ~[feign-core-10.10.1.jar:na]
at com.sun.proxy.$Proxy121.getUserPublicKey(Unknown Source) ~[na:na]
at com.github.wxiaoqi.security.auth.client.runner.AuthClientRunner.refreshUserPubKey(AuthClientRunner.java:43) ~[classes/:na]
at com.github.wxiaoqi.security.auth.client.runner.AuthClientRunner.run(AuthClientRunner.java:36) ~[classes/:na]
at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:795) [spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:779) [spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:322) [spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237) [spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) [spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
at com.github.wxiaoqi.security.gate.GatewayServerBootstrap.main(GatewayServerBootstrap.java:22) [classes/:na]
请问支持注册第三方服务的API接口吗,我们的微服务接口有些是PHP的HTTP restful api
博主好,申请加qq群加不了。请邀请下QQ:1028826685
前端修改:
getList() {
fetchTree(this.listQuery).then(data => {
this.treeData = data
});
},
修改为:
getList() {
fetchTree(this.listQuery).then(data => {
this.treeData = data.data
});
},
或者直接修改后端接口返回
如果有将开源版的AG-Admin用于企业项目的人儿,请在此登记,便于宣传。谢谢啦!
格式: 公司、首页网址
想看下这个cache是怎么写的
这个项目是不是少了工程,一直权限有问题
登入返回504
当admin服务 Client token expired(目前设置3600),在gate网关执行ZuulFilter run方法 使用admin服务外部方法出错 。请问使用什么方案解决? 对feign服务是否考虑不超时设置?
看到大牛有refresh刷新方法,但还未实现,是后期准备开发的吗?
在此之上扩展成一个商城,增加一个商城前端,该如何添加,仿照ace-admin做一直报错
你好
我在Github上clone了你的开源版项目,可是我没发现有与用户相关的管理接口,比如添加用户,查找用户等,但是在你的ReadMe文件中指出开源版是有用户管理功能的,请问这是什么情况呢?
class TableData {}
这个内部类为什么不设计成静态内部类呢?
开源版本存在严重的安全问题,微服务网关ace-gate的访问控制能被绕过,攻击者可获得签发jwt的私钥以任意用户身份登录。
希望能和作者邮件沟通下漏洞细节和修复方案。
直接下载执行的话,为什么没有系统监控画面啊
登录返回加密token 有问题 导致解密失败
String token = jwtTokenUtil.generateToken(jwtInfo);
Map<String, String> result = new HashMap<>();
result.put("accessToken", token);
result.put("id", info.id);
直接返回token就行
1.springcloud version Finchley.RC1
2.spring boot 2.0.1
issue case:
DiscoveryClientRouteDefinitionLocator needs two parameters,but in the RouteConfiguration, only one,so that it could not compile the class .
docker-compose中以ac开头的镜像已不可用,请问是更换地址了么 @wxiaoqi @544654811 @hwc9898706
Client token is null or empty! 这个问题具体怎么解决呀 ?能说的详细点不 ?
没法配置数据链接啊?没法用。能给一个安装说明文档吗?能配置可以就ok,3ks
请问,怎么从zuul替换成spring cloud gateway?
请问,前后端及所需环境都安装好并启动进程后,都是按照顺序启动的,报错:用户Token过期异常。具体日志如下,这个请问具体是怎么处理?多谢指导!
2020-09-30 16:33:31.120 INFO [ace-gateway,50f8512ec9f1194c,50f8512ec9f1194c,false] 2992 --- [ctor-http-nio-2] c.g.w.s.gate.filter.AccessGatewayFilter : check token and user permission....
2020-09-30 16:33:31.123 ERROR [ace-gateway,50f8512ec9f1194c,50f8512ec9f1194c,false] 2992 --- [ctor-http-nio-2] c.g.w.s.gate.filter.AccessGatewayFilter : 用户Token过期异常
java.lang.NullPointerException: value
at io.netty.util.internal.ObjectUtil.checkNotNull(ObjectUtil.java:33) ~[netty-common-4.1.31.Final.jar:4.1.31.Final]
at io.netty.handler.codec.DefaultHeaders.addObject(DefaultHeaders.java:327) ~[netty-codec-4.1.31.Final.jar:4.1.31.Final]
at io.netty.handler.codec.http.DefaultHttpHeaders.add(DefaultHttpHeaders.java:117) ~[netty-codec-http-4.1.31.Final.jar:4.1.31.Final]
Your current PostCSS version is 5.2.18, but autoprefixer uses 6.0.23. Perhaps this is the source of the error below.
麻烦请教您,有好的解决方法没
模块说明 的图是用什么工具画的?
注意到网关使用的spring-cloud-gateway,这种异步网关的线程资源是有限的,默认是跟核数走,如果使用同步阻塞库,会有低吞吐的问题,AccessGatewayFilter里使用的Fegin做远程调用是同步方式,建议改成webClient并复用gateway默认初始化的netty版httpclient
请教一下,ace-admin swagger里面,调用接口报Client token is null or empty 这个怎么解决?
代码还没怎么深入看,不过大体看了一下架构图,觉得有一个安全隐患就是公钥对的安全问题,如果公钥对泄露了,后果不堪设想
GatewayFilter里面exchange.getRequest().getBody()里面是个Flux对象,现在如果要对body值做md5或者sha1校验的话,要怎么做到解析后不影响后续请求?
ace-gate下依赖都是红的,pom文件中
de.codecentric
spring-boot-admin-starter-client
2.0.1
这个也报红,是什么原因呢
没有使用spring security oauth2.0作为验证、授权??
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.