没有合适的资源?快使用搜索试试~ 我知道了~
积分管理系统java源码-api-gateway:API网关,准备造的一个轮子
共689个文件
java:528个
json:86个
xml:26个
需积分: 21 1 下载量 83 浏览量
2021-06-06
20:39:57
上传
评论
收藏 753KB ZIP 举报
温馨提示
积分管理系统java源码 API-GATEWAY API网关,准备造的一个轮子,使用Vert.x实现 大面积重构中 Verticle API定义 API路由匹配 当API网关收到调用方的请求后,首先需要通过api-discovery模块根据请求方法和请求地址匹配到对应的API定义才能继续处理请求。如果没有找到对应的API定义,会直接返回404。 我定义了两种API匹配方式:ApiMatchFilter和GrayFilter Filter: ApiMatchFilter 默认使用的API查找。如果未找到对应的API,返回404(资源不存在),如果根据正则匹配到多个API,返回500(数据冲突)。 type PRE order -2147482648 前置条件:上下文中不存在API 多版本匹配 随着业务的不断发展,需求变更,APP迭代越来越频繁,过老的版本不会强制更新,因此API接口避免不了出现多个版本的情况。为了解决多版本匹配的问题,采用下面的策略 调用方发送服务端请求是加上版本号的请求头,如: x-api-verson : 20171108 不同版本的API使用VersionPlugi
资源推荐
资源详情
资源评论
收起资源包目录
积分管理系统java源码-api-gateway:API网关,准备造的一个轮子 (689个子文件)
dataobjects.adoc 323B
com.github.edgar615.gateway.core.cmd.ApiCmdFactory 251B
com.github.edgar615.gateway.core.cmd.ApiCmdFactory 54B
com.github.edgar615.gateway.core.definition.ApiPluginFactory 588B
com.github.edgar615.gateway.core.definition.ApiPluginFactory 202B
com.github.edgar615.gateway.core.definition.ApiPluginFactory 135B
com.github.edgar615.gateway.core.definition.ApiPluginFactory 131B
com.github.edgar615.gateway.core.definition.ApiPluginFactory 128B
com.github.edgar615.gateway.core.definition.ApiPluginFactory 116B
com.github.edgar615.gateway.core.definition.ApiPluginFactory 70B
com.github.edgar615.gateway.core.definition.ApiPluginFactory 69B
com.github.edgar615.gateway.core.definition.ApiPluginFactory 61B
com.github.edgar615.gateway.core.cmd.ApiSubCmd 221B
com.github.edgar615.gateway.core.cmd.ApiSubCmd 124B
com.github.edgar615.gateway.core.cmd.ApiSubCmd 0B
com.github.edgar615.gateway.core.cache.CacheFactory 56B
com.github.edgar615.gateway.core.cache.CacheFactory 51B
com.github.edgar615.gateway.core.definition.EndpointCodec 196B
com.github.edgar615.gateway.core.definition.EndpointCodec 52B
com.github.edgar615.gateway.core.dispatch.FilterFactory 792B
com.github.edgar615.gateway.core.dispatch.FilterFactory 700B
com.github.edgar615.gateway.core.dispatch.FilterFactory 274B
com.github.edgar615.gateway.core.dispatch.FilterFactory 263B
com.github.edgar615.gateway.core.dispatch.FilterFactory 116B
com.github.edgar615.gateway.core.dispatch.FilterFactory 71B
com.github.edgar615.gateway.core.dispatch.FilterFactory 69B
com.github.edgar615.gateway.core.dispatch.FilterFactory 69B
com.github.edgar615.gateway.core.dispatch.FilterFactory 59B
.gitignore 262B
HttpRequestTransformerFilterTest.java 46KB
HttpRequestReplaceFilterTest.java 43KB
EventbusRequestReplaceFilterTest.java 26KB
EventbusRequestTransformerFilterTest.java 25KB
ResponseReplaceFilterTest.java 25KB
JwtFilterTest.java 22KB
JwtBuildFilterTest.java 20KB
ResponseTranformerFilterTest.java 18KB
RateLimiterFilterTest.java 18KB
StrictArgFilterTest.java 17KB
ApiContextTest.java 17KB
RpcFilterTest.java 16KB
ApiDefinitionDecoderTest.java 15KB
LoadBalanceTest.java 15KB
ApiContextTest.java 15KB
ServiceDiscoveryFilterTest.java 14KB
VersionApiSplitterFilterTest.java 14KB
HttpAppKeyFilterTest.java 13KB
ZookeeperServiceImporter.java 13KB
ApiUtils.java 12KB
CacheAndHttpAppKeyFilterTest.java 11KB
HttpRpcHandlerTest.java 11KB
OriginAppKeyFilterTest.java 11KB
CacheAppKeyFilterTest.java 11KB
AppKeyFilter.java 11KB
AuthenticationFilterTest.java 11KB
Sha1Test.java 10KB
PredicatePluginFactory.java 10KB
RpcFilter.java 10KB
ApiDefinitionTest.java 10KB
HttpRpcHandlerTest.java 10KB
UserRestrictionFilterTest.java 9KB
AppKeyTest.java 9KB
ApiUtils.java 9KB
GitHubUtility.java 9KB
SimpleHttpHandler.java 9KB
ApiFindFilterWithTimePredicateTest.java 9KB
ApiDiscoveryTest.java 9KB
AclRestrictionFilterTest.java 9KB
ListApiCmdTest.java 9KB
ApiContext.java 9KB
IpRestrictionFilterTest.java 9KB
CachedAndHttpUserLoadFilterTest.java 9KB
JwtRestrictionTest.java 8KB
DispatchHandlerTest.java 8KB
AntPathMatcher.java 8KB
AppKeyFilterBenchmarks.java 8KB
JwtTest.java 8KB
AppKeyRestrictionFilterTest.java 8KB
FileApiImporter.java 8KB
RedisCacheTest.java 8KB
ServiceDiscoveryFilter.java 7KB
AddApiCmdTest.java 7KB
EventbusRpcHandler.java 7KB
FailureHandlerTest.java 7KB
ApiDiscoveryImpl.java 7KB
ExtractRpcResponseFilterTest.java 7KB
RateLimiterFilter.java 7KB
ReqRespRpcHandlerTest.java 7KB
RequestTransformerPluginTest.java 7KB
JwtFilter.java 7KB
VersionSplitterFilter.java 7KB
ApiFindFilterTest.java 7KB
FileApiImporterTest.java 6KB
HttpUserLoadFilterTest.java 6KB
WeightRoundRobinStrategyTest.java 6KB
TImeoutFilterTest.java 6KB
AppKeyRestrictTest.java 6KB
EventbusRequestFilterTest.java 6KB
CachedUserLoadFilterTest.java 6KB
RedisCache.java 6KB
共 689 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7
资源评论
weixin_38743372
- 粉丝: 5
- 资源: 920
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功