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

Preserve advanceEndpointConfig when setting endpoint config #12151

Merged

Conversation

HeshanSudarshana
Copy link
Contributor

Purpose

This PR adds the change to preserve advanceEndpointConfig when setting endpoint config for the API.

This property is used for MGW for ballerina endpoint configurations.

Please find a sample endpoint config with advanceEndpointConfig.

{
   "endpoint_type":"http",
   "production_endpoints":{
      "url":"https://localhost:9443/am/sample/pizzashack/v1/api/",
      "advanceEndpointConfig":{
         "timeoutInMillis":240000
      }
   },
   "sandbox_endpoints":{
      "url":"https://localhost:9443/am/sample/pizzashack/v1/api/"
   }
}

Related issue: wso2/product-microgateway#3387

@HeshanSudarshana HeshanSudarshana merged commit 49a131c into wso2:master Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants