{"action":"closed","number":314,"pull_request":{"url":"https://api.github.com/repos/rackerlabs/mimic/pulls/314","id":37535693,"html_url":"https://github.com/rackerlabs/mimic/pull/314","diff_url":"https://github.com/rackerlabs/mimic/pull/314.diff","patch_url":"https://github.com/rackerlabs/mimic/pull/314.patch","issue_url":"https://api.github.com/repos/rackerlabs/mimic/issues/314","number":314,"state":"closed","locked":false,"title":"fix(maas): update entities in place","user":{"login":"ksheedlo","id":1271410,"avatar_url":"https://avatars.githubusercontent.com/u/1271410?v=3","gravatar_id":"","url":"https://api.github.com/users/ksheedlo","html_url":"https://github.com/ksheedlo","followers_url":"https://api.github.com/users/ksheedlo/followers","following_url":"https://api.github.com/users/ksheedlo/following{/other_user}","gists_url":"https://api.github.com/users/ksheedlo/gists{/gist_id}","starred_url":"https://api.github.com/users/ksheedlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksheedlo/subscriptions","organizations_url":"https://api.github.com/users/ksheedlo/orgs","repos_url":"https://api.github.com/users/ksheedlo/repos","events_url":"https://api.github.com/users/ksheedlo/events{/privacy}","received_events_url":"https://api.github.com/users/ksheedlo/received_events","type":"User","site_admin":false},"body":"This change makes MAAS update the entity in place instead of creating a\r\nnew one with the updated fields. This allows us to do partial updates.\r\n\r\nFixes #313.","created_at":"2015-06-12T06:38:13Z","updated_at":"2015-06-12T18:48:26Z","closed_at":"2015-06-12T18:48:26Z","merged_at":"2015-06-12T18:48:26Z","merge_commit_sha":"95273dfb1483961138bdf23501a40aadd51023fb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rackerlabs/mimic/pulls/314/commits","review_comments_url":"https://api.github.com/repos/rackerlabs/mimic/pulls/314/comments","review_comment_url":"https://api.github.com/repos/rackerlabs/mimic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rackerlabs/mimic/issues/314/comments","statuses_url":"https://api.github.com/repos/rackerlabs/mimic/statuses/d5e1c81eb85f1aedf9e2208b5a5aec65626bda42","head":{"label":"ksheedlo:fix-update-entity-in-place","ref":"fix-update-entity-in-place","sha":"d5e1c81eb85f1aedf9e2208b5a5aec65626bda42","user":{"login":"ksheedlo","id":1271410,"avatar_url":"https://avatars.githubusercontent.com/u/1271410?v=3","gravatar_id":"","url":"https://api.github.com/users/ksheedlo","html_url":"https://github.com/ksheedlo","followers_url":"https://api.github.com/users/ksheedlo/followers","following_url":"https://api.github.com/users/ksheedlo/following{/other_user}","gists_url":"https://api.github.com/users/ksheedlo/gists{/gist_id}","starred_url":"https://api.github.com/users/ksheedlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksheedlo/subscriptions","organizations_url":"https://api.github.com/users/ksheedlo/orgs","repos_url":"https://api.github.com/users/ksheedlo/repos","events_url":"https://api.github.com/users/ksheedlo/events{/privacy}","received_events_url":"https://api.github.com/users/ksheedlo/received_events","type":"User","site_admin":false},"repo":{"id":27802623,"name":"mimic","full_name":"ksheedlo/mimic","owner":{"login":"ksheedlo","id":1271410,"avatar_url":"https://avatars.githubusercontent.com/u/1271410?v=3","gravatar_id":"","url":"https://api.github.com/users/ksheedlo","html_url":"https://github.com/ksheedlo","followers_url":"https://api.github.com/users/ksheedlo/followers","following_url":"https://api.github.com/users/ksheedlo/following{/other_user}","gists_url":"https://api.github.com/users/ksheedlo/gists{/gist_id}","starred_url":"https://api.github.com/users/ksheedlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksheedlo/subscriptions","organizations_url":"https://api.github.com/users/ksheedlo/orgs","repos_url":"https://api.github.com/users/ksheedlo/repos","events_url":"https://api.github.com/users/ksheedlo/events{/privacy}","received_events_url":"https://api.github.com/users/ksheedlo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ksheedlo/mimic","description":"An API mock service","fork":true,"url":"https://api.github.com/repos/ksheedlo/mimic","forks_url":"https://api.github.com/repos/ksheedlo/mimic/forks","keys_url":"https://api.github.com/repos/ksheedlo/mimic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ksheedlo/mimic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ksheedlo/mimic/teams","hooks_url":"https://api.github.com/repos/ksheedlo/mimic/hooks","issue_events_url":"https://api.github.com/repos/ksheedlo/mimic/issues/events{/number}","events_url":"https://api.github.com/repos/ksheedlo/mimic/events","assignees_url":"https://api.github.com/repos/ksheedlo/mimic/assignees{/user}","branches_url":"https://api.github.com/repos/ksheedlo/mimic/branches{/branch}","tags_url":"https://api.github.com/repos/ksheedlo/mimic/tags","blobs_url":"https://api.github.com/repos/ksheedlo/mimic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ksheedlo/mimic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ksheedlo/mimic/git/refs{/sha}","trees_url":"https://api.github.com/repos/ksheedlo/mimic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ksheedlo/mimic/statuses/{sha}","languages_url":"https://api.github.com/repos/ksheedlo/mimic/languages","stargazers_url":"https://api.github.com/repos/ksheedlo/mimic/stargazers","contributors_url":"https://api.github.com/repos/ksheedlo/mimic/contributors","subscribers_url":"https://api.github.com/repos/ksheedlo/mimic/subscribers","subscription_url":"https://api.github.com/repos/ksheedlo/mimic/subscription","commits_url":"https://api.github.com/repos/ksheedlo/mimic/commits{/sha}","git_commits_url":"https://api.github.com/repos/ksheedlo/mimic/git/commits{/sha}","comments_url":"https://api.github.com/repos/ksheedlo/mimic/comments{/number}","issue_comment_url":"https://api.github.com/repos/ksheedlo/mimic/issues/comments{/number}","contents_url":"https://api.github.com/repos/ksheedlo/mimic/contents/{+path}","compare_url":"https://api.github.com/repos/ksheedlo/mimic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ksheedlo/mimic/merges","archive_url":"https://api.github.com/repos/ksheedlo/mimic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ksheedlo/mimic/downloads","issues_url":"https://api.github.com/repos/ksheedlo/mimic/issues{/number}","pulls_url":"https://api.github.com/repos/ksheedlo/mimic/pulls{/number}","milestones_url":"https://api.github.com/repos/ksheedlo/mimic/milestones{/number}","notifications_url":"https://api.github.com/repos/ksheedlo/mimic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ksheedlo/mimic/labels{/name}","releases_url":"https://api.github.com/repos/ksheedlo/mimic/releases{/id}","created_at":"2014-12-10T04:42:53Z","updated_at":"2015-05-07T00:14:20Z","pushed_at":"2015-06-12T06:58:55Z","git_url":"git://github.com/ksheedlo/mimic.git","ssh_url":"git@github.com:ksheedlo/mimic.git","clone_url":"https://github.com/ksheedlo/mimic.git","svn_url":"https://github.com/ksheedlo/mimic","homepage":"","size":1430,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rackerlabs:master","ref":"master","sha":"c9c5ffb4dbfc898c635a7599ca39ea4476bb5902","user":{"login":"rackerlabs","id":84293,"avatar_url":"https://avatars.githubusercontent.com/u/84293?v=3","gravatar_id":"","url":"https://api.github.com/users/rackerlabs","html_url":"https://github.com/rackerlabs","followers_url":"https://api.github.com/users/rackerlabs/followers","following_url":"https://api.github.com/users/rackerlabs/following{/other_user}","gists_url":"https://api.github.com/users/rackerlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/rackerlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rackerlabs/subscriptions","organizations_url":"https://api.github.com/users/rackerlabs/orgs","repos_url":"https://api.github.com/users/rackerlabs/repos","events_url":"https://api.github.com/users/rackerlabs/events{/privacy}","received_events_url":"https://api.github.com/users/rackerlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":13158707,"name":"mimic","full_name":"rackerlabs/mimic","owner":{"login":"rackerlabs","id":84293,"avatar_url":"https://avatars.githubusercontent.com/u/84293?v=3","gravatar_id":"","url":"https://api.github.com/users/rackerlabs","html_url":"https://github.com/rackerlabs","followers_url":"https://api.github.com/users/rackerlabs/followers","following_url":"https://api.github.com/users/rackerlabs/following{/other_user}","gists_url":"https://api.github.com/users/rackerlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/rackerlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rackerlabs/subscriptions","organizations_url":"https://api.github.com/users/rackerlabs/orgs","repos_url":"https://api.github.com/users/rackerlabs/repos","events_url":"https://api.github.com/users/rackerlabs/events{/privacy}","received_events_url":"https://api.github.com/users/rackerlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rackerlabs/mimic","description":"An API mock service","fork":false,"url":"https://api.github.com/repos/rackerlabs/mimic","forks_url":"https://api.github.com/repos/rackerlabs/mimic/forks","keys_url":"https://api.github.com/repos/rackerlabs/mimic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rackerlabs/mimic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rackerlabs/mimic/teams","hooks_url":"https://api.github.com/repos/rackerlabs/mimic/hooks","issue_events_url":"https://api.github.com/repos/rackerlabs/mimic/issues/events{/number}","events_url":"https://api.github.com/repos/rackerlabs/mimic/events","assignees_url":"https://api.github.com/repos/rackerlabs/mimic/assignees{/user}","branches_url":"https://api.github.com/repos/rackerlabs/mimic/branches{/branch}","tags_url":"https://api.github.com/repos/rackerlabs/mimic/tags","blobs_url":"https://api.github.com/repos/rackerlabs/mimic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rackerlabs/mimic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rackerlabs/mimic/git/refs{/sha}","trees_url":"https://api.github.com/repos/rackerlabs/mimic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rackerlabs/mimic/statuses/{sha}","languages_url":"https://api.github.com/repos/rackerlabs/mimic/languages","stargazers_url":"https://api.github.com/repos/rackerlabs/mimic/stargazers","contributors_url":"https://api.github.com/repos/rackerlabs/mimic/contributors","subscribers_url":"https://api.github.com/repos/rackerlabs/mimic/subscribers","subscription_url":"https://api.github.com/repos/rackerlabs/mimic/subscription","commits_url":"https://api.github.com/repos/rackerlabs/mimic/commits{/sha}","git_commits_url":"https://api.github.com/repos/rackerlabs/mimic/git/commits{/sha}","comments_url":"https://api.github.com/repos/rackerlabs/mimic/comments{/number}","issue_comment_url":"https://api.github.com/repos/rackerlabs/mimic/issues/comments{/number}","contents_url":"https://api.github.com/repos/rackerlabs/mimic/contents/{+path}","compare_url":"https://api.github.com/repos/rackerlabs/mimic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rackerlabs/mimic/merges","archive_url":"https://api.github.com/repos/rackerlabs/mimic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rackerlabs/mimic/downloads","issues_url":"https://api.github.com/repos/rackerlabs/mimic/issues{/number}","pulls_url":"https://api.github.com/repos/rackerlabs/mimic/pulls{/number}","milestones_url":"https://api.github.com/repos/rackerlabs/mimic/milestones{/number}","notifications_url":"https://api.github.com/repos/rackerlabs/mimic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rackerlabs/mimic/labels{/name}","releases_url":"https://api.github.com/repos/rackerlabs/mimic/releases{/id}","created_at":"2013-09-27T19:01:16Z","updated_at":"2015-05-15T14:20:30Z","pushed_at":"2015-06-12T18:48:26Z","git_url":"git://github.com/rackerlabs/mimic.git","ssh_url":"git@github.com:rackerlabs/mimic.git","clone_url":"https://github.com/rackerlabs/mimic.git","svn_url":"https://github.com/rackerlabs/mimic","homepage":"","size":4091,"stargazers_count":82,"watchers_count":82,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":43,"mirror_url":null,"open_issues_count":73,"forks":43,"open_issues":73,"watchers":82,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rackerlabs/mimic/pulls/314"},"html":{"href":"https://github.com/rackerlabs/mimic/pull/314"},"issue":{"href":"https://api.github.com/repos/rackerlabs/mimic/issues/314"},"comments":{"href":"https://api.github.com/repos/rackerlabs/mimic/issues/314/comments"},"review_comments":{"href":"https://api.github.com/repos/rackerlabs/mimic/pulls/314/comments"},"review_comment":{"href":"https://api.github.com/repos/rackerlabs/mimic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rackerlabs/mimic/pulls/314/commits"},"statuses":{"href":"https://api.github.com/repos/rackerlabs/mimic/statuses/d5e1c81eb85f1aedf9e2208b5a5aec65626bda42"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"lekhajee","id":1591551,"avatar_url":"https://avatars.githubusercontent.com/u/1591551?v=3","gravatar_id":"","url":"https://api.github.com/users/lekhajee","html_url":"https://github.com/lekhajee","followers_url":"https://api.github.com/users/lekhajee/followers","following_url":"https://api.github.com/users/lekhajee/following{/other_user}","gists_url":"https://api.github.com/users/lekhajee/gists{/gist_id}","starred_url":"https://api.github.com/users/lekhajee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lekhajee/subscriptions","organizations_url":"https://api.github.com/users/lekhajee/orgs","repos_url":"https://api.github.com/users/lekhajee/repos","events_url":"https://api.github.com/users/lekhajee/events{/privacy}","received_events_url":"https://api.github.com/users/lekhajee/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"commits":1,"additions":28,"deletions":13,"changed_files":2}}