{"action":"opened","number":3,"pull_request":{"url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/pulls/3","id":57216799,"html_url":"https://github.com/martinlindenberg/serverless-plugin-alerting/pull/3","diff_url":"https://github.com/martinlindenberg/serverless-plugin-alerting/pull/3.diff","patch_url":"https://github.com/martinlindenberg/serverless-plugin-alerting/pull/3.patch","issue_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/issues/3","number":3,"state":"open","locked":false,"title":"Update to new serverless syntax","user":{"login":"kddeisz","id":5093358,"avatar_url":"https://avatars.githubusercontent.com/u/5093358?v=3","gravatar_id":"","url":"https://api.github.com/users/kddeisz","html_url":"https://github.com/kddeisz","followers_url":"https://api.github.com/users/kddeisz/followers","following_url":"https://api.github.com/users/kddeisz/following{/other_user}","gists_url":"https://api.github.com/users/kddeisz/gists{/gist_id}","starred_url":"https://api.github.com/users/kddeisz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kddeisz/subscriptions","organizations_url":"https://api.github.com/users/kddeisz/orgs","repos_url":"https://api.github.com/users/kddeisz/repos","events_url":"https://api.github.com/users/kddeisz/events{/privacy}","received_events_url":"https://api.github.com/users/kddeisz/received_events","type":"User","site_admin":false},"body":"This PR updates the plugin to use the new serverless version's syntax. It also uses the AWS API instead of shelling out so it can pick up the correct authentication instead of using the default.","created_at":"2016-01-26T14:26:22Z","updated_at":"2016-01-26T14:26:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3a5d5396967f85d11deafaeee1e735059b3fd3fb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/pulls/3/commits","review_comments_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/pulls/3/comments","review_comment_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/pulls/comments{/number}","comments_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/issues/3/comments","statuses_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/statuses/5dfe651ae1bde0423af0eab7f82081b75463813b","head":{"label":"localytics:master","ref":"master","sha":"5dfe651ae1bde0423af0eab7f82081b75463813b","user":{"login":"localytics","id":29205,"avatar_url":"https://avatars.githubusercontent.com/u/29205?v=3","gravatar_id":"","url":"https://api.github.com/users/localytics","html_url":"https://github.com/localytics","followers_url":"https://api.github.com/users/localytics/followers","following_url":"https://api.github.com/users/localytics/following{/other_user}","gists_url":"https://api.github.com/users/localytics/gists{/gist_id}","starred_url":"https://api.github.com/users/localytics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/localytics/subscriptions","organizations_url":"https://api.github.com/users/localytics/orgs","repos_url":"https://api.github.com/users/localytics/repos","events_url":"https://api.github.com/users/localytics/events{/privacy}","received_events_url":"https://api.github.com/users/localytics/received_events","type":"Organization","site_admin":false},"repo":{"id":50053678,"name":"serverless-plugin-alerting","full_name":"localytics/serverless-plugin-alerting","owner":{"login":"localytics","id":29205,"avatar_url":"https://avatars.githubusercontent.com/u/29205?v=3","gravatar_id":"","url":"https://api.github.com/users/localytics","html_url":"https://github.com/localytics","followers_url":"https://api.github.com/users/localytics/followers","following_url":"https://api.github.com/users/localytics/following{/other_user}","gists_url":"https://api.github.com/users/localytics/gists{/gist_id}","starred_url":"https://api.github.com/users/localytics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/localytics/subscriptions","organizations_url":"https://api.github.com/users/localytics/orgs","repos_url":"https://api.github.com/users/localytics/repos","events_url":"https://api.github.com/users/localytics/events{/privacy}","received_events_url":"https://api.github.com/users/localytics/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/localytics/serverless-plugin-alerting","description":"","fork":true,"url":"https://api.github.com/repos/localytics/serverless-plugin-alerting","forks_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/forks","keys_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/keys{/key_id}","collaborators_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/teams","hooks_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/hooks","issue_events_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/issues/events{/number}","events_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/events","assignees_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/assignees{/user}","branches_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/branches{/branch}","tags_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/tags","blobs_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/git/refs{/sha}","trees_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/git/trees{/sha}","statuses_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/statuses/{sha}","languages_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/languages","stargazers_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/stargazers","contributors_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/contributors","subscribers_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/subscribers","subscription_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/subscription","commits_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/commits{/sha}","git_commits_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/git/commits{/sha}","comments_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/comments{/number}","issue_comment_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/issues/comments{/number}","contents_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/contents/{+path}","compare_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/compare/{base}...{head}","merges_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/merges","archive_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/downloads","issues_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/issues{/number}","pulls_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/pulls{/number}","milestones_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/milestones{/number}","notifications_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/labels{/name}","releases_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/releases{/id}","deployments_url":"https://api.github.com/repos/localytics/serverless-plugin-alerting/deployments","created_at":"2016-01-20T19:13:44Z","updated_at":"2016-01-20T22:40:37Z","pushed_at":"2016-01-26T14:17:55Z","git_url":"git://github.com/localytics/serverless-plugin-alerting.git","ssh_url":"git@github.com:localytics/serverless-plugin-alerting.git","clone_url":"https://github.com/localytics/serverless-plugin-alerting.git","svn_url":"https://github.com/localytics/serverless-plugin-alerting","homepage":null,"size":12,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"martinlindenberg:master","ref":"master","sha":"21059791904454d4e2edaf9446fb2a729f90a2f6","user":{"login":"martinlindenberg","id":14071524,"avatar_url":"https://avatars.githubusercontent.com/u/14071524?v=3","gravatar_id":"","url":"https://api.github.com/users/martinlindenberg","html_url":"https://github.com/martinlindenberg","followers_url":"https://api.github.com/users/martinlindenberg/followers","following_url":"https://api.github.com/users/martinlindenberg/following{/other_user}","gists_url":"https://api.github.com/users/martinlindenberg/gists{/gist_id}","starred_url":"https://api.github.com/users/martinlindenberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinlindenberg/subscriptions","organizations_url":"https://api.github.com/users/martinlindenberg/orgs","repos_url":"https://api.github.com/users/martinlindenberg/repos","events_url":"https://api.github.com/users/martinlindenberg/events{/privacy}","received_events_url":"https://api.github.com/users/martinlindenberg/received_events","type":"User","site_admin":false},"repo":{"id":48050410,"name":"serverless-plugin-alerting","full_name":"martinlindenberg/serverless-plugin-alerting","owner":{"login":"martinlindenberg","id":14071524,"avatar_url":"https://avatars.githubusercontent.com/u/14071524?v=3","gravatar_id":"","url":"https://api.github.com/users/martinlindenberg","html_url":"https://github.com/martinlindenberg","followers_url":"https://api.github.com/users/martinlindenberg/followers","following_url":"https://api.github.com/users/martinlindenberg/following{/other_user}","gists_url":"https://api.github.com/users/martinlindenberg/gists{/gist_id}","starred_url":"https://api.github.com/users/martinlindenberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinlindenberg/subscriptions","organizations_url":"https://api.github.com/users/martinlindenberg/orgs","repos_url":"https://api.github.com/users/martinlindenberg/repos","events_url":"https://api.github.com/users/martinlindenberg/events{/privacy}","received_events_url":"https://api.github.com/users/martinlindenberg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/martinlindenberg/serverless-plugin-alerting","description":"","fork":false,"url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting","forks_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/forks","keys_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/keys{/key_id}","collaborators_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/teams","hooks_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/hooks","issue_events_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/issues/events{/number}","events_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/events","assignees_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/assignees{/user}","branches_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/branches{/branch}","tags_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/tags","blobs_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/git/refs{/sha}","trees_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/git/trees{/sha}","statuses_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/statuses/{sha}","languages_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/languages","stargazers_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/stargazers","contributors_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/contributors","subscribers_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/subscribers","subscription_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/subscription","commits_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/commits{/sha}","git_commits_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/git/commits{/sha}","comments_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/comments{/number}","issue_comment_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/issues/comments{/number}","contents_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/contents/{+path}","compare_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/compare/{base}...{head}","merges_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/merges","archive_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/downloads","issues_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/issues{/number}","pulls_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/pulls{/number}","milestones_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/milestones{/number}","notifications_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/labels{/name}","releases_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/releases{/id}","deployments_url":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/deployments","created_at":"2015-12-15T15:11:24Z","updated_at":"2016-01-11T18:16:16Z","pushed_at":"2016-01-26T14:26:22Z","git_url":"git://github.com/martinlindenberg/serverless-plugin-alerting.git","ssh_url":"git@github.com:martinlindenberg/serverless-plugin-alerting.git","clone_url":"https://github.com/martinlindenberg/serverless-plugin-alerting.git","svn_url":"https://github.com/martinlindenberg/serverless-plugin-alerting","homepage":null,"size":10,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/pulls/3"},"html":{"href":"https://github.com/martinlindenberg/serverless-plugin-alerting/pull/3"},"issue":{"href":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/issues/3"},"comments":{"href":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/martinlindenberg/serverless-plugin-alerting/statuses/5dfe651ae1bde0423af0eab7f82081b75463813b"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":63,"deletions":68,"changed_files":1}}