{"action":"closed","number":225,"pull_request":{"url":"https://api.github.com/repos/alliedtelesis/apteryx/pulls/225","id":84209906,"html_url":"https://github.com/alliedtelesis/apteryx/pull/225","diff_url":"https://github.com/alliedtelesis/apteryx/pull/225.diff","patch_url":"https://github.com/alliedtelesis/apteryx/pull/225.patch","issue_url":"https://api.github.com/repos/alliedtelesis/apteryx/issues/225","number":225,"state":"closed","locked":false,"title":"apteryx-sync: Use tree sync for resync mechanism","user":{"login":"blairsteven","id":9453212,"avatar_url":"https://avatars.githubusercontent.com/u/9453212?v=3","gravatar_id":"","url":"https://api.github.com/users/blairsteven","html_url":"https://github.com/blairsteven","followers_url":"https://api.github.com/users/blairsteven/followers","following_url":"https://api.github.com/users/blairsteven/following{/other_user}","gists_url":"https://api.github.com/users/blairsteven/gists{/gist_id}","starred_url":"https://api.github.com/users/blairsteven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blairsteven/subscriptions","organizations_url":"https://api.github.com/users/blairsteven/orgs","repos_url":"https://api.github.com/users/blairsteven/repos","events_url":"https://api.github.com/users/blairsteven/events{/privacy}","received_events_url":"https://api.github.com/users/blairsteven/received_events","type":"User","site_admin":false},"body":"When a tree set is actioned it is guaranteed that the watch callbacks\r\nfor that tree will be actioned after all fields are saved in the database.\r\n\r\nApteryx-sync is required to fulfill this commitment also, so the resync\r\nmust set all new values with one tree set.","created_at":"2016-09-06T22:48:39Z","updated_at":"2016-09-06T23:32:25Z","closed_at":"2016-09-06T23:32:25Z","merged_at":null,"merge_commit_sha":"e428cc59111e181edfb68f73b4def3210a8d3eb0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/alliedtelesis/apteryx/pulls/225/commits","review_comments_url":"https://api.github.com/repos/alliedtelesis/apteryx/pulls/225/comments","review_comment_url":"https://api.github.com/repos/alliedtelesis/apteryx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alliedtelesis/apteryx/issues/225/comments","statuses_url":"https://api.github.com/repos/alliedtelesis/apteryx/statuses/c63f1db7729a2b91437a678af0afff568b745433","head":{"label":"alliedtelesis:tree_sync","ref":"tree_sync","sha":"c63f1db7729a2b91437a678af0afff568b745433","user":{"login":"alliedtelesis","id":13029146,"avatar_url":"https://avatars.githubusercontent.com/u/13029146?v=3","gravatar_id":"","url":"https://api.github.com/users/alliedtelesis","html_url":"https://github.com/alliedtelesis","followers_url":"https://api.github.com/users/alliedtelesis/followers","following_url":"https://api.github.com/users/alliedtelesis/following{/other_user}","gists_url":"https://api.github.com/users/alliedtelesis/gists{/gist_id}","starred_url":"https://api.github.com/users/alliedtelesis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alliedtelesis/subscriptions","organizations_url":"https://api.github.com/users/alliedtelesis/orgs","repos_url":"https://api.github.com/users/alliedtelesis/repos","events_url":"https://api.github.com/users/alliedtelesis/events{/privacy}","received_events_url":"https://api.github.com/users/alliedtelesis/received_events","type":"Organization","site_admin":false},"repo":{"id":25988459,"name":"apteryx","full_name":"alliedtelesis/apteryx","owner":{"login":"alliedtelesis","id":13029146,"avatar_url":"https://avatars.githubusercontent.com/u/13029146?v=3","gravatar_id":"","url":"https://api.github.com/users/alliedtelesis","html_url":"https://github.com/alliedtelesis","followers_url":"https://api.github.com/users/alliedtelesis/followers","following_url":"https://api.github.com/users/alliedtelesis/following{/other_user}","gists_url":"https://api.github.com/users/alliedtelesis/gists{/gist_id}","starred_url":"https://api.github.com/users/alliedtelesis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alliedtelesis/subscriptions","organizations_url":"https://api.github.com/users/alliedtelesis/orgs","repos_url":"https://api.github.com/users/alliedtelesis/repos","events_url":"https://api.github.com/users/alliedtelesis/events{/privacy}","received_events_url":"https://api.github.com/users/alliedtelesis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alliedtelesis/apteryx","description":"","fork":false,"url":"https://api.github.com/repos/alliedtelesis/apteryx","forks_url":"https://api.github.com/repos/alliedtelesis/apteryx/forks","keys_url":"https://api.github.com/repos/alliedtelesis/apteryx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alliedtelesis/apteryx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alliedtelesis/apteryx/teams","hooks_url":"https://api.github.com/repos/alliedtelesis/apteryx/hooks","issue_events_url":"https://api.github.com/repos/alliedtelesis/apteryx/issues/events{/number}","events_url":"https://api.github.com/repos/alliedtelesis/apteryx/events","assignees_url":"https://api.github.com/repos/alliedtelesis/apteryx/assignees{/user}","branches_url":"https://api.github.com/repos/alliedtelesis/apteryx/branches{/branch}","tags_url":"https://api.github.com/repos/alliedtelesis/apteryx/tags","blobs_url":"https://api.github.com/repos/alliedtelesis/apteryx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alliedtelesis/apteryx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alliedtelesis/apteryx/git/refs{/sha}","trees_url":"https://api.github.com/repos/alliedtelesis/apteryx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alliedtelesis/apteryx/statuses/{sha}","languages_url":"https://api.github.com/repos/alliedtelesis/apteryx/languages","stargazers_url":"https://api.github.com/repos/alliedtelesis/apteryx/stargazers","contributors_url":"https://api.github.com/repos/alliedtelesis/apteryx/contributors","subscribers_url":"https://api.github.com/repos/alliedtelesis/apteryx/subscribers","subscription_url":"https://api.github.com/repos/alliedtelesis/apteryx/subscription","commits_url":"https://api.github.com/repos/alliedtelesis/apteryx/commits{/sha}","git_commits_url":"https://api.github.com/repos/alliedtelesis/apteryx/git/commits{/sha}","comments_url":"https://api.github.com/repos/alliedtelesis/apteryx/comments{/number}","issue_comment_url":"https://api.github.com/repos/alliedtelesis/apteryx/issues/comments{/number}","contents_url":"https://api.github.com/repos/alliedtelesis/apteryx/contents/{+path}","compare_url":"https://api.github.com/repos/alliedtelesis/apteryx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alliedtelesis/apteryx/merges","archive_url":"https://api.github.com/repos/alliedtelesis/apteryx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alliedtelesis/apteryx/downloads","issues_url":"https://api.github.com/repos/alliedtelesis/apteryx/issues{/number}","pulls_url":"https://api.github.com/repos/alliedtelesis/apteryx/pulls{/number}","milestones_url":"https://api.github.com/repos/alliedtelesis/apteryx/milestones{/number}","notifications_url":"https://api.github.com/repos/alliedtelesis/apteryx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alliedtelesis/apteryx/labels{/name}","releases_url":"https://api.github.com/repos/alliedtelesis/apteryx/releases{/id}","deployments_url":"https://api.github.com/repos/alliedtelesis/apteryx/deployments","created_at":"2014-10-30T20:28:48Z","updated_at":"2016-02-05T19:47:49Z","pushed_at":"2016-09-06T23:32:25Z","git_url":"git://github.com/alliedtelesis/apteryx.git","ssh_url":"git@github.com:alliedtelesis/apteryx.git","clone_url":"https://github.com/alliedtelesis/apteryx.git","svn_url":"https://github.com/alliedtelesis/apteryx","homepage":null,"size":1119,"stargazers_count":4,"watchers_count":4,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":6,"forks":15,"open_issues":6,"watchers":4,"default_branch":"master"}},"base":{"label":"alliedtelesis:master","ref":"master","sha":"1e959284802563214063d65862e5922136a8816b","user":{"login":"alliedtelesis","id":13029146,"avatar_url":"https://avatars.githubusercontent.com/u/13029146?v=3","gravatar_id":"","url":"https://api.github.com/users/alliedtelesis","html_url":"https://github.com/alliedtelesis","followers_url":"https://api.github.com/users/alliedtelesis/followers","following_url":"https://api.github.com/users/alliedtelesis/following{/other_user}","gists_url":"https://api.github.com/users/alliedtelesis/gists{/gist_id}","starred_url":"https://api.github.com/users/alliedtelesis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alliedtelesis/subscriptions","organizations_url":"https://api.github.com/users/alliedtelesis/orgs","repos_url":"https://api.github.com/users/alliedtelesis/repos","events_url":"https://api.github.com/users/alliedtelesis/events{/privacy}","received_events_url":"https://api.github.com/users/alliedtelesis/received_events","type":"Organization","site_admin":false},"repo":{"id":25988459,"name":"apteryx","full_name":"alliedtelesis/apteryx","owner":{"login":"alliedtelesis","id":13029146,"avatar_url":"https://avatars.githubusercontent.com/u/13029146?v=3","gravatar_id":"","url":"https://api.github.com/users/alliedtelesis","html_url":"https://github.com/alliedtelesis","followers_url":"https://api.github.com/users/alliedtelesis/followers","following_url":"https://api.github.com/users/alliedtelesis/following{/other_user}","gists_url":"https://api.github.com/users/alliedtelesis/gists{/gist_id}","starred_url":"https://api.github.com/users/alliedtelesis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alliedtelesis/subscriptions","organizations_url":"https://api.github.com/users/alliedtelesis/orgs","repos_url":"https://api.github.com/users/alliedtelesis/repos","events_url":"https://api.github.com/users/alliedtelesis/events{/privacy}","received_events_url":"https://api.github.com/users/alliedtelesis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alliedtelesis/apteryx","description":"","fork":false,"url":"https://api.github.com/repos/alliedtelesis/apteryx","forks_url":"https://api.github.com/repos/alliedtelesis/apteryx/forks","keys_url":"https://api.github.com/repos/alliedtelesis/apteryx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alliedtelesis/apteryx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alliedtelesis/apteryx/teams","hooks_url":"https://api.github.com/repos/alliedtelesis/apteryx/hooks","issue_events_url":"https://api.github.com/repos/alliedtelesis/apteryx/issues/events{/number}","events_url":"https://api.github.com/repos/alliedtelesis/apteryx/events","assignees_url":"https://api.github.com/repos/alliedtelesis/apteryx/assignees{/user}","branches_url":"https://api.github.com/repos/alliedtelesis/apteryx/branches{/branch}","tags_url":"https://api.github.com/repos/alliedtelesis/apteryx/tags","blobs_url":"https://api.github.com/repos/alliedtelesis/apteryx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alliedtelesis/apteryx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alliedtelesis/apteryx/git/refs{/sha}","trees_url":"https://api.github.com/repos/alliedtelesis/apteryx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alliedtelesis/apteryx/statuses/{sha}","languages_url":"https://api.github.com/repos/alliedtelesis/apteryx/languages","stargazers_url":"https://api.github.com/repos/alliedtelesis/apteryx/stargazers","contributors_url":"https://api.github.com/repos/alliedtelesis/apteryx/contributors","subscribers_url":"https://api.github.com/repos/alliedtelesis/apteryx/subscribers","subscription_url":"https://api.github.com/repos/alliedtelesis/apteryx/subscription","commits_url":"https://api.github.com/repos/alliedtelesis/apteryx/commits{/sha}","git_commits_url":"https://api.github.com/repos/alliedtelesis/apteryx/git/commits{/sha}","comments_url":"https://api.github.com/repos/alliedtelesis/apteryx/comments{/number}","issue_comment_url":"https://api.github.com/repos/alliedtelesis/apteryx/issues/comments{/number}","contents_url":"https://api.github.com/repos/alliedtelesis/apteryx/contents/{+path}","compare_url":"https://api.github.com/repos/alliedtelesis/apteryx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alliedtelesis/apteryx/merges","archive_url":"https://api.github.com/repos/alliedtelesis/apteryx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alliedtelesis/apteryx/downloads","issues_url":"https://api.github.com/repos/alliedtelesis/apteryx/issues{/number}","pulls_url":"https://api.github.com/repos/alliedtelesis/apteryx/pulls{/number}","milestones_url":"https://api.github.com/repos/alliedtelesis/apteryx/milestones{/number}","notifications_url":"https://api.github.com/repos/alliedtelesis/apteryx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alliedtelesis/apteryx/labels{/name}","releases_url":"https://api.github.com/repos/alliedtelesis/apteryx/releases{/id}","deployments_url":"https://api.github.com/repos/alliedtelesis/apteryx/deployments","created_at":"2014-10-30T20:28:48Z","updated_at":"2016-02-05T19:47:49Z","pushed_at":"2016-09-06T23:32:25Z","git_url":"git://github.com/alliedtelesis/apteryx.git","ssh_url":"git@github.com:alliedtelesis/apteryx.git","clone_url":"https://github.com/alliedtelesis/apteryx.git","svn_url":"https://github.com/alliedtelesis/apteryx","homepage":null,"size":1119,"stargazers_count":4,"watchers_count":4,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":6,"forks":15,"open_issues":6,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alliedtelesis/apteryx/pulls/225"},"html":{"href":"https://github.com/alliedtelesis/apteryx/pull/225"},"issue":{"href":"https://api.github.com/repos/alliedtelesis/apteryx/issues/225"},"comments":{"href":"https://api.github.com/repos/alliedtelesis/apteryx/issues/225/comments"},"review_comments":{"href":"https://api.github.com/repos/alliedtelesis/apteryx/pulls/225/comments"},"review_comment":{"href":"https://api.github.com/repos/alliedtelesis/apteryx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alliedtelesis/apteryx/pulls/225/commits"},"statuses":{"href":"https://api.github.com/repos/alliedtelesis/apteryx/statuses/c63f1db7729a2b91437a678af0afff568b745433"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":128,"deletions":56,"changed_files":1}}
{"actor":{"display_login":"blairsteven"}}