[GitHub] [apisix] swtseaman commented on issue #8621: 希望能支持从请求体中进行条件过滤来进行灰度转发

2023-01-06 Thread GitBox
swtseaman commented on issue #8621: URL: https://github.com/apache/apisix/issues/8621#issuecomment-1373356776 感谢,请问有没有关于apisix.core的更详细的文档呢? 我刚刚尝试这样做也可以 ` "filter_func": "function(vars) ngx.req.read_body() ngx.log(ngx.ERR, ngx.req.get_body_data()) return

[GitHub] [apisix-docker] sashokbg commented on issue #401: bug: Apisix Config File Overwritten in Standalone Mode

2023-01-06 Thread GitBox
sashokbg commented on issue #401: URL: https://github.com/apache/apisix-docker/issues/401#issuecomment-1373349612 Hello @soulbird yes: deployment: role: data_plane role_data_plane: config_provider: yaml routes: - uri: /hello upstream:

[GitHub] [apisix] monkeyDluffy6017 commented on issue #8621: 希望能支持从请求体中进行条件过滤来进行灰度转发

2023-01-06 Thread GitBox
monkeyDluffy6017 commented on issue #8621: URL: https://github.com/apache/apisix/issues/8621#issuecomment-1373343048 ``` function(vars) local core = require ('apisix.core') local body, err = core.request.get_body() if not body then return false end

[GitHub] [apisix-docker] fengxsong opened a new pull request, #402: fix: etcdctl missing due to PATH var is not set correctly

2023-01-06 Thread GitBox
fengxsong opened a new pull request, #402: URL: https://github.com/apache/apisix-docker/pull/402 Signed-off-by: fengxsong fix https://github.com/apache/apisix-docker/issues/400#issuecomment-1373327999_ -- This is an automated message from the Apache Git Service. To respond to the

[GitHub] [apisix] swtseaman commented on issue #8621: 希望能支持从请求体中进行条件过滤来进行灰度转发

2023-01-06 Thread GitBox
swtseaman commented on issue #8621: URL: https://github.com/apache/apisix/issues/8621#issuecomment-1373337393 请问vars对象如何获取body呢,有没有 filter_func 或者 vars相关的文档呢? 我还看了api/lua-resty-expr的相关文档,也没有介绍 -- This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] [apisix-docker] fengxsong closed pull request #400: fix: add etcdctl binary when use_grpc

2023-01-06 Thread GitBox
fengxsong closed pull request #400: fix: add etcdctl binary when use_grpc URL: https://github.com/apache/apisix-docker/pull/400 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment.

[GitHub] [apisix-docker] fengxsong commented on pull request #400: fix: add etcdctl binary when use_grpc

2023-01-06 Thread GitBox
fengxsong commented on PR #400: URL: https://github.com/apache/apisix-docker/pull/400#issuecomment-137534 All right, looks like the `$PATH` did not set correctly. ```bash root@10:/usr/local/apisix# find / -name 'etcd*' find: '/proc/63/map_files': Permission denied find:

[GitHub] [apisix-docker] fengxsong commented on pull request #400: fix: add etcdctl binary when use_grpc

2023-01-06 Thread GitBox
fengxsong commented on PR #400: URL: https://github.com/apache/apisix-docker/pull/400#issuecomment-1373327999 when using image `apache/apisix:3.1.0-debian`, logs printed as follow root@10.74.36.168:~# kubectl -n ingress-apisix logs -f apisix-5cd9bf77db-lqx9w

[GitHub] [apisix] chenyyyang closed issue #8626: help request: how to use fixed values as response content

2023-01-06 Thread GitBox
chenyyyang closed issue #8626: help request: how to use fixed values as response content URL: https://github.com/apache/apisix/issues/8626 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the

[GitHub] [apisix] chenyyyang commented on issue #8626: help request: how to use fixed values as response content

2023-01-06 Thread GitBox
chenyyyang commented on issue #8626: URL: https://github.com/apache/apisix/issues/8626#issuecomment-1373314380 @ronething Good job!many thanks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go

[GitHub] [apisix] 15349185792 commented on issue #8602: Java开发的多个external plugin 如何在配置文件中配置

2023-01-05 Thread GitBox
15349185792 commented on issue #8602: URL: https://github.com/apache/apisix/issues/8602#issuecomment-1373313417 @An-DJ 非常感谢你的耐心回答!我只是猜测可能会有这类使用场景。 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to

[GitHub] [apisix] spacewander merged pull request #8614: ci: use fixed os version of ubuntu (#8438)

2023-01-05 Thread GitBox
spacewander merged PR #8614: URL: https://github.com/apache/apisix/pull/8614 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail:

[GitHub] [apisix] monkeyDluffy6017 commented on a diff in pull request #8275: refactor: remove if statement in nginx.conf

2023-01-05 Thread GitBox
monkeyDluffy6017 commented on code in PR #8275: URL: https://github.com/apache/apisix/pull/8275#discussion_r1063212619 ## apisix/init.lua: ## @@ -267,6 +267,11 @@ local function set_upstream_headers(api_ctx, picked_server) api_ctx.var.var_x_forwarded_host =

[GitHub] [apisix] monkeyDluffy6017 commented on a diff in pull request #8275: refactor: remove if statement in nginx.conf

2023-01-05 Thread GitBox
monkeyDluffy6017 commented on code in PR #8275: URL: https://github.com/apache/apisix/pull/8275#discussion_r1063212619 ## apisix/init.lua: ## @@ -267,6 +267,11 @@ local function set_upstream_headers(api_ctx, picked_server) api_ctx.var.var_x_forwarded_host =

[GitHub] [apisix] ronething commented on issue #8626: help request: how to use fixed values as response content

2023-01-05 Thread GitBox
ronething commented on issue #8626: URL: https://github.com/apache/apisix/issues/8626#issuecomment-1373279997 Maybe you can try `serverless-post-function` plugin, refer: https://apisix.apache.org/docs/apisix/plugins/serverless/ ``` $ curl

[GitHub] [apisix-docker] bobbyz007 closed issue #399: docker start error: apisix container is always in restarting status

2023-01-05 Thread GitBox
bobbyz007 closed issue #399: docker start error: apisix container is always in restarting status URL: https://github.com/apache/apisix-docker/issues/399 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go

[GitHub] [apisix] spacewander merged pull request #8609: fix: use previous way to disable plugins

2023-01-05 Thread GitBox
spacewander merged PR #8609: URL: https://github.com/apache/apisix/pull/8609 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail:

[GitHub] [apisix-dashboard] bzp2010 closed issue #2699: The download rpm apisix-dashboard-2.15.0-0.el7.x86_64.rpm package address is invalid

2023-01-05 Thread GitBox
bzp2010 closed issue #2699: The download rpm apisix-dashboard-2.15.0-0.el7.x86_64.rpm package address is invalid URL: https://github.com/apache/apisix-dashboard/issues/2699 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use

[GitHub] [apisix-dashboard] bzp2010 commented on issue #2699: The download rpm apisix-dashboard-2.15.0-0.el7.x86_64.rpm package address is invalid

2023-01-05 Thread GitBox
bzp2010 commented on issue #2699: URL: https://github.com/apache/apisix-dashboard/issues/2699#issuecomment-1373276196 Fixed https://github.com/apache/apisix-dashboard/releases/tag/v2.15.0 The missing resources have been uploaded. -- This is an automated message from the Apache Git

[GitHub] [apisix] An-DJ commented on issue #8602: Java开发的多个external plugin 如何在配置文件中配置

2023-01-05 Thread GitBox
An-DJ commented on issue #8602: URL: https://github.com/apache/apisix/issues/8602#issuecomment-1373257205 Now the `ext-plugin` can configure only one external plugin-runner. @15349185792 Could you plz explain why you need to use multiple plugin-runners? -- This is an automated

[GitHub] [apisix] spacewander merged pull request #8612: fix: correct inspect plugin default hooks file path and add hook remove logs

2023-01-05 Thread GitBox
spacewander merged PR #8612: URL: https://github.com/apache/apisix/pull/8612 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail:

[GitHub] [apisix] spacewander commented on a diff in pull request #8275: refactor: remove if statement in nginx.conf

2023-01-05 Thread GitBox
spacewander commented on code in PR #8275: URL: https://github.com/apache/apisix/pull/8275#discussion_r1063198605 ## apisix/init.lua: ## @@ -267,6 +267,11 @@ local function set_upstream_headers(api_ctx, picked_server) api_ctx.var.var_x_forwarded_host = x_forwarded_host

[GitHub] [apisix] 15349185792 commented on issue #8602: Java开发的多个external plugin 如何在配置文件中配置

2023-01-05 Thread GitBox
15349185792 commented on issue #8602: URL: https://github.com/apache/apisix/issues/8602#issuecomment-1373243186 @An-DJ 是的 不好意思,我刚开始描述错了,我实际问的是`plugin-runner` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

[GitHub] [apisix] spacewander commented on a diff in pull request #8601: feat(secret): add ci and doc for some auth plugins

2023-01-05 Thread GitBox
spacewander commented on code in PR #8601: URL: https://github.com/apache/apisix/pull/8601#discussion_r1063195906 ## docs/zh/latest/plugins/jwt-auth.md: ## @@ -42,9 +42,9 @@ Consumer 端: | 名称 | 类型 | 必选项 | 默认值 | 有效值 | 描述

[GitHub] [apisix] An-DJ commented on issue #8602: Java开发的多个external plugin 如何在配置文件中配置

2023-01-05 Thread GitBox
An-DJ commented on issue #8602: URL: https://github.com/apache/apisix/issues/8602#issuecomment-1373238255 > 下面的图是配置一个java插件,那如果配置多个java插件呢? ![image](https://user-images.githubusercontent.com/50066683/210949492-8738091e-7205-4f62-9248-3c8aea9a53dd.png) This is how to configure a

[GitHub] [apisix] 15349185792 commented on issue #8602: Java开发的多个external plugin 如何在配置文件中配置

2023-01-05 Thread GitBox
15349185792 commented on issue #8602: URL: https://github.com/apache/apisix/issues/8602#issuecomment-1373233631 下面的图是配置一个java插件,那如果配置多个java插件呢? ![image](https://user-images.githubusercontent.com/50066683/210949492-8738091e-7205-4f62-9248-3c8aea9a53dd.png) -- This is an

[GitHub] [apisix] spacewander commented on pull request #8587: fix: issue 8511 The format of response body that returned by plugin should match Content-Type

2023-01-05 Thread GitBox
spacewander commented on PR #8587: URL: https://github.com/apache/apisix/pull/8587#issuecomment-1373219611 > > > @spacewander I saw the CI failed due to this line, 121 : `local accept_header = core_request.header(ctx, "Accept")` Because `ctx` is 'not defined' Wich is true, but it works, i

[GitHub] [apisix] An-DJ commented on issue #8602: Java开发的多个external plugin 如何在配置文件中配置

2023-01-05 Thread GitBox
An-DJ commented on issue #8602: URL: https://github.com/apache/apisix/issues/8602#issuecomment-1373216119 > @An-DJ 我在官网看 是需要把自定义java插件在config,yaml中进行配置的 ![image](https://user-images.githubusercontent.com/50066683/210937200-e62ea096-a797-4800-8cb8-8c703806c8f6.png) ,不然apisix如何发现java插件呢?

[GitHub] [apisix-ingress-controller] AlinsRan closed issue #873: Occasionally some unexpected logs appear

2023-01-05 Thread GitBox
AlinsRan closed issue #873: Occasionally some unexpected logs appear URL: https://github.com/apache/apisix-ingress-controller/issues/873 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific

[GitHub] [apisix-ingress-controller] AlinsRan commented on issue #873: Occasionally some unexpected logs appear

2023-01-05 Thread GitBox
AlinsRan commented on issue #873: URL: https://github.com/apache/apisix-ingress-controller/issues/873#issuecomment-1373205485 This is because ApisixConsumer is not register in scheme. This problem has been fixed in 1.4.1 * https://github.com/apache/apisix-ingress-controller/pull/833

[GitHub] [apisix] chenyyyang commented on issue #8626: help request: how to use fixed values as response content

2023-01-05 Thread GitBox
chenyyyang commented on issue #8626: URL: https://github.com/apache/apisix/issues/8626#issuecomment-1373204020 @ronething thank you for your response. The pic is generated via asking ChatGPT from OpenAI's website... Is there another way due to the priority of response-write (899)

[GitHub] [apisix] ronething commented on issue #8626: help request: how to use fixed values as response content

2023-01-05 Thread GitBox
ronething commented on issue #8626: URL: https://github.com/apache/apisix/issues/8626#issuecomment-1373198081 @chenyyyang Hi, where is your pic come from? And if you want to return fixed_value, you can use `response-write` plugin. refer:

[GitHub] [apisix] alptugay commented on a diff in pull request #8620: fix: Compression in log-rotate plugin exceeds the default timeout of shell.run

2023-01-05 Thread GitBox
alptugay commented on code in PR #8620: URL: https://github.com/apache/apisix/pull/8620#discussion_r1063153128 ## apisix/plugins/log-rotate.lua: ## @@ -277,6 +277,7 @@ local function rotate() max_size = attr.max_size or max_size enable_compression =

[GitHub] [apisix] monkeyDluffy6017 commented on issue #8622: help request: can not get response body in the body_filter on my custom plugin

2023-01-05 Thread GitBox
monkeyDluffy6017 commented on issue #8622: URL: https://github.com/apache/apisix/issues/8622#issuecomment-1373189171 Do you have any other plugins use `core.response.hold_body_chunk` before your custom plugin -- This is an automated message from the Apache Git Service. To respond to the

[GitHub] [apisix] ronething commented on a diff in pull request #8593: feat: stream subsystem support dns service discovery

2023-01-05 Thread GitBox
ronething commented on code in PR #8593: URL: https://github.com/apache/apisix/pull/8593#discussion_r1063150054 ## t/discovery/stream/dns.t: ## @@ -0,0 +1,431 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the

[GitHub] [apisix] ronething commented on a diff in pull request #8593: feat: stream subsystem support dns service discovery

2023-01-05 Thread GitBox
ronething commented on code in PR #8593: URL: https://github.com/apache/apisix/pull/8593#discussion_r1063149797 ## t/discovery/stream/dns.t: ## @@ -0,0 +1,431 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the

[GitHub] [apisix] monkeyDluffy6017 commented on issue #8621: 希望能支持从请求体中进行条件过滤来进行灰度转发

2023-01-05 Thread GitBox
monkeyDluffy6017 commented on issue #8621: URL: https://github.com/apache/apisix/issues/8621#issuecomment-1373180246 Maybe you can consider use `filter_func ` in `route`, get request body in `filter_func` and judge if exist `useId`.

[GitHub] [apisix] chenyyyang opened a new issue, #8626: help request: how to use fixed values as response content

2023-01-05 Thread GitBox
chenyyyang opened a new issue, #8626: URL: https://github.com/apache/apisix/issues/8626 ### Description APISIX_VERSION=2.11.0 the method from the below picture seems not work...Could you give more advise

[GitHub] [apisix] 15349185792 commented on issue #8602: Java开发的多个external plugin 如何在配置文件中配置

2023-01-05 Thread GitBox
15349185792 commented on issue #8602: URL: https://github.com/apache/apisix/issues/8602#issuecomment-1373167073 @An-DJ 我在官网看 是需要把自定义java插件在config,yaml中进行配置的 ![image](https://user-images.githubusercontent.com/50066683/210937200-e62ea096-a797-4800-8cb8-8c703806c8f6.png)

[GitHub] [apisix] Martinprobu commented on issue #8617: bug: One of the three etcd nodes is broken (once every two weeks)

2023-01-05 Thread GitBox
Martinprobu commented on issue #8617: URL: https://github.com/apache/apisix/issues/8617#issuecomment-1373161357 this is apisix logs [apisix_20230106A_query_data.csv](https://github.com/apache/apisix/files/10357504/apisix_20230106A_query_data.csv) (24hours). this is etcd

[GitHub] [apisix] Martinprobu commented on issue #8617: bug: One of the three etcd nodes is broken (once every two weeks)

2023-01-05 Thread GitBox
Martinprobu commented on issue #8617: URL: https://github.com/apache/apisix/issues/8617#issuecomment-1373157064 k8s version : 1.24.3 in azure aks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to

[GitHub] [apisix] dependabot[bot] opened a new pull request, #8625: chore(deps): bump actions/setup-node from 3.5.1 to 3.6.0

2023-01-05 Thread GitBox
dependabot[bot] opened a new pull request, #8625: URL: https://github.com/apache/apisix/pull/8625 Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.5.1 to 3.6.0. Release notes Sourced from https://github.com/actions/setup-node/releases;>actions/setup-node's

[GitHub] [apisix] dependabot[bot] opened a new pull request, #8624: chore(deps): bump actions/checkout from 3.2.0 to 3.3.0

2023-01-05 Thread GitBox
dependabot[bot] opened a new pull request, #8624: URL: https://github.com/apache/apisix/pull/8624 Bumps [actions/checkout](https://github.com/actions/checkout) from 3.2.0 to 3.3.0. Release notes Sourced from https://github.com/actions/checkout/releases;>actions/checkout's

[GitHub] [apisix] nic-chen commented on issue #8617: bug: One of the three etcd nodes is broken (once every two weeks)

2023-01-05 Thread GitBox
nic-chen commented on issue #8617: URL: https://github.com/apache/apisix/issues/8617#issuecomment-1373133608 hi, @Martinprobu Could you upload more logs? The current logs posted do not have any helpful information. By the way, what is your k8s runtime? Containerd or Docker

[GitHub] [apisix] monkeyDluffy6017 commented on a diff in pull request #8275: refactor: remove if statement in nginx.conf

2023-01-05 Thread GitBox
monkeyDluffy6017 commented on code in PR #8275: URL: https://github.com/apache/apisix/pull/8275#discussion_r1063077396 ## apisix/core/ctx.lua: ## @@ -201,6 +201,7 @@ do var_x_forwarded_proto = true, var_x_forwarded_port = true, var_x_forwarded_host

[GitHub] [apisix] xuruidong opened a new pull request, #8623: docs: change the file name to 'create-ssl.py'.If 'ssl.py' is used as …

2023-01-05 Thread GitBox
xuruidong opened a new pull request, #8623: URL: https://github.com/apache/apisix/pull/8623 …the file name, an error occurs.AttributeError: module 'requests' has no attribute 'put' ### Description Change the file name to "create-ssl.py" in certificate.md. If "ssl.py" is

[GitHub] [apisix-website] netlify[bot] commented on pull request #1466: chore(deps): bump actions/checkout from 3.1.0 to 3.3.0

2023-01-05 Thread GitBox
netlify[bot] commented on PR #1466: URL: https://github.com/apache/apisix-website/pull/1466#issuecomment-1373114317 ###  Deploy Preview for *apache-apisix* processing. | Name | Link | |-|| | Latest commit |

[GitHub] [apisix-website] dependabot[bot] closed pull request #1445: chore(deps): bump actions/checkout from 3.1.0 to 3.2.0

2023-01-05 Thread GitBox
dependabot[bot] closed pull request #1445: chore(deps): bump actions/checkout from 3.1.0 to 3.2.0 URL: https://github.com/apache/apisix-website/pull/1445 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to

[GitHub] [apisix-website] dependabot[bot] commented on pull request #1445: chore(deps): bump actions/checkout from 3.1.0 to 3.2.0

2023-01-05 Thread GitBox
dependabot[bot] commented on PR #1445: URL: https://github.com/apache/apisix-website/pull/1445#issuecomment-1373114301 Superseded by #1466. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the

[GitHub] [apisix-website] netlify[bot] commented on pull request #1465: chore(deps): bump peaceiris/actions-gh-pages from 3.9.0 to 3.9.1

2023-01-05 Thread GitBox
netlify[bot] commented on PR #1465: URL: https://github.com/apache/apisix-website/pull/1465#issuecomment-1373114306 ###  Deploy Preview for *apache-apisix* processing. | Name | Link | |-|| | Latest commit |

[GitHub] [apisix-website] dependabot[bot] opened a new pull request, #1465: chore(deps): bump peaceiris/actions-gh-pages from 3.9.0 to 3.9.1

2023-01-05 Thread GitBox
dependabot[bot] opened a new pull request, #1465: URL: https://github.com/apache/apisix-website/pull/1465 Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3.9.0 to 3.9.1. Release notes Sourced from

[GitHub] [apisix-website] dependabot[bot] opened a new pull request, #1466: chore(deps): bump actions/checkout from 3.1.0 to 3.3.0

2023-01-05 Thread GitBox
dependabot[bot] opened a new pull request, #1466: URL: https://github.com/apache/apisix-website/pull/1466 Bumps [actions/checkout](https://github.com/actions/checkout) from 3.1.0 to 3.3.0. Release notes Sourced from https://github.com/actions/checkout/releases;>actions/checkout's

[GitHub] [apisix] spacewander commented on pull request #8609: fix: use previous way to disable plugins

2023-01-05 Thread GitBox
spacewander commented on PR #8609: URL: https://github.com/apache/apisix/pull/8609#issuecomment-1373112483 > Changes LGTM. > > However, since we have two options to control if a plugin is disabled, we need to classify the priority of these two fields. > > In the current PR,

[GitHub] [apisix] An-DJ commented on issue #8602: Java开发的多个external plugin 如何在配置文件中配置

2023-01-05 Thread GitBox
An-DJ commented on issue #8602: URL: https://github.com/apache/apisix/issues/8602#issuecomment-1373112164 @15349185792 The section `ext-plugin` in config.yaml is used to config the external plugin runner. Your custom plugins can be implemented in the java-plugin-runner, so you

[GitHub] [apisix] spacewander closed issue #8388: bug: external-plugin-post-resp plugin converts content-type from upstream response

2023-01-05 Thread GitBox
spacewander closed issue #8388: bug: external-plugin-post-resp plugin converts content-type from upstream response URL: https://github.com/apache/apisix/issues/8388 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

[GitHub] [apisix] spacewander merged pull request #8588: fix(ext-plugin-post-resp): can't set content-type response header

2023-01-05 Thread GitBox
spacewander merged PR #8588: URL: https://github.com/apache/apisix/pull/8588 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail:

[GitHub] [apisix] Martinprobu commented on issue #8617: bug: One of the three etcd nodes is broken (once every two weeks)

2023-01-05 Thread GitBox
Martinprobu commented on issue #8617: URL: https://github.com/apache/apisix/issues/8617#issuecomment-1373109111 @nic-chen @membphis do you need any other information ? or need a calling? We're waiting online -- This is an automated message from the Apache Git Service. To respond to

[GitHub] [apisix] 15349185792 commented on issue #8602: Java开发的多个external plugin 如何在配置文件中配置

2023-01-05 Thread GitBox
15349185792 commented on issue #8602: URL: https://github.com/apache/apisix/issues/8602#issuecomment-1373094645 @An-DJ 不是,是在config.yaml中如何配置多个java自定义插件 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to

[GitHub] [apisix-go-plugin-runner] kvii opened a new pull request, #125: fix time.Since issue

2023-01-05 Thread GitBox
kvii opened a new pull request, #125: URL: https://github.com/apache/apisix-go-plugin-runner/pull/125 Change `time.Now().Sub` to `time.Since`. reference: [should use time.Since instead of time.Now().Sub (S1012)go-staticcheck](https://staticcheck.io/docs/checks#S1012) -- This is an

[GitHub] [apisix] showcup opened a new issue, #8622: help request: can not get response body in the body_filter on my custom plugin

2023-01-05 Thread GitBox
showcup opened a new issue, #8622: URL: https://github.com/apache/apisix/issues/8622 ### Description Can not get response body in the body_filter on my custom plugin,The following code is in body_filter: ``` function _M.body_filter(conf,ctx) local final_body =

[GitHub] [apisix] spacewander commented on a diff in pull request #8611: refactor(admin): refactor resource routes

2023-01-05 Thread GitBox
spacewander commented on code in PR #8611: URL: https://github.com/apache/apisix/pull/8611#discussion_r1063037789 ## apisix/admin/resource.lua: ## @@ -0,0 +1,201 @@ +-- +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor license agreements.

[GitHub] [apisix] monkeyDluffy6017 commented on issue #8591: help request: TCP proxy

2023-01-05 Thread GitBox
monkeyDluffy6017 commented on issue #8591: URL: https://github.com/apache/apisix/issues/8591#issuecomment-1373082332 ``` curl http://127.0.0.1:9180/apisix/admin/stream_routes/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d ' { "server_addr": "192.168.3.73",

[GitHub] [apisix] swtseaman commented on issue #8621: 希望能支持从请求体中进行条件过滤来进行灰度转发

2023-01-05 Thread GitBox
swtseaman commented on issue #8621: URL: https://github.com/apache/apisix/issues/8621#issuecomment-1373078262 比如: http body : {"userId": "u1"} 希望插件能提取userId,或者哪怕是判断整个body里有没有包含u1,就进行灰度转发 -- This is an automated message from the Apache Git Service. To respond to the

[GitHub] [apisix] swtseaman opened a new issue, #8621: 希望能支持从请求体中进行条件过滤来进行灰度转发

2023-01-05 Thread GitBox
swtseaman opened a new issue, #8621: URL: https://github.com/apache/apisix/issues/8621 ### Description 我的接口都是跑了很久的json请求,无法改造请求或增加请求头;所以希望能从请求体的json中判断用户身份或用户账号来进行灰度;不知道traffic-split这种插件是否能支持,或者改造支持呢 -- This is an automated message from the Apache Git Service. To respond to the

[GitHub] [apisix-go-plugin-runner] BERZERKCOOLeST commented on issue #121: request help: How to get right body from grpc?

2023-01-05 Thread GitBox
BERZERKCOOLeST commented on issue #121: URL: https://github.com/apache/apisix-go-plugin-runner/issues/121#issuecomment-1373059506 > @BERZERKCOOLeST Could you plz give the steps to reproduce the problem you met? 1. Set a route in APISIX dashboard. Set a upstream for the route and

[GitHub] [apisix] ronething commented on a diff in pull request #8593: feat: stream subsystem support dns service discovery

2023-01-05 Thread GitBox
ronething commented on code in PR #8593: URL: https://github.com/apache/apisix/pull/8593#discussion_r1062169542 ## t/discovery/stream/dns.t: ## @@ -0,0 +1,431 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the

[GitHub] [apisix-go-plugin-runner] An-DJ commented on issue #121: request help: How to get right body from grpc?

2023-01-05 Thread GitBox
An-DJ commented on issue #121: URL: https://github.com/apache/apisix-go-plugin-runner/issues/121#issuecomment-1373034103 @BERZERKCOOLeST Could you plz give the steps to reproduce the problem you met? -- This is an automated message from the Apache Git Service. To respond to the message,

[GitHub] [apisix] spacewander commented on issue #8569: feat: As a user, I want to refactor the resources under apisix.admin, so that we don't need to repeat

2023-01-05 Thread GitBox
spacewander commented on issue #8569: URL: https://github.com/apache/apisix/issues/8569#issuecomment-1373024899 We can use fewer PRs to implement it. The refactor progress can be faster after several PRs as we will have a stable foundation. What about refactoring 2~3 resources in the

[GitHub] [apisix-website] juzhiyuan merged pull request #1464: chore: release apisix 3.1 docs

2023-01-05 Thread GitBox
juzhiyuan merged PR #1464: URL: https://github.com/apache/apisix-website/pull/1464 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail:

[GitHub] [apisix] An-DJ commented on issue #8569: feat: As a user, I want to refactor the resources under apisix.admin, so that we don't need to repeat

2023-01-05 Thread GitBox
An-DJ commented on issue #8569: URL: https://github.com/apache/apisix/issues/8569#issuecomment-1373018001 I think we can refactor the resources one by one: - [ ] routes #8611 - [ ] services - [ ] upstreams - [ ] consumers - [ ] ssls - [ ] plugins - [ ] protos - [

[GitHub] [apisix-ingress-controller] github-actions[bot] commented on issue #1300: e2e-test: add case for unwatched namespace being watched

2023-01-05 Thread GitBox
github-actions[bot] commented on issue #1300: URL: https://github.com/apache/apisix-ingress-controller/issues/1300#issuecomment-1373017540 This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue

[GitHub] [apisix-ingress-controller] github-actions[bot] closed issue #1300: e2e-test: add case for unwatched namespace being watched

2023-01-05 Thread GitBox
github-actions[bot] closed issue #1300: e2e-test: add case for unwatched namespace being watched URL: https://github.com/apache/apisix-ingress-controller/issues/1300 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the

[GitHub] [apisix-docker] soulbird commented on issue #401: bug: Apisix Config File Overwritten in Standalone Mode

2023-01-05 Thread GitBox
soulbird commented on issue #401: URL: https://github.com/apache/apisix-docker/issues/401#issuecomment-1373015858 Can you show your `config.yaml` ? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go

[GitHub] [apisix-website] netlify[bot] commented on pull request #1464: chore: release apisix 3.1 docs

2023-01-05 Thread GitBox
netlify[bot] commented on PR #1464: URL: https://github.com/apache/apisix-website/pull/1464#issuecomment-1373013142 ###  Deploy Preview for *apache-apisix* processing. | Name | Link | |-|| | Latest commit |

[GitHub] [apisix-website] SkyeYoung opened a new pull request, #1464: chore: release apisix 3.1 docs

2023-01-05 Thread GitBox
SkyeYoung opened a new pull request, #1464: URL: https://github.com/apache/apisix-website/pull/1464 Fixes: #[Add issue number here] Changes: release apisix 3.1 docs Screenshots of the change: -- This is an automated message from the Apache Git Service. To

[GitHub] [apisix-website] SkyeYoung commented on a diff in pull request #1463: docs:add weekly report and 2022 commmunity summary

2023-01-05 Thread GitBox
SkyeYoung commented on code in PR #1463: URL: https://github.com/apache/apisix-website/pull/1463#discussion_r1063022946 ## blog/zh/blog/2023/01/04/weekly-report-0105.md: ## @@ -0,0 +1,73 @@ +--- +title: "社区双周报 (12.19 - 1.1)" +keywords: +- Apache APISIX +- API 网关 +- 社区周报 +- 贡献者

[GitHub] [apisix-ingress-controller] codecov-commenter commented on pull request #1589: feat: add openid connect auth

2023-01-05 Thread GitBox
codecov-commenter commented on PR #1589: URL: https://github.com/apache/apisix-ingress-controller/pull/1589#issuecomment-137260 #

[GitHub] [apisix] membphis commented on a diff in pull request #8620: fix: Compression in log-rotate plugin exceeds the default timeout of shell.run

2023-01-05 Thread GitBox
membphis commented on code in PR #8620: URL: https://github.com/apache/apisix/pull/8620#discussion_r1063015447 ## apisix/plugins/log-rotate.lua: ## @@ -277,6 +277,7 @@ local function rotate() max_size = attr.max_size or max_size enable_compression =

[GitHub] [apisix] membphis commented on issue #8617: bug: One of the three etcd nodes is broken (once every two weeks)

2023-01-05 Thread GitBox
membphis commented on issue #8617: URL: https://github.com/apache/apisix/issues/8617#issuecomment-1372991998 @nic-chen do you have time to take a look at this issue? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the

[GitHub] [apisix-helm-chart] tao12345666333 commented on issue #438: CI: Split the helm-docs task so it only needs to be executed once

2023-01-05 Thread GitBox
tao12345666333 commented on issue #438: URL: https://github.com/apache/apisix-helm-chart/issues/438#issuecomment-1372828862 Don't worry.  Thanks for your contributions -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and

[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1563: request help: apisix send request to offline pod ip

2023-01-05 Thread GitBox
tao12345666333 commented on issue #1563: URL: https://github.com/apache/apisix-ingress-controller/issues/1563#issuecomment-1372827290  -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the

[GitHub] [apisix-ingress-controller] Fabriceli opened a new pull request, #1589: feat: add openid connect auth

2023-01-05 Thread GitBox
Fabriceli opened a new pull request, #1589: URL: https://github.com/apache/apisix-ingress-controller/pull/1589 ### Type of change: - [x] New feature provided ### What this PR does / why we need it: #1587 ### Pre-submission checklist:

[GitHub] [apisix-ingress-controller] Fabriceli commented on pull request #1576: fix: fix sync delete svc error

2023-01-05 Thread GitBox
Fabriceli commented on PR #1576: URL: https://github.com/apache/apisix-ingress-controller/pull/1576#issuecomment-1372322577 @tao12345666333 please take a look at this PR, i had fixed the e2e test error, thanks -- This is an automated message from the Apache Git Service. To respond to

[GitHub] [apisix-dashboard] sandro-qiang opened a new issue, #2702: Use Mutual TLS Authentication to access dashboard

2023-01-05 Thread GitBox
sandro-qiang opened a new issue, #2702: URL: https://github.com/apache/apisix-dashboard/issues/2702 # Feature request Use Mutual TLS Authentication to access dashboard ## Please describe your feature I saw old version has `client_cert_auth` and `trusted_ca options` in

[GitHub] [apisix] kingluo commented on pull request #8612: fix: correct inspect plugin default hooks file path and add hook remove logs

2023-01-05 Thread GitBox
kingluo commented on PR #8612: URL: https://github.com/apache/apisix/pull/8612#issuecomment-1372220106 > no test cases? It's not necessary, the path is corrected. No need > no test cases? Done. -- This is an automated message from the Apache Git Service. To respond to

[GitHub] [apisix] juzhiyuan commented on issue #8616: bug: Apisix Config File Overwritten in Standalone Mode

2023-01-05 Thread GitBox
juzhiyuan commented on issue #8616: URL: https://github.com/apache/apisix/issues/8616#issuecomment-1372213130 Hello, I haven't tried using Standalone mode in Docker, but as far as I know, if using Standalone mode, we should put Routes/Upstreams/... in apisix.yaml file instead of

[GitHub] [apisix] sashokbg commented on issue #8616: bug: Apisix Config File Overwritten in Standalone Mode

2023-01-05 Thread GitBox
sashokbg commented on issue #8616: URL: https://github.com/apache/apisix/issues/8616#issuecomment-1372198175 It seems there is some log generated at startup: apache-apisix | 2023/01/05 13:10:40 [error] 38#38: *7 [lua] config_yaml.lua:210: failed to check item data

[GitHub] [apisix] alptugay opened a new pull request, #8620: Update log-rotate.lua

2023-01-05 Thread GitBox
alptugay opened a new pull request, #8620: URL: https://github.com/apache/apisix/pull/8620 Fixes: Compression in log-rotate plugin exceeds the default timeout of shell.run ### Description This issue fixes the bug: "Compression in log-rotate plugin exceeds the default timeout

[GitHub] [apisix] alptugay opened a new issue, #8619: bug: Compression in log-rotate plugin exceeds the default timeout of shell.run

2023-01-05 Thread GitBox
alptugay opened a new issue, #8619: URL: https://github.com/apache/apisix/issues/8619 ### Current Behavior When rotating log files, the log-rotate plugin uses shell.run() function which has a default timeout of 10 seconds. When rotating big log files this timeout is exceeded thus

[GitHub] [apisix] soulbird commented on a diff in pull request #8604: feat(elasticsearch-logger): support multi elasticsearch endpoints(#8431)

2023-01-05 Thread GitBox
soulbird commented on code in PR #8604: URL: https://github.com/apache/apisix/pull/8604#discussion_r1062011352 ## apisix/plugins/elasticsearch-logger.lua: ## @@ -31,10 +32,19 @@ local batch_processor_manager = bp_manager_mod.new(plugin_name) local schema = { type =

[GitHub] [apisix-docker] vmaillot opened a new issue, #326: feature request/security: avoid container running root

2023-01-05 Thread GitBox
vmaillot opened a new issue, #326: URL: https://github.com/apache/apisix-docker/issues/326 Hey there, In advance, thanks for your time and help. # Context I was trying to make Apisix run in a OpenShift cluster but without having root running the container. To do so I am

[GitHub] [apisix-docker] fengxsong opened a new pull request, #400: fix: add etcdctl binary when use_grpc

2023-01-05 Thread GitBox
fengxsong opened a new pull request, #400: URL: https://github.com/apache/apisix-docker/pull/400 Signed-off-by: fengxsong When `etcd.use_grpc=true`, without `etcdctl` binary tool apisix will crash infinite. -- This is an automated message from the Apache Git Service. To respond

[GitHub] [apisix-docker] fengxsong commented on issue #326: feature request/security: avoid container running root

2023-01-05 Thread GitBox
fengxsong commented on issue #326: URL: https://github.com/apache/apisix-docker/issues/326#issuecomment-1372124381 Does this change need to be applied to centos based image? and also, this may required some more docs, non root user can not bind ports under 1024, unless use

[GitHub] [apisix] Martinprobu opened a new issue, #8617: bug: One of the three etcd nodes is broken (once every two weeks)

2023-01-05 Thread GitBox
Martinprobu opened a new issue, #8617: URL: https://github.com/apache/apisix/issues/8617 ### Current Behavior One of the three etcd nodes is broken (once every two weeks) ### Expected Behavior Three nodes should be operating normally ### Error Logs

[GitHub] [apisix] MekelCon commented on pull request #8587: fix: issue 8511 The format of response body that returned by plugin should match Content-Type

2023-01-05 Thread GitBox
MekelCon commented on PR #8587: URL: https://github.com/apache/apisix/pull/8587#issuecomment-1372033540 > > @spacewander I saw the CI failed due to this line, 121 : `local accept_header = core_request.header(ctx, "Accept")` Because `ctx` is 'not defined' Wich is true, but it works, i am a

[GitHub] [apisix] github-actions[bot] closed issue #6021: bug: in Orchestration, OpenID-Connect Plug-in Properties Timeout does not set, there will be an error

2023-01-05 Thread GitBox
github-actions[bot] closed issue #6021: bug: in Orchestration, OpenID-Connect Plug-in Properties Timeout does not set, there will be an error URL: https://github.com/apache/apisix/issues/6021 -- This is an automated message from the Apache Git Service. To respond to the message, please log

[GitHub] [apisix] github-actions[bot] closed issue #6005: bug: error happened when using core.etcd:getkey

2023-01-05 Thread GitBox
github-actions[bot] closed issue #6005: bug: error happened when using core.etcd:getkey URL: https://github.com/apache/apisix/issues/6005 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the

[GitHub] [apisix] github-actions[bot] commented on issue #3690: Support for AzureAD/OIDC integration with APISIX

2023-01-05 Thread GitBox
github-actions[bot] commented on issue #3690: URL: https://github.com/apache/apisix/issues/3690#issuecomment-1372013171 This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please

[GitHub] [apisix] github-actions[bot] commented on issue #6021: bug: in Orchestration, OpenID-Connect Plug-in Properties Timeout does not set, there will be an error

2023-01-05 Thread GitBox
github-actions[bot] commented on issue #6021: URL: https://github.com/apache/apisix/issues/6021#issuecomment-1372013379 This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time. --

[GitHub] [apisix] github-actions[bot] commented on issue #6005: bug: error happened when using core.etcd:getkey

2023-01-05 Thread GitBox
github-actions[bot] commented on issue #6005: URL: https://github.com/apache/apisix/issues/6005#issuecomment-1372013331 This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time. --

<    5   6   7   8   9   10   11   12   13   14   >