{"action":"created","comment":{"url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/pulls/comments/228451249","pull_request_review_id":168727454,"id":228451249,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyODQ1MTI0OQ==","diff_hunk":"@@ -108,6 +115,36 @@ class Meta:\n             }\n         }\n \n+    def create(self, validated_data):\n+        status_type_url = validated_data['status_type']\n+\n+        # dynamic so that it can be mocked in tests easily\n+        Client = import_string(settings.ZDS_CLIENT_CLASS)\n+        client = Client.from_url(status_type_url, settings.BASE_DIR)\n+        try:\n+            status_type = client.request(status_type_url, 'statustype')\n+            is_eindstatus = status_type['isEindstatus']\n+        except requests.HTTPError as exc:","path":"src/zrc/api/serializers.py","position":33,"original_position":31,"commit_id":"56ac29734730130361cb9f208b9343c97c2b41c8","original_commit_id":"7135cc383c361ff900ec90ce6eda0a6c3d4ee083","user":{"login":"joeribekker","id":96970,"node_id":"MDQ6VXNlcjk2OTcw","avatar_url":"https://avatars1.githubusercontent.com/u/96970?v=4","gravatar_id":"","url":"https://api.github.com/users/joeribekker","html_url":"https://github.com/joeribekker","followers_url":"https://api.github.com/users/joeribekker/followers","following_url":"https://api.github.com/users/joeribekker/following{/other_user}","gists_url":"https://api.github.com/users/joeribekker/gists{/gist_id}","starred_url":"https://api.github.com/users/joeribekker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeribekker/subscriptions","organizations_url":"https://api.github.com/users/joeribekker/orgs","repos_url":"https://api.github.com/users/joeribekker/repos","events_url":"https://api.github.com/users/joeribekker/events{/privacy}","received_events_url":"https://api.github.com/users/joeribekker/received_events","type":"User","site_admin":false},"body":"Fixed.","created_at":"2018-10-26T08:52:27Z","updated_at":"2018-10-26T08:52:27Z","html_url":"https://github.com/VNG-Realisatie/gemma-zaakregistratiecomponent/pull/20#discussion_r228451249","pull_request_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/pulls/20","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/pulls/comments/228451249"},"html":{"href":"https://github.com/VNG-Realisatie/gemma-zaakregistratiecomponent/pull/20#discussion_r228451249"},"pull_request":{"href":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/pulls/20"}},"in_reply_to_id":227685581},"pull_request":{"url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/pulls/20","id":225014254,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1MDE0MjU0","html_url":"https://github.com/VNG-Realisatie/gemma-zaakregistratiecomponent/pull/20","diff_url":"https://github.com/VNG-Realisatie/gemma-zaakregistratiecomponent/pull/20.diff","patch_url":"https://github.com/VNG-Realisatie/gemma-zaakregistratiecomponent/pull/20.patch","issue_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/issues/20","number":20,"state":"open","locked":false,"title":"Feature/us 351 zaak afsluiten","user":{"login":"joeribekker","id":96970,"node_id":"MDQ6VXNlcjk2OTcw","avatar_url":"https://avatars1.githubusercontent.com/u/96970?v=4","gravatar_id":"","url":"https://api.github.com/users/joeribekker","html_url":"https://github.com/joeribekker","followers_url":"https://api.github.com/users/joeribekker/followers","following_url":"https://api.github.com/users/joeribekker/following{/other_user}","gists_url":"https://api.github.com/users/joeribekker/gists{/gist_id}","starred_url":"https://api.github.com/users/joeribekker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeribekker/subscriptions","organizations_url":"https://api.github.com/users/joeribekker/orgs","repos_url":"https://api.github.com/users/joeribekker/repos","events_url":"https://api.github.com/users/joeribekker/events{/privacy}","received_events_url":"https://api.github.com/users/joeribekker/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-23T12:15:14Z","updated_at":"2018-10-26T08:52:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bddcb8070941eb020529549e299696ee007db138","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/pulls/20/commits","review_comments_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/pulls/20/comments","review_comment_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/pulls/comments{/number}","comments_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/issues/20/comments","statuses_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/statuses/56ac29734730130361cb9f208b9343c97c2b41c8","head":{"label":"VNG-Realisatie:feature/us-351-zaak-afsluiten","ref":"feature/us-351-zaak-afsluiten","sha":"56ac29734730130361cb9f208b9343c97c2b41c8","user":{"login":"VNG-Realisatie","id":34739001,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NzM5MDAx","avatar_url":"https://avatars1.githubusercontent.com/u/34739001?v=4","gravatar_id":"","url":"https://api.github.com/users/VNG-Realisatie","html_url":"https://github.com/VNG-Realisatie","followers_url":"https://api.github.com/users/VNG-Realisatie/followers","following_url":"https://api.github.com/users/VNG-Realisatie/following{/other_user}","gists_url":"https://api.github.com/users/VNG-Realisatie/gists{/gist_id}","starred_url":"https://api.github.com/users/VNG-Realisatie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VNG-Realisatie/subscriptions","organizations_url":"https://api.github.com/users/VNG-Realisatie/orgs","repos_url":"https://api.github.com/users/VNG-Realisatie/repos","events_url":"https://api.github.com/users/VNG-Realisatie/events{/privacy}","received_events_url":"https://api.github.com/users/VNG-Realisatie/received_events","type":"Organization","site_admin":false},"repo":{"id":136348872,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYzNDg4NzI=","name":"gemma-zaakregistratiecomponent","full_name":"VNG-Realisatie/gemma-zaakregistratiecomponent","private":false,"owner":{"login":"VNG-Realisatie","id":34739001,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NzM5MDAx","avatar_url":"https://avatars1.githubusercontent.com/u/34739001?v=4","gravatar_id":"","url":"https://api.github.com/users/VNG-Realisatie","html_url":"https://github.com/VNG-Realisatie","followers_url":"https://api.github.com/users/VNG-Realisatie/followers","following_url":"https://api.github.com/users/VNG-Realisatie/following{/other_user}","gists_url":"https://api.github.com/users/VNG-Realisatie/gists{/gist_id}","starred_url":"https://api.github.com/users/VNG-Realisatie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VNG-Realisatie/subscriptions","organizations_url":"https://api.github.com/users/VNG-Realisatie/orgs","repos_url":"https://api.github.com/users/VNG-Realisatie/repos","events_url":"https://api.github.com/users/VNG-Realisatie/events{/privacy}","received_events_url":"https://api.github.com/users/VNG-Realisatie/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/VNG-Realisatie/gemma-zaakregistratiecomponent","description":"Referentie implementatie van een Zaakregistratiecomponent (ZRC)","fork":false,"url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent","forks_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/forks","keys_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/teams","hooks_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/hooks","issue_events_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/issues/events{/number}","events_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/events","assignees_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/assignees{/user}","branches_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/branches{/branch}","tags_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/tags","blobs_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/git/refs{/sha}","trees_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/statuses/{sha}","languages_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/languages","stargazers_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/stargazers","contributors_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/contributors","subscribers_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/subscribers","subscription_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/subscription","commits_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/commits{/sha}","git_commits_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/git/commits{/sha}","comments_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/comments{/number}","issue_comment_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/issues/comments{/number}","contents_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/contents/{+path}","compare_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/merges","archive_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/downloads","issues_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/issues{/number}","pulls_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/pulls{/number}","milestones_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/milestones{/number}","notifications_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/labels{/name}","releases_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/releases{/id}","deployments_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/deployments","created_at":"2018-06-06T15:28:42Z","updated_at":"2018-10-25T10:04:43Z","pushed_at":"2018-10-26T08:52:24Z","git_url":"git://github.com/VNG-Realisatie/gemma-zaakregistratiecomponent.git","ssh_url":"git@github.com:VNG-Realisatie/gemma-zaakregistratiecomponent.git","clone_url":"https://github.com/VNG-Realisatie/gemma-zaakregistratiecomponent.git","svn_url":"https://github.com/VNG-Realisatie/gemma-zaakregistratiecomponent","homepage":null,"size":714,"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":2,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2,"open_issues":2,"watchers":0,"default_branch":"develop"}},"base":{"label":"VNG-Realisatie:develop","ref":"develop","sha":"09741a33b2ae28cbe1fcba67e74ff724c9cf60c4","user":{"login":"VNG-Realisatie","id":34739001,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NzM5MDAx","avatar_url":"https://avatars1.githubusercontent.com/u/34739001?v=4","gravatar_id":"","url":"https://api.github.com/users/VNG-Realisatie","html_url":"https://github.com/VNG-Realisatie","followers_url":"https://api.github.com/users/VNG-Realisatie/followers","following_url":"https://api.github.com/users/VNG-Realisatie/following{/other_user}","gists_url":"https://api.github.com/users/VNG-Realisatie/gists{/gist_id}","starred_url":"https://api.github.com/users/VNG-Realisatie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VNG-Realisatie/subscriptions","organizations_url":"https://api.github.com/users/VNG-Realisatie/orgs","repos_url":"https://api.github.com/users/VNG-Realisatie/repos","events_url":"https://api.github.com/users/VNG-Realisatie/events{/privacy}","received_events_url":"https://api.github.com/users/VNG-Realisatie/received_events","type":"Organization","site_admin":false},"repo":{"id":136348872,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYzNDg4NzI=","name":"gemma-zaakregistratiecomponent","full_name":"VNG-Realisatie/gemma-zaakregistratiecomponent","private":false,"owner":{"login":"VNG-Realisatie","id":34739001,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NzM5MDAx","avatar_url":"https://avatars1.githubusercontent.com/u/34739001?v=4","gravatar_id":"","url":"https://api.github.com/users/VNG-Realisatie","html_url":"https://github.com/VNG-Realisatie","followers_url":"https://api.github.com/users/VNG-Realisatie/followers","following_url":"https://api.github.com/users/VNG-Realisatie/following{/other_user}","gists_url":"https://api.github.com/users/VNG-Realisatie/gists{/gist_id}","starred_url":"https://api.github.com/users/VNG-Realisatie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VNG-Realisatie/subscriptions","organizations_url":"https://api.github.com/users/VNG-Realisatie/orgs","repos_url":"https://api.github.com/users/VNG-Realisatie/repos","events_url":"https://api.github.com/users/VNG-Realisatie/events{/privacy}","received_events_url":"https://api.github.com/users/VNG-Realisatie/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/VNG-Realisatie/gemma-zaakregistratiecomponent","description":"Referentie implementatie van een Zaakregistratiecomponent (ZRC)","fork":false,"url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent","forks_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/forks","keys_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/teams","hooks_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/hooks","issue_events_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/issues/events{/number}","events_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/events","assignees_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/assignees{/user}","branches_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/branches{/branch}","tags_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/tags","blobs_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/git/refs{/sha}","trees_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/statuses/{sha}","languages_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/languages","stargazers_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/stargazers","contributors_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/contributors","subscribers_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/subscribers","subscription_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/subscription","commits_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/commits{/sha}","git_commits_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/git/commits{/sha}","comments_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/comments{/number}","issue_comment_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/issues/comments{/number}","contents_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/contents/{+path}","compare_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/merges","archive_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/downloads","issues_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/issues{/number}","pulls_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/pulls{/number}","milestones_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/milestones{/number}","notifications_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/labels{/name}","releases_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/releases{/id}","deployments_url":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/deployments","created_at":"2018-06-06T15:28:42Z","updated_at":"2018-10-25T10:04:43Z","pushed_at":"2018-10-26T08:52:24Z","git_url":"git://github.com/VNG-Realisatie/gemma-zaakregistratiecomponent.git","ssh_url":"git@github.com:VNG-Realisatie/gemma-zaakregistratiecomponent.git","clone_url":"https://github.com/VNG-Realisatie/gemma-zaakregistratiecomponent.git","svn_url":"https://github.com/VNG-Realisatie/gemma-zaakregistratiecomponent","homepage":null,"size":714,"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":2,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2,"open_issues":2,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/pulls/20"},"html":{"href":"https://github.com/VNG-Realisatie/gemma-zaakregistratiecomponent/pull/20"},"issue":{"href":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/issues/20"},"comments":{"href":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/VNG-Realisatie/gemma-zaakregistratiecomponent/statuses/56ac29734730130361cb9f208b9343c97c2b41c8"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"joeribekker"}}