{"action":"created","issue":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/1235","repository_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix","labels_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/1235/labels{/name}","comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/1235/comments","events_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/1235/events","html_url":"https://github.com/spring-cloud/spring-cloud-netflix/issues/1235","id":170004133,"number":1235,"title":"[ Question / Feature Request] Complex Prefixes","user":{"login":"matanshukry","id":5613042,"avatar_url":"https://avatars.githubusercontent.com/u/5613042?v=3","gravatar_id":"","url":"https://api.github.com/users/matanshukry","html_url":"https://github.com/matanshukry","followers_url":"https://api.github.com/users/matanshukry/followers","following_url":"https://api.github.com/users/matanshukry/following{/other_user}","gists_url":"https://api.github.com/users/matanshukry/gists{/gist_id}","starred_url":"https://api.github.com/users/matanshukry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matanshukry/subscriptions","organizations_url":"https://api.github.com/users/matanshukry/orgs","repos_url":"https://api.github.com/users/matanshukry/repos","events_url":"https://api.github.com/users/matanshukry/events{/privacy}","received_events_url":"https://api.github.com/users/matanshukry/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-08-08T19:27:14Z","updated_at":"2016-08-12T11:22:05Z","closed_at":null,"body":"I would like to have 2 \"groups\" of routes in my configuration:\r\n\r\n(1), a group that starts with /api, which will be stripped.\r\ne.g.\r\n - request to /api/users/** -->http://user-service/users/**\r\n - request to /api/images/** --> http://image-service/images/**\r\n\r\n(2) A group that starts with /web, which will be stripped\r\n - request to /web/login/** --> http://web-service/login\r\n\r\nIt seems each one of those options is possible by it's own, using a global prefix (either \"/api\" or \"/web\"), and strip-prefix (set to false) at the service level. However, how can I achieve them both in the same zuul?\r\n\r\nIf it's not possible, what you guys think about this as a feature?"},"comment":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/comments/239422388","html_url":"https://github.com/spring-cloud/spring-cloud-netflix/issues/1235#issuecomment-239422388","issue_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/1235","id":239422388,"user":{"login":"kakawait","id":275609,"avatar_url":"https://avatars.githubusercontent.com/u/275609?v=3","gravatar_id":"","url":"https://api.github.com/users/kakawait","html_url":"https://github.com/kakawait","followers_url":"https://api.github.com/users/kakawait/followers","following_url":"https://api.github.com/users/kakawait/following{/other_user}","gists_url":"https://api.github.com/users/kakawait/gists{/gist_id}","starred_url":"https://api.github.com/users/kakawait/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kakawait/subscriptions","organizations_url":"https://api.github.com/users/kakawait/orgs","repos_url":"https://api.github.com/users/kakawait/repos","events_url":"https://api.github.com/users/kakawait/events{/privacy}","received_events_url":"https://api.github.com/users/kakawait/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T11:22:05Z","updated_at":"2016-08-12T11:22:05Z","body":"@aivans agree with that. If you (community + core dev) think that zuul routing configuration should keep simple no problem and simply close all related issues by proposing user to write it own `ZuulFilter` to achieve what they want."}}
{"actor":{"display_login":"kakawait"}}