Skip to content

Instantly share code, notes, and snippets.

@kasvith
Created July 17, 2019 06:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kasvith/5ecaec9b470845d944c80bc0d20a6ec9 to your computer and use it in GitHub Desktop.
Save kasvith/5ecaec9b470845d944c80bc0d20a6ec9 to your computer and use it in GitHub Desktop.
Reference for api_params.yaml
environments: # Define environments as a list
- name: dev # Name of the environment
gatewayEnvironments: # define gateway environments
- "Production and Sandbox" # List gateways
- "Another Gateway"
certs: # define certificates for endpoints as a list
- hostName: 'https://dev.wso2.com' # hostname for the certificate
alias: 'Dev Certificate' # Alias for the certificate
path: '~/certs/dev.pem' # path to public certificate file
endpoints: # Define endpoints for environment
production: # Production endpoint
url: 'https://dev.wso2.com' # URL of the production backend
config:
retryTimeOut: 60 # Retries before suspension
retryDelay: 90 # Retry Delay(ms)
factor: 6 # Endpoint suspension factor
sandbox:
url: 'https://dev.sb.wso2.com' # sandbox endpoint
config:
retryTimeOut: 80 # Retries before suspension
retryDelay: 10 # Retry Delay(ms)
factor: 4 # Endpoint suspension factor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment