Микро-шлюз wso2 x-wso2-disable-security = true отключить регулирование - PullRequest
0 голосов
/ 01 апреля 2020

Я пытаюсь установить базовую c аутентификацию на нижеуказанном API. я отключил безопасность по умолчанию, используя 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: []```

1 Ответ

1 голос
/ 01 апреля 2020

Это было исправлено [2] в новейшей версии (3.1.0) microgateway [1]

[1] - https://github.com/wso2/product-microgateway/releases/tag/v3.1.0

[ 2] - https://github.com/wso2/product-microgateway/issues/1099

...