We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Export proxy configuration command can be enhanced providing some gateway host parameter.
3scale API provides an endpoint that returns the latest proxy config for all services that share a gateway host. Just a single request:
GET /admin/api/services/proxy/configs/{ENVIRONMENT}.json?host=HOST { "proxy_configs" : [ { "proxy_config": { ... } }, { "proxy_config": { ... } } ] }
Needs new public method in the 3scale-api-ruby library. Something like this:
# @api public # @return [Array] # @param [String] host Gateway Host # @param [String] environment. Must be 'sandbox' or 'production' def proxy_config_list_by_host(host, environment = 'sandbox') params = { host: host } response = http_client.get("/admin/api/services/proxy/configs/#{environment}", params: params) extract(collection: 'proxy_configs', entity: 'proxy_config', from: response) end
Note: When services share a gateway host, APICAST_PATH_ROUTING has to be enabled.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Export proxy configuration command can be enhanced providing some gateway host parameter.
3scale API provides an endpoint that returns the latest proxy config for all services that share a gateway host. Just a single request:
Needs new public method in the 3scale-api-ruby library. Something like this:
Note: When services share a gateway host, APICAST_PATH_ROUTING has to be enabled.
The text was updated successfully, but these errors were encountered: