{"action":"created","comment":{"url":"https://api.github.com/repos/andela/hc-bigas-opus/pulls/comments/181811731","pull_request_review_id":112500897,"id":181811731,"diff_hunk":"@@ -0,0 +1,48 @@\n+from hc.api.models import ExternalChecks, Check\n+from hc.front.forms import ExternalChecksForm\n+from hc.test import BaseTestCase\n+from time import sleep\n+\n+\n+class HealthWealthTestCase(BaseTestCase):\n+    def setUp(self):\n+        super(HealthWealthTestCase, self).setUp()\n+        self.check = Check()\n+        self.external_check = ExternalChecks()\n+        self.external_check.save()\n+\n+    def test_user_can_create_integration(self):","path":"hc/api/tests/test_healthwealth.py","position":14,"original_position":14,"commit_id":"2b304a897cb5790318ec784de6490da993b35b28","original_commit_id":"2b304a897cb5790318ec784de6490da993b35b28","user":{"login":"Kalela","id":33759757,"avatar_url":"https://avatars1.githubusercontent.com/u/33759757?v=4","gravatar_id":"","url":"https://api.github.com/users/Kalela","html_url":"https://github.com/Kalela","followers_url":"https://api.github.com/users/Kalela/followers","following_url":"https://api.github.com/users/Kalela/following{/other_user}","gists_url":"https://api.github.com/users/Kalela/gists{/gist_id}","starred_url":"https://api.github.com/users/Kalela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kalela/subscriptions","organizations_url":"https://api.github.com/users/Kalela/orgs","repos_url":"https://api.github.com/users/Kalela/repos","events_url":"https://api.github.com/users/Kalela/events{/privacy}","received_events_url":"https://api.github.com/users/Kalela/received_events","type":"User","site_admin":false},"body":"Yeah...lemme fix that.","created_at":"2018-04-16T16:47:48Z","updated_at":"2018-04-16T16:47:48Z","html_url":"https://github.com/andela/hc-bigas-opus/pull/23#discussion_r181811731","pull_request_url":"https://api.github.com/repos/andela/hc-bigas-opus/pulls/23","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/andela/hc-bigas-opus/pulls/comments/181811731"},"html":{"href":"https://github.com/andela/hc-bigas-opus/pull/23#discussion_r181811731"},"pull_request":{"href":"https://api.github.com/repos/andela/hc-bigas-opus/pulls/23"}},"in_reply_to_id":181777093},"pull_request":{"url":"https://api.github.com/repos/andela/hc-bigas-opus/pulls/23","id":181471085,"html_url":"https://github.com/andela/hc-bigas-opus/pull/23","diff_url":"https://github.com/andela/hc-bigas-opus/pull/23.diff","patch_url":"https://github.com/andela/hc-bigas-opus/pull/23.patch","issue_url":"https://api.github.com/repos/andela/hc-bigas-opus/issues/23","number":23,"state":"open","locked":false,"title":"Ft-alerts-for-third-partys-155965587","user":{"login":"Kalela","id":33759757,"avatar_url":"https://avatars1.githubusercontent.com/u/33759757?v=4","gravatar_id":"","url":"https://api.github.com/users/Kalela","html_url":"https://github.com/Kalela","followers_url":"https://api.github.com/users/Kalela/followers","following_url":"https://api.github.com/users/Kalela/following{/other_user}","gists_url":"https://api.github.com/users/Kalela/gists{/gist_id}","starred_url":"https://api.github.com/users/Kalela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kalela/subscriptions","organizations_url":"https://api.github.com/users/Kalela/orgs","repos_url":"https://api.github.com/users/Kalela/repos","events_url":"https://api.github.com/users/Kalela/events{/privacy}","received_events_url":"https://api.github.com/users/Kalela/received_events","type":"User","site_admin":false},"body":"# What does this PR do?\r\nAllow the user to get alerts for third party apps.\r\n\r\n### How should this be manually tested?\r\n- Clone the repo into your local machine.\r\n- cd into the project.\r\n- set up the virtualenv and run ```pip install -r requirements.txt```.\r\n- Run the tests using ```python manage.py test```\r\n## OR\r\n- Follow step 1 - 3\r\n- Run the server using ```python manage.py runserver```\r\n- Log in and head to integrations tab.\r\n- Head to HealthWealth integration.\r\n- Set your third party app url and get a check url from the checks.\r\n- Click add integration and you're good to go.\r\n- After creating an integration you can manually test it by clicking ```Run Check``.\r\n\r\n### What are the relevant pivotal tracker stories?\r\nUsers should be able to create alerts for a series of third party online business automation applications .eg. shopify, dasheroo .etc.\r\n\r\n#155965587","created_at":"2018-04-13T12:17:29Z","updated_at":"2018-04-16T16:47:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"88edd88cdc443cfae21de839a9723e02308294d1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/hc-bigas-opus/pulls/23/commits","review_comments_url":"https://api.github.com/repos/andela/hc-bigas-opus/pulls/23/comments","review_comment_url":"https://api.github.com/repos/andela/hc-bigas-opus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/hc-bigas-opus/issues/23/comments","statuses_url":"https://api.github.com/repos/andela/hc-bigas-opus/statuses/2b304a897cb5790318ec784de6490da993b35b28","head":{"label":"andela:ft-alerts-for-third-partys-155965587","ref":"ft-alerts-for-third-partys-155965587","sha":"2b304a897cb5790318ec784de6490da993b35b28","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":125180937,"name":"hc-bigas-opus","full_name":"andela/hc-bigas-opus","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/hc-bigas-opus","description":null,"fork":false,"url":"https://api.github.com/repos/andela/hc-bigas-opus","forks_url":"https://api.github.com/repos/andela/hc-bigas-opus/forks","keys_url":"https://api.github.com/repos/andela/hc-bigas-opus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/hc-bigas-opus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/hc-bigas-opus/teams","hooks_url":"https://api.github.com/repos/andela/hc-bigas-opus/hooks","issue_events_url":"https://api.github.com/repos/andela/hc-bigas-opus/issues/events{/number}","events_url":"https://api.github.com/repos/andela/hc-bigas-opus/events","assignees_url":"https://api.github.com/repos/andela/hc-bigas-opus/assignees{/user}","branches_url":"https://api.github.com/repos/andela/hc-bigas-opus/branches{/branch}","tags_url":"https://api.github.com/repos/andela/hc-bigas-opus/tags","blobs_url":"https://api.github.com/repos/andela/hc-bigas-opus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/hc-bigas-opus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/hc-bigas-opus/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/hc-bigas-opus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/hc-bigas-opus/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/hc-bigas-opus/languages","stargazers_url":"https://api.github.com/repos/andela/hc-bigas-opus/stargazers","contributors_url":"https://api.github.com/repos/andela/hc-bigas-opus/contributors","subscribers_url":"https://api.github.com/repos/andela/hc-bigas-opus/subscribers","subscription_url":"https://api.github.com/repos/andela/hc-bigas-opus/subscription","commits_url":"https://api.github.com/repos/andela/hc-bigas-opus/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/hc-bigas-opus/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/hc-bigas-opus/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/hc-bigas-opus/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/hc-bigas-opus/contents/{+path}","compare_url":"https://api.github.com/repos/andela/hc-bigas-opus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/hc-bigas-opus/merges","archive_url":"https://api.github.com/repos/andela/hc-bigas-opus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/hc-bigas-opus/downloads","issues_url":"https://api.github.com/repos/andela/hc-bigas-opus/issues{/number}","pulls_url":"https://api.github.com/repos/andela/hc-bigas-opus/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/hc-bigas-opus/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/hc-bigas-opus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/hc-bigas-opus/labels{/name}","releases_url":"https://api.github.com/repos/andela/hc-bigas-opus/releases{/id}","deployments_url":"https://api.github.com/repos/andela/hc-bigas-opus/deployments","created_at":"2018-03-14T08:37:08Z","updated_at":"2018-04-16T16:44:51Z","pushed_at":"2018-04-16T16:47:02Z","git_url":"git://github.com/andela/hc-bigas-opus.git","ssh_url":"git@github.com:andela/hc-bigas-opus.git","clone_url":"https://github.com/andela/hc-bigas-opus.git","svn_url":"https://github.com/andela/hc-bigas-opus","homepage":"https://hc-bigas-opus-django-app.herokuapp.com","size":4290,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"develop"}},"base":{"label":"andela:develop","ref":"develop","sha":"9fef61a5f9166d305a8a253f316dca240b1c94e8","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":125180937,"name":"hc-bigas-opus","full_name":"andela/hc-bigas-opus","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/hc-bigas-opus","description":null,"fork":false,"url":"https://api.github.com/repos/andela/hc-bigas-opus","forks_url":"https://api.github.com/repos/andela/hc-bigas-opus/forks","keys_url":"https://api.github.com/repos/andela/hc-bigas-opus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/hc-bigas-opus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/hc-bigas-opus/teams","hooks_url":"https://api.github.com/repos/andela/hc-bigas-opus/hooks","issue_events_url":"https://api.github.com/repos/andela/hc-bigas-opus/issues/events{/number}","events_url":"https://api.github.com/repos/andela/hc-bigas-opus/events","assignees_url":"https://api.github.com/repos/andela/hc-bigas-opus/assignees{/user}","branches_url":"https://api.github.com/repos/andela/hc-bigas-opus/branches{/branch}","tags_url":"https://api.github.com/repos/andela/hc-bigas-opus/tags","blobs_url":"https://api.github.com/repos/andela/hc-bigas-opus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/hc-bigas-opus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/hc-bigas-opus/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/hc-bigas-opus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/hc-bigas-opus/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/hc-bigas-opus/languages","stargazers_url":"https://api.github.com/repos/andela/hc-bigas-opus/stargazers","contributors_url":"https://api.github.com/repos/andela/hc-bigas-opus/contributors","subscribers_url":"https://api.github.com/repos/andela/hc-bigas-opus/subscribers","subscription_url":"https://api.github.com/repos/andela/hc-bigas-opus/subscription","commits_url":"https://api.github.com/repos/andela/hc-bigas-opus/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/hc-bigas-opus/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/hc-bigas-opus/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/hc-bigas-opus/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/hc-bigas-opus/contents/{+path}","compare_url":"https://api.github.com/repos/andela/hc-bigas-opus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/hc-bigas-opus/merges","archive_url":"https://api.github.com/repos/andela/hc-bigas-opus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/hc-bigas-opus/downloads","issues_url":"https://api.github.com/repos/andela/hc-bigas-opus/issues{/number}","pulls_url":"https://api.github.com/repos/andela/hc-bigas-opus/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/hc-bigas-opus/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/hc-bigas-opus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/hc-bigas-opus/labels{/name}","releases_url":"https://api.github.com/repos/andela/hc-bigas-opus/releases{/id}","deployments_url":"https://api.github.com/repos/andela/hc-bigas-opus/deployments","created_at":"2018-03-14T08:37:08Z","updated_at":"2018-04-16T16:44:51Z","pushed_at":"2018-04-16T16:47:02Z","git_url":"git://github.com/andela/hc-bigas-opus.git","ssh_url":"git@github.com:andela/hc-bigas-opus.git","clone_url":"https://github.com/andela/hc-bigas-opus.git","svn_url":"https://github.com/andela/hc-bigas-opus","homepage":"https://hc-bigas-opus-django-app.herokuapp.com","size":4290,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/hc-bigas-opus/pulls/23"},"html":{"href":"https://github.com/andela/hc-bigas-opus/pull/23"},"issue":{"href":"https://api.github.com/repos/andela/hc-bigas-opus/issues/23"},"comments":{"href":"https://api.github.com/repos/andela/hc-bigas-opus/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/hc-bigas-opus/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/hc-bigas-opus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/hc-bigas-opus/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/andela/hc-bigas-opus/statuses/2b304a897cb5790318ec784de6490da993b35b28"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"Kalela"}}