{"action":"created","comment":{"url":"https://api.github.com/repos/linagora/james-project/pulls/comments/195664688","pull_request_review_id":129077867,"id":195664688,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NTY2NDY4OA==","diff_hunk":"@@ -0,0 +1,83 @@\n+/****************************************************************\n+ * Licensed to the Apache Software Foundation (ASF) under one   *\n+ * or more contributor license agreements.  See the NOTICE file *\n+ * distributed with this work for additional information        *\n+ * regarding copyright ownership.  The ASF licenses this file   *\n+ * to you under the Apache License, Version 2.0 (the            *\n+ * \"License\"); you may not use this file except in compliance   *\n+ * with the License.  You may obtain a copy of the License at   *\n+ *                                                              *\n+ *   http://www.apache.org/licenses/LICENSE-2.0                 *\n+ *                                                              *\n+ * Unless required by applicable law or agreed to in writing,   *\n+ * software distributed under the License is distributed on an  *\n+ * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *\n+ * KIND, either express or implied.  See the License for the    *\n+ * specific language governing permissions and limitations      *\n+ * under the License.                                           *\n+ ****************************************************************/\n+\n+package org.apache.james.mailbox.backup;\n+\n+import java.nio.charset.Charset;\n+import java.nio.charset.StandardCharsets;\n+import java.text.ParseException;\n+import java.text.SimpleDateFormat;\n+import java.util.Date;\n+\n+import javax.mail.Flags;\n+import javax.mail.util.SharedByteArrayInputStream;\n+\n+import org.apache.james.mailbox.model.MessageId;\n+import org.apache.james.mailbox.model.TestId;\n+import org.apache.james.mailbox.model.TestMessageId;\n+import org.apache.james.mailbox.store.mail.model.impl.PropertyBuilder;\n+import org.apache.james.mailbox.store.mail.model.impl.SimpleMailboxMessage;\n+\n+public interface MailboxMessageFixture {\n+\n+    SimpleDateFormat SIMPLE_DATE_FORMAT = new SimpleDateFormat(\"yyyy-MM-dd hh:mm:ss\");","path":"mailbox/backup/src/test/java/org/apache/james/mailbox/backup/MailboxMessageFixture.java","position":39,"original_position":39,"commit_id":"2a39bd94be7bc2e41fda9d4527d27a502b3a34e0","original_commit_id":"2a39bd94be7bc2e41fda9d4527d27a502b3a34e0","user":{"login":"mbaechler","id":708318,"node_id":"MDQ6VXNlcjcwODMxOA==","avatar_url":"https://avatars2.githubusercontent.com/u/708318?v=4","gravatar_id":"","url":"https://api.github.com/users/mbaechler","html_url":"https://github.com/mbaechler","followers_url":"https://api.github.com/users/mbaechler/followers","following_url":"https://api.github.com/users/mbaechler/following{/other_user}","gists_url":"https://api.github.com/users/mbaechler/gists{/gist_id}","starred_url":"https://api.github.com/users/mbaechler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbaechler/subscriptions","organizations_url":"https://api.github.com/users/mbaechler/orgs","repos_url":"https://api.github.com/users/mbaechler/repos","events_url":"https://api.github.com/users/mbaechler/events{/privacy}","received_events_url":"https://api.github.com/users/mbaechler/received_events","type":"User","site_admin":false},"body":"As asked recently to Gauthier, we should only use java.time API for dates now","created_at":"2018-06-15T08:28:46Z","updated_at":"2018-06-15T08:28:56Z","html_url":"https://github.com/linagora/james-project/pull/1487#discussion_r195664688","pull_request_url":"https://api.github.com/repos/linagora/james-project/pulls/1487","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/linagora/james-project/pulls/comments/195664688"},"html":{"href":"https://github.com/linagora/james-project/pull/1487#discussion_r195664688"},"pull_request":{"href":"https://api.github.com/repos/linagora/james-project/pulls/1487"}}},"pull_request":{"url":"https://api.github.com/repos/linagora/james-project/pulls/1487","id":194935053,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0OTM1MDUz","html_url":"https://github.com/linagora/james-project/pull/1487","diff_url":"https://github.com/linagora/james-project/pull/1487.diff","patch_url":"https://github.com/linagora/james-project/pull/1487.patch","issue_url":"https://api.github.com/repos/linagora/james-project/issues/1487","number":1487,"state":"open","locked":false,"title":"James 2426 without extra field","user":{"login":"rouazana","id":1398581,"node_id":"MDQ6VXNlcjEzOTg1ODE=","avatar_url":"https://avatars0.githubusercontent.com/u/1398581?v=4","gravatar_id":"","url":"https://api.github.com/users/rouazana","html_url":"https://github.com/rouazana","followers_url":"https://api.github.com/users/rouazana/followers","following_url":"https://api.github.com/users/rouazana/following{/other_user}","gists_url":"https://api.github.com/users/rouazana/gists{/gist_id}","starred_url":"https://api.github.com/users/rouazana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rouazana/subscriptions","organizations_url":"https://api.github.com/users/rouazana/orgs","repos_url":"https://api.github.com/users/rouazana/repos","events_url":"https://api.github.com/users/rouazana/events{/privacy}","received_events_url":"https://api.github.com/users/rouazana/received_events","type":"User","site_admin":false},"body":"Start to archive messages into zip.\r\nNext step is handling extra field","created_at":"2018-06-14T15:36:43Z","updated_at":"2018-06-15T08:28:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"49c220a4eb1374409513e9fd01e78903b71073f8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":{"url":"https://api.github.com/repos/linagora/james-project/milestones/4","html_url":"https://github.com/linagora/james-project/milestone/4","labels_url":"https://api.github.com/repos/linagora/james-project/milestones/4/labels","id":3401301,"node_id":"MDk6TWlsZXN0b25lMzQwMTMwMQ==","number":4,"title":"Sprint38","description":"","creator":{"login":"chibenwa","id":6928740,"node_id":"MDQ6VXNlcjY5Mjg3NDA=","avatar_url":"https://avatars1.githubusercontent.com/u/6928740?v=4","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},"open_issues":6,"closed_issues":25,"state":"open","created_at":"2018-06-05T07:49:07Z","updated_at":"2018-06-15T00:25:20Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/linagora/james-project/pulls/1487/commits","review_comments_url":"https://api.github.com/repos/linagora/james-project/pulls/1487/comments","review_comment_url":"https://api.github.com/repos/linagora/james-project/pulls/comments{/number}","comments_url":"https://api.github.com/repos/linagora/james-project/issues/1487/comments","statuses_url":"https://api.github.com/repos/linagora/james-project/statuses/2a39bd94be7bc2e41fda9d4527d27a502b3a34e0","head":{"label":"rouazana:JAMES-2426-without-extra-field","ref":"JAMES-2426-without-extra-field","sha":"2a39bd94be7bc2e41fda9d4527d27a502b3a34e0","user":{"login":"rouazana","id":1398581,"node_id":"MDQ6VXNlcjEzOTg1ODE=","avatar_url":"https://avatars0.githubusercontent.com/u/1398581?v=4","gravatar_id":"","url":"https://api.github.com/users/rouazana","html_url":"https://github.com/rouazana","followers_url":"https://api.github.com/users/rouazana/followers","following_url":"https://api.github.com/users/rouazana/following{/other_user}","gists_url":"https://api.github.com/users/rouazana/gists{/gist_id}","starred_url":"https://api.github.com/users/rouazana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rouazana/subscriptions","organizations_url":"https://api.github.com/users/rouazana/orgs","repos_url":"https://api.github.com/users/rouazana/repos","events_url":"https://api.github.com/users/rouazana/events{/privacy}","received_events_url":"https://api.github.com/users/rouazana/received_events","type":"User","site_admin":false},"repo":{"id":42306065,"node_id":"MDEwOlJlcG9zaXRvcnk0MjMwNjA2NQ==","name":"james-project","full_name":"rouazana/james-project","owner":{"login":"rouazana","id":1398581,"node_id":"MDQ6VXNlcjEzOTg1ODE=","avatar_url":"https://avatars0.githubusercontent.com/u/1398581?v=4","gravatar_id":"","url":"https://api.github.com/users/rouazana","html_url":"https://github.com/rouazana","followers_url":"https://api.github.com/users/rouazana/followers","following_url":"https://api.github.com/users/rouazana/following{/other_user}","gists_url":"https://api.github.com/users/rouazana/gists{/gist_id}","starred_url":"https://api.github.com/users/rouazana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rouazana/subscriptions","organizations_url":"https://api.github.com/users/rouazana/orgs","repos_url":"https://api.github.com/users/rouazana/repos","events_url":"https://api.github.com/users/rouazana/events{/privacy}","received_events_url":"https://api.github.com/users/rouazana/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rouazana/james-project","description":"Mirror of Apache James Project","fork":true,"url":"https://api.github.com/repos/rouazana/james-project","forks_url":"https://api.github.com/repos/rouazana/james-project/forks","keys_url":"https://api.github.com/repos/rouazana/james-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rouazana/james-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rouazana/james-project/teams","hooks_url":"https://api.github.com/repos/rouazana/james-project/hooks","issue_events_url":"https://api.github.com/repos/rouazana/james-project/issues/events{/number}","events_url":"https://api.github.com/repos/rouazana/james-project/events","assignees_url":"https://api.github.com/repos/rouazana/james-project/assignees{/user}","branches_url":"https://api.github.com/repos/rouazana/james-project/branches{/branch}","tags_url":"https://api.github.com/repos/rouazana/james-project/tags","blobs_url":"https://api.github.com/repos/rouazana/james-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rouazana/james-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rouazana/james-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/rouazana/james-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rouazana/james-project/statuses/{sha}","languages_url":"https://api.github.com/repos/rouazana/james-project/languages","stargazers_url":"https://api.github.com/repos/rouazana/james-project/stargazers","contributors_url":"https://api.github.com/repos/rouazana/james-project/contributors","subscribers_url":"https://api.github.com/repos/rouazana/james-project/subscribers","subscription_url":"https://api.github.com/repos/rouazana/james-project/subscription","commits_url":"https://api.github.com/repos/rouazana/james-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/rouazana/james-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/rouazana/james-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/rouazana/james-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/rouazana/james-project/contents/{+path}","compare_url":"https://api.github.com/repos/rouazana/james-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rouazana/james-project/merges","archive_url":"https://api.github.com/repos/rouazana/james-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rouazana/james-project/downloads","issues_url":"https://api.github.com/repos/rouazana/james-project/issues{/number}","pulls_url":"https://api.github.com/repos/rouazana/james-project/pulls{/number}","milestones_url":"https://api.github.com/repos/rouazana/james-project/milestones{/number}","notifications_url":"https://api.github.com/repos/rouazana/james-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rouazana/james-project/labels{/name}","releases_url":"https://api.github.com/repos/rouazana/james-project/releases{/id}","deployments_url":"https://api.github.com/repos/rouazana/james-project/deployments","created_at":"2015-09-11T12:02:10Z","updated_at":"2015-09-11T12:02:10Z","pushed_at":"2018-06-15T04:30:31Z","git_url":"git://github.com/rouazana/james-project.git","ssh_url":"git@github.com:rouazana/james-project.git","clone_url":"https://github.com/rouazana/james-project.git","svn_url":"https://github.com/rouazana/james-project","homepage":null,"size":34636,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"trunk"}},"base":{"label":"linagora:master","ref":"master","sha":"cf143b6e89a8238224a22fc788d7acd2779d40a8","user":{"login":"linagora","id":1230365,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyMzAzNjU=","avatar_url":"https://avatars3.githubusercontent.com/u/1230365?v=4","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":39182136,"node_id":"MDEwOlJlcG9zaXRvcnkzOTE4MjEzNg==","name":"james-project","full_name":"linagora/james-project","owner":{"login":"linagora","id":1230365,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyMzAzNjU=","avatar_url":"https://avatars3.githubusercontent.com/u/1230365?v=4","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-project","description":"Mirror of Apache James Project","fork":true,"url":"https://api.github.com/repos/linagora/james-project","forks_url":"https://api.github.com/repos/linagora/james-project/forks","keys_url":"https://api.github.com/repos/linagora/james-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/linagora/james-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/linagora/james-project/teams","hooks_url":"https://api.github.com/repos/linagora/james-project/hooks","issue_events_url":"https://api.github.com/repos/linagora/james-project/issues/events{/number}","events_url":"https://api.github.com/repos/linagora/james-project/events","assignees_url":"https://api.github.com/repos/linagora/james-project/assignees{/user}","branches_url":"https://api.github.com/repos/linagora/james-project/branches{/branch}","tags_url":"https://api.github.com/repos/linagora/james-project/tags","blobs_url":"https://api.github.com/repos/linagora/james-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/linagora/james-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/linagora/james-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/linagora/james-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/linagora/james-project/statuses/{sha}","languages_url":"https://api.github.com/repos/linagora/james-project/languages","stargazers_url":"https://api.github.com/repos/linagora/james-project/stargazers","contributors_url":"https://api.github.com/repos/linagora/james-project/contributors","subscribers_url":"https://api.github.com/repos/linagora/james-project/subscribers","subscription_url":"https://api.github.com/repos/linagora/james-project/subscription","commits_url":"https://api.github.com/repos/linagora/james-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/linagora/james-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/linagora/james-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/linagora/james-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/linagora/james-project/contents/{+path}","compare_url":"https://api.github.com/repos/linagora/james-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/linagora/james-project/merges","archive_url":"https://api.github.com/repos/linagora/james-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/linagora/james-project/downloads","issues_url":"https://api.github.com/repos/linagora/james-project/issues{/number}","pulls_url":"https://api.github.com/repos/linagora/james-project/pulls{/number}","milestones_url":"https://api.github.com/repos/linagora/james-project/milestones{/number}","notifications_url":"https://api.github.com/repos/linagora/james-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/linagora/james-project/labels{/name}","releases_url":"https://api.github.com/repos/linagora/james-project/releases{/id}","deployments_url":"https://api.github.com/repos/linagora/james-project/deployments","created_at":"2015-07-16T07:04:59Z","updated_at":"2018-06-14T08:35:47Z","pushed_at":"2018-06-15T08:14:06Z","git_url":"git://github.com/linagora/james-project.git","ssh_url":"git@github.com:linagora/james-project.git","clone_url":"https://github.com/linagora/james-project.git","svn_url":"https://github.com/linagora/james-project","homepage":null,"size":33704,"stargazers_count":21,"watchers_count":21,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":25,"mirror_url":null,"archived":false,"open_issues_count":66,"license":null,"forks":25,"open_issues":66,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/linagora/james-project/pulls/1487"},"html":{"href":"https://github.com/linagora/james-project/pull/1487"},"issue":{"href":"https://api.github.com/repos/linagora/james-project/issues/1487"},"comments":{"href":"https://api.github.com/repos/linagora/james-project/issues/1487/comments"},"review_comments":{"href":"https://api.github.com/repos/linagora/james-project/pulls/1487/comments"},"review_comment":{"href":"https://api.github.com/repos/linagora/james-project/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/linagora/james-project/pulls/1487/commits"},"statuses":{"href":"https://api.github.com/repos/linagora/james-project/statuses/2a39bd94be7bc2e41fda9d4527d27a502b3a34e0"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"mbaechler"}}