{"action":"opened","number":19,"pull_request":{"url":"https://api.github.com/repos/linagora/james/pulls/19","id":44928124,"html_url":"https://github.com/linagora/james/pull/19","diff_url":"https://github.com/linagora/james/pull/19.diff","patch_url":"https://github.com/linagora/james/pull/19.patch","issue_url":"https://api.github.com/repos/linagora/james/issues/19","number":19,"state":"open","locked":false,"title":"Issue 18 Implement Access token storage","user":{"login":"chibenwa","id":6928740,"avatar_url":"https://avatars.githubusercontent.com/u/6928740?v=3","gravatar_id":"","url":"https://api.github.com/users/chibenwa","html_url":"https://github.com/chibenwa","followers_url":"https://api.github.com/users/chibenwa/followers","following_url":"https://api.github.com/users/chibenwa/following{/other_user}","gists_url":"https://api.github.com/users/chibenwa/gists{/gist_id}","starred_url":"https://api.github.com/users/chibenwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chibenwa/subscriptions","organizations_url":"https://api.github.com/users/chibenwa/orgs","repos_url":"https://api.github.com/users/chibenwa/repos","events_url":"https://api.github.com/users/chibenwa/events{/privacy}","received_events_url":"https://api.github.com/users/chibenwa/received_events","type":"User","site_admin":false},"body":"In this PR : \r\n - I added a storage interface for JMAP protocol access token.\r\n Storage intefaces for servers needs to be in data-api\r\n I introduced a new project data-jmap as I wanted to use ZoneDateTime in my code.\r\n \r\n The in memory implementation is thread safe. The only tricky thing is the expired token removal ( for storage optimization ). Remenber that no one can modify the given map entry until it is removed ( guaranteed by the addToken method ). Not adding two time the same token is a JMAP requirement.","created_at":"2015-09-14T13:14:24Z","updated_at":"2015-09-14T13:14:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/linagora/james/pulls/19/commits","review_comments_url":"https://api.github.com/repos/linagora/james/pulls/19/comments","review_comment_url":"https://api.github.com/repos/linagora/james/pulls/comments{/number}","comments_url":"https://api.github.com/repos/linagora/james/issues/19/comments","statuses_url":"https://api.github.com/repos/linagora/james/statuses/4a3e0ddc873aa5a844a3037c5786bfa5c585dcc6","head":{"label":"chibenwa:Issue-18","ref":"Issue-18","sha":"4a3e0ddc873aa5a844a3037c5786bfa5c585dcc6","user":{"login":"chibenwa","id":6928740,"avatar_url":"https://avatars.githubusercontent.com/u/6928740?v=3","gravatar_id":"","url":"https://api.github.com/users/chibenwa","html_url":"https://github.com/chibenwa","followers_url":"https://api.github.com/users/chibenwa/followers","following_url":"https://api.github.com/users/chibenwa/following{/other_user}","gists_url":"https://api.github.com/users/chibenwa/gists{/gist_id}","starred_url":"https://api.github.com/users/chibenwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chibenwa/subscriptions","organizations_url":"https://api.github.com/users/chibenwa/orgs","repos_url":"https://api.github.com/users/chibenwa/repos","events_url":"https://api.github.com/users/chibenwa/events{/privacy}","received_events_url":"https://api.github.com/users/chibenwa/received_events","type":"User","site_admin":false},"repo":{"id":38886127,"name":"james","full_name":"chibenwa/james","owner":{"login":"chibenwa","id":6928740,"avatar_url":"https://avatars.githubusercontent.com/u/6928740?v=3","gravatar_id":"","url":"https://api.github.com/users/chibenwa","html_url":"https://github.com/chibenwa","followers_url":"https://api.github.com/users/chibenwa/followers","following_url":"https://api.github.com/users/chibenwa/following{/other_user}","gists_url":"https://api.github.com/users/chibenwa/gists{/gist_id}","starred_url":"https://api.github.com/users/chibenwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chibenwa/subscriptions","organizations_url":"https://api.github.com/users/chibenwa/orgs","repos_url":"https://api.github.com/users/chibenwa/repos","events_url":"https://api.github.com/users/chibenwa/events{/privacy}","received_events_url":"https://api.github.com/users/chibenwa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chibenwa/james","description":"Mirror of Apache James","fork":true,"url":"https://api.github.com/repos/chibenwa/james","forks_url":"https://api.github.com/repos/chibenwa/james/forks","keys_url":"https://api.github.com/repos/chibenwa/james/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chibenwa/james/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chibenwa/james/teams","hooks_url":"https://api.github.com/repos/chibenwa/james/hooks","issue_events_url":"https://api.github.com/repos/chibenwa/james/issues/events{/number}","events_url":"https://api.github.com/repos/chibenwa/james/events","assignees_url":"https://api.github.com/repos/chibenwa/james/assignees{/user}","branches_url":"https://api.github.com/repos/chibenwa/james/branches{/branch}","tags_url":"https://api.github.com/repos/chibenwa/james/tags","blobs_url":"https://api.github.com/repos/chibenwa/james/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chibenwa/james/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chibenwa/james/git/refs{/sha}","trees_url":"https://api.github.com/repos/chibenwa/james/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chibenwa/james/statuses/{sha}","languages_url":"https://api.github.com/repos/chibenwa/james/languages","stargazers_url":"https://api.github.com/repos/chibenwa/james/stargazers","contributors_url":"https://api.github.com/repos/chibenwa/james/contributors","subscribers_url":"https://api.github.com/repos/chibenwa/james/subscribers","subscription_url":"https://api.github.com/repos/chibenwa/james/subscription","commits_url":"https://api.github.com/repos/chibenwa/james/commits{/sha}","git_commits_url":"https://api.github.com/repos/chibenwa/james/git/commits{/sha}","comments_url":"https://api.github.com/repos/chibenwa/james/comments{/number}","issue_comment_url":"https://api.github.com/repos/chibenwa/james/issues/comments{/number}","contents_url":"https://api.github.com/repos/chibenwa/james/contents/{+path}","compare_url":"https://api.github.com/repos/chibenwa/james/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chibenwa/james/merges","archive_url":"https://api.github.com/repos/chibenwa/james/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chibenwa/james/downloads","issues_url":"https://api.github.com/repos/chibenwa/james/issues{/number}","pulls_url":"https://api.github.com/repos/chibenwa/james/pulls{/number}","milestones_url":"https://api.github.com/repos/chibenwa/james/milestones{/number}","notifications_url":"https://api.github.com/repos/chibenwa/james/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chibenwa/james/labels{/name}","releases_url":"https://api.github.com/repos/chibenwa/james/releases{/id}","created_at":"2015-07-10T14:59:43Z","updated_at":"2015-07-10T14:59:46Z","pushed_at":"2015-09-14T13:03:15Z","git_url":"git://github.com/chibenwa/james.git","ssh_url":"git@github.com:chibenwa/james.git","clone_url":"https://github.com/chibenwa/james.git","svn_url":"https://github.com/chibenwa/james","homepage":null,"size":124291,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"trunk"}},"base":{"label":"linagora:JMAP","ref":"JMAP","sha":"c7ce1368a7509bb0882c1fe6382bc28f063b3a7a","user":{"login":"linagora","id":1230365,"avatar_url":"https://avatars.githubusercontent.com/u/1230365?v=3","gravatar_id":"","url":"https://api.github.com/users/linagora","html_url":"https://github.com/linagora","followers_url":"https://api.github.com/users/linagora/followers","following_url":"https://api.github.com/users/linagora/following{/other_user}","gists_url":"https://api.github.com/users/linagora/gists{/gist_id}","starred_url":"https://api.github.com/users/linagora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linagora/subscriptions","organizations_url":"https://api.github.com/users/linagora/orgs","repos_url":"https://api.github.com/users/linagora/repos","events_url":"https://api.github.com/users/linagora/events{/privacy}","received_events_url":"https://api.github.com/users/linagora/received_events","type":"Organization","site_admin":false},"repo":{"id":33982519,"name":"james","full_name":"linagora/james","owner":{"login":"linagora","id":1230365,"avatar_url":"https://avatars.githubusercontent.com/u/1230365?v=3","gravatar_id":"","url":"https://api.github.com/users/linagora","html_url":"https://github.com/linagora","followers_url":"https://api.github.com/users/linagora/followers","following_url":"https://api.github.com/users/linagora/following{/other_user}","gists_url":"https://api.github.com/users/linagora/gists{/gist_id}","starred_url":"https://api.github.com/users/linagora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linagora/subscriptions","organizations_url":"https://api.github.com/users/linagora/orgs","repos_url":"https://api.github.com/users/linagora/repos","events_url":"https://api.github.com/users/linagora/events{/privacy}","received_events_url":"https://api.github.com/users/linagora/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/linagora/james","description":"Mirror of Apache James","fork":true,"url":"https://api.github.com/repos/linagora/james","forks_url":"https://api.github.com/repos/linagora/james/forks","keys_url":"https://api.github.com/repos/linagora/james/keys{/key_id}","collaborators_url":"https://api.github.com/repos/linagora/james/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/linagora/james/teams","hooks_url":"https://api.github.com/repos/linagora/james/hooks","issue_events_url":"https://api.github.com/repos/linagora/james/issues/events{/number}","events_url":"https://api.github.com/repos/linagora/james/events","assignees_url":"https://api.github.com/repos/linagora/james/assignees{/user}","branches_url":"https://api.github.com/repos/linagora/james/branches{/branch}","tags_url":"https://api.github.com/repos/linagora/james/tags","blobs_url":"https://api.github.com/repos/linagora/james/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/linagora/james/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/linagora/james/git/refs{/sha}","trees_url":"https://api.github.com/repos/linagora/james/git/trees{/sha}","statuses_url":"https://api.github.com/repos/linagora/james/statuses/{sha}","languages_url":"https://api.github.com/repos/linagora/james/languages","stargazers_url":"https://api.github.com/repos/linagora/james/stargazers","contributors_url":"https://api.github.com/repos/linagora/james/contributors","subscribers_url":"https://api.github.com/repos/linagora/james/subscribers","subscription_url":"https://api.github.com/repos/linagora/james/subscription","commits_url":"https://api.github.com/repos/linagora/james/commits{/sha}","git_commits_url":"https://api.github.com/repos/linagora/james/git/commits{/sha}","comments_url":"https://api.github.com/repos/linagora/james/comments{/number}","issue_comment_url":"https://api.github.com/repos/linagora/james/issues/comments{/number}","contents_url":"https://api.github.com/repos/linagora/james/contents/{+path}","compare_url":"https://api.github.com/repos/linagora/james/compare/{base}...{head}","merges_url":"https://api.github.com/repos/linagora/james/merges","archive_url":"https://api.github.com/repos/linagora/james/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/linagora/james/downloads","issues_url":"https://api.github.com/repos/linagora/james/issues{/number}","pulls_url":"https://api.github.com/repos/linagora/james/pulls{/number}","milestones_url":"https://api.github.com/repos/linagora/james/milestones{/number}","notifications_url":"https://api.github.com/repos/linagora/james/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/linagora/james/labels{/name}","releases_url":"https://api.github.com/repos/linagora/james/releases{/id}","created_at":"2015-04-15T08:33:43Z","updated_at":"2015-08-26T13:57:01Z","pushed_at":"2015-09-11T15:52:27Z","git_url":"git://github.com/linagora/james.git","ssh_url":"git@github.com:linagora/james.git","clone_url":"https://github.com/linagora/james.git","svn_url":"https://github.com/linagora/james","homepage":null,"size":124269,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":8,"forks":3,"open_issues":8,"watchers":1,"default_branch":"trunk"}},"_links":{"self":{"href":"https://api.github.com/repos/linagora/james/pulls/19"},"html":{"href":"https://github.com/linagora/james/pull/19"},"issue":{"href":"https://api.github.com/repos/linagora/james/issues/19"},"comments":{"href":"https://api.github.com/repos/linagora/james/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/linagora/james/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/linagora/james/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/linagora/james/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/linagora/james/statuses/4a3e0ddc873aa5a844a3037c5786bfa5c585dcc6"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":5,"additions":554,"deletions":24,"changed_files":17}}