{"action":"created","comment":{"url":"https://api.github.com/repos/apache/ambari/pulls/comments/212968203","pull_request_review_id":149702715,"id":212968203,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjk2ODIwMw==","diff_hunk":"@@ -0,0 +1,89 @@\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, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+package org.apache.ambari.server.upgrade;\n+\n+import static org.apache.ambari.server.configuration.AmbariServerConfigurationCategory.LDAP_CONFIGURATION;\n+import static org.apache.ambari.server.upgrade.UpgradeCatalog270.AMBARI_CONFIGURATION_CATEGORY_NAME_COLUMN;\n+import static org.apache.ambari.server.upgrade.UpgradeCatalog270.AMBARI_CONFIGURATION_PROPERTY_NAME_COLUMN;\n+import static org.apache.ambari.server.upgrade.UpgradeCatalog270.AMBARI_CONFIGURATION_TABLE;\n+\n+import java.sql.SQLException;\n+\n+import org.apache.ambari.server.AmbariException;\n+import org.slf4j.Logger;\n+import org.slf4j.LoggerFactory;\n+\n+import com.google.inject.Inject;\n+import com.google.inject.Injector;\n+\n+/**\n+ * The {@link UpgradeCatalog272} upgrades Ambari from 2.7.1 to 2.7.2.\n+ */\n+public class UpgradeCatalog272 extends AbstractUpgradeCatalog {\n+\n+  private static final Logger LOG = LoggerFactory.getLogger(UpgradeCatalog272.class);\n+\n+  private static final String LDAP_CONFIGURATION_WRONG_COLLISION_BEHAVIOR_PROPERTY_NAME = \"ambari.ldap.advance.collision_behavior\";\n+  private static final String LDAP_CONFIGURATION_CORRECT_COLLISION_BEHAVIOR_PROPERTY_NAME = \"ambari.ldap.advanced.collision_behavior\";\n+  static final String RENAME_COLLISION_BEHAVIOR_PROPERTY_SQL = String.format(\"UPDATE %s SET %s = '%s' WHERE %s = '%s' AND %s = '%s'\", AMBARI_CONFIGURATION_TABLE,\n+      AMBARI_CONFIGURATION_PROPERTY_NAME_COLUMN, LDAP_CONFIGURATION_CORRECT_COLLISION_BEHAVIOR_PROPERTY_NAME, AMBARI_CONFIGURATION_CATEGORY_NAME_COLUMN,\n+      LDAP_CONFIGURATION.getCategoryName(), AMBARI_CONFIGURATION_PROPERTY_NAME_COLUMN, LDAP_CONFIGURATION_WRONG_COLLISION_BEHAVIOR_PROPERTY_NAME);\n+\n+  @Inject\n+  public UpgradeCatalog272(Injector injector) {\n+    super(injector);\n+  }\n+\n+  @Override\n+  public String getSourceVersion() {\n+    return \"2.7.1\";\n+  }\n+\n+  @Override\n+  public String getTargetVersion() {\n+    return \"2.7.2\";\n+  }\n+\n+  @Override\n+  protected void executeDDLUpdates() throws AmbariException, SQLException {\n+    // nothing to do\n+  }\n+\n+  @Override\n+  protected void executePreDMLUpdates() throws AmbariException, SQLException {\n+    // nothing to do\n+  }\n+\n+  @Override\n+  protected void executeDMLUpdates() throws AmbariException, SQLException {\n+    renameLdapSynchCollisionBehaviorValue();\n+  }\n+\n+  protected int renameLdapSynchCollisionBehaviorValue() throws SQLException {\n+    int numberOfRecordsRenamed = 0;\n+    if (dbAccessor.tableExists(AMBARI_CONFIGURATION_TABLE)) {\n+      LOG.debug(String.format(\"Executing: %s\", RENAME_COLLISION_BEHAVIOR_PROPERTY_SQL));","path":"ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog272.java","position":80,"original_position":80,"commit_id":"4fb20ce28cacdb74a5c855f00689f54bb078281f","original_commit_id":"4fb20ce28cacdb74a5c855f00689f54bb078281f","user":{"login":"adoroszlai","id":6454655,"node_id":"MDQ6VXNlcjY0NTQ2NTU=","avatar_url":"https://avatars2.githubusercontent.com/u/6454655?v=4","gravatar_id":"","url":"https://api.github.com/users/adoroszlai","html_url":"https://github.com/adoroszlai","followers_url":"https://api.github.com/users/adoroszlai/followers","following_url":"https://api.github.com/users/adoroszlai/following{/other_user}","gists_url":"https://api.github.com/users/adoroszlai/gists{/gist_id}","starred_url":"https://api.github.com/users/adoroszlai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adoroszlai/subscriptions","organizations_url":"https://api.github.com/users/adoroszlai/orgs","repos_url":"https://api.github.com/users/adoroszlai/repos","events_url":"https://api.github.com/users/adoroszlai/events{/privacy}","received_events_url":"https://api.github.com/users/adoroszlai/received_events","type":"User","site_admin":false},"body":"Can you please omit `String.format` and use `{}` placeholders to make it lazy?","created_at":"2018-08-27T13:08:47Z","updated_at":"2018-08-27T13:10:34Z","html_url":"https://github.com/apache/ambari/pull/2174#discussion_r212968203","pull_request_url":"https://api.github.com/repos/apache/ambari/pulls/2174","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/apache/ambari/pulls/comments/212968203"},"html":{"href":"https://github.com/apache/ambari/pull/2174#discussion_r212968203"},"pull_request":{"href":"https://api.github.com/repos/apache/ambari/pulls/2174"}}},"pull_request":{"url":"https://api.github.com/repos/apache/ambari/pulls/2174","id":211098068,"node_id":"MDExOlB1bGxSZXF1ZXN0MjExMDk4MDY4","html_url":"https://github.com/apache/ambari/pull/2174","diff_url":"https://github.com/apache/ambari/pull/2174.diff","patch_url":"https://github.com/apache/ambari/pull/2174.patch","issue_url":"https://api.github.com/repos/apache/ambari/issues/2174","number":2174,"state":"open","locked":false,"title":"AMBARI-24542. Fixing typo in LDAP configuration property name","user":{"login":"smolnar82","id":34065904,"node_id":"MDQ6VXNlcjM0MDY1OTA0","avatar_url":"https://avatars3.githubusercontent.com/u/34065904?v=4","gravatar_id":"","url":"https://api.github.com/users/smolnar82","html_url":"https://github.com/smolnar82","followers_url":"https://api.github.com/users/smolnar82/followers","following_url":"https://api.github.com/users/smolnar82/following{/other_user}","gists_url":"https://api.github.com/users/smolnar82/gists{/gist_id}","starred_url":"https://api.github.com/users/smolnar82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smolnar82/subscriptions","organizations_url":"https://api.github.com/users/smolnar82/orgs","repos_url":"https://api.github.com/users/smolnar82/repos","events_url":"https://api.github.com/users/smolnar82/events{/privacy}","received_events_url":"https://api.github.com/users/smolnar82/received_events","type":"User","site_admin":false},"body":"## What changes were proposed in this pull request?\r\n\r\nIn Ambari 2.7 we moved LDAP configuration into the Ambari DB and introduced common naming pattern. However a typo has been made in `ambari.ldap.advance.collision_behavior` This should be renamed to `ambari.ldap.advanced.collision_behavior`\r\n\r\n## How was this patch tested?\r\n\r\nIn addition to executing unit tests in `ambari-server` I simulated an Ambari server upgrade from 2.7.1 to 2.7.2:\r\n\r\n1. had an Ambari 2.7.1 in my test environment\r\n2. I configured LDAP using the 2.7.1 `setupSecurity.py`\r\n3. updated `/var/lib/ambari-server/resources/version to 2.7.2\r\n4. run `ambari-server upgrade`\r\n\r\nIn the DB I found the correct property name; in the log I found the trace:\r\n```\r\n2018-08-27 13:21:55,770  INFO [main] SchemaUpgradeHelper:232 - Executing DML changes.\r\n2018-08-27 13:21:55,781  DEBUG [main] UpgradeCatalog272:80 - Executing: UPDATE ambari_configuration SET property_name = 'ambari.ldap.advanced.collision_behavior' WHERE category_name = 'ldap-configuration' AND property_name = 'ambari.ldap.advance.collision_behavior'\r\n2018-08-27 13:21:55,783  INFO [main] UpgradeCatalog272:82 - Renamed 1 record with incorrect LDAP configuration property name\r\n```\r\n\r\nBesides this I tested if the new `ambari-server setup-ldap` works as expected.","created_at":"2018-08-27T12:44:00Z","updated_at":"2018-08-27T13:10:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fb27e6942921b41b4e48bfddaaa9aa5307f7619e","assignee":{"login":"smolnar82","id":34065904,"node_id":"MDQ6VXNlcjM0MDY1OTA0","avatar_url":"https://avatars3.githubusercontent.com/u/34065904?v=4","gravatar_id":"","url":"https://api.github.com/users/smolnar82","html_url":"https://github.com/smolnar82","followers_url":"https://api.github.com/users/smolnar82/followers","following_url":"https://api.github.com/users/smolnar82/following{/other_user}","gists_url":"https://api.github.com/users/smolnar82/gists{/gist_id}","starred_url":"https://api.github.com/users/smolnar82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smolnar82/subscriptions","organizations_url":"https://api.github.com/users/smolnar82/orgs","repos_url":"https://api.github.com/users/smolnar82/repos","events_url":"https://api.github.com/users/smolnar82/events{/privacy}","received_events_url":"https://api.github.com/users/smolnar82/received_events","type":"User","site_admin":false},"assignees":[{"login":"smolnar82","id":34065904,"node_id":"MDQ6VXNlcjM0MDY1OTA0","avatar_url":"https://avatars3.githubusercontent.com/u/34065904?v=4","gravatar_id":"","url":"https://api.github.com/users/smolnar82","html_url":"https://github.com/smolnar82","followers_url":"https://api.github.com/users/smolnar82/followers","following_url":"https://api.github.com/users/smolnar82/following{/other_user}","gists_url":"https://api.github.com/users/smolnar82/gists{/gist_id}","starred_url":"https://api.github.com/users/smolnar82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smolnar82/subscriptions","organizations_url":"https://api.github.com/users/smolnar82/orgs","repos_url":"https://api.github.com/users/smolnar82/repos","events_url":"https://api.github.com/users/smolnar82/events{/privacy}","received_events_url":"https://api.github.com/users/smolnar82/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"rlevas","id":7302947,"node_id":"MDQ6VXNlcjczMDI5NDc=","avatar_url":"https://avatars3.githubusercontent.com/u/7302947?v=4","gravatar_id":"","url":"https://api.github.com/users/rlevas","html_url":"https://github.com/rlevas","followers_url":"https://api.github.com/users/rlevas/followers","following_url":"https://api.github.com/users/rlevas/following{/other_user}","gists_url":"https://api.github.com/users/rlevas/gists{/gist_id}","starred_url":"https://api.github.com/users/rlevas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlevas/subscriptions","organizations_url":"https://api.github.com/users/rlevas/orgs","repos_url":"https://api.github.com/users/rlevas/repos","events_url":"https://api.github.com/users/rlevas/events{/privacy}","received_events_url":"https://api.github.com/users/rlevas/received_events","type":"User","site_admin":false},{"login":"kasakrisz","id":33458261,"node_id":"MDQ6VXNlcjMzNDU4MjYx","avatar_url":"https://avatars1.githubusercontent.com/u/33458261?v=4","gravatar_id":"","url":"https://api.github.com/users/kasakrisz","html_url":"https://github.com/kasakrisz","followers_url":"https://api.github.com/users/kasakrisz/followers","following_url":"https://api.github.com/users/kasakrisz/following{/other_user}","gists_url":"https://api.github.com/users/kasakrisz/gists{/gist_id}","starred_url":"https://api.github.com/users/kasakrisz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasakrisz/subscriptions","organizations_url":"https://api.github.com/users/kasakrisz/orgs","repos_url":"https://api.github.com/users/kasakrisz/repos","events_url":"https://api.github.com/users/kasakrisz/events{/privacy}","received_events_url":"https://api.github.com/users/kasakrisz/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":822832027,"node_id":"MDU6TGFiZWw4MjI4MzIwMjc=","url":"https://api.github.com/repos/apache/ambari/labels/LDAP","name":"LDAP","color":"d8f989","default":false},{"id":801664623,"node_id":"MDU6TGFiZWw4MDE2NjQ2MjM=","url":"https://api.github.com/repos/apache/ambari/labels/security","name":"security","color":"006b75","default":false},{"id":801973460,"node_id":"MDU6TGFiZWw4MDE5NzM0NjA=","url":"https://api.github.com/repos/apache/ambari/labels/server%20setup","name":"server setup","color":"af2632","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/apache/ambari/pulls/2174/commits","review_comments_url":"https://api.github.com/repos/apache/ambari/pulls/2174/comments","review_comment_url":"https://api.github.com/repos/apache/ambari/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/ambari/issues/2174/comments","statuses_url":"https://api.github.com/repos/apache/ambari/statuses/4fb20ce28cacdb74a5c855f00689f54bb078281f","head":{"label":"smolnar82:AMBARI-24542","ref":"AMBARI-24542","sha":"4fb20ce28cacdb74a5c855f00689f54bb078281f","user":{"login":"smolnar82","id":34065904,"node_id":"MDQ6VXNlcjM0MDY1OTA0","avatar_url":"https://avatars3.githubusercontent.com/u/34065904?v=4","gravatar_id":"","url":"https://api.github.com/users/smolnar82","html_url":"https://github.com/smolnar82","followers_url":"https://api.github.com/users/smolnar82/followers","following_url":"https://api.github.com/users/smolnar82/following{/other_user}","gists_url":"https://api.github.com/users/smolnar82/gists{/gist_id}","starred_url":"https://api.github.com/users/smolnar82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smolnar82/subscriptions","organizations_url":"https://api.github.com/users/smolnar82/orgs","repos_url":"https://api.github.com/users/smolnar82/repos","events_url":"https://api.github.com/users/smolnar82/events{/privacy}","received_events_url":"https://api.github.com/users/smolnar82/received_events","type":"User","site_admin":false},"repo":{"id":116741551,"node_id":"MDEwOlJlcG9zaXRvcnkxMTY3NDE1NTE=","name":"ambari","full_name":"smolnar82/ambari","owner":{"login":"smolnar82","id":34065904,"node_id":"MDQ6VXNlcjM0MDY1OTA0","avatar_url":"https://avatars3.githubusercontent.com/u/34065904?v=4","gravatar_id":"","url":"https://api.github.com/users/smolnar82","html_url":"https://github.com/smolnar82","followers_url":"https://api.github.com/users/smolnar82/followers","following_url":"https://api.github.com/users/smolnar82/following{/other_user}","gists_url":"https://api.github.com/users/smolnar82/gists{/gist_id}","starred_url":"https://api.github.com/users/smolnar82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smolnar82/subscriptions","organizations_url":"https://api.github.com/users/smolnar82/orgs","repos_url":"https://api.github.com/users/smolnar82/repos","events_url":"https://api.github.com/users/smolnar82/events{/privacy}","received_events_url":"https://api.github.com/users/smolnar82/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/smolnar82/ambari","description":"Mirror of Apache Ambari","fork":true,"url":"https://api.github.com/repos/smolnar82/ambari","forks_url":"https://api.github.com/repos/smolnar82/ambari/forks","keys_url":"https://api.github.com/repos/smolnar82/ambari/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smolnar82/ambari/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smolnar82/ambari/teams","hooks_url":"https://api.github.com/repos/smolnar82/ambari/hooks","issue_events_url":"https://api.github.com/repos/smolnar82/ambari/issues/events{/number}","events_url":"https://api.github.com/repos/smolnar82/ambari/events","assignees_url":"https://api.github.com/repos/smolnar82/ambari/assignees{/user}","branches_url":"https://api.github.com/repos/smolnar82/ambari/branches{/branch}","tags_url":"https://api.github.com/repos/smolnar82/ambari/tags","blobs_url":"https://api.github.com/repos/smolnar82/ambari/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smolnar82/ambari/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smolnar82/ambari/git/refs{/sha}","trees_url":"https://api.github.com/repos/smolnar82/ambari/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smolnar82/ambari/statuses/{sha}","languages_url":"https://api.github.com/repos/smolnar82/ambari/languages","stargazers_url":"https://api.github.com/repos/smolnar82/ambari/stargazers","contributors_url":"https://api.github.com/repos/smolnar82/ambari/contributors","subscribers_url":"https://api.github.com/repos/smolnar82/ambari/subscribers","subscription_url":"https://api.github.com/repos/smolnar82/ambari/subscription","commits_url":"https://api.github.com/repos/smolnar82/ambari/commits{/sha}","git_commits_url":"https://api.github.com/repos/smolnar82/ambari/git/commits{/sha}","comments_url":"https://api.github.com/repos/smolnar82/ambari/comments{/number}","issue_comment_url":"https://api.github.com/repos/smolnar82/ambari/issues/comments{/number}","contents_url":"https://api.github.com/repos/smolnar82/ambari/contents/{+path}","compare_url":"https://api.github.com/repos/smolnar82/ambari/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smolnar82/ambari/merges","archive_url":"https://api.github.com/repos/smolnar82/ambari/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smolnar82/ambari/downloads","issues_url":"https://api.github.com/repos/smolnar82/ambari/issues{/number}","pulls_url":"https://api.github.com/repos/smolnar82/ambari/pulls{/number}","milestones_url":"https://api.github.com/repos/smolnar82/ambari/milestones{/number}","notifications_url":"https://api.github.com/repos/smolnar82/ambari/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smolnar82/ambari/labels{/name}","releases_url":"https://api.github.com/repos/smolnar82/ambari/releases{/id}","deployments_url":"https://api.github.com/repos/smolnar82/ambari/deployments","created_at":"2018-01-08T23:46:15Z","updated_at":"2018-08-27T11:57:59Z","pushed_at":"2018-08-27T12:56:04Z","git_url":"git://github.com/smolnar82/ambari.git","ssh_url":"git@github.com:smolnar82/ambari.git","clone_url":"https://github.com/smolnar82/ambari.git","svn_url":"https://github.com/smolnar82/ambari","homepage":null,"size":320303,"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":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"trunk"}},"base":{"label":"apache:trunk","ref":"trunk","sha":"872494eade848cad09eef7c81997a43bdce9b34c","user":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":2442457,"node_id":"MDEwOlJlcG9zaXRvcnkyNDQyNDU3","name":"ambari","full_name":"apache/ambari","owner":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/ambari","description":"Mirror of Apache Ambari","fork":false,"url":"https://api.github.com/repos/apache/ambari","forks_url":"https://api.github.com/repos/apache/ambari/forks","keys_url":"https://api.github.com/repos/apache/ambari/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/ambari/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/ambari/teams","hooks_url":"https://api.github.com/repos/apache/ambari/hooks","issue_events_url":"https://api.github.com/repos/apache/ambari/issues/events{/number}","events_url":"https://api.github.com/repos/apache/ambari/events","assignees_url":"https://api.github.com/repos/apache/ambari/assignees{/user}","branches_url":"https://api.github.com/repos/apache/ambari/branches{/branch}","tags_url":"https://api.github.com/repos/apache/ambari/tags","blobs_url":"https://api.github.com/repos/apache/ambari/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/ambari/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/ambari/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/ambari/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/ambari/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/ambari/languages","stargazers_url":"https://api.github.com/repos/apache/ambari/stargazers","contributors_url":"https://api.github.com/repos/apache/ambari/contributors","subscribers_url":"https://api.github.com/repos/apache/ambari/subscribers","subscription_url":"https://api.github.com/repos/apache/ambari/subscription","commits_url":"https://api.github.com/repos/apache/ambari/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/ambari/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/ambari/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/ambari/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/ambari/contents/{+path}","compare_url":"https://api.github.com/repos/apache/ambari/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/ambari/merges","archive_url":"https://api.github.com/repos/apache/ambari/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/ambari/downloads","issues_url":"https://api.github.com/repos/apache/ambari/issues{/number}","pulls_url":"https://api.github.com/repos/apache/ambari/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/ambari/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/ambari/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/ambari/labels{/name}","releases_url":"https://api.github.com/repos/apache/ambari/releases{/id}","deployments_url":"https://api.github.com/repos/apache/ambari/deployments","created_at":"2011-09-23T07:00:08Z","updated_at":"2018-08-27T12:37:01Z","pushed_at":"2018-08-27T12:56:05Z","git_url":"git://github.com/apache/ambari.git","ssh_url":"git@github.com:apache/ambari.git","clone_url":"https://github.com/apache/ambari.git","svn_url":"https://github.com/apache/ambari","homepage":null,"size":332991,"stargazers_count":905,"watchers_count":905,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":920,"mirror_url":null,"archived":false,"open_issues_count":63,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":920,"open_issues":63,"watchers":905,"default_branch":"trunk"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/ambari/pulls/2174"},"html":{"href":"https://github.com/apache/ambari/pull/2174"},"issue":{"href":"https://api.github.com/repos/apache/ambari/issues/2174"},"comments":{"href":"https://api.github.com/repos/apache/ambari/issues/2174/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/ambari/pulls/2174/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/ambari/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/ambari/pulls/2174/commits"},"statuses":{"href":"https://api.github.com/repos/apache/ambari/statuses/4fb20ce28cacdb74a5c855f00689f54bb078281f"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"adoroszlai"}}