Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global timeout setup for Wso2 MicroGateway #3387

Closed
VinulaUthsara opened this issue Jun 26, 2023 · 1 comment
Closed

Global timeout setup for Wso2 MicroGateway #3387

VinulaUthsara opened this issue Jun 26, 2023 · 1 comment

Comments

@VinulaUthsara
Copy link

Description

We tried to implement the timeout configuration that is mentioned in the documentation [1] for APIM 3.2.0.

For that we add the following configuration in the yaml file

x-wso2-production-endpoints:
Urls:
advanceEndpointConfig:
timeoutInMillis:200000
type: http

Then we proceed to import the API into the publisher but when we check the API definition there, this property is not appearing.
We tried the same locally and was able to obtain the same result. We also observe this is happening in APIM 3.0.0 too.

[1] https://mg.docs.wso2.com/en/latest/how-tos/endpoints/resiliency/retry-and-timeout-configs/#timeout-config

Steps to Reproduce

  1. Edit the swagger file with the following configurations:
    x-wso2-production-endpoints:
    Urls:
    advanceEndpointConfig:
    timeoutInMillis:200000
    type: http
  2. Import the API to APIM 3.0.0
  3. Edit the swagger definition and observe the added configuration is not available.

Version

3.0.0, 3.2.0

Environment Details (with versions)

No response

Relevant Log Output

No response

Related Issues

No response

Suggested Labels

3.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants