{"action":"created","comment":{"url":"https://api.github.com/repos/SonarSource/sonarqube/pulls/comments/87137045","pull_request_review_id":7760458,"id":87137045,"diff_hunk":"@@ -0,0 +1,242 @@\n+/*\n+ * SonarQube\n+ * Copyright (C) 2009-2016 SonarSource SA\n+ * mailto:contact AT sonarsource DOT com\n+ *\n+ * This program is free software; you can redistribute it and/or\n+ * modify it under the terms of the GNU Lesser General Public\n+ * License as published by the Free Software Foundation; either\n+ * version 3 of the License, or (at your option) any later version.\n+ *\n+ * This program is distributed in the hope that it will be useful,\n+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\n+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n+ * Lesser General Public License for more details.\n+ *\n+ * You should have received a copy of the GNU Lesser General Public License\n+ * along with this program; if not, write to the Free Software Foundation,\n+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.\n+ */\n+package org.sonarqube.ws.client;\n+\n+import java.io.FileInputStream;\n+import java.io.IOException;\n+import java.net.Proxy;\n+import java.security.GeneralSecurityException;\n+import java.security.KeyStore;\n+import java.util.Arrays;\n+import java.util.concurrent.TimeUnit;\n+import javax.annotation.Nullable;\n+import javax.net.ssl.KeyManager;\n+import javax.net.ssl.KeyManagerFactory;\n+import javax.net.ssl.SSLContext;\n+import javax.net.ssl.SSLSocketFactory;\n+import javax.net.ssl.TrustManager;\n+import javax.net.ssl.TrustManagerFactory;\n+import javax.net.ssl.X509TrustManager;\n+import okhttp3.ConnectionSpec;\n+import okhttp3.Credentials;\n+import okhttp3.Interceptor;\n+import okhttp3.OkHttpClient;\n+import okhttp3.Request;\n+import okhttp3.Response;\n+\n+import static com.google.common.base.Strings.nullToEmpty;\n+import static java.util.Arrays.asList;\n+\n+/**\n+ * Helper to build an instance of {@link okhttp3.OkHttpClient} that\n+ * correctly supports HTTPS and proxy authentication. It also handles\n+ * sending of User-Agent header.\n+ */\n+public class OkHttpClientBuilder {\n+\n+  private static final String NONE = \"NONE\";\n+  private static final String P11KEYSTORE = \"PKCS11\";\n+\n+  private String userAgent;\n+  private Proxy proxy;\n+  private String proxyLogin;\n+  private String proxyPassword;\n+  private long connectTimeoutMs = -1;\n+  private long readTimeoutMs = -1;\n+\n+  /**\n+   * Optional User-Agent. If set, then all the requests sent by the\n+   * {@link OkHttpClient} will include the header \"User-Agent\".\n+   */\n+  public OkHttpClientBuilder setUserAgent(@Nullable String s) {\n+    this.userAgent = s;\n+    return this;\n+  }\n+\n+  /**\n+   * Optional proxy. If set, then all the requests sent by the\n+   * {@link OkHttpClient} will reach the proxy. If not set,\n+   * then the system-wide proxy is used.\n+   */\n+  public OkHttpClientBuilder setProxy(@Nullable Proxy proxy) {\n+    this.proxy = proxy;\n+    return this;\n+  }\n+\n+  /**\n+   * Login required for proxy authentication.\n+   */\n+  public OkHttpClientBuilder setProxyLogin(@Nullable String s) {\n+    this.proxyLogin = s;\n+    return this;\n+  }\n+\n+  /**\n+   * Password used for proxy authentication. It is ignored if\n+   * proxy login is not defined (see {@link #setProxyLogin(String)}).\n+   * It can be null or empty when login is defined.\n+   */\n+  public OkHttpClientBuilder setProxyPassword(@Nullable String s) {\n+    this.proxyPassword = s;\n+    return this;\n+  }\n+\n+  /**\n+   * Sets the default connect timeout for new connections. A value of 0 means no timeout.\n+   * Default is defined by OkHttp (10 seconds in OkHttp 3.3).\n+   */\n+  public OkHttpClientBuilder setConnectTimeoutMs(long connectTimeoutMs) {\n+    this.connectTimeoutMs = connectTimeoutMs;\n+    return this;\n+  }\n+\n+  /**\n+   * Sets the default read timeout for new connections. A value of 0 means no timeout.\n+   * Default is defined by OkHttp (10 seconds in OkHttp 3.3).\n+   */\n+  public OkHttpClientBuilder setReadTimeoutMs(long readTimeoutMs) {\n+    this.readTimeoutMs = readTimeoutMs;\n+    return this;\n+  }\n+\n+  public OkHttpClient build() {\n+    OkHttpClient.Builder builder = new OkHttpClient.Builder();\n+    builder.proxy(proxy);\n+    if (connectTimeoutMs >= 0) {\n+      builder.connectTimeout(connectTimeoutMs, TimeUnit.MILLISECONDS);\n+    }\n+    if (readTimeoutMs >= 0) {\n+      builder.readTimeout(readTimeoutMs, TimeUnit.MILLISECONDS);\n+    }\n+    builder.addInterceptor(this::completeHeaders);\n+\n+    ConnectionSpec tls = new ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS)\n+      .allEnabledTlsVersions()\n+      .allEnabledCipherSuites()\n+      .supportsTlsExtensions(true)\n+      .build();\n+    builder.connectionSpecs(asList(tls, ConnectionSpec.CLEARTEXT));\n+    X509TrustManager systemDefaultTrustManager = systemDefaultTrustManager();\n+    builder.sslSocketFactory(systemDefaultSslSocketFactory(systemDefaultTrustManager), systemDefaultTrustManager);\n+\n+    return builder.build();\n+  }\n+\n+  private Response completeHeaders(Interceptor.Chain chain) throws IOException {\n+    Request.Builder newRequest = chain.request().newBuilder();\n+    if (userAgent != null) {\n+      newRequest.header(\"User-Agent\", userAgent);\n+    }\n+    if (proxyLogin != null) {\n+      newRequest.header(\"Proxy-Authorization\", Credentials.basic(proxyLogin, nullToEmpty(proxyPassword)));\n+    }\n+    return chain.proceed(newRequest.build());\n+  }\n+\n+  private static X509TrustManager systemDefaultTrustManager() {\n+    try {\n+      TrustManagerFactory trustManagerFactory = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm());\n+      trustManagerFactory.init((KeyStore) null);\n+      TrustManager[] trustManagers = trustManagerFactory.getTrustManagers();\n+      if (trustManagers.length != 1 || !(trustManagers[0] instanceof X509TrustManager)) {\n+        throw new IllegalStateException(\"Unexpected default trust managers:\" + Arrays.toString(trustManagers));\n+      }\n+      return (X509TrustManager) trustManagers[0];\n+    } catch (GeneralSecurityException e) {\n+      // The system has no TLS. Just give up.\n+      throw new AssertionError(e);\n+    }\n+  }\n+\n+  private static SSLSocketFactory systemDefaultSslSocketFactory(X509TrustManager trustManager) {\n+    KeyManager[] defaultKeyManager;\n+    try {\n+      defaultKeyManager = getDefaultKeyManager();\n+    } catch (Exception e) {\n+      throw new IllegalStateException(\"Unable to get default key manager\", e);\n+    }\n+    try {\n+      SSLContext sslContext = SSLContext.getInstance(\"TLS\");\n+      sslContext.init(defaultKeyManager, new TrustManager[] {trustManager}, null);\n+      return sslContext.getSocketFactory();\n+    } catch (GeneralSecurityException e) {\n+      // The system has no TLS. Just give up.\n+      throw new AssertionError(e);\n+    }\n+  }\n+\n+  private static void logDebug(String msg) {\n+    boolean debugEnabled = \"all\".equals(System.getProperty(\"javax.net.debug\"));\n+    if (debugEnabled) {\n+      System.out.println(msg);\n+    }\n+  }\n+\n+  /**\n+   * Inspired from sun.security.ssl.SSLContextImpl#getDefaultKeyManager()\n+   */\n+  private static synchronized KeyManager[] getDefaultKeyManager() throws Exception {","path":"sonar-ws/src/main/java/org/sonarqube/ws/client/OkHttpClientBuilder.java","position":195,"original_position":195,"commit_id":"abaaab800592e3e1c4c506f7b9a05eb3b28749f0","original_commit_id":"abaaab800592e3e1c4c506f7b9a05eb3b28749f0","user":{"login":"SonarTech","id":1842438,"avatar_url":"https://avatars.githubusercontent.com/u/1842438?v=3","gravatar_id":"","url":"https://api.github.com/users/SonarTech","html_url":"https://github.com/SonarTech","followers_url":"https://api.github.com/users/SonarTech/followers","following_url":"https://api.github.com/users/SonarTech/following{/other_user}","gists_url":"https://api.github.com/users/SonarTech/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarTech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarTech/subscriptions","organizations_url":"https://api.github.com/users/SonarTech/orgs","repos_url":"https://api.github.com/users/SonarTech/repos","events_url":"https://api.github.com/users/SonarTech/events{/privacy}","received_events_url":"https://api.github.com/users/SonarTech/received_events","type":"User","site_admin":false},"body":"![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) Define and throw a dedicated exception instead of using a generic one. [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](https://dory.sonarsource.com/sonarqube/coding_rules#rule_key=squid%3AS00112)\n","created_at":"2016-11-09T06:04:53Z","updated_at":"2016-11-09T06:04:53Z","html_url":"https://github.com/SonarSource/sonarqube/pull/1369#discussion_r87137045","pull_request_url":"https://api.github.com/repos/SonarSource/sonarqube/pulls/1369","_links":{"self":{"href":"https://api.github.com/repos/SonarSource/sonarqube/pulls/comments/87137045"},"html":{"href":"https://github.com/SonarSource/sonarqube/pull/1369#discussion_r87137045"},"pull_request":{"href":"https://api.github.com/repos/SonarSource/sonarqube/pulls/1369"}}},"pull_request":{"url":"https://api.github.com/repos/SonarSource/sonarqube/pulls/1369","id":92908234,"html_url":"https://github.com/SonarSource/sonarqube/pull/1369","diff_url":"https://github.com/SonarSource/sonarqube/pull/1369.diff","patch_url":"https://github.com/SonarSource/sonarqube/pull/1369.patch","issue_url":"https://api.github.com/repos/SonarSource/sonarqube/issues/1369","number":1369,"state":"open","locked":false,"title":"SONAR-8349 webhooks","user":{"login":"simonbrandhof","id":414010,"avatar_url":"https://avatars.githubusercontent.com/u/414010?v=3","gravatar_id":"","url":"https://api.github.com/users/simonbrandhof","html_url":"https://github.com/simonbrandhof","followers_url":"https://api.github.com/users/simonbrandhof/followers","following_url":"https://api.github.com/users/simonbrandhof/following{/other_user}","gists_url":"https://api.github.com/users/simonbrandhof/gists{/gist_id}","starred_url":"https://api.github.com/users/simonbrandhof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonbrandhof/subscriptions","organizations_url":"https://api.github.com/users/simonbrandhof/orgs","repos_url":"https://api.github.com/users/simonbrandhof/repos","events_url":"https://api.github.com/users/simonbrandhof/events{/privacy}","received_events_url":"https://api.github.com/users/simonbrandhof/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-09T05:44:23Z","updated_at":"2016-11-09T06:04:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"649e612e8494406bd6498d3613560c579bd3a4f1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/SonarSource/sonarqube/pulls/1369/commits","review_comments_url":"https://api.github.com/repos/SonarSource/sonarqube/pulls/1369/comments","review_comment_url":"https://api.github.com/repos/SonarSource/sonarqube/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SonarSource/sonarqube/issues/1369/comments","statuses_url":"https://api.github.com/repos/SonarSource/sonarqube/statuses/abaaab800592e3e1c4c506f7b9a05eb3b28749f0","head":{"label":"SonarSource:feature/sb/webhooks","ref":"feature/sb/webhooks","sha":"abaaab800592e3e1c4c506f7b9a05eb3b28749f0","user":{"login":"SonarSource","id":545988,"avatar_url":"https://avatars.githubusercontent.com/u/545988?v=3","gravatar_id":"","url":"https://api.github.com/users/SonarSource","html_url":"https://github.com/SonarSource","followers_url":"https://api.github.com/users/SonarSource/followers","following_url":"https://api.github.com/users/SonarSource/following{/other_user}","gists_url":"https://api.github.com/users/SonarSource/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarSource/subscriptions","organizations_url":"https://api.github.com/users/SonarSource/orgs","repos_url":"https://api.github.com/users/SonarSource/repos","events_url":"https://api.github.com/users/SonarSource/events{/privacy}","received_events_url":"https://api.github.com/users/SonarSource/received_events","type":"Organization","site_admin":false},"repo":{"id":1222504,"name":"sonarqube","full_name":"SonarSource/sonarqube","owner":{"login":"SonarSource","id":545988,"avatar_url":"https://avatars.githubusercontent.com/u/545988?v=3","gravatar_id":"","url":"https://api.github.com/users/SonarSource","html_url":"https://github.com/SonarSource","followers_url":"https://api.github.com/users/SonarSource/followers","following_url":"https://api.github.com/users/SonarSource/following{/other_user}","gists_url":"https://api.github.com/users/SonarSource/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarSource/subscriptions","organizations_url":"https://api.github.com/users/SonarSource/orgs","repos_url":"https://api.github.com/users/SonarSource/repos","events_url":"https://api.github.com/users/SonarSource/events{/privacy}","received_events_url":"https://api.github.com/users/SonarSource/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SonarSource/sonarqube","description":"Continuous Inspection","fork":false,"url":"https://api.github.com/repos/SonarSource/sonarqube","forks_url":"https://api.github.com/repos/SonarSource/sonarqube/forks","keys_url":"https://api.github.com/repos/SonarSource/sonarqube/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SonarSource/sonarqube/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SonarSource/sonarqube/teams","hooks_url":"https://api.github.com/repos/SonarSource/sonarqube/hooks","issue_events_url":"https://api.github.com/repos/SonarSource/sonarqube/issues/events{/number}","events_url":"https://api.github.com/repos/SonarSource/sonarqube/events","assignees_url":"https://api.github.com/repos/SonarSource/sonarqube/assignees{/user}","branches_url":"https://api.github.com/repos/SonarSource/sonarqube/branches{/branch}","tags_url":"https://api.github.com/repos/SonarSource/sonarqube/tags","blobs_url":"https://api.github.com/repos/SonarSource/sonarqube/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SonarSource/sonarqube/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SonarSource/sonarqube/git/refs{/sha}","trees_url":"https://api.github.com/repos/SonarSource/sonarqube/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SonarSource/sonarqube/statuses/{sha}","languages_url":"https://api.github.com/repos/SonarSource/sonarqube/languages","stargazers_url":"https://api.github.com/repos/SonarSource/sonarqube/stargazers","contributors_url":"https://api.github.com/repos/SonarSource/sonarqube/contributors","subscribers_url":"https://api.github.com/repos/SonarSource/sonarqube/subscribers","subscription_url":"https://api.github.com/repos/SonarSource/sonarqube/subscription","commits_url":"https://api.github.com/repos/SonarSource/sonarqube/commits{/sha}","git_commits_url":"https://api.github.com/repos/SonarSource/sonarqube/git/commits{/sha}","comments_url":"https://api.github.com/repos/SonarSource/sonarqube/comments{/number}","issue_comment_url":"https://api.github.com/repos/SonarSource/sonarqube/issues/comments{/number}","contents_url":"https://api.github.com/repos/SonarSource/sonarqube/contents/{+path}","compare_url":"https://api.github.com/repos/SonarSource/sonarqube/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SonarSource/sonarqube/merges","archive_url":"https://api.github.com/repos/SonarSource/sonarqube/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SonarSource/sonarqube/downloads","issues_url":"https://api.github.com/repos/SonarSource/sonarqube/issues{/number}","pulls_url":"https://api.github.com/repos/SonarSource/sonarqube/pulls{/number}","milestones_url":"https://api.github.com/repos/SonarSource/sonarqube/milestones{/number}","notifications_url":"https://api.github.com/repos/SonarSource/sonarqube/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SonarSource/sonarqube/labels{/name}","releases_url":"https://api.github.com/repos/SonarSource/sonarqube/releases{/id}","deployments_url":"https://api.github.com/repos/SonarSource/sonarqube/deployments","created_at":"2011-01-05T11:05:17Z","updated_at":"2016-11-08T14:43:45Z","pushed_at":"2016-11-09T05:44:24Z","git_url":"git://github.com/SonarSource/sonarqube.git","ssh_url":"git@github.com:SonarSource/sonarqube.git","clone_url":"https://github.com/SonarSource/sonarqube.git","svn_url":"https://github.com/SonarSource/sonarqube","homepage":"http://www.sonarqube.org","size":194210,"stargazers_count":1353,"watchers_count":1353,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":545,"mirror_url":null,"open_issues_count":11,"forks":545,"open_issues":11,"watchers":1353,"default_branch":"master"}},"base":{"label":"SonarSource:master","ref":"master","sha":"7941a52aeb459349a6baedc7de780edcc1d0f295","user":{"login":"SonarSource","id":545988,"avatar_url":"https://avatars.githubusercontent.com/u/545988?v=3","gravatar_id":"","url":"https://api.github.com/users/SonarSource","html_url":"https://github.com/SonarSource","followers_url":"https://api.github.com/users/SonarSource/followers","following_url":"https://api.github.com/users/SonarSource/following{/other_user}","gists_url":"https://api.github.com/users/SonarSource/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarSource/subscriptions","organizations_url":"https://api.github.com/users/SonarSource/orgs","repos_url":"https://api.github.com/users/SonarSource/repos","events_url":"https://api.github.com/users/SonarSource/events{/privacy}","received_events_url":"https://api.github.com/users/SonarSource/received_events","type":"Organization","site_admin":false},"repo":{"id":1222504,"name":"sonarqube","full_name":"SonarSource/sonarqube","owner":{"login":"SonarSource","id":545988,"avatar_url":"https://avatars.githubusercontent.com/u/545988?v=3","gravatar_id":"","url":"https://api.github.com/users/SonarSource","html_url":"https://github.com/SonarSource","followers_url":"https://api.github.com/users/SonarSource/followers","following_url":"https://api.github.com/users/SonarSource/following{/other_user}","gists_url":"https://api.github.com/users/SonarSource/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarSource/subscriptions","organizations_url":"https://api.github.com/users/SonarSource/orgs","repos_url":"https://api.github.com/users/SonarSource/repos","events_url":"https://api.github.com/users/SonarSource/events{/privacy}","received_events_url":"https://api.github.com/users/SonarSource/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SonarSource/sonarqube","description":"Continuous Inspection","fork":false,"url":"https://api.github.com/repos/SonarSource/sonarqube","forks_url":"https://api.github.com/repos/SonarSource/sonarqube/forks","keys_url":"https://api.github.com/repos/SonarSource/sonarqube/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SonarSource/sonarqube/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SonarSource/sonarqube/teams","hooks_url":"https://api.github.com/repos/SonarSource/sonarqube/hooks","issue_events_url":"https://api.github.com/repos/SonarSource/sonarqube/issues/events{/number}","events_url":"https://api.github.com/repos/SonarSource/sonarqube/events","assignees_url":"https://api.github.com/repos/SonarSource/sonarqube/assignees{/user}","branches_url":"https://api.github.com/repos/SonarSource/sonarqube/branches{/branch}","tags_url":"https://api.github.com/repos/SonarSource/sonarqube/tags","blobs_url":"https://api.github.com/repos/SonarSource/sonarqube/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SonarSource/sonarqube/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SonarSource/sonarqube/git/refs{/sha}","trees_url":"https://api.github.com/repos/SonarSource/sonarqube/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SonarSource/sonarqube/statuses/{sha}","languages_url":"https://api.github.com/repos/SonarSource/sonarqube/languages","stargazers_url":"https://api.github.com/repos/SonarSource/sonarqube/stargazers","contributors_url":"https://api.github.com/repos/SonarSource/sonarqube/contributors","subscribers_url":"https://api.github.com/repos/SonarSource/sonarqube/subscribers","subscription_url":"https://api.github.com/repos/SonarSource/sonarqube/subscription","commits_url":"https://api.github.com/repos/SonarSource/sonarqube/commits{/sha}","git_commits_url":"https://api.github.com/repos/SonarSource/sonarqube/git/commits{/sha}","comments_url":"https://api.github.com/repos/SonarSource/sonarqube/comments{/number}","issue_comment_url":"https://api.github.com/repos/SonarSource/sonarqube/issues/comments{/number}","contents_url":"https://api.github.com/repos/SonarSource/sonarqube/contents/{+path}","compare_url":"https://api.github.com/repos/SonarSource/sonarqube/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SonarSource/sonarqube/merges","archive_url":"https://api.github.com/repos/SonarSource/sonarqube/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SonarSource/sonarqube/downloads","issues_url":"https://api.github.com/repos/SonarSource/sonarqube/issues{/number}","pulls_url":"https://api.github.com/repos/SonarSource/sonarqube/pulls{/number}","milestones_url":"https://api.github.com/repos/SonarSource/sonarqube/milestones{/number}","notifications_url":"https://api.github.com/repos/SonarSource/sonarqube/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SonarSource/sonarqube/labels{/name}","releases_url":"https://api.github.com/repos/SonarSource/sonarqube/releases{/id}","deployments_url":"https://api.github.com/repos/SonarSource/sonarqube/deployments","created_at":"2011-01-05T11:05:17Z","updated_at":"2016-11-08T14:43:45Z","pushed_at":"2016-11-09T05:44:24Z","git_url":"git://github.com/SonarSource/sonarqube.git","ssh_url":"git@github.com:SonarSource/sonarqube.git","clone_url":"https://github.com/SonarSource/sonarqube.git","svn_url":"https://github.com/SonarSource/sonarqube","homepage":"http://www.sonarqube.org","size":194210,"stargazers_count":1353,"watchers_count":1353,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":545,"mirror_url":null,"open_issues_count":11,"forks":545,"open_issues":11,"watchers":1353,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SonarSource/sonarqube/pulls/1369"},"html":{"href":"https://github.com/SonarSource/sonarqube/pull/1369"},"issue":{"href":"https://api.github.com/repos/SonarSource/sonarqube/issues/1369"},"comments":{"href":"https://api.github.com/repos/SonarSource/sonarqube/issues/1369/comments"},"review_comments":{"href":"https://api.github.com/repos/SonarSource/sonarqube/pulls/1369/comments"},"review_comment":{"href":"https://api.github.com/repos/SonarSource/sonarqube/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SonarSource/sonarqube/pulls/1369/commits"},"statuses":{"href":"https://api.github.com/repos/SonarSource/sonarqube/statuses/abaaab800592e3e1c4c506f7b9a05eb3b28749f0"}}}}
{"actor":{"display_login":"SonarTech"}}