{"action":"created","issue":{"url":"https://api.github.com/repos/serverless/serverless/issues/1598","repository_url":"https://api.github.com/repos/serverless/serverless","labels_url":"https://api.github.com/repos/serverless/serverless/issues/1598/labels{/name}","comments_url":"https://api.github.com/repos/serverless/serverless/issues/1598/comments","events_url":"https://api.github.com/repos/serverless/serverless/issues/1598/events","html_url":"https://github.com/serverless/serverless/issues/1598","id":166080834,"number":1598,"title":"Add support for APIG proxy settings","user":{"login":"eahefnawy","id":2312463,"avatar_url":"https://avatars.githubusercontent.com/u/2312463?v=3","gravatar_id":"","url":"https://api.github.com/users/eahefnawy","html_url":"https://github.com/eahefnawy","followers_url":"https://api.github.com/users/eahefnawy/followers","following_url":"https://api.github.com/users/eahefnawy/following{/other_user}","gists_url":"https://api.github.com/users/eahefnawy/gists{/gist_id}","starred_url":"https://api.github.com/users/eahefnawy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eahefnawy/subscriptions","organizations_url":"https://api.github.com/users/eahefnawy/orgs","repos_url":"https://api.github.com/users/eahefnawy/repos","events_url":"https://api.github.com/users/eahefnawy/events{/privacy}","received_events_url":"https://api.github.com/users/eahefnawy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/serverless/serverless/labels/area/config-files","name":"area/config-files","color":"fbca04"},{"url":"https://api.github.com/repos/serverless/serverless/labels/area/deployment","name":"area/deployment","color":"fbca04"},{"url":"https://api.github.com/repos/serverless/serverless/labels/area/events","name":"area/events","color":"fbca04"},{"url":"https://api.github.com/repos/serverless/serverless/labels/area/resource-management","name":"area/resource-management","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/serverless/serverless/milestones/11","html_url":"https://github.com/serverless/serverless/milestones/v1.0.0-beta","labels_url":"https://api.github.com/repos/serverless/serverless/milestones/11/labels","id":1849941,"number":11,"title":"v1.0.0-beta","description":"Work on feedback from customers / Python and Java support / Azure support.","creator":{"login":"pmuens","id":1606004,"avatar_url":"https://avatars.githubusercontent.com/u/1606004?v=3","gravatar_id":"","url":"https://api.github.com/users/pmuens","html_url":"https://github.com/pmuens","followers_url":"https://api.github.com/users/pmuens/followers","following_url":"https://api.github.com/users/pmuens/following{/other_user}","gists_url":"https://api.github.com/users/pmuens/gists{/gist_id}","starred_url":"https://api.github.com/users/pmuens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmuens/subscriptions","organizations_url":"https://api.github.com/users/pmuens/orgs","repos_url":"https://api.github.com/users/pmuens/repos","events_url":"https://api.github.com/users/pmuens/events{/privacy}","received_events_url":"https://api.github.com/users/pmuens/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":12,"state":"open","created_at":"2016-06-27T09:04:44Z","updated_at":"2016-07-18T12:20:03Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-07-18T12:20:03Z","updated_at":"2016-07-18T16:51:12Z","closed_at":null,"body":"Give users the option to specify a certain endpoint to act as an HTTP proxy to another URI. This needs some thinking because setting an endpoint as a proxy means that the endpoint is not tied to a specific function, so it wouldn't make sense to have the config inside an `http` event object. Maybe this particular option could be a higher level config? How about:\r\n\r\n```yml\r\nservice: my-service\r\nconfig:\r\n    aws:\r\n        proxies:\r\n            - method: get\r\n              path: users/list\r\n              url: www.example.com/users\r\n            - method: get\r\n              path: posts/list\r\n              url: www.example.com/posts\r\n```\r\n\r\nThats one way to do it, but it looks like too much config. One thing to keep in mind is that users can easily create proxy endpoints with CloudFormation if we document it well. They just need to know the correct template to add and how to reference the restApi id and so on.\r\n\r\nWhat you guys think? should we just leave this for custom CF resources? or provide this nice config based abstraction layer? cc/ @flomotlik @pmuens @ac360 \r\n\r\nParent Issue:\r\n[#1408](https://github.com/serverless/serverless/issues/1408)"},"comment":{"url":"https://api.github.com/repos/serverless/serverless/issues/comments/233387991","html_url":"https://github.com/serverless/serverless/issues/1598#issuecomment-233387991","issue_url":"https://api.github.com/repos/serverless/serverless/issues/1598","id":233387991,"user":{"login":"pmuens","id":1606004,"avatar_url":"https://avatars.githubusercontent.com/u/1606004?v=3","gravatar_id":"","url":"https://api.github.com/users/pmuens","html_url":"https://github.com/pmuens","followers_url":"https://api.github.com/users/pmuens/followers","following_url":"https://api.github.com/users/pmuens/following{/other_user}","gists_url":"https://api.github.com/users/pmuens/gists{/gist_id}","starred_url":"https://api.github.com/users/pmuens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmuens/subscriptions","organizations_url":"https://api.github.com/users/pmuens/orgs","repos_url":"https://api.github.com/users/pmuens/repos","events_url":"https://api.github.com/users/pmuens/events{/privacy}","received_events_url":"https://api.github.com/users/pmuens/received_events","type":"User","site_admin":false},"created_at":"2016-07-18T16:51:11Z","updated_at":"2016-07-18T16:51:11Z","body":"Yes. Would also vote for a well documented custom CloudFormation resource to reduce config for now.\r\n\r\nWe should document this whole custom resource thing even better because basically any feature which kind of prevents users from using Serverless alpha (because of a lacking featureset) could be done with the help of a custom resource until we've implemented it in a \"syntactic sugar\" way into the plugins."}}
{"actor":{"display_login":"pmuens"}}