wso2微网关x-wso2-disable-security=真禁用节流
我正在尝试在下面定义的api上进行基本身份验证。我使用x-wso2-disable-security:true禁用了默认安全性,但它也禁用了定义在其上的速率限制。 不知道为什么会这样wso2微网关x-wso2-disable-security=真禁用节流,wso2,wso2-am,wso2-mgw,Wso2,Wso2 Am,Wso2 Mgw,我正在尝试在下面定义的api上进行基本身份验证。我使用x-wso2-disable-security:true禁用了默认安全性,但它也禁用了定义在其上的速率限制。 不知道为什么会这样 paths: /public/rt/PING: get: description: "" operationId: PING x-wso2-throttling-tier: 6PerMin x-wso2-disable-security: true
paths:
/public/rt/PING:
get:
description: ""
operationId: PING
x-wso2-throttling-tier: 6PerMin
x-wso2-disable-security: true
x-wso2-request-interceptor: setAuthHeaderInRequest
responses:
"200":
description: Successful response
content:
application/json:
schema:
$ref: "#/components/schemas/PING"
application/xml:
schema:
$ref: "#/components/schemas/PING"
security:
- basicAuthentication: []```
在最新版本(3.1.0)的microgateway[1]中,这一问题已得到解决[2] [1] -
[2] -这是正式发布的吗?正如文档中仍然提到的“此版本正在开发中。”也无法为3.1.0生成docker映像。。失败,出现错误:正在生成docker工件。。。错误[docker plugin]:模块[wso2/petstore:3.1.0]无法连接到服务器:主机名可能不是Null是的,现在正式发布。在deployment-config.toml中设置dockerHost='localhost'后,您是如何创建docker映像的。