IT资讯 Apache APISIX 社区周报 | 2021 9.13-9.30

beacher · 2021-10-02 09:30:05 · 热度: 9

导 语

Apache APISIX 从开源第一天就以社区方式成长,迅速成为全世界最活跃的开源 API 网关项目。这些成就,离不开社区小伙伴们的共同奋斗。

“独行者速,众行者远”。Apache APISIX 社区周报希望可以帮助社区小伙伴们更好地掌握 Apache APISIX 社区的每周进展,方便大家参与到 Apache APISIX 社区中来。

我们还整理了一些适合新来社区的小伙伴们参加的 Issue !感兴趣的同学们,走过路过不要错过!

贡献者统计

Apache APISIX 社区周报 | 2021 9.13-9.30

Apache APISIX 社区周报 | 2021 9.13-9.30

Good First Issue

Issue #5080

链接:

https://github.com/apache/apisix/issues/5080

问题描述:之前上游服务使用 IP 认证,实际的客户端 IP 是从 x-forwarded-for 请求头中获取的。现在需要改成网关 HMAC 认证,所以需要通过网关屏蔽上游 IP 认证。尝试通过代理重写插件修改 x-forwarded-for,但是没有生效:

Apache APISIX 社区周报 | 2021 9.13-9.30

Issue #5108

链接:

https://github.com/apache/apisix/issues/5108

问题描述:如下,当在路由上启用请求验证插件,

curl http://127.0.0.1:9080/apisix/admin/routes/35 -H 'X-API-KEY: xxxxxxxxxxxxxxxxxxx' -X PUT -d '
{
"uri": "/products/create",
"plugins": {
"request-validation": {
"body_schema": {
"type": "object",
"required": ["productName", "price"],
"properties": {
"productName": {"type": "string"},
"price": {"type": "number"}
}
}
}
},
"upstream": {
"service_name": "PRODUCTSSERVICE",
"type": "roundrobin",
"discovery_type": "eureka"
}
}

使用以下命令对其进行测试时,

curl http://127.0.0.1:9080/products/create -X POST -d '{"product-Name":"Laptop","pri-ce":12345.00}'

得到以下默认信息:

property "price" is required

近期功能特性亮点

debug-mode 支持动态请求过滤

相关 PR:https://github.com/apache/apisix/pull/5012

贡献者:tzssangglass

支持注入逻辑到 APISIX 方法中

相关 PR:https://github.com/apache/apisix/pull/5068

贡献者:spacewander

stream_route 支持在 IP 匹配中使用 CIDR

相关 PR:https://github.com/apache/apisix/pull/4980

贡献者:Zheaoli

hmac-auth 支持校验请求体

相关 PR:https://github.com/apache/apisix/pull/5038

贡献者:arthur-zhang

APISIX Dashboard 支持多种配置文件

相关 PR:https://github.com/apache/apisix-dashboard/pull/1946

贡献者:bzp2010

APISIX Ingress controller 集成了 

cert-manager

相关PR:https://github.com/apache/apisix-ingress-controller/pull/685

贡献者:lingsamuel

Apache APISIX 的项目官网和 Github 上的 Issue 上已经积累了比较丰富的文档教程和使用经验,如果您遇到问题可以翻阅文档,用关键词在 Issue 中搜索,也可以参与 Issue 上的讨论,提出自己的想法和实践经验。

近期博文推荐

最新!Apache APISIX 通过中国信通院 “可信开源项目” 认证

9月17日,Apache APISIX 荣获中国信通院颁发的可信开源项目评估证书。同时,成为首批可信开源社区共同体(TWOS)正式成员。

支持 10 亿日流量的基础设施:当 Apache APISIX 遇上腾讯

通过阅读本文,您不仅可以了解网关是什么、网关模式对传统服务架构的改进,还可以了解腾讯 OTeam 诞生的原因,以及 Apache APISIX 是如何在腾讯内部落地的。

使用 Apache APISIX 进行集中式身份认证及进阶玩法

本文介绍了 Apache APISIX 的身份认证功能,从重要性和玩法使用上进行了详细介绍和细节使用。

基于 Apache APISIX 爱奇艺 API 网关的更新与落地实践

通过阅读本文,您可以了解到基于 Apache APISIX 网关,爱奇艺技术团队是如何进行公司架构的更新与融合,打造出全新的网关服务。

关于 Apache APISIX

Apache APISIX 是一个动态、实时、高性能的开源 API 网关,提供负载均衡、动态上游、灰度发布、服务熔断、身份认证、可观测性等丰富的流量管理功能。Apache APISIX 可以帮忙企业快速、安全的处理 API 和微服务流量,包括网关、Kubernetes Ingress 和服务网格等。

猜你喜欢:
暂无回复。
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册