{"action":"created","comment":{"url":"https://api.github.com/repos/postgres-plugin/tags-system/pulls/comments/88548506","pull_request_review_id":9120193,"id":88548506,"diff_hunk":"@@ -32,11 +32,17 @@ function init (port, pgConfig, callback) {\n           return reply(listTags);\n         });\n       }\n+    }, {\n+      method: 'GET',\n+      path: '/getAllActive',\n+      handler: function (request, reply) {\n+        request.getAllActive(function (error, allTags) { //eslint-disable-line","path":"example/server.js","position":23,"original_position":23,"commit_id":"9dfe1bf91e0aedf13358eb0785330fbbae142011","original_commit_id":"9dfe1bf91e0aedf13358eb0785330fbbae142011","user":{"login":"SimonLab","id":6057298,"avatar_url":"https://avatars.githubusercontent.com/u/6057298?v=3","gravatar_id":"","url":"https://api.github.com/users/SimonLab","html_url":"https://github.com/SimonLab","followers_url":"https://api.github.com/users/SimonLab/followers","following_url":"https://api.github.com/users/SimonLab/following{/other_user}","gists_url":"https://api.github.com/users/SimonLab/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonLab/subscriptions","organizations_url":"https://api.github.com/users/SimonLab/orgs","repos_url":"https://api.github.com/users/SimonLab/repos","events_url":"https://api.github.com/users/SimonLab/events{/privacy}","received_events_url":"https://api.github.com/users/SimonLab/received_events","type":"User","site_admin":false},"body":"I think we should have a more descriptive name for this function as it will be used on the application with other tables.","created_at":"2016-11-17T21:20:30Z","updated_at":"2016-11-17T21:20:30Z","html_url":"https://github.com/postgres-plugin/tags-system/pull/48#discussion_r88548506","pull_request_url":"https://api.github.com/repos/postgres-plugin/tags-system/pulls/48","_links":{"self":{"href":"https://api.github.com/repos/postgres-plugin/tags-system/pulls/comments/88548506"},"html":{"href":"https://github.com/postgres-plugin/tags-system/pull/48#discussion_r88548506"},"pull_request":{"href":"https://api.github.com/repos/postgres-plugin/tags-system/pulls/48"}}},"pull_request":{"url":"https://api.github.com/repos/postgres-plugin/tags-system/pulls/48","id":94230499,"html_url":"https://github.com/postgres-plugin/tags-system/pull/48","diff_url":"https://github.com/postgres-plugin/tags-system/pull/48.diff","patch_url":"https://github.com/postgres-plugin/tags-system/pull/48.patch","issue_url":"https://api.github.com/repos/postgres-plugin/tags-system/issues/48","number":48,"state":"open","locked":false,"title":"set up basic getAllActive function and test, closes #47 linked to #46","user":{"login":"JMurphyWeb","id":12638261,"avatar_url":"https://avatars.githubusercontent.com/u/12638261?v=3","gravatar_id":"","url":"https://api.github.com/users/JMurphyWeb","html_url":"https://github.com/JMurphyWeb","followers_url":"https://api.github.com/users/JMurphyWeb/followers","following_url":"https://api.github.com/users/JMurphyWeb/following{/other_user}","gists_url":"https://api.github.com/users/JMurphyWeb/gists{/gist_id}","starred_url":"https://api.github.com/users/JMurphyWeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JMurphyWeb/subscriptions","organizations_url":"https://api.github.com/users/JMurphyWeb/orgs","repos_url":"https://api.github.com/users/JMurphyWeb/repos","events_url":"https://api.github.com/users/JMurphyWeb/events{/privacy}","received_events_url":"https://api.github.com/users/JMurphyWeb/received_events","type":"User","site_admin":false},"body":"Bring our server.js back into line with current server\r\n\r\nAdd basic tests for getAllAction()","created_at":"2016-11-17T19:11:00Z","updated_at":"2016-11-17T21:20:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b056de4a9135d60a476f242a3bf3be10facd547d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/postgres-plugin/tags-system/pulls/48/commits","review_comments_url":"https://api.github.com/repos/postgres-plugin/tags-system/pulls/48/comments","review_comment_url":"https://api.github.com/repos/postgres-plugin/tags-system/pulls/comments{/number}","comments_url":"https://api.github.com/repos/postgres-plugin/tags-system/issues/48/comments","statuses_url":"https://api.github.com/repos/postgres-plugin/tags-system/statuses/9dfe1bf91e0aedf13358eb0785330fbbae142011","head":{"label":"postgres-plugin:get-tags","ref":"get-tags","sha":"9dfe1bf91e0aedf13358eb0785330fbbae142011","user":{"login":"postgres-plugin","id":23457479,"avatar_url":"https://avatars.githubusercontent.com/u/23457479?v=3","gravatar_id":"","url":"https://api.github.com/users/postgres-plugin","html_url":"https://github.com/postgres-plugin","followers_url":"https://api.github.com/users/postgres-plugin/followers","following_url":"https://api.github.com/users/postgres-plugin/following{/other_user}","gists_url":"https://api.github.com/users/postgres-plugin/gists{/gist_id}","starred_url":"https://api.github.com/users/postgres-plugin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/postgres-plugin/subscriptions","organizations_url":"https://api.github.com/users/postgres-plugin/orgs","repos_url":"https://api.github.com/users/postgres-plugin/repos","events_url":"https://api.github.com/users/postgres-plugin/events{/privacy}","received_events_url":"https://api.github.com/users/postgres-plugin/received_events","type":"Organization","site_admin":false},"repo":{"id":72753987,"name":"tags-system","full_name":"postgres-plugin/tags-system","owner":{"login":"postgres-plugin","id":23457479,"avatar_url":"https://avatars.githubusercontent.com/u/23457479?v=3","gravatar_id":"","url":"https://api.github.com/users/postgres-plugin","html_url":"https://github.com/postgres-plugin","followers_url":"https://api.github.com/users/postgres-plugin/followers","following_url":"https://api.github.com/users/postgres-plugin/following{/other_user}","gists_url":"https://api.github.com/users/postgres-plugin/gists{/gist_id}","starred_url":"https://api.github.com/users/postgres-plugin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/postgres-plugin/subscriptions","organizations_url":"https://api.github.com/users/postgres-plugin/orgs","repos_url":"https://api.github.com/users/postgres-plugin/repos","events_url":"https://api.github.com/users/postgres-plugin/events{/privacy}","received_events_url":"https://api.github.com/users/postgres-plugin/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/postgres-plugin/tags-system","description":"A reusable tags system","fork":false,"url":"https://api.github.com/repos/postgres-plugin/tags-system","forks_url":"https://api.github.com/repos/postgres-plugin/tags-system/forks","keys_url":"https://api.github.com/repos/postgres-plugin/tags-system/keys{/key_id}","collaborators_url":"https://api.github.com/repos/postgres-plugin/tags-system/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/postgres-plugin/tags-system/teams","hooks_url":"https://api.github.com/repos/postgres-plugin/tags-system/hooks","issue_events_url":"https://api.github.com/repos/postgres-plugin/tags-system/issues/events{/number}","events_url":"https://api.github.com/repos/postgres-plugin/tags-system/events","assignees_url":"https://api.github.com/repos/postgres-plugin/tags-system/assignees{/user}","branches_url":"https://api.github.com/repos/postgres-plugin/tags-system/branches{/branch}","tags_url":"https://api.github.com/repos/postgres-plugin/tags-system/tags","blobs_url":"https://api.github.com/repos/postgres-plugin/tags-system/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/postgres-plugin/tags-system/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/postgres-plugin/tags-system/git/refs{/sha}","trees_url":"https://api.github.com/repos/postgres-plugin/tags-system/git/trees{/sha}","statuses_url":"https://api.github.com/repos/postgres-plugin/tags-system/statuses/{sha}","languages_url":"https://api.github.com/repos/postgres-plugin/tags-system/languages","stargazers_url":"https://api.github.com/repos/postgres-plugin/tags-system/stargazers","contributors_url":"https://api.github.com/repos/postgres-plugin/tags-system/contributors","subscribers_url":"https://api.github.com/repos/postgres-plugin/tags-system/subscribers","subscription_url":"https://api.github.com/repos/postgres-plugin/tags-system/subscription","commits_url":"https://api.github.com/repos/postgres-plugin/tags-system/commits{/sha}","git_commits_url":"https://api.github.com/repos/postgres-plugin/tags-system/git/commits{/sha}","comments_url":"https://api.github.com/repos/postgres-plugin/tags-system/comments{/number}","issue_comment_url":"https://api.github.com/repos/postgres-plugin/tags-system/issues/comments{/number}","contents_url":"https://api.github.com/repos/postgres-plugin/tags-system/contents/{+path}","compare_url":"https://api.github.com/repos/postgres-plugin/tags-system/compare/{base}...{head}","merges_url":"https://api.github.com/repos/postgres-plugin/tags-system/merges","archive_url":"https://api.github.com/repos/postgres-plugin/tags-system/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/postgres-plugin/tags-system/downloads","issues_url":"https://api.github.com/repos/postgres-plugin/tags-system/issues{/number}","pulls_url":"https://api.github.com/repos/postgres-plugin/tags-system/pulls{/number}","milestones_url":"https://api.github.com/repos/postgres-plugin/tags-system/milestones{/number}","notifications_url":"https://api.github.com/repos/postgres-plugin/tags-system/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/postgres-plugin/tags-system/labels{/name}","releases_url":"https://api.github.com/repos/postgres-plugin/tags-system/releases{/id}","deployments_url":"https://api.github.com/repos/postgres-plugin/tags-system/deployments","created_at":"2016-11-03T14:32:16Z","updated_at":"2016-11-15T15:12:26Z","pushed_at":"2016-11-17T19:14:00Z","git_url":"git://github.com/postgres-plugin/tags-system.git","ssh_url":"git@github.com:postgres-plugin/tags-system.git","clone_url":"https://github.com/postgres-plugin/tags-system.git","svn_url":"https://github.com/postgres-plugin/tags-system","homepage":null,"size":61,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":15,"forks":0,"open_issues":15,"watchers":3,"default_branch":"master"}},"base":{"label":"postgres-plugin:master","ref":"master","sha":"a742013e116f6c1d8f86f5fded43cdc628ecea99","user":{"login":"postgres-plugin","id":23457479,"avatar_url":"https://avatars.githubusercontent.com/u/23457479?v=3","gravatar_id":"","url":"https://api.github.com/users/postgres-plugin","html_url":"https://github.com/postgres-plugin","followers_url":"https://api.github.com/users/postgres-plugin/followers","following_url":"https://api.github.com/users/postgres-plugin/following{/other_user}","gists_url":"https://api.github.com/users/postgres-plugin/gists{/gist_id}","starred_url":"https://api.github.com/users/postgres-plugin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/postgres-plugin/subscriptions","organizations_url":"https://api.github.com/users/postgres-plugin/orgs","repos_url":"https://api.github.com/users/postgres-plugin/repos","events_url":"https://api.github.com/users/postgres-plugin/events{/privacy}","received_events_url":"https://api.github.com/users/postgres-plugin/received_events","type":"Organization","site_admin":false},"repo":{"id":72753987,"name":"tags-system","full_name":"postgres-plugin/tags-system","owner":{"login":"postgres-plugin","id":23457479,"avatar_url":"https://avatars.githubusercontent.com/u/23457479?v=3","gravatar_id":"","url":"https://api.github.com/users/postgres-plugin","html_url":"https://github.com/postgres-plugin","followers_url":"https://api.github.com/users/postgres-plugin/followers","following_url":"https://api.github.com/users/postgres-plugin/following{/other_user}","gists_url":"https://api.github.com/users/postgres-plugin/gists{/gist_id}","starred_url":"https://api.github.com/users/postgres-plugin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/postgres-plugin/subscriptions","organizations_url":"https://api.github.com/users/postgres-plugin/orgs","repos_url":"https://api.github.com/users/postgres-plugin/repos","events_url":"https://api.github.com/users/postgres-plugin/events{/privacy}","received_events_url":"https://api.github.com/users/postgres-plugin/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/postgres-plugin/tags-system","description":"A reusable tags system","fork":false,"url":"https://api.github.com/repos/postgres-plugin/tags-system","forks_url":"https://api.github.com/repos/postgres-plugin/tags-system/forks","keys_url":"https://api.github.com/repos/postgres-plugin/tags-system/keys{/key_id}","collaborators_url":"https://api.github.com/repos/postgres-plugin/tags-system/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/postgres-plugin/tags-system/teams","hooks_url":"https://api.github.com/repos/postgres-plugin/tags-system/hooks","issue_events_url":"https://api.github.com/repos/postgres-plugin/tags-system/issues/events{/number}","events_url":"https://api.github.com/repos/postgres-plugin/tags-system/events","assignees_url":"https://api.github.com/repos/postgres-plugin/tags-system/assignees{/user}","branches_url":"https://api.github.com/repos/postgres-plugin/tags-system/branches{/branch}","tags_url":"https://api.github.com/repos/postgres-plugin/tags-system/tags","blobs_url":"https://api.github.com/repos/postgres-plugin/tags-system/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/postgres-plugin/tags-system/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/postgres-plugin/tags-system/git/refs{/sha}","trees_url":"https://api.github.com/repos/postgres-plugin/tags-system/git/trees{/sha}","statuses_url":"https://api.github.com/repos/postgres-plugin/tags-system/statuses/{sha}","languages_url":"https://api.github.com/repos/postgres-plugin/tags-system/languages","stargazers_url":"https://api.github.com/repos/postgres-plugin/tags-system/stargazers","contributors_url":"https://api.github.com/repos/postgres-plugin/tags-system/contributors","subscribers_url":"https://api.github.com/repos/postgres-plugin/tags-system/subscribers","subscription_url":"https://api.github.com/repos/postgres-plugin/tags-system/subscription","commits_url":"https://api.github.com/repos/postgres-plugin/tags-system/commits{/sha}","git_commits_url":"https://api.github.com/repos/postgres-plugin/tags-system/git/commits{/sha}","comments_url":"https://api.github.com/repos/postgres-plugin/tags-system/comments{/number}","issue_comment_url":"https://api.github.com/repos/postgres-plugin/tags-system/issues/comments{/number}","contents_url":"https://api.github.com/repos/postgres-plugin/tags-system/contents/{+path}","compare_url":"https://api.github.com/repos/postgres-plugin/tags-system/compare/{base}...{head}","merges_url":"https://api.github.com/repos/postgres-plugin/tags-system/merges","archive_url":"https://api.github.com/repos/postgres-plugin/tags-system/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/postgres-plugin/tags-system/downloads","issues_url":"https://api.github.com/repos/postgres-plugin/tags-system/issues{/number}","pulls_url":"https://api.github.com/repos/postgres-plugin/tags-system/pulls{/number}","milestones_url":"https://api.github.com/repos/postgres-plugin/tags-system/milestones{/number}","notifications_url":"https://api.github.com/repos/postgres-plugin/tags-system/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/postgres-plugin/tags-system/labels{/name}","releases_url":"https://api.github.com/repos/postgres-plugin/tags-system/releases{/id}","deployments_url":"https://api.github.com/repos/postgres-plugin/tags-system/deployments","created_at":"2016-11-03T14:32:16Z","updated_at":"2016-11-15T15:12:26Z","pushed_at":"2016-11-17T19:14:00Z","git_url":"git://github.com/postgres-plugin/tags-system.git","ssh_url":"git@github.com:postgres-plugin/tags-system.git","clone_url":"https://github.com/postgres-plugin/tags-system.git","svn_url":"https://github.com/postgres-plugin/tags-system","homepage":null,"size":61,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":15,"forks":0,"open_issues":15,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/postgres-plugin/tags-system/pulls/48"},"html":{"href":"https://github.com/postgres-plugin/tags-system/pull/48"},"issue":{"href":"https://api.github.com/repos/postgres-plugin/tags-system/issues/48"},"comments":{"href":"https://api.github.com/repos/postgres-plugin/tags-system/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/postgres-plugin/tags-system/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/postgres-plugin/tags-system/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/postgres-plugin/tags-system/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/postgres-plugin/tags-system/statuses/9dfe1bf91e0aedf13358eb0785330fbbae142011"}}}}
{"actor":{"display_login":"SimonLab"}}