Dynamic Routing for Apicast
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
458 B

return {
-- First service
["123"] = {
-- Prod environment
prod = "https://echo-api.3scale.net",
-- Dev environment
dev = "http://echo-api.3scale.net"
},
-- Second service
["456"] = {
-- Prod environment
prod = "http://prod.myservice.corp",
-- Dev environment
dev = "http://dev.myservice.corp",
-- Default variant (if nothing matches): sandbox environment
_default = "http://sandbox.myservice.corp"
}
}