{"action":"created","comment":{"url":"https://api.github.com/repos/linagora/james-project/pulls/comments/225381648","pull_request_review_id":164962416,"id":225381648,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNTM4MTY0OA==","diff_hunk":"@@ -0,0 +1,708 @@\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.webadmin.routes;\n+\n+import static io.restassured.RestAssured.given;\n+import static io.restassured.RestAssured.when;\n+import static io.restassured.RestAssured.with;\n+import static org.apache.james.webadmin.WebAdminServer.NO_CONFIGURATION;\n+import static org.assertj.core.api.Assertions.assertThat;\n+import static org.hamcrest.Matchers.is;\n+import static org.hamcrest.Matchers.notNullValue;\n+import static org.mockito.ArgumentMatchers.any;\n+import static org.mockito.Mockito.mock;\n+import static org.mockito.Mockito.verify;\n+import static org.mockito.Mockito.verifyNoMoreInteractions;\n+\n+import org.apache.james.mailbox.MailboxSession;\n+import org.apache.james.mailbox.MessageManager;\n+import org.apache.james.mailbox.acl.SimpleGroupMembershipResolver;\n+import org.apache.james.mailbox.indexer.ReIndexer;\n+import org.apache.james.mailbox.inmemory.InMemoryId;\n+import org.apache.james.mailbox.inmemory.InMemoryMailboxManager;\n+import org.apache.james.mailbox.inmemory.manager.InMemoryIntegrationResources;\n+import org.apache.james.mailbox.model.ComposedMessageId;\n+import org.apache.james.mailbox.model.MailboxId;\n+import org.apache.james.mailbox.model.MailboxPath;\n+import org.apache.james.mailbox.store.mail.model.Mailbox;\n+import org.apache.james.mailbox.store.mail.model.MailboxMessage;\n+import org.apache.james.mailbox.store.search.ListeningMessageSearchIndex;\n+import org.apache.james.metrics.logger.DefaultMetricFactory;\n+import org.apache.james.task.MemoryTaskManager;\n+import org.apache.james.webadmin.WebAdminServer;\n+import org.apache.james.webadmin.WebAdminUtils;\n+import org.apache.james.webadmin.utils.ErrorResponder;\n+import org.apache.james.webadmin.utils.JsonTransformer;\n+import org.apache.mailbox.tools.indexer.FullReindexingTask;\n+import org.apache.mailbox.tools.indexer.ReIndexerImpl;\n+import org.apache.mailbox.tools.indexer.ReIndexerPerformer;\n+import org.apache.mailbox.tools.indexer.SingleMailboxReindexingTask;\n+import org.apache.mailbox.tools.indexer.SingleMessageReindexingTask;\n+import org.apache.mailbox.tools.indexer.UserReindexingTask;\n+import org.eclipse.jetty.http.HttpStatus;\n+import org.junit.jupiter.api.AfterEach;\n+import org.junit.jupiter.api.BeforeEach;\n+import org.junit.jupiter.api.Nested;\n+import org.junit.jupiter.api.Test;\n+import org.mockito.ArgumentCaptor;\n+\n+import io.restassured.RestAssured;\n+\n+class ReindexingRoutesTest {\n+    private static final String USERNAME = \"benwa@apache.org\";\n+    private static final MailboxPath INBOX = MailboxPath.forUser(USERNAME, \"INBOX\");\n+\n+    private WebAdminServer webAdminServer;\n+    private ListeningMessageSearchIndex searchIndex;\n+    private InMemoryMailboxManager mailboxManager;\n+\n+    @BeforeEach\n+    void beforeEach() throws Exception {\n+        mailboxManager = new InMemoryIntegrationResources().createMailboxManager(new SimpleGroupMembershipResolver());\n+        MemoryTaskManager taskManager = new MemoryTaskManager();\n+        InMemoryId.Factory mailboxIdFactory = new InMemoryId.Factory();\n+        searchIndex = mock(ListeningMessageSearchIndex.class);\n+        ReIndexer reIndexer = new ReIndexerImpl(\n+            new ReIndexerPerformer(\n+                mailboxManager,\n+                searchIndex,\n+                mailboxManager.getMapperFactory()));\n+        JsonTransformer jsonTransformer = new JsonTransformer();\n+\n+        webAdminServer = WebAdminUtils.createWebAdminServer(\n+            new DefaultMetricFactory(),\n+            new TasksRoutes(taskManager, jsonTransformer),\n+            new ReindexingRoutes(\n+                taskManager,\n+                mailboxManager,\n+                mailboxIdFactory,\n+                reIndexer,\n+                jsonTransformer));\n+        webAdminServer.configure(NO_CONFIGURATION);\n+        webAdminServer.await();\n+\n+        RestAssured.requestSpecification = WebAdminUtils.buildRequestSpecification(webAdminServer).build();\n+        RestAssured.enableLoggingOfRequestAndResponseIfValidationFails();\n+    }\n+\n+    @AfterEach\n+    void tearDown() {\n+        webAdminServer.destroy();\n+    }\n+\n+    @Nested\n+    class FullReprocessing {\n+        @Nested\n+        class Validation {\n+            @Test\n+            void fullReprocessingShouldFailWithNoTask() {\n+                when()\n+                    .post(\"/index\")\n+                .then()\n+                    .statusCode(HttpStatus.BAD_REQUEST_400)\n+                    .body(\"statusCode\", is(400))\n+                    .body(\"type\", is(ErrorResponder.ErrorType.INVALID_ARGUMENT.getType()))\n+                    .body(\"message\", is(\"task query parameter is mandatory. The only supported value is `reIndex`\"));\n+            }\n+\n+            @Test\n+            void fullReprocessingShouldFailWithBadTask() {\n+                when()\n+                    .post(\"/index?task=bad\")\n+                .then()\n+                    .statusCode(HttpStatus.BAD_REQUEST_400)\n+                    .body(\"statusCode\", is(400))\n+                    .body(\"type\", is(ErrorResponder.ErrorType.INVALID_ARGUMENT.getType()))\n+                    .body(\"message\", is(\"task query parameter is mandatory. The only supported value is `reIndex`\"));\n+            }\n+        }\n+\n+        @Nested\n+        class TaskDetails {\n+            @Test\n+            void fullReprocessingShouldNotFailWhenNoMail() {\n+                String taskId = with()\n+                    .post(\"/index?task=reIndex\")\n+                    .jsonPath()\n+                    .get(\"taskId\");\n+\n+                given()\n+                    .basePath(TasksRoutes.BASE)\n+                .when()\n+                    .get(taskId + \"/await\")\n+                .then()\n+                    .body(\"status\", is(\"completed\"))\n+                    .body(\"taskId\", is(notNullValue()))\n+                    .body(\"type\", is(FullReindexingTask.FULL_RE_INDEXING))\n+                    .body(\"additionalInformation.successfullyReprocessMailCount\", is(0))\n+                    .body(\"additionalInformation.failedReprocessedMailCount\", is(0))\n+                    .body(\"startedDate\", is(notNullValue()))\n+                    .body(\"submitDate\", is(notNullValue()))\n+                    .body(\"completedDate\", is(notNullValue()));\n+            }\n+\n+            @Test\n+            void fullReprocessingShouldReturnTaskDetailsWhenMail() throws Exception {\n+                MailboxSession systemSession = mailboxManager.createSystemSession(USERNAME);\n+                mailboxManager.createMailbox(INBOX, systemSession).get();\n+                mailboxManager.getMailbox(INBOX, systemSession)\n+                    .appendMessage(\n+                        MessageManager.AppendCommand.builder().build(\"header: value\\r\\n\\r\\nbody\"),\n+                        systemSession);\n+\n+                String taskId = with()\n+                    .post(\"/index?task=reIndex\")\n+                    .jsonPath()\n+                    .get(\"taskId\");\n+\n+                given()\n+                    .basePath(TasksRoutes.BASE)\n+                .when()\n+                    .get(taskId + \"/await\")\n+                .then()\n+                    .body(\"status\", is(\"completed\"))\n+                    .body(\"taskId\", is(notNullValue()))\n+                    .body(\"type\", is(FullReindexingTask.FULL_RE_INDEXING))\n+                    .body(\"additionalInformation.successfullyReprocessMailCount\", is(1))\n+                    .body(\"additionalInformation.failedReprocessedMailCount\", is(0))\n+                    .body(\"startedDate\", is(notNullValue()))\n+                    .body(\"submitDate\", is(notNullValue()))\n+                    .body(\"completedDate\", is(notNullValue()));\n+            }\n+        }\n+\n+        @Nested\n+        class SideEffects {\n+            @Test\n+            void fullReprocessingShouldPerformReprocessingWhenMail() throws Exception {\n+                MailboxSession systemSession = mailboxManager.createSystemSession(USERNAME);\n+                MailboxId mailboxId = mailboxManager.createMailbox(INBOX, systemSession).get();\n+                ComposedMessageId createdMessage = mailboxManager.getMailbox(INBOX, systemSession)\n+                    .appendMessage(\n+                        MessageManager.AppendCommand.builder().build(\"header: value\\r\\n\\r\\nbody\"),\n+                        systemSession);\n+\n+                String taskId = with()\n+                    .post(\"/index?task=reIndex\")\n+                    .jsonPath()\n+                    .get(\"taskId\");\n+\n+                with()\n+                    .basePath(TasksRoutes.BASE)\n+                    .get(taskId + \"/await\")\n+                    .then()\n+                    .body(\"status\", is(\"completed\"));\n+\n+\n+                ArgumentCaptor<MailboxMessage> messageCaptor = ArgumentCaptor.forClass(MailboxMessage.class);\n+                ArgumentCaptor<Mailbox> mailboxCaptor1 = ArgumentCaptor.forClass(Mailbox.class);\n+                ArgumentCaptor<Mailbox> mailboxCaptor2 = ArgumentCaptor.forClass(Mailbox.class);\n+\n+                verify(searchIndex).deleteAll(any(MailboxSession.class), mailboxCaptor1.capture());\n+                verify(searchIndex).add(any(MailboxSession.class), mailboxCaptor2.capture(), messageCaptor.capture());\n+                verifyNoMoreInteractions(searchIndex);\n+\n+                assertThat(mailboxCaptor1.getValue()).matches(mailbox -> mailbox.getMailboxId().equals(mailboxId));\n+                assertThat(mailboxCaptor2.getValue()).matches(mailbox -> mailbox.getMailboxId().equals(mailboxId));\n+                assertThat(messageCaptor.getValue()).matches(message -> message.getMailboxId().equals(mailboxId)\n+                    && message.getUid().equals(createdMessage.getUid()));\n+            }\n+        }\n+    }\n+\n+    @Nested\n+    class UserReprocessing {\n+        @Nested\n+        class Validation {\n+            @Test\n+            void userlReprocessingShouldFailWithNoTask() {","path":"server/protocols/webadmin/webadmin-mailbox/src/test/java/org/apache/james/webadmin/routes/ReindexingRoutesTest.java","position":235,"original_position":235,"commit_id":"bdc1d0f086b110c375164ec6f4c64669085074e5","original_commit_id":"bdc1d0f086b110c375164ec6f4c64669085074e5","user":{"login":"trantienduchn","id":39297818,"node_id":"MDQ6VXNlcjM5Mjk3ODE4","avatar_url":"https://avatars1.githubusercontent.com/u/39297818?v=4","gravatar_id":"","url":"https://api.github.com/users/trantienduchn","html_url":"https://github.com/trantienduchn","followers_url":"https://api.github.com/users/trantienduchn/followers","following_url":"https://api.github.com/users/trantienduchn/following{/other_user}","gists_url":"https://api.github.com/users/trantienduchn/gists{/gist_id}","starred_url":"https://api.github.com/users/trantienduchn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trantienduchn/subscriptions","organizations_url":"https://api.github.com/users/trantienduchn/orgs","repos_url":"https://api.github.com/users/trantienduchn/repos","events_url":"https://api.github.com/users/trantienduchn/events{/privacy}","received_events_url":"https://api.github.com/users/trantienduchn/received_events","type":"User","site_admin":false},"body":"s/userl/user","created_at":"2018-10-16T02:54:14Z","updated_at":"2018-10-16T02:59:10Z","html_url":"https://github.com/linagora/james-project/pull/1805#discussion_r225381648","pull_request_url":"https://api.github.com/repos/linagora/james-project/pulls/1805","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/linagora/james-project/pulls/comments/225381648"},"html":{"href":"https://github.com/linagora/james-project/pull/1805#discussion_r225381648"},"pull_request":{"href":"https://api.github.com/repos/linagora/james-project/pulls/1805"}}},"pull_request":{"url":"https://api.github.com/repos/linagora/james-project/pulls/1805","id":222429367,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyNDI5MzY3","html_url":"https://github.com/linagora/james-project/pull/1805","diff_url":"https://github.com/linagora/james-project/pull/1805.diff","patch_url":"https://github.com/linagora/james-project/pull/1805.patch","issue_url":"https://api.github.com/repos/linagora/james-project/issues/1805","number":1805,"state":"open","locked":false,"title":"JAMES-2555 Webadmin APIs for message reIndexing","user":{"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},"body":"Note that message reIndexing per messageId will be added in another PR","created_at":"2018-10-12T11:00:31Z","updated_at":"2018-10-16T02:59:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7d1ef5a6d285714f711d16941836b9986eab99d0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":{"url":"https://api.github.com/repos/linagora/james-project/milestones/10","html_url":"https://github.com/linagora/james-project/milestone/10","labels_url":"https://api.github.com/repos/linagora/james-project/milestones/10/labels","id":3722816,"node_id":"MDk6TWlsZXN0b25lMzcyMjgxNg==","number":10,"title":"polish_2018_10","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":4,"closed_issues":17,"state":"open","created_at":"2018-10-09T02:38:31Z","updated_at":"2018-10-15T06:38:33Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/linagora/james-project/pulls/1805/commits","review_comments_url":"https://api.github.com/repos/linagora/james-project/pulls/1805/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/1805/comments","statuses_url":"https://api.github.com/repos/linagora/james-project/statuses/bdc1d0f086b110c375164ec6f4c64669085074e5","head":{"label":"chibenwa:JAMES-2555-web-2","ref":"JAMES-2555-web-2","sha":"bdc1d0f086b110c375164ec6f4c64669085074e5","user":{"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},"repo":{"id":42459504,"node_id":"MDEwOlJlcG9zaXRvcnk0MjQ1OTUwNA==","name":"james-project","full_name":"chibenwa/james-project","private":false,"owner":{"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},"html_url":"https://github.com/chibenwa/james-project","description":"Mirror of Apache James Project","fork":true,"url":"https://api.github.com/repos/chibenwa/james-project","forks_url":"https://api.github.com/repos/chibenwa/james-project/forks","keys_url":"https://api.github.com/repos/chibenwa/james-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chibenwa/james-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chibenwa/james-project/teams","hooks_url":"https://api.github.com/repos/chibenwa/james-project/hooks","issue_events_url":"https://api.github.com/repos/chibenwa/james-project/issues/events{/number}","events_url":"https://api.github.com/repos/chibenwa/james-project/events","assignees_url":"https://api.github.com/repos/chibenwa/james-project/assignees{/user}","branches_url":"https://api.github.com/repos/chibenwa/james-project/branches{/branch}","tags_url":"https://api.github.com/repos/chibenwa/james-project/tags","blobs_url":"https://api.github.com/repos/chibenwa/james-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chibenwa/james-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chibenwa/james-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/chibenwa/james-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chibenwa/james-project/statuses/{sha}","languages_url":"https://api.github.com/repos/chibenwa/james-project/languages","stargazers_url":"https://api.github.com/repos/chibenwa/james-project/stargazers","contributors_url":"https://api.github.com/repos/chibenwa/james-project/contributors","subscribers_url":"https://api.github.com/repos/chibenwa/james-project/subscribers","subscription_url":"https://api.github.com/repos/chibenwa/james-project/subscription","commits_url":"https://api.github.com/repos/chibenwa/james-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/chibenwa/james-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/chibenwa/james-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/chibenwa/james-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/chibenwa/james-project/contents/{+path}","compare_url":"https://api.github.com/repos/chibenwa/james-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chibenwa/james-project/merges","archive_url":"https://api.github.com/repos/chibenwa/james-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chibenwa/james-project/downloads","issues_url":"https://api.github.com/repos/chibenwa/james-project/issues{/number}","pulls_url":"https://api.github.com/repos/chibenwa/james-project/pulls{/number}","milestones_url":"https://api.github.com/repos/chibenwa/james-project/milestones{/number}","notifications_url":"https://api.github.com/repos/chibenwa/james-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chibenwa/james-project/labels{/name}","releases_url":"https://api.github.com/repos/chibenwa/james-project/releases{/id}","deployments_url":"https://api.github.com/repos/chibenwa/james-project/deployments","created_at":"2015-09-14T15:57:25Z","updated_at":"2017-10-03T11:59:27Z","pushed_at":"2018-10-15T09:15:04Z","git_url":"git://github.com/chibenwa/james-project.git","ssh_url":"git@github.com:chibenwa/james-project.git","clone_url":"https://github.com/chibenwa/james-project.git","svn_url":"https://github.com/chibenwa/james-project","homepage":null,"size":48059,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":2,"open_issues":2,"watchers":0,"default_branch":"trunk"}},"base":{"label":"linagora:master","ref":"master","sha":"45d311c558affbda21282a54ae10ee84c42defc1","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","private":false,"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},"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-10-15T06:29:00Z","pushed_at":"2018-10-15T23:19:57Z","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":36935,"stargazers_count":23,"watchers_count":23,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":26,"mirror_url":null,"archived":false,"open_issues_count":79,"license":null,"forks":26,"open_issues":79,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/linagora/james-project/pulls/1805"},"html":{"href":"https://github.com/linagora/james-project/pull/1805"},"issue":{"href":"https://api.github.com/repos/linagora/james-project/issues/1805"},"comments":{"href":"https://api.github.com/repos/linagora/james-project/issues/1805/comments"},"review_comments":{"href":"https://api.github.com/repos/linagora/james-project/pulls/1805/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/1805/commits"},"statuses":{"href":"https://api.github.com/repos/linagora/james-project/statuses/bdc1d0f086b110c375164ec6f4c64669085074e5"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"trantienduchn"}}