{"action":"created","comment":{"url":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/comments/186523821","pull_request_review_id":118119770,"id":186523821,"diff_hunk":"@@ -0,0 +1,156 @@\n+package auth\n+\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+import (\n+\t\"crypto/sha1\"\n+\t\"encoding/hex\"\n+\t\"encoding/json\"\n+\t\"errors\"\n+\t\"fmt\"\n+\t\"net/http\"\n+\t\"time\"\n+\n+\t\"github.com/apache/incubator-trafficcontrol/lib/go-log\"\n+\t\"github.com/apache/incubator-trafficcontrol/lib/go-tc\"\n+\t\"github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/config\"\n+\t\"github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/tocookie\"\n+\n+\t\"github.com/jmoiron/sqlx\"\n+)\n+\n+const disallowed = \"disallowed\"\n+\n+type passwordForm struct {\n+\tUsername string `json:\"u\"`\n+\tPassword string `json:\"p\"`\n+}\n+\n+func LoginHandler(db *sqlx.DB, cfg config.Config) http.HandlerFunc {\n+\treturn func(w http.ResponseWriter, r *http.Request) {\n+\t\thandleErrs := tc.GetHandleErrorsFunc(w, r)\n+\t\tdefer r.Body.Close()\n+\t\tform := passwordForm{}\n+\t\tif err := json.NewDecoder(r.Body).Decode(&form); err != nil {\n+\t\t\thandleErrs(http.StatusBadRequest, err)\n+\t\t\treturn\n+\t\t}\n+\t\tresp := struct {\n+\t\t\ttc.Alerts\n+\t\t}{}\n+\t\tuserAllowed, err := CheckLocalUserIsAllowed(form, db)\n+\t\tif err != nil {\n+\t\t\tlog.Errorf(\"error checking local user: %s\\n\", err.Error())\n+\t\t}\n+\t\tif userAllowed {\n+\t\t\tauthenticated, err := checkLocalUserPassword(form, db)\n+\t\t\tif err != nil {\n+\t\t\t\tlog.Errorf(\"error checking local user password: %s\\n\", err.Error())\n+\t\t\t}\n+\t\t\tvar ldapErr error\n+\t\t\tif !authenticated {\n+\t\t\t\tif cfg.LDAPEnabled {\n+\t\t\t\t\tauthenticated, ldapErr = checkLDAPUser(form, cfg.ConfigLDAP)\n+\t\t\t\t\tif ldapErr != nil {\n+\t\t\t\t\t\tlog.Errorf(\"error checking ldap user: %s\\n\", ldapErr.Error())\n+\t\t\t\t\t}\n+\t\t\t\t}\n+\t\t\t}\n+\t\t\tif authenticated {\n+\t\t\t\texpiry := time.Now().Add(time.Hour * 6)\n+\t\t\t\tcookie := tocookie.New(form.Username, expiry, cfg.Secrets[0])\n+\t\t\t\thttpCookie := http.Cookie{Name: \"mojolicious\", Value: cookie, Path: \"/\", Expires: expiry, HttpOnly: true}\n+\t\t\t\thttp.SetCookie(w, &httpCookie)\n+\t\t\t\tresp = struct {\n+\t\t\t\t\ttc.Alerts\n+\t\t\t\t}{tc.CreateAlerts(tc.SuccessLevel, \"Successfully logged in.\")}\n+\n+\t\t\t} else {\n+\t\t\t\tresp = struct {\n+\t\t\t\t\ttc.Alerts\n+\t\t\t\t}{tc.CreateAlerts(tc.ErrorLevel, \"Invalid username or password.\")}\n+\t\t\t}\n+\t\t} else {\n+\t\t\tresp = struct {\n+\t\t\t\ttc.Alerts\n+\t\t\t}{tc.CreateAlerts(tc.ErrorLevel, \"Invalid username or password.\")}\n+\t\t}\n+\t\trespBts, err := json.Marshal(resp)\n+\t\tif err != nil {\n+\t\t\thandleErrs(http.StatusInternalServerError, err)\n+\t\t\treturn\n+\t\t}\n+\n+\t\tw.Header().Set(tc.ContentType, tc.ApplicationJson)\n+\t\tfmt.Fprintf(w, \"%s\", respBts)\n+\t}\n+}\n+\n+func CheckLocalUserIsAllowed(form passwordForm, db *sqlx.DB) (bool, error) {\n+\tvar roleName string\n+\terr := db.Get(&roleName, \"SELECT role.name FROM role INNER JOIN tm_user ON tm_user.role = role.id where username=$1\",form.Username)\n+\tif err != nil {\n+\t\treturn false, err\n+\t}\n+\tif roleName != \"\" {\n+\t\tif roleName != disallowed{ //relies on unchanging role name assumption.\n+\t\t\treturn true, nil\n+\t\t}\n+\t}\n+\treturn false, nil\n+}\n+\n+func checkLocalUserPassword(form passwordForm, db *sqlx.DB) (bool, error) {\n+\tvar hashedPassword string\n+\terr := db.Get(&hashedPassword, \"SELECT local_passwd FROM tm_user WHERE username=$1\", form.Username)\n+\tif err != nil {\n+\t\treturn false, err\n+\t}\n+\terr = VerifyPassword(form.Password, hashedPassword)\n+\tif err != nil {\n+\t\tif hashedPassword == sha1Hex(form.Password) {","path":"traffic_ops/traffic_ops_golang/auth/login.go","position":128,"original_position":128,"commit_id":"a38bf0eeb7880553b9cd4c4ca1d9bbe1add1f3f2","original_commit_id":"a38bf0eeb7880553b9cd4c4ca1d9bbe1add1f3f2","user":{"login":"rob05c","id":5113421,"avatar_url":"https://avatars3.githubusercontent.com/u/5113421?v=4","gravatar_id":"","url":"https://api.github.com/users/rob05c","html_url":"https://github.com/rob05c","followers_url":"https://api.github.com/users/rob05c/followers","following_url":"https://api.github.com/users/rob05c/following{/other_user}","gists_url":"https://api.github.com/users/rob05c/gists{/gist_id}","starred_url":"https://api.github.com/users/rob05c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rob05c/subscriptions","organizations_url":"https://api.github.com/users/rob05c/orgs","repos_url":"https://api.github.com/users/rob05c/repos","events_url":"https://api.github.com/users/rob05c/events{/privacy}","received_events_url":"https://api.github.com/users/rob05c/received_events","type":"User","site_admin":false},"body":"Should this be part of `VerifyPassword`?","created_at":"2018-05-07T19:28:38Z","updated_at":"2018-05-07T19:28:39Z","html_url":"https://github.com/apache/incubator-trafficcontrol/pull/2010#discussion_r186523821","pull_request_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/2010","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/comments/186523821"},"html":{"href":"https://github.com/apache/incubator-trafficcontrol/pull/2010#discussion_r186523821"},"pull_request":{"href":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/2010"}}},"pull_request":{"url":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/2010","id":175081275,"html_url":"https://github.com/apache/incubator-trafficcontrol/pull/2010","diff_url":"https://github.com/apache/incubator-trafficcontrol/pull/2010.diff","patch_url":"https://github.com/apache/incubator-trafficcontrol/pull/2010.patch","issue_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/issues/2010","number":2010,"state":"open","locked":false,"title":"Go login","user":{"login":"DylanVolz","id":8104597,"avatar_url":"https://avatars1.githubusercontent.com/u/8104597?v=4","gravatar_id":"","url":"https://api.github.com/users/DylanVolz","html_url":"https://github.com/DylanVolz","followers_url":"https://api.github.com/users/DylanVolz/followers","following_url":"https://api.github.com/users/DylanVolz/following{/other_user}","gists_url":"https://api.github.com/users/DylanVolz/gists{/gist_id}","starred_url":"https://api.github.com/users/DylanVolz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DylanVolz/subscriptions","organizations_url":"https://api.github.com/users/DylanVolz/orgs","repos_url":"https://api.github.com/users/DylanVolz/repos","events_url":"https://api.github.com/users/DylanVolz/events{/privacy}","received_events_url":"https://api.github.com/users/DylanVolz/received_events","type":"User","site_admin":false},"body":"This fixes #1247\r\n\r\nThis PR implements api/1.3/user/login in go. It follows the same login flow as perl (except the token flow):\r\ncheck the local user password using scrypt\r\ncheck the local user password using hash1\r\nif ldap is configured check password using ldap\r\n\r\nif any match the user is logged in.","created_at":"2018-03-14T20:51:24Z","updated_at":"2018-05-07T19:28:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0629f148ed142e2e7865b77f3fe25f3063e749d8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":699082627,"url":"https://api.github.com/repos/apache/incubator-trafficcontrol/labels/Traffic%20Ops%20API%20(golang)","name":"Traffic Ops API (golang)","color":"808080","default":false}],"milestone":{"url":"https://api.github.com/repos/apache/incubator-trafficcontrol/milestones/4","html_url":"https://github.com/apache/incubator-trafficcontrol/milestone/4","labels_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/milestones/4/labels","id":3062236,"number":4,"title":"2.3","description":"","creator":{"login":"rob05c","id":5113421,"avatar_url":"https://avatars3.githubusercontent.com/u/5113421?v=4","gravatar_id":"","url":"https://api.github.com/users/rob05c","html_url":"https://github.com/rob05c","followers_url":"https://api.github.com/users/rob05c/followers","following_url":"https://api.github.com/users/rob05c/following{/other_user}","gists_url":"https://api.github.com/users/rob05c/gists{/gist_id}","starred_url":"https://api.github.com/users/rob05c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rob05c/subscriptions","organizations_url":"https://api.github.com/users/rob05c/orgs","repos_url":"https://api.github.com/users/rob05c/repos","events_url":"https://api.github.com/users/rob05c/events{/privacy}","received_events_url":"https://api.github.com/users/rob05c/received_events","type":"User","site_admin":false},"open_issues":57,"closed_issues":72,"state":"open","created_at":"2018-01-24T21:21:58Z","updated_at":"2018-05-04T17:12:31Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/2010/commits","review_comments_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/2010/comments","review_comment_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/issues/2010/comments","statuses_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/statuses/a38bf0eeb7880553b9cd4c4ca1d9bbe1add1f3f2","head":{"label":"DylanVolz:go-login","ref":"go-login","sha":"a38bf0eeb7880553b9cd4c4ca1d9bbe1add1f3f2","user":{"login":"DylanVolz","id":8104597,"avatar_url":"https://avatars1.githubusercontent.com/u/8104597?v=4","gravatar_id":"","url":"https://api.github.com/users/DylanVolz","html_url":"https://github.com/DylanVolz","followers_url":"https://api.github.com/users/DylanVolz/followers","following_url":"https://api.github.com/users/DylanVolz/following{/other_user}","gists_url":"https://api.github.com/users/DylanVolz/gists{/gist_id}","starred_url":"https://api.github.com/users/DylanVolz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DylanVolz/subscriptions","organizations_url":"https://api.github.com/users/DylanVolz/orgs","repos_url":"https://api.github.com/users/DylanVolz/repos","events_url":"https://api.github.com/users/DylanVolz/events{/privacy}","received_events_url":"https://api.github.com/users/DylanVolz/received_events","type":"User","site_admin":false},"repo":{"id":92419672,"name":"incubator-trafficcontrol","full_name":"DylanVolz/incubator-trafficcontrol","owner":{"login":"DylanVolz","id":8104597,"avatar_url":"https://avatars1.githubusercontent.com/u/8104597?v=4","gravatar_id":"","url":"https://api.github.com/users/DylanVolz","html_url":"https://github.com/DylanVolz","followers_url":"https://api.github.com/users/DylanVolz/followers","following_url":"https://api.github.com/users/DylanVolz/following{/other_user}","gists_url":"https://api.github.com/users/DylanVolz/gists{/gist_id}","starred_url":"https://api.github.com/users/DylanVolz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DylanVolz/subscriptions","organizations_url":"https://api.github.com/users/DylanVolz/orgs","repos_url":"https://api.github.com/users/DylanVolz/repos","events_url":"https://api.github.com/users/DylanVolz/events{/privacy}","received_events_url":"https://api.github.com/users/DylanVolz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DylanVolz/incubator-trafficcontrol","description":"Mirror of Apache Traffic Control (incubating)","fork":true,"url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol","forks_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/forks","keys_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/teams","hooks_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/hooks","issue_events_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/issues/events{/number}","events_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/events","assignees_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/assignees{/user}","branches_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/branches{/branch}","tags_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/tags","blobs_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/git/refs{/sha}","trees_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/statuses/{sha}","languages_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/languages","stargazers_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/stargazers","contributors_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/contributors","subscribers_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/subscribers","subscription_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/subscription","commits_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/commits{/sha}","git_commits_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/git/commits{/sha}","comments_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/comments{/number}","issue_comment_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/issues/comments{/number}","contents_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/contents/{+path}","compare_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/merges","archive_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/downloads","issues_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/issues{/number}","pulls_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/pulls{/number}","milestones_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/milestones{/number}","notifications_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/labels{/name}","releases_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/releases{/id}","deployments_url":"https://api.github.com/repos/DylanVolz/incubator-trafficcontrol/deployments","created_at":"2017-05-25T15:53:31Z","updated_at":"2018-05-03T16:12:37Z","pushed_at":"2018-05-07T15:55:56Z","git_url":"git://github.com/DylanVolz/incubator-trafficcontrol.git","ssh_url":"git@github.com:DylanVolz/incubator-trafficcontrol.git","clone_url":"https://github.com/DylanVolz/incubator-trafficcontrol.git","svn_url":"https://github.com/DylanVolz/incubator-trafficcontrol","homepage":null,"size":71720,"stargazers_count":0,"watchers_count":0,"language":"Perl","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":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"87e96129ff82674186690f8301bb39e662109390","user":{"login":"apache","id":47359,"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":67198520,"name":"incubator-trafficcontrol","full_name":"apache/incubator-trafficcontrol","owner":{"login":"apache","id":47359,"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/incubator-trafficcontrol","description":"Mirror of Apache Traffic Control (incubating)","fork":false,"url":"https://api.github.com/repos/apache/incubator-trafficcontrol","forks_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/forks","keys_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/teams","hooks_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/hooks","issue_events_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/issues/events{/number}","events_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/events","assignees_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/assignees{/user}","branches_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/branches{/branch}","tags_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/tags","blobs_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/languages","stargazers_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/stargazers","contributors_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/contributors","subscribers_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/subscribers","subscription_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/subscription","commits_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/contents/{+path}","compare_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/merges","archive_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/downloads","issues_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/issues{/number}","pulls_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/labels{/name}","releases_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/releases{/id}","deployments_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/deployments","created_at":"2016-09-02T07:00:06Z","updated_at":"2018-05-07T19:10:41Z","pushed_at":"2018-05-07T19:10:35Z","git_url":"git://github.com/apache/incubator-trafficcontrol.git","ssh_url":"git@github.com:apache/incubator-trafficcontrol.git","clone_url":"https://github.com/apache/incubator-trafficcontrol.git","svn_url":"https://github.com/apache/incubator-trafficcontrol","homepage":null,"size":71626,"stargazers_count":125,"watchers_count":125,"language":"Perl","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":105,"mirror_url":null,"archived":false,"open_issues_count":437,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":105,"open_issues":437,"watchers":125,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/2010"},"html":{"href":"https://github.com/apache/incubator-trafficcontrol/pull/2010"},"issue":{"href":"https://api.github.com/repos/apache/incubator-trafficcontrol/issues/2010"},"comments":{"href":"https://api.github.com/repos/apache/incubator-trafficcontrol/issues/2010/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/2010/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/2010/commits"},"statuses":{"href":"https://api.github.com/repos/apache/incubator-trafficcontrol/statuses/a38bf0eeb7880553b9cd4c4ca1d9bbe1add1f3f2"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"rob05c"}}