{"action":"created","issue":{"url":"https://api.github.com/repos/Binaryvector/HarvestMap/issues/4","repository_url":"https://api.github.com/repos/Binaryvector/HarvestMap","labels_url":"https://api.github.com/repos/Binaryvector/HarvestMap/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Binaryvector/HarvestMap/issues/4/comments","events_url":"https://api.github.com/repos/Binaryvector/HarvestMap/issues/4/events","html_url":"https://github.com/Binaryvector/HarvestMap/pull/4","id":174547797,"number":4,"title":"Just an example how we can work with events and splitted entities.","user":{"login":"MrUpyachka","id":8611542,"avatar_url":"https://avatars.githubusercontent.com/u/8611542?v=3","gravatar_id":"","url":"https://api.github.com/users/MrUpyachka","html_url":"https://github.com/MrUpyachka","followers_url":"https://api.github.com/users/MrUpyachka/followers","following_url":"https://api.github.com/users/MrUpyachka/following{/other_user}","gists_url":"https://api.github.com/users/MrUpyachka/gists{/gist_id}","starred_url":"https://api.github.com/users/MrUpyachka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrUpyachka/subscriptions","organizations_url":"https://api.github.com/users/MrUpyachka/orgs","repos_url":"https://api.github.com/users/MrUpyachka/repos","events_url":"https://api.github.com/users/MrUpyachka/events{/privacy}","received_events_url":"https://api.github.com/users/MrUpyachka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-01T15:04:18Z","updated_at":"2016-09-02T19:57:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Binaryvector/HarvestMap/pulls/4","html_url":"https://github.com/Binaryvector/HarvestMap/pull/4","diff_url":"https://github.com/Binaryvector/HarvestMap/pull/4.diff","patch_url":"https://github.com/Binaryvector/HarvestMap/pull/4.patch"},"body":"Raw example of my vision, how it could be. Comment please"},"comment":{"url":"https://api.github.com/repos/Binaryvector/HarvestMap/issues/comments/244473291","html_url":"https://github.com/Binaryvector/HarvestMap/pull/4#issuecomment-244473291","issue_url":"https://api.github.com/repos/Binaryvector/HarvestMap/issues/4","id":244473291,"user":{"login":"MrUpyachka","id":8611542,"avatar_url":"https://avatars.githubusercontent.com/u/8611542?v=3","gravatar_id":"","url":"https://api.github.com/users/MrUpyachka","html_url":"https://github.com/MrUpyachka","followers_url":"https://api.github.com/users/MrUpyachka/followers","following_url":"https://api.github.com/users/MrUpyachka/following{/other_user}","gists_url":"https://api.github.com/users/MrUpyachka/gists{/gist_id}","starred_url":"https://api.github.com/users/MrUpyachka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrUpyachka/subscriptions","organizations_url":"https://api.github.com/users/MrUpyachka/orgs","repos_url":"https://api.github.com/users/MrUpyachka/repos","events_url":"https://api.github.com/users/MrUpyachka/events{/privacy}","received_events_url":"https://api.github.com/users/MrUpyachka/received_events","type":"User","site_admin":false},"created_at":"2016-09-02T19:57:38Z","updated_at":"2016-09-02T19:57:38Z","body":"A lot of changes expected and we have to be careful about conflict changes.\r\nFor now, in my plans is to implement cache, partially integrate it with old logic in order to move this logic to separate controller.\r\nList of expected entities:\r\nDB - provides sync interface to add/delete/update nodes\r\nDbController - listens for async requests and notifies about updates in DB\r\nNodeResolver - listens for harvesting events and maps them (depends on existing nodes) to Add\\update async requests. Also could implement firing of VisibilityChanged events.\r\nSimple cache with indexation by id is not so complex for implementation, but we need to decide, what we will do with implementation of RegionsCache, which should provide processing of \"divisions\". Its implementation could be started after finish of normal cache implementation (interface will be clear and to avoid duplication of data)."}}
{"actor":{"display_login":"MrUpyachka"}}