{"action":"opened","number":22,"pull_request":{"url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/pulls/22","id":42599995,"html_url":"https://github.com/thisissoon/FM-Frontend-API/pull/22","diff_url":"https://github.com/thisissoon/FM-Frontend-API/pull/22.diff","patch_url":"https://github.com/thisissoon/FM-Frontend-API/pull/22.patch","issue_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/issues/22","number":22,"state":"open","locked":false,"title":"Feature: event integration","user":{"login":"jamesjwarren","id":1857944,"avatar_url":"https://avatars.githubusercontent.com/u/1857944?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesjwarren","html_url":"https://github.com/jamesjwarren","followers_url":"https://api.github.com/users/jamesjwarren/followers","following_url":"https://api.github.com/users/jamesjwarren/following{/other_user}","gists_url":"https://api.github.com/users/jamesjwarren/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesjwarren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesjwarren/subscriptions","organizations_url":"https://api.github.com/users/jamesjwarren/orgs","repos_url":"https://api.github.com/users/jamesjwarren/repos","events_url":"https://api.github.com/users/jamesjwarren/events{/privacy}","received_events_url":"https://api.github.com/users/jamesjwarren/received_events","type":"User","site_admin":false},"body":"This PR maps events from the redis PubSub system to the resourceful PubSub in sails, which will allow the FE to subscribe to the sails socket for events. For future applications this service could listen to events from any other transport, dependant on the backend service implementation.\r\n\r\n>Note: this will need to be updated as we configure more endpoints","created_at":"2015-08-17T15:23:02Z","updated_at":"2015-08-17T15:23:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/pulls/22/commits","review_comments_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/pulls/22/comments","review_comment_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/issues/22/comments","statuses_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/statuses/abe209c3257f86903da6efa59755f2cf08690e9e","head":{"label":"thisissoon:feature/event-integration","ref":"feature/event-integration","sha":"abe209c3257f86903da6efa59755f2cf08690e9e","user":{"login":"thisissoon","id":6976199,"avatar_url":"https://avatars.githubusercontent.com/u/6976199?v=3","gravatar_id":"","url":"https://api.github.com/users/thisissoon","html_url":"https://github.com/thisissoon","followers_url":"https://api.github.com/users/thisissoon/followers","following_url":"https://api.github.com/users/thisissoon/following{/other_user}","gists_url":"https://api.github.com/users/thisissoon/gists{/gist_id}","starred_url":"https://api.github.com/users/thisissoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thisissoon/subscriptions","organizations_url":"https://api.github.com/users/thisissoon/orgs","repos_url":"https://api.github.com/users/thisissoon/repos","events_url":"https://api.github.com/users/thisissoon/events{/privacy}","received_events_url":"https://api.github.com/users/thisissoon/received_events","type":"Organization","site_admin":false},"repo":{"id":40356839,"name":"FM-Frontend-API","full_name":"thisissoon/FM-Frontend-API","owner":{"login":"thisissoon","id":6976199,"avatar_url":"https://avatars.githubusercontent.com/u/6976199?v=3","gravatar_id":"","url":"https://api.github.com/users/thisissoon","html_url":"https://github.com/thisissoon","followers_url":"https://api.github.com/users/thisissoon/followers","following_url":"https://api.github.com/users/thisissoon/following{/other_user}","gists_url":"https://api.github.com/users/thisissoon/gists{/gist_id}","starred_url":"https://api.github.com/users/thisissoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thisissoon/subscriptions","organizations_url":"https://api.github.com/users/thisissoon/orgs","repos_url":"https://api.github.com/users/thisissoon/repos","events_url":"https://api.github.com/users/thisissoon/events{/privacy}","received_events_url":"https://api.github.com/users/thisissoon/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thisissoon/FM-Frontend-API","description":"A node js middle layer between FM Frontend and FM API","fork":false,"url":"https://api.github.com/repos/thisissoon/FM-Frontend-API","forks_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/forks","keys_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/teams","hooks_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/hooks","issue_events_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/issues/events{/number}","events_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/events","assignees_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/assignees{/user}","branches_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/branches{/branch}","tags_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/tags","blobs_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/git/refs{/sha}","trees_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/statuses/{sha}","languages_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/languages","stargazers_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/stargazers","contributors_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/contributors","subscribers_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/subscribers","subscription_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/subscription","commits_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/commits{/sha}","git_commits_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/git/commits{/sha}","comments_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/comments{/number}","issue_comment_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/issues/comments{/number}","contents_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/contents/{+path}","compare_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/merges","archive_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/downloads","issues_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/issues{/number}","pulls_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/pulls{/number}","milestones_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/milestones{/number}","notifications_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/labels{/name}","releases_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/releases{/id}","created_at":"2015-08-07T11:17:54Z","updated_at":"2015-08-07T11:20:22Z","pushed_at":"2015-08-17T15:17:29Z","git_url":"git://github.com/thisissoon/FM-Frontend-API.git","ssh_url":"git@github.com:thisissoon/FM-Frontend-API.git","clone_url":"https://github.com/thisissoon/FM-Frontend-API.git","svn_url":"https://github.com/thisissoon/FM-Frontend-API","homepage":"","size":336,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":10,"forks":0,"open_issues":10,"watchers":0,"default_branch":"develop"}},"base":{"label":"thisissoon:develop","ref":"develop","sha":"1e8695b27ad559b56bc888adc526190156950613","user":{"login":"thisissoon","id":6976199,"avatar_url":"https://avatars.githubusercontent.com/u/6976199?v=3","gravatar_id":"","url":"https://api.github.com/users/thisissoon","html_url":"https://github.com/thisissoon","followers_url":"https://api.github.com/users/thisissoon/followers","following_url":"https://api.github.com/users/thisissoon/following{/other_user}","gists_url":"https://api.github.com/users/thisissoon/gists{/gist_id}","starred_url":"https://api.github.com/users/thisissoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thisissoon/subscriptions","organizations_url":"https://api.github.com/users/thisissoon/orgs","repos_url":"https://api.github.com/users/thisissoon/repos","events_url":"https://api.github.com/users/thisissoon/events{/privacy}","received_events_url":"https://api.github.com/users/thisissoon/received_events","type":"Organization","site_admin":false},"repo":{"id":40356839,"name":"FM-Frontend-API","full_name":"thisissoon/FM-Frontend-API","owner":{"login":"thisissoon","id":6976199,"avatar_url":"https://avatars.githubusercontent.com/u/6976199?v=3","gravatar_id":"","url":"https://api.github.com/users/thisissoon","html_url":"https://github.com/thisissoon","followers_url":"https://api.github.com/users/thisissoon/followers","following_url":"https://api.github.com/users/thisissoon/following{/other_user}","gists_url":"https://api.github.com/users/thisissoon/gists{/gist_id}","starred_url":"https://api.github.com/users/thisissoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thisissoon/subscriptions","organizations_url":"https://api.github.com/users/thisissoon/orgs","repos_url":"https://api.github.com/users/thisissoon/repos","events_url":"https://api.github.com/users/thisissoon/events{/privacy}","received_events_url":"https://api.github.com/users/thisissoon/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thisissoon/FM-Frontend-API","description":"A node js middle layer between FM Frontend and FM API","fork":false,"url":"https://api.github.com/repos/thisissoon/FM-Frontend-API","forks_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/forks","keys_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/teams","hooks_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/hooks","issue_events_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/issues/events{/number}","events_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/events","assignees_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/assignees{/user}","branches_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/branches{/branch}","tags_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/tags","blobs_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/git/refs{/sha}","trees_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/statuses/{sha}","languages_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/languages","stargazers_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/stargazers","contributors_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/contributors","subscribers_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/subscribers","subscription_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/subscription","commits_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/commits{/sha}","git_commits_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/git/commits{/sha}","comments_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/comments{/number}","issue_comment_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/issues/comments{/number}","contents_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/contents/{+path}","compare_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/merges","archive_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/downloads","issues_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/issues{/number}","pulls_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/pulls{/number}","milestones_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/milestones{/number}","notifications_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/labels{/name}","releases_url":"https://api.github.com/repos/thisissoon/FM-Frontend-API/releases{/id}","created_at":"2015-08-07T11:17:54Z","updated_at":"2015-08-07T11:20:22Z","pushed_at":"2015-08-17T15:17:29Z","git_url":"git://github.com/thisissoon/FM-Frontend-API.git","ssh_url":"git@github.com:thisissoon/FM-Frontend-API.git","clone_url":"https://github.com/thisissoon/FM-Frontend-API.git","svn_url":"https://github.com/thisissoon/FM-Frontend-API","homepage":"","size":336,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":10,"forks":0,"open_issues":10,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/thisissoon/FM-Frontend-API/pulls/22"},"html":{"href":"https://github.com/thisissoon/FM-Frontend-API/pull/22"},"issue":{"href":"https://api.github.com/repos/thisissoon/FM-Frontend-API/issues/22"},"comments":{"href":"https://api.github.com/repos/thisissoon/FM-Frontend-API/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/thisissoon/FM-Frontend-API/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/thisissoon/FM-Frontend-API/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thisissoon/FM-Frontend-API/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/thisissoon/FM-Frontend-API/statuses/abe209c3257f86903da6efa59755f2cf08690e9e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":114,"deletions":0,"changed_files":5}}