You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by sy...@apache.org on 2022/04/20 09:57:12 UTC

[apisix-website] branch master updated: docs: add weekly report 0420 (#1045)

This is an automated email from the ASF dual-hosted git repository.

sylviasu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 0d46af8075c docs: add weekly report 0420 (#1045)
0d46af8075c is described below

commit 0d46af8075cb69f455810d40147baef947077d56
Author: ReeseLiu <97...@users.noreply.github.com>
AuthorDate: Wed Apr 20 17:57:08 2022 +0800

    docs: add weekly report 0420 (#1045)
    
    * docs: add weekly report 0420
---
 website/blog/2022/04/20/weekly-report-0420.md      | 92 ++++++++++++++++++++++
 .../2022/04/20/weekly-report-0420.md               | 84 ++++++++++++++++++++
 website/static/data/events.json                    |  6 +-
 3 files changed, 181 insertions(+), 1 deletion(-)

diff --git a/website/blog/2022/04/20/weekly-report-0420.md b/website/blog/2022/04/20/weekly-report-0420.md
new file mode 100644
index 00000000000..6885a525ce9
--- /dev/null
+++ b/website/blog/2022/04/20/weekly-report-0420.md
@@ -0,0 +1,92 @@
+---
+title: Biweekly Report|Explore the weeks of Apr 1st - Apr 14th
+keywords:
+- Apache APISIX
+- API Gateway
+- Weekly Report
+- Contributor
+description: The Apache APISIX Community Weekly Report hopes to help community members better understand the weekly progress of the Apache APISIX community and and facilitate everyone to participate in the Apache APISIX community.
+tags: [Events]
+---
+
+> From April 1st to  April 14th, 36 contributors submitted 75 commits for Apache APISIX. Thank you all for your contributions to Apache APISIX. It is your selfless contribution to make the Apache APISIX project better!
+
+<!--truncate-->
+
+## Introduction
+
+Apache APISIX has grown as a community from the first day of open source and has quickly become the most active open source API gateway project in the world. These achievements cannot be achieved without the joint efforts of our community partners.
+
+"If you want to go fast, go alone.If you want to go far, go together." The Apache APISIX Community Weekly Report hopes to help community members better understand the weekly progress of the Apache APISIX community and and facilitate everyone to participate in the Apache APISIX community.
+
+We have also compiled some issues suitable for newcomers to the community to participate in! If you are interested, don't miss it!
+
+## Contributor Statistics
+
+![Contributors List](https://static.apiseven.com/202108/1650443415345-e067c6d9-1f39-4152-a7cc-4379fd4f17f3.jpg)
+
+![New Contributors](https://static.apiseven.com/202108/1650443438975-33d7f4fb-01ca-4877-848e-35b1f6869d2a.png)
+
+## Good first issue
+
+### Issue #6803
+
+**Link**: https://github.com/apache/apisix/issues/6803
+
+**Issue description**:
+
+When use `openid-connect` plugins with the wrong `redirect_uri` in Apache APISIX, as shown below:
+
+```Bash
+   "plugins":{
+        "openid-connect":{
+             ...
+            "scope":"openid profile",
+            "bearer_only":false,
+            "introspection_endpoint_auth_method":"client_secret_post",
+            "redirect_uri":"http://127.0.0.1:9080/"
+             ...
+        }
+    },
+```
+
+Then, request the "127.0.0.1:9080/", will get 500, and the error log is as follow:
+
+![500 Error](https://static.apiseven.com/202108/1650443701999-958f2096-d44d-4cd0-99b5-6e8833c361c6.png)
+
+```YAML
+2022/04/07 17:13:50 [error] 31780#3492140: *1959 [lua] openidc.lua:1378: authenticate(): request to the redirect_uri path but there's no session state found, client: 127.0.0.1, server: _, request: "GET / HTTP/1.1", host: "127.0.0.1:9080"
+2022/04/07 17:13:50 [error] 31780#3492140: *1959 [lua] openid-connect.lua:304: phase_func(): OIDC authentication failed: request to the redirect_uri path but there's no session state found, client: 127.0.0.1, server: _, request: "GET / HTTP/1.1", host: "127.0.0.1:9080"
+```
+
+This type of log is very unclear and the user does not know what to expect. Error logging should be improved to improve the experience of using the `Openid-connect` plug-in.
+
+### Issue #6797
+
+**Link**:https://github.com/apache/apisix/issues/6797
+
+**Issue description**:
+
+When using the `file-logger` plugin, it is possible to send the logging to stdout by defining `/dev/stdout`. This in order to use the docker output and relais this in kubernetes to a ELK stack. Though an error is thrown indicating a permission denied for the current user.failed to open file: `/dev/stdout`, error info: `/dev/stdout`: Permission denied while logging request
+
+## Highlights of Recent Features
+
+- [Add the function of hiding header for `key-auth` plugin](https://github.com/apache/apisix/pull/6670)(Contributor: [bin-ya](https://github.com/bin-ya))
+
+- [Support ZooKeeper service discovery](https://github.com/apache/apisix/pull/6751)(Contributor: [shuaijinchao](https://github.com/shuaijinchao))
+
+- [Feat(`request-id`): add algorithm support nanoid](https://github.com/apache/apisix/pull/6779)(Contributor: [aikin-vip](https://github.com/aikin-vip))
+
+- [Feat(`response-rewrite`): support filters](https://github.com/apache/apisix/pull/6750)(Contributor: [kwanhur](https://github.com/kwanhur))
+
+The Apache APISIX project website and the Github issue have accumulated a wealth of documentation and experience, so if you encounter problems, you can read the documentation, search the issue with keywords, or participate in the discussion on the issue to put forward your own ideas and practical experience.
+
+## Recent Blog Recommendations
+
+- [Apache APISIX Summit ASIA 2022: API Gateway, Service Mesh and Open Source Ecology](https://apisix.apache.org/blog/2022/04/12/apisix-summit-asia-2022)
+
+Since Apache APISIX was officially open sourced on June 6, 2019, it has been growing rapidly as a community. In just over two years, the number of global contributors has exceeded 400, and the number is still growing rapidly. During this time, the Apache APISIX community has also successively gained recognition from domestic and foreign developers.
+
+The Apache APISIX community will organize the Apache APISIX Summit ASIA 2022 on May 20-21, 2022.
+
+[Click here](https://apisix-summit.org) to register for Apache APISIX Summit ASIA 2022.
diff --git a/website/i18n/zh/docusaurus-plugin-content-blog/2022/04/20/weekly-report-0420.md b/website/i18n/zh/docusaurus-plugin-content-blog/2022/04/20/weekly-report-0420.md
new file mode 100644
index 00000000000..277e3d2df5d
--- /dev/null
+++ b/website/i18n/zh/docusaurus-plugin-content-blog/2022/04/20/weekly-report-0420.md
@@ -0,0 +1,84 @@
+---
+title: "社区双周报|4.1-4.14 功能亮点更新进行中"
+keywords: 
+- Apache APISIX
+- API 网关
+- 社区周报
+- 贡献者
+description: “独行者速,众行者远”。Apache APISIX 社区周报希望可以帮助社区小伙伴们更好地掌握 Apache APISIX 社区的每周进展,方便大家参与到 Apache APISIX 社区中来。
+tags: [Events]
+---
+
+> 从 4.1 到 4.14, 有 36 位开发者为 Apache APISIX 提交了 75 个 commits。感谢这些小伙伴为 Apache APISIX 添砖加瓦,是你们的无私付出,让 Apache APISIX 项目变得更好!
+
+<!--truncate-->
+
+## 导语
+
+Apache APISIX 从开源第一天就以社区方式成长,迅速成为全世界最活跃的开源 API 网关项目。这些成就,离不开社区小伙伴们的共同奋斗。
+
+“独行者速,众行者远”。Apache APISIX 社区周报希望可以帮助社区小伙伴们更好地掌握 Apache APISIX 社区的进展,方便大家参与到 Apache APISIX 社区中来。
+
+我们还整理了一些适合新来社区的小伙伴们参加的 issue!感兴趣的同学们,走过路过不要错过!
+
+## 贡献者统计
+
+![本周贡献者名单](https://static.apiseven.com/202108/1650441551212-28a65a2f-0d84-4f7d-a06e-fda4d072fff6.png)
+
+![本周新晋贡献者](https://static.apiseven.com/202108/1650441612598-a27f8798-8f70-44e7-8c11-207173f776d4.png)
+
+## Good first issue
+
+### Issue #6803
+
+**链接**: https://github.com/apache/apisix/issues/6803
+
+**问题描述**:当用户在 Apache APISIX 中使用 `openid-connect` 插件时,使用了错误的 `redirect_uri`,如下:
+
+```Bash
+  "plugins":{
+        "openid-connect":{
+              ...
+            "scope":"openid profile",
+            "bearer_only":false,
+            "introspection_endpoint_auth_method":"client_secret_post",
+            "redirect_uri":"http://127.0.0.1:9080/"
+             ...
+        }
+    },
+```
+
+然后请求 "127.0.0.1:9080/",将跳转到 500 页面,错误日志如下:
+
+![500页面](https://static.apiseven.com/202108/1650442371592-ad0c26f6-e3ab-49d8-a5cb-f2b033d87a91.png)
+
+```YAML
+2022/04/07 17:13:50 [error] 31780#3492140: *1959 [lua] openidc.lua:1378: authenticate(): request to the redirect_uri path but there's no session state found, client: 127.0.0.1, server: _, request: "GET / HTTP/1.1", host: "127.0.0.1:9080"
+2022/04/07 17:13:50 [error] 31780#3492140: *1959 [lua] openid-connect.lua:304: phase_func(): OIDC authentication failed: request to the redirect_uri path but there's no session state found, client: 127.0.0.1, server: _, request: "GET / HTTP/1.1", host: "127.0.0.1:9080"
+```
+
+这样的日志非常不清楚,并且用户不知道会发生什么。所以应该改进错误日志,以提高使用 `openid-connect` 插件的体验。
+
+### Issue #6797
+
+**链接**:https://github.com/apache/apisix/issues/6797
+
+**问题描述**:当使用 `file-logger` 插件时,可以通过定义 `/dev/stdout` 将日志发送到 stdout。这是为了使用 Docker 输出并将其在 Kubernetes 中传递到 ELK 堆栈。但是使用过程中出现了一个报错,表明当前用户的权限被拒绝。
+
+## 近期功能特性亮点
+
+- [`key-auth` 支持隐藏认证相关的请求 header](https://github.com/apache/apisix/pull/6670)(贡献者:[bin-ya](https://github.com/bin-ya))
+
+- [支持 ZooKeeper 作为服务发现](https://github.com/apache/apisix/pull/6751)(贡献者:[shuaijinchao](https://github.com/shuaijinchao))
+
+- [`request-id` 支持 nanoid 作为 ID 生成算法](https://github.com/apache/apisix/pull/6779)(贡献者:[aikin-vip](https://github.com/aikin-vip))
+
+- [`response-rewrite` 支持用过滤器来修改响应体](https://github.com/apache/apisix/pull/6750)(贡献者:[kwanhur](https://github.com/kwanhur))
+
+Apache APISIX 的项目官网和 Github 上的 issue 上已经积累了比较丰富的文档教程和使用经验,如果您遇到问题可以翻阅文档,用关键词在 issue 中搜索,也可以参与 issue 上的讨论,提出自己的想法和实践经验。
+
+## 近期博文推荐
+
+- [官宣!API 网关 Apache APISIX Summit ASIA 2022 重磅来袭](https://apisix.apache.org/zh/blog/2022/04/12/apisix-summit-asia-2022):
+
+为了帮助更多的企业、开发者及开源爱好者了解并使用 Apache APISIX,同时帮助社区小伙伴更好地掌握 Apache APISIX 项目的最新进展和动态,Apache APISIX 社区将于 2022 年 5 月 20-21 日通过「线上直播」的方式举办 Apache APISIX Summit ASIA 2022。
diff --git a/website/static/data/events.json b/website/static/data/events.json
index 574821e6b00..b456d1ce3d6 100644
--- a/website/static/data/events.json
+++ b/website/static/data/events.json
@@ -1,4 +1,8 @@
-[
+[ 
+  {
+    "title": "Biweekly Report|Explore the weeks of Apr 1st - Apr 14th",
+    "fileName": "2022-04-20-weekly-report-0420"
+  },
   {
     "title": "Apache APISIX Summit ASIA 2022",
     "fileName": "2022-04-12-apisix-summit-asia-2022"