{"action":"created","comment":{"url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/pulls/comments/236692264","pull_request_review_id":178817866,"id":236692264,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNjY5MjI2NA==","diff_hunk":"@@ -40,6 +40,7 @@\n     <PackageReference Include=\"Microsoft.AspNet.WebApi.Client\" Version=\"5.2.6\" />\n     <PackageReference Include=\"Pomelo.EntityFrameworkCore.MySql\" Version=\"2.1.1\" />\n     <PackageReference Include=\"NLog.Targets.Syslog\" Version=\"5.1.0\" />\n+    <PackageReference Include=\"Bogus\" Version=\"24.3.1\" />","path":"HackneyRepairs/HackneyRepairs.csproj","position":4,"original_position":4,"commit_id":"d0f4f608c572fe8b820b330a33734796d404cba4","original_commit_id":"d0f4f608c572fe8b820b330a33734796d404cba4","user":{"login":"zuren","id":34348,"node_id":"MDQ6VXNlcjM0MzQ4","avatar_url":"https://avatars3.githubusercontent.com/u/34348?v=4","gravatar_id":"","url":"https://api.github.com/users/zuren","html_url":"https://github.com/zuren","followers_url":"https://api.github.com/users/zuren/followers","following_url":"https://api.github.com/users/zuren/following{/other_user}","gists_url":"https://api.github.com/users/zuren/gists{/gist_id}","starred_url":"https://api.github.com/users/zuren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zuren/subscriptions","organizations_url":"https://api.github.com/users/zuren/orgs","repos_url":"https://api.github.com/users/zuren/repos","events_url":"https://api.github.com/users/zuren/events{/privacy}","received_events_url":"https://api.github.com/users/zuren/received_events","type":"User","site_admin":false},"body":"Like the use of faker :thu","created_at":"2018-11-27T14:42:27Z","updated_at":"2018-11-27T14:43:14Z","html_url":"https://github.com/LBHackney-IT/Hackney_Repairs_API/pull/47#discussion_r236692264","pull_request_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/pulls/47","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/pulls/comments/236692264"},"html":{"href":"https://github.com/LBHackney-IT/Hackney_Repairs_API/pull/47#discussion_r236692264"},"pull_request":{"href":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/pulls/47"}}},"pull_request":{"url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/pulls/47","id":233933252,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzOTMzMjUy","html_url":"https://github.com/LBHackney-IT/Hackney_Repairs_API/pull/47","diff_url":"https://github.com/LBHackney-IT/Hackney_Repairs_API/pull/47.diff","patch_url":"https://github.com/LBHackney-IT/Hackney_Repairs_API/pull/47.patch","issue_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/issues/47","number":47,"state":"open","locked":false,"title":"Implement add note endpoint","user":{"login":"LBHmsaitz","id":40232240,"node_id":"MDQ6VXNlcjQwMjMyMjQw","avatar_url":"https://avatars1.githubusercontent.com/u/40232240?v=4","gravatar_id":"","url":"https://api.github.com/users/LBHmsaitz","html_url":"https://github.com/LBHmsaitz","followers_url":"https://api.github.com/users/LBHmsaitz/followers","following_url":"https://api.github.com/users/LBHmsaitz/following{/other_user}","gists_url":"https://api.github.com/users/LBHmsaitz/gists{/gist_id}","starred_url":"https://api.github.com/users/LBHmsaitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LBHmsaitz/subscriptions","organizations_url":"https://api.github.com/users/LBHmsaitz/orgs","repos_url":"https://api.github.com/users/LBHmsaitz/repos","events_url":"https://api.github.com/users/LBHmsaitz/events{/privacy}","received_events_url":"https://api.github.com/users/LBHmsaitz/received_events","type":"User","site_admin":false},"body":"Implemented an endpoint that adds notes to Universal Housing objects. It makes use of a stored procedure existent in dev and live environment for adding the notes and even though this supports adding notes to different UH objects (tenancy, repairs, properties etc.) the endpoint currently accepts adding notes to work orders.\r\nThe stored procedure used does not return the Id of the added note so the endpoint does return a 204 response without content. \r\nI have explored a way to retrieve the added note using a second query after executing the stored procedure though I have left it out for now - the current use of the endpoint does not require this and it can be extended in the future if needed. ","created_at":"2018-11-27T14:34:12Z","updated_at":"2018-11-27T14:43:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3a23a7387aa8da509ba8d342e77a63f7b33d48da","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/pulls/47/commits","review_comments_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/pulls/47/comments","review_comment_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/issues/47/comments","statuses_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/statuses/d0f4f608c572fe8b820b330a33734796d404cba4","head":{"label":"LBHackney-IT:implement-add-notes-endpoint","ref":"implement-add-notes-endpoint","sha":"d0f4f608c572fe8b820b330a33734796d404cba4","user":{"login":"LBHackney-IT","id":29410061,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NDEwMDYx","avatar_url":"https://avatars2.githubusercontent.com/u/29410061?v=4","gravatar_id":"","url":"https://api.github.com/users/LBHackney-IT","html_url":"https://github.com/LBHackney-IT","followers_url":"https://api.github.com/users/LBHackney-IT/followers","following_url":"https://api.github.com/users/LBHackney-IT/following{/other_user}","gists_url":"https://api.github.com/users/LBHackney-IT/gists{/gist_id}","starred_url":"https://api.github.com/users/LBHackney-IT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LBHackney-IT/subscriptions","organizations_url":"https://api.github.com/users/LBHackney-IT/orgs","repos_url":"https://api.github.com/users/LBHackney-IT/repos","events_url":"https://api.github.com/users/LBHackney-IT/events{/privacy}","received_events_url":"https://api.github.com/users/LBHackney-IT/received_events","type":"Organization","site_admin":false},"repo":{"id":135291861,"node_id":"MDEwOlJlcG9zaXRvcnkxMzUyOTE4NjE=","name":"Hackney_Repairs_API","full_name":"LBHackney-IT/Hackney_Repairs_API","private":false,"owner":{"login":"LBHackney-IT","id":29410061,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NDEwMDYx","avatar_url":"https://avatars2.githubusercontent.com/u/29410061?v=4","gravatar_id":"","url":"https://api.github.com/users/LBHackney-IT","html_url":"https://github.com/LBHackney-IT","followers_url":"https://api.github.com/users/LBHackney-IT/followers","following_url":"https://api.github.com/users/LBHackney-IT/following{/other_user}","gists_url":"https://api.github.com/users/LBHackney-IT/gists{/gist_id}","starred_url":"https://api.github.com/users/LBHackney-IT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LBHackney-IT/subscriptions","organizations_url":"https://api.github.com/users/LBHackney-IT/orgs","repos_url":"https://api.github.com/users/LBHackney-IT/repos","events_url":"https://api.github.com/users/LBHackney-IT/events{/privacy}","received_events_url":"https://api.github.com/users/LBHackney-IT/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/LBHackney-IT/Hackney_Repairs_API","description":null,"fork":false,"url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API","forks_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/forks","keys_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/teams","hooks_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/hooks","issue_events_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/issues/events{/number}","events_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/events","assignees_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/assignees{/user}","branches_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/branches{/branch}","tags_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/tags","blobs_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/git/refs{/sha}","trees_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/statuses/{sha}","languages_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/languages","stargazers_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/stargazers","contributors_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/contributors","subscribers_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/subscribers","subscription_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/subscription","commits_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/commits{/sha}","git_commits_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/git/commits{/sha}","comments_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/comments{/number}","issue_comment_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/issues/comments{/number}","contents_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/contents/{+path}","compare_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/merges","archive_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/downloads","issues_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/issues{/number}","pulls_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/pulls{/number}","milestones_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/milestones{/number}","notifications_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/labels{/name}","releases_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/releases{/id}","deployments_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/deployments","created_at":"2018-05-29T12:21:06Z","updated_at":"2018-09-17T08:02:32Z","pushed_at":"2018-11-27T14:34:12Z","git_url":"git://github.com/LBHackney-IT/Hackney_Repairs_API.git","ssh_url":"git@github.com:LBHackney-IT/Hackney_Repairs_API.git","clone_url":"https://github.com/LBHackney-IT/Hackney_Repairs_API.git","svn_url":"https://github.com/LBHackney-IT/Hackney_Repairs_API","homepage":null,"size":7496,"stargazers_count":2,"watchers_count":2,"language":"C#","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":6,"license":null,"forks":0,"open_issues":6,"watchers":2,"default_branch":"develop"}},"base":{"label":"LBHackney-IT:central","ref":"central","sha":"4e11473181738fe1bda879e9db6eefe993fa4a73","user":{"login":"LBHackney-IT","id":29410061,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NDEwMDYx","avatar_url":"https://avatars2.githubusercontent.com/u/29410061?v=4","gravatar_id":"","url":"https://api.github.com/users/LBHackney-IT","html_url":"https://github.com/LBHackney-IT","followers_url":"https://api.github.com/users/LBHackney-IT/followers","following_url":"https://api.github.com/users/LBHackney-IT/following{/other_user}","gists_url":"https://api.github.com/users/LBHackney-IT/gists{/gist_id}","starred_url":"https://api.github.com/users/LBHackney-IT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LBHackney-IT/subscriptions","organizations_url":"https://api.github.com/users/LBHackney-IT/orgs","repos_url":"https://api.github.com/users/LBHackney-IT/repos","events_url":"https://api.github.com/users/LBHackney-IT/events{/privacy}","received_events_url":"https://api.github.com/users/LBHackney-IT/received_events","type":"Organization","site_admin":false},"repo":{"id":135291861,"node_id":"MDEwOlJlcG9zaXRvcnkxMzUyOTE4NjE=","name":"Hackney_Repairs_API","full_name":"LBHackney-IT/Hackney_Repairs_API","private":false,"owner":{"login":"LBHackney-IT","id":29410061,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NDEwMDYx","avatar_url":"https://avatars2.githubusercontent.com/u/29410061?v=4","gravatar_id":"","url":"https://api.github.com/users/LBHackney-IT","html_url":"https://github.com/LBHackney-IT","followers_url":"https://api.github.com/users/LBHackney-IT/followers","following_url":"https://api.github.com/users/LBHackney-IT/following{/other_user}","gists_url":"https://api.github.com/users/LBHackney-IT/gists{/gist_id}","starred_url":"https://api.github.com/users/LBHackney-IT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LBHackney-IT/subscriptions","organizations_url":"https://api.github.com/users/LBHackney-IT/orgs","repos_url":"https://api.github.com/users/LBHackney-IT/repos","events_url":"https://api.github.com/users/LBHackney-IT/events{/privacy}","received_events_url":"https://api.github.com/users/LBHackney-IT/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/LBHackney-IT/Hackney_Repairs_API","description":null,"fork":false,"url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API","forks_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/forks","keys_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/teams","hooks_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/hooks","issue_events_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/issues/events{/number}","events_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/events","assignees_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/assignees{/user}","branches_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/branches{/branch}","tags_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/tags","blobs_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/git/refs{/sha}","trees_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/statuses/{sha}","languages_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/languages","stargazers_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/stargazers","contributors_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/contributors","subscribers_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/subscribers","subscription_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/subscription","commits_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/commits{/sha}","git_commits_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/git/commits{/sha}","comments_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/comments{/number}","issue_comment_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/issues/comments{/number}","contents_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/contents/{+path}","compare_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/merges","archive_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/downloads","issues_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/issues{/number}","pulls_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/pulls{/number}","milestones_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/milestones{/number}","notifications_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/labels{/name}","releases_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/releases{/id}","deployments_url":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/deployments","created_at":"2018-05-29T12:21:06Z","updated_at":"2018-09-17T08:02:32Z","pushed_at":"2018-11-27T14:34:12Z","git_url":"git://github.com/LBHackney-IT/Hackney_Repairs_API.git","ssh_url":"git@github.com:LBHackney-IT/Hackney_Repairs_API.git","clone_url":"https://github.com/LBHackney-IT/Hackney_Repairs_API.git","svn_url":"https://github.com/LBHackney-IT/Hackney_Repairs_API","homepage":null,"size":7496,"stargazers_count":2,"watchers_count":2,"language":"C#","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":6,"license":null,"forks":0,"open_issues":6,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/pulls/47"},"html":{"href":"https://github.com/LBHackney-IT/Hackney_Repairs_API/pull/47"},"issue":{"href":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/issues/47"},"comments":{"href":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/issues/47/comments"},"review_comments":{"href":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/pulls/47/comments"},"review_comment":{"href":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/pulls/47/commits"},"statuses":{"href":"https://api.github.com/repos/LBHackney-IT/Hackney_Repairs_API/statuses/d0f4f608c572fe8b820b330a33734796d404cba4"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"zuren"}}