{"action":"created","comment":{"url":"https://api.github.com/repos/FINTprosjektet/fint-provider/pulls/comments/226440173","pull_request_review_id":166263897,"id":226440173,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNjQ0MDE3Mw==","diff_hunk":"@@ -57,7 +58,7 @@ public boolean isRegistered(String orgId) {\n     }\n \n     public boolean register(String orgId, String client) {\n-        if (!isRegistered(orgId) && ArrayUtils.isNotEmpty(validAssets) && Stream.of(validAssets).noneMatch(orgId::equals)) {\n+        if (orgNotEnabled(orgId)) {","path":"src/main/java/no/fint/provider/events/admin/AdminService.java","position":44,"original_position":44,"commit_id":"58e052c039d2e40db0527a44dac30b1192cec7d7","original_commit_id":"58e052c039d2e40db0527a44dac30b1192cec7d7","user":{"login":"jarlehansen","id":235108,"node_id":"MDQ6VXNlcjIzNTEwOA==","avatar_url":"https://avatars2.githubusercontent.com/u/235108?v=4","gravatar_id":"","url":"https://api.github.com/users/jarlehansen","html_url":"https://github.com/jarlehansen","followers_url":"https://api.github.com/users/jarlehansen/followers","following_url":"https://api.github.com/users/jarlehansen/following{/other_user}","gists_url":"https://api.github.com/users/jarlehansen/gists{/gist_id}","starred_url":"https://api.github.com/users/jarlehansen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jarlehansen/subscriptions","organizations_url":"https://api.github.com/users/jarlehansen/orgs","repos_url":"https://api.github.com/users/jarlehansen/repos","events_url":"https://api.github.com/users/jarlehansen/events{/privacy}","received_events_url":"https://api.github.com/users/jarlehansen/received_events","type":"User","site_admin":false},"body":"sounds good","created_at":"2018-10-18T19:43:28Z","updated_at":"2018-10-18T19:43:28Z","html_url":"https://github.com/FINTprosjektet/fint-provider/pull/21#discussion_r226440173","pull_request_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/pulls/21","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/FINTprosjektet/fint-provider/pulls/comments/226440173"},"html":{"href":"https://github.com/FINTprosjektet/fint-provider/pull/21#discussion_r226440173"},"pull_request":{"href":"https://api.github.com/repos/FINTprosjektet/fint-provider/pulls/21"}},"in_reply_to_id":226439326},"pull_request":{"url":"https://api.github.com/repos/FINTprosjektet/fint-provider/pulls/21","id":224068992,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0MDY4OTky","html_url":"https://github.com/FINTprosjektet/fint-provider/pull/21","diff_url":"https://github.com/FINTprosjektet/fint-provider/pull/21.diff","patch_url":"https://github.com/FINTprosjektet/fint-provider/pull/21.patch","issue_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/issues/21","number":21,"state":"open","locked":false,"title":"updated to fint-buildscripts v1.4.0","user":{"login":"jarlehansen","id":235108,"node_id":"MDQ6VXNlcjIzNTEwOA==","avatar_url":"https://avatars2.githubusercontent.com/u/235108?v=4","gravatar_id":"","url":"https://api.github.com/users/jarlehansen","html_url":"https://github.com/jarlehansen","followers_url":"https://api.github.com/users/jarlehansen/followers","following_url":"https://api.github.com/users/jarlehansen/following{/other_user}","gists_url":"https://api.github.com/users/jarlehansen/gists{/gist_id}","starred_url":"https://api.github.com/users/jarlehansen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jarlehansen/subscriptions","organizations_url":"https://api.github.com/users/jarlehansen/orgs","repos_url":"https://api.github.com/users/jarlehansen/repos","events_url":"https://api.github.com/users/jarlehansen/events{/privacy}","received_events_url":"https://api.github.com/users/jarlehansen/received_events","type":"User","site_admin":false},"body":"Some minor changes, also added a few TODOs.\r\nCan you have a quick look @asgeirn to see if this can be merged?","created_at":"2018-10-18T19:18:02Z","updated_at":"2018-10-18T19:43:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"44b36a44aea76fa248414c4aefe78dbfdbb8653d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/pulls/21/commits","review_comments_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/pulls/21/comments","review_comment_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/issues/21/comments","statuses_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/statuses/58e052c039d2e40db0527a44dac30b1192cec7d7","head":{"label":"FINTprosjektet:event-model-v3-refactor","ref":"event-model-v3-refactor","sha":"58e052c039d2e40db0527a44dac30b1192cec7d7","user":{"login":"FINTprosjektet","id":18285515,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4Mjg1NTE1","avatar_url":"https://avatars1.githubusercontent.com/u/18285515?v=4","gravatar_id":"","url":"https://api.github.com/users/FINTprosjektet","html_url":"https://github.com/FINTprosjektet","followers_url":"https://api.github.com/users/FINTprosjektet/followers","following_url":"https://api.github.com/users/FINTprosjektet/following{/other_user}","gists_url":"https://api.github.com/users/FINTprosjektet/gists{/gist_id}","starred_url":"https://api.github.com/users/FINTprosjektet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FINTprosjektet/subscriptions","organizations_url":"https://api.github.com/users/FINTprosjektet/orgs","repos_url":"https://api.github.com/users/FINTprosjektet/repos","events_url":"https://api.github.com/users/FINTprosjektet/events{/privacy}","received_events_url":"https://api.github.com/users/FINTprosjektet/received_events","type":"Organization","site_admin":false},"repo":{"id":74679227,"node_id":"MDEwOlJlcG9zaXRvcnk3NDY3OTIyNw==","name":"fint-provider","full_name":"FINTprosjektet/fint-provider","private":false,"owner":{"login":"FINTprosjektet","id":18285515,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4Mjg1NTE1","avatar_url":"https://avatars1.githubusercontent.com/u/18285515?v=4","gravatar_id":"","url":"https://api.github.com/users/FINTprosjektet","html_url":"https://github.com/FINTprosjektet","followers_url":"https://api.github.com/users/FINTprosjektet/followers","following_url":"https://api.github.com/users/FINTprosjektet/following{/other_user}","gists_url":"https://api.github.com/users/FINTprosjektet/gists{/gist_id}","starred_url":"https://api.github.com/users/FINTprosjektet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FINTprosjektet/subscriptions","organizations_url":"https://api.github.com/users/FINTprosjektet/orgs","repos_url":"https://api.github.com/users/FINTprosjektet/repos","events_url":"https://api.github.com/users/FINTprosjektet/events{/privacy}","received_events_url":"https://api.github.com/users/FINTprosjektet/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/FINTprosjektet/fint-provider","description":null,"fork":false,"url":"https://api.github.com/repos/FINTprosjektet/fint-provider","forks_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/forks","keys_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/teams","hooks_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/hooks","issue_events_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/issues/events{/number}","events_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/events","assignees_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/assignees{/user}","branches_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/branches{/branch}","tags_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/tags","blobs_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/git/refs{/sha}","trees_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/statuses/{sha}","languages_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/languages","stargazers_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/stargazers","contributors_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/contributors","subscribers_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/subscribers","subscription_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/subscription","commits_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/commits{/sha}","git_commits_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/git/commits{/sha}","comments_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/comments{/number}","issue_comment_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/issues/comments{/number}","contents_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/contents/{+path}","compare_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/merges","archive_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/downloads","issues_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/issues{/number}","pulls_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/pulls{/number}","milestones_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/milestones{/number}","notifications_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/labels{/name}","releases_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/releases{/id}","deployments_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/deployments","created_at":"2016-11-24T14:13:57Z","updated_at":"2018-10-18T11:03:55Z","pushed_at":"2018-10-18T19:18:03Z","git_url":"git://github.com/FINTprosjektet/fint-provider.git","ssh_url":"git@github.com:FINTprosjektet/fint-provider.git","clone_url":"https://github.com/FINTprosjektet/fint-provider.git","svn_url":"https://github.com/FINTprosjektet/fint-provider","homepage":null,"size":550,"stargazers_count":0,"watchers_count":0,"language":"Java","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":8,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"base":{"label":"FINTprosjektet:event-model-v3","ref":"event-model-v3","sha":"cb32cd47ca869d20950c1577aa7e3329fb6f764b","user":{"login":"FINTprosjektet","id":18285515,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4Mjg1NTE1","avatar_url":"https://avatars1.githubusercontent.com/u/18285515?v=4","gravatar_id":"","url":"https://api.github.com/users/FINTprosjektet","html_url":"https://github.com/FINTprosjektet","followers_url":"https://api.github.com/users/FINTprosjektet/followers","following_url":"https://api.github.com/users/FINTprosjektet/following{/other_user}","gists_url":"https://api.github.com/users/FINTprosjektet/gists{/gist_id}","starred_url":"https://api.github.com/users/FINTprosjektet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FINTprosjektet/subscriptions","organizations_url":"https://api.github.com/users/FINTprosjektet/orgs","repos_url":"https://api.github.com/users/FINTprosjektet/repos","events_url":"https://api.github.com/users/FINTprosjektet/events{/privacy}","received_events_url":"https://api.github.com/users/FINTprosjektet/received_events","type":"Organization","site_admin":false},"repo":{"id":74679227,"node_id":"MDEwOlJlcG9zaXRvcnk3NDY3OTIyNw==","name":"fint-provider","full_name":"FINTprosjektet/fint-provider","private":false,"owner":{"login":"FINTprosjektet","id":18285515,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4Mjg1NTE1","avatar_url":"https://avatars1.githubusercontent.com/u/18285515?v=4","gravatar_id":"","url":"https://api.github.com/users/FINTprosjektet","html_url":"https://github.com/FINTprosjektet","followers_url":"https://api.github.com/users/FINTprosjektet/followers","following_url":"https://api.github.com/users/FINTprosjektet/following{/other_user}","gists_url":"https://api.github.com/users/FINTprosjektet/gists{/gist_id}","starred_url":"https://api.github.com/users/FINTprosjektet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FINTprosjektet/subscriptions","organizations_url":"https://api.github.com/users/FINTprosjektet/orgs","repos_url":"https://api.github.com/users/FINTprosjektet/repos","events_url":"https://api.github.com/users/FINTprosjektet/events{/privacy}","received_events_url":"https://api.github.com/users/FINTprosjektet/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/FINTprosjektet/fint-provider","description":null,"fork":false,"url":"https://api.github.com/repos/FINTprosjektet/fint-provider","forks_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/forks","keys_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/teams","hooks_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/hooks","issue_events_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/issues/events{/number}","events_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/events","assignees_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/assignees{/user}","branches_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/branches{/branch}","tags_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/tags","blobs_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/git/refs{/sha}","trees_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/statuses/{sha}","languages_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/languages","stargazers_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/stargazers","contributors_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/contributors","subscribers_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/subscribers","subscription_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/subscription","commits_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/commits{/sha}","git_commits_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/git/commits{/sha}","comments_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/comments{/number}","issue_comment_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/issues/comments{/number}","contents_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/contents/{+path}","compare_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/merges","archive_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/downloads","issues_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/issues{/number}","pulls_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/pulls{/number}","milestones_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/milestones{/number}","notifications_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/labels{/name}","releases_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/releases{/id}","deployments_url":"https://api.github.com/repos/FINTprosjektet/fint-provider/deployments","created_at":"2016-11-24T14:13:57Z","updated_at":"2018-10-18T11:03:55Z","pushed_at":"2018-10-18T19:18:03Z","git_url":"git://github.com/FINTprosjektet/fint-provider.git","ssh_url":"git@github.com:FINTprosjektet/fint-provider.git","clone_url":"https://github.com/FINTprosjektet/fint-provider.git","svn_url":"https://github.com/FINTprosjektet/fint-provider","homepage":null,"size":550,"stargazers_count":0,"watchers_count":0,"language":"Java","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":8,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FINTprosjektet/fint-provider/pulls/21"},"html":{"href":"https://github.com/FINTprosjektet/fint-provider/pull/21"},"issue":{"href":"https://api.github.com/repos/FINTprosjektet/fint-provider/issues/21"},"comments":{"href":"https://api.github.com/repos/FINTprosjektet/fint-provider/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/FINTprosjektet/fint-provider/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/FINTprosjektet/fint-provider/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FINTprosjektet/fint-provider/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/FINTprosjektet/fint-provider/statuses/58e052c039d2e40db0527a44dac30b1192cec7d7"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"jarlehansen"}}