{"action":"created","comment":{"url":"https://api.github.com/repos/sparrell/ocas/pulls/comments/85642344","pull_request_review_id":6349185,"id":85642344,"diff_hunk":"@@ -33,33 +33,75 @@\n %%% OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n %%%-------------------------------------------------------------------\n \n+-behaviour(gen_server).\n+\n -author(\"Duncan Sparrell\").\n -license(\"Apache 2.0\").\n \n--export([ allow_server/1 ]).\n+%% gen_server callbacks\n+-export([ init/1\n+        , handle_call/3\n+        , handle_cast/2\n+        , handle_info/2\n+        , terminate/2\n+        , code_change/3\n+        ]).\n+\n+%% interface calls\n+-export([ start/1\n+        , stop/0 \n+        , keepalive/0 ","path":"apps/ocas/src/action_servers/act_allow.erl","position":31,"original_position":31,"commit_id":"244431aea79340bcf30aedce2e3cb5dc6d021edb","original_commit_id":"244431aea79340bcf30aedce2e3cb5dc6d021edb","user":{"login":"elvisci","id":8136322,"avatar_url":"https://avatars.githubusercontent.com/u/8136322?v=3","gravatar_id":"","url":"https://api.github.com/users/elvisci","html_url":"https://github.com/elvisci","followers_url":"https://api.github.com/users/elvisci/followers","following_url":"https://api.github.com/users/elvisci/following{/other_user}","gists_url":"https://api.github.com/users/elvisci/gists{/gist_id}","starred_url":"https://api.github.com/users/elvisci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elvisci/subscriptions","organizations_url":"https://api.github.com/users/elvisci/orgs","repos_url":"https://api.github.com/users/elvisci/repos","events_url":"https://api.github.com/users/elvisci/events{/privacy}","received_events_url":"https://api.github.com/users/elvisci/received_events","type":"User","site_admin":false},"body":"Line 53 has 1 trailing whitespace characters.","created_at":"2016-10-29T15:15:58Z","updated_at":"2016-10-29T15:15:58Z","html_url":"https://github.com/sparrell/ocas/pull/42#discussion_r85642344","pull_request_url":"https://api.github.com/repos/sparrell/ocas/pulls/42","_links":{"self":{"href":"https://api.github.com/repos/sparrell/ocas/pulls/comments/85642344"},"html":{"href":"https://github.com/sparrell/ocas/pull/42#discussion_r85642344"},"pull_request":{"href":"https://api.github.com/repos/sparrell/ocas/pulls/42"}}},"pull_request":{"url":"https://api.github.com/repos/sparrell/ocas/pulls/42","id":91468615,"html_url":"https://github.com/sparrell/ocas/pull/42","diff_url":"https://github.com/sparrell/ocas/pull/42.diff","patch_url":"https://github.com/sparrell/ocas/pull/42.patch","issue_url":"https://api.github.com/repos/sparrell/ocas/issues/42","number":42,"state":"open","locked":false,"title":"allow as gen_server","user":{"login":"sparrell","id":1723279,"avatar_url":"https://avatars.githubusercontent.com/u/1723279?v=3","gravatar_id":"","url":"https://api.github.com/users/sparrell","html_url":"https://github.com/sparrell","followers_url":"https://api.github.com/users/sparrell/followers","following_url":"https://api.github.com/users/sparrell/following{/other_user}","gists_url":"https://api.github.com/users/sparrell/gists{/gist_id}","starred_url":"https://api.github.com/users/sparrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sparrell/subscriptions","organizations_url":"https://api.github.com/users/sparrell/orgs","repos_url":"https://api.github.com/users/sparrell/repos","events_url":"https://api.github.com/users/sparrell/events{/privacy}","received_events_url":"https://api.github.com/users/sparrell/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-28T23:38:54Z","updated_at":"2016-10-29T15:15:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5ab9d831e505a640d758c5da154fdc4431eae8cb","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sparrell/ocas/pulls/42/commits","review_comments_url":"https://api.github.com/repos/sparrell/ocas/pulls/42/comments","review_comment_url":"https://api.github.com/repos/sparrell/ocas/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sparrell/ocas/issues/42/comments","statuses_url":"https://api.github.com/repos/sparrell/ocas/statuses/244431aea79340bcf30aedce2e3cb5dc6d021edb","head":{"label":"sparrell:starting","ref":"starting","sha":"244431aea79340bcf30aedce2e3cb5dc6d021edb","user":{"login":"sparrell","id":1723279,"avatar_url":"https://avatars.githubusercontent.com/u/1723279?v=3","gravatar_id":"","url":"https://api.github.com/users/sparrell","html_url":"https://github.com/sparrell","followers_url":"https://api.github.com/users/sparrell/followers","following_url":"https://api.github.com/users/sparrell/following{/other_user}","gists_url":"https://api.github.com/users/sparrell/gists{/gist_id}","starred_url":"https://api.github.com/users/sparrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sparrell/subscriptions","organizations_url":"https://api.github.com/users/sparrell/orgs","repos_url":"https://api.github.com/users/sparrell/repos","events_url":"https://api.github.com/users/sparrell/events{/privacy}","received_events_url":"https://api.github.com/users/sparrell/received_events","type":"User","site_admin":false},"repo":{"id":67908169,"name":"ocas","full_name":"sparrell/ocas","owner":{"login":"sparrell","id":1723279,"avatar_url":"https://avatars.githubusercontent.com/u/1723279?v=3","gravatar_id":"","url":"https://api.github.com/users/sparrell","html_url":"https://github.com/sparrell","followers_url":"https://api.github.com/users/sparrell/followers","following_url":"https://api.github.com/users/sparrell/following{/other_user}","gists_url":"https://api.github.com/users/sparrell/gists{/gist_id}","starred_url":"https://api.github.com/users/sparrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sparrell/subscriptions","organizations_url":"https://api.github.com/users/sparrell/orgs","repos_url":"https://api.github.com/users/sparrell/repos","events_url":"https://api.github.com/users/sparrell/events{/privacy}","received_events_url":"https://api.github.com/users/sparrell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sparrell/ocas","description":"OTP application to simulate openC2","fork":false,"url":"https://api.github.com/repos/sparrell/ocas","forks_url":"https://api.github.com/repos/sparrell/ocas/forks","keys_url":"https://api.github.com/repos/sparrell/ocas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sparrell/ocas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sparrell/ocas/teams","hooks_url":"https://api.github.com/repos/sparrell/ocas/hooks","issue_events_url":"https://api.github.com/repos/sparrell/ocas/issues/events{/number}","events_url":"https://api.github.com/repos/sparrell/ocas/events","assignees_url":"https://api.github.com/repos/sparrell/ocas/assignees{/user}","branches_url":"https://api.github.com/repos/sparrell/ocas/branches{/branch}","tags_url":"https://api.github.com/repos/sparrell/ocas/tags","blobs_url":"https://api.github.com/repos/sparrell/ocas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sparrell/ocas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sparrell/ocas/git/refs{/sha}","trees_url":"https://api.github.com/repos/sparrell/ocas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sparrell/ocas/statuses/{sha}","languages_url":"https://api.github.com/repos/sparrell/ocas/languages","stargazers_url":"https://api.github.com/repos/sparrell/ocas/stargazers","contributors_url":"https://api.github.com/repos/sparrell/ocas/contributors","subscribers_url":"https://api.github.com/repos/sparrell/ocas/subscribers","subscription_url":"https://api.github.com/repos/sparrell/ocas/subscription","commits_url":"https://api.github.com/repos/sparrell/ocas/commits{/sha}","git_commits_url":"https://api.github.com/repos/sparrell/ocas/git/commits{/sha}","comments_url":"https://api.github.com/repos/sparrell/ocas/comments{/number}","issue_comment_url":"https://api.github.com/repos/sparrell/ocas/issues/comments{/number}","contents_url":"https://api.github.com/repos/sparrell/ocas/contents/{+path}","compare_url":"https://api.github.com/repos/sparrell/ocas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sparrell/ocas/merges","archive_url":"https://api.github.com/repos/sparrell/ocas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sparrell/ocas/downloads","issues_url":"https://api.github.com/repos/sparrell/ocas/issues{/number}","pulls_url":"https://api.github.com/repos/sparrell/ocas/pulls{/number}","milestones_url":"https://api.github.com/repos/sparrell/ocas/milestones{/number}","notifications_url":"https://api.github.com/repos/sparrell/ocas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sparrell/ocas/labels{/name}","releases_url":"https://api.github.com/repos/sparrell/ocas/releases{/id}","deployments_url":"https://api.github.com/repos/sparrell/ocas/deployments","created_at":"2016-09-11T03:37:22Z","updated_at":"2016-10-28T14:55:41Z","pushed_at":"2016-10-29T15:15:45Z","git_url":"git://github.com/sparrell/ocas.git","ssh_url":"git@github.com:sparrell/ocas.git","clone_url":"https://github.com/sparrell/ocas.git","svn_url":"https://github.com/sparrell/ocas","homepage":null,"size":110,"stargazers_count":2,"watchers_count":2,"language":"Erlang","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":2,"default_branch":"master"}},"base":{"label":"sparrell:master","ref":"master","sha":"c4722db652a6bb8c1fbcf15206bc33fe23b02a5e","user":{"login":"sparrell","id":1723279,"avatar_url":"https://avatars.githubusercontent.com/u/1723279?v=3","gravatar_id":"","url":"https://api.github.com/users/sparrell","html_url":"https://github.com/sparrell","followers_url":"https://api.github.com/users/sparrell/followers","following_url":"https://api.github.com/users/sparrell/following{/other_user}","gists_url":"https://api.github.com/users/sparrell/gists{/gist_id}","starred_url":"https://api.github.com/users/sparrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sparrell/subscriptions","organizations_url":"https://api.github.com/users/sparrell/orgs","repos_url":"https://api.github.com/users/sparrell/repos","events_url":"https://api.github.com/users/sparrell/events{/privacy}","received_events_url":"https://api.github.com/users/sparrell/received_events","type":"User","site_admin":false},"repo":{"id":67908169,"name":"ocas","full_name":"sparrell/ocas","owner":{"login":"sparrell","id":1723279,"avatar_url":"https://avatars.githubusercontent.com/u/1723279?v=3","gravatar_id":"","url":"https://api.github.com/users/sparrell","html_url":"https://github.com/sparrell","followers_url":"https://api.github.com/users/sparrell/followers","following_url":"https://api.github.com/users/sparrell/following{/other_user}","gists_url":"https://api.github.com/users/sparrell/gists{/gist_id}","starred_url":"https://api.github.com/users/sparrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sparrell/subscriptions","organizations_url":"https://api.github.com/users/sparrell/orgs","repos_url":"https://api.github.com/users/sparrell/repos","events_url":"https://api.github.com/users/sparrell/events{/privacy}","received_events_url":"https://api.github.com/users/sparrell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sparrell/ocas","description":"OTP application to simulate openC2","fork":false,"url":"https://api.github.com/repos/sparrell/ocas","forks_url":"https://api.github.com/repos/sparrell/ocas/forks","keys_url":"https://api.github.com/repos/sparrell/ocas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sparrell/ocas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sparrell/ocas/teams","hooks_url":"https://api.github.com/repos/sparrell/ocas/hooks","issue_events_url":"https://api.github.com/repos/sparrell/ocas/issues/events{/number}","events_url":"https://api.github.com/repos/sparrell/ocas/events","assignees_url":"https://api.github.com/repos/sparrell/ocas/assignees{/user}","branches_url":"https://api.github.com/repos/sparrell/ocas/branches{/branch}","tags_url":"https://api.github.com/repos/sparrell/ocas/tags","blobs_url":"https://api.github.com/repos/sparrell/ocas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sparrell/ocas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sparrell/ocas/git/refs{/sha}","trees_url":"https://api.github.com/repos/sparrell/ocas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sparrell/ocas/statuses/{sha}","languages_url":"https://api.github.com/repos/sparrell/ocas/languages","stargazers_url":"https://api.github.com/repos/sparrell/ocas/stargazers","contributors_url":"https://api.github.com/repos/sparrell/ocas/contributors","subscribers_url":"https://api.github.com/repos/sparrell/ocas/subscribers","subscription_url":"https://api.github.com/repos/sparrell/ocas/subscription","commits_url":"https://api.github.com/repos/sparrell/ocas/commits{/sha}","git_commits_url":"https://api.github.com/repos/sparrell/ocas/git/commits{/sha}","comments_url":"https://api.github.com/repos/sparrell/ocas/comments{/number}","issue_comment_url":"https://api.github.com/repos/sparrell/ocas/issues/comments{/number}","contents_url":"https://api.github.com/repos/sparrell/ocas/contents/{+path}","compare_url":"https://api.github.com/repos/sparrell/ocas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sparrell/ocas/merges","archive_url":"https://api.github.com/repos/sparrell/ocas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sparrell/ocas/downloads","issues_url":"https://api.github.com/repos/sparrell/ocas/issues{/number}","pulls_url":"https://api.github.com/repos/sparrell/ocas/pulls{/number}","milestones_url":"https://api.github.com/repos/sparrell/ocas/milestones{/number}","notifications_url":"https://api.github.com/repos/sparrell/ocas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sparrell/ocas/labels{/name}","releases_url":"https://api.github.com/repos/sparrell/ocas/releases{/id}","deployments_url":"https://api.github.com/repos/sparrell/ocas/deployments","created_at":"2016-09-11T03:37:22Z","updated_at":"2016-10-28T14:55:41Z","pushed_at":"2016-10-29T15:15:45Z","git_url":"git://github.com/sparrell/ocas.git","ssh_url":"git@github.com:sparrell/ocas.git","clone_url":"https://github.com/sparrell/ocas.git","svn_url":"https://github.com/sparrell/ocas","homepage":null,"size":110,"stargazers_count":2,"watchers_count":2,"language":"Erlang","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":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sparrell/ocas/pulls/42"},"html":{"href":"https://github.com/sparrell/ocas/pull/42"},"issue":{"href":"https://api.github.com/repos/sparrell/ocas/issues/42"},"comments":{"href":"https://api.github.com/repos/sparrell/ocas/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/sparrell/ocas/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/sparrell/ocas/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sparrell/ocas/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/sparrell/ocas/statuses/244431aea79340bcf30aedce2e3cb5dc6d021edb"}}}}
{"actor":{"display_login":"elvisci"}}