{"action":"created","comment":{"url":"https://api.github.com/repos/vmware/harbor/pulls/comments/202228145","pull_request_review_id":136887596,"id":202228145,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMjIyODE0NQ==","diff_hunk":"@@ -122,6 +122,21 @@ func initRouters() {\n \n \tbeego.Router(\"/registryproxy/*\", &controllers.RegistryProxy{}, \"*:Handle\")\n \n+\t//APIs for chart repository\n+\tchartRepositoryAPIType := &api.ChartRepositoryAPI{}\n+\tbeego.Router(\"/api/chartserver/health\", chartRepositoryAPIType, \"get:GetHealthStatus\")\n+\tbeego.Router(\"/api/:repo/charts\", chartRepositoryAPIType, \"get:ListCharts\")","path":"src/ui/router.go","position":7,"original_position":7,"commit_id":"88aa9c3ebbef58c25386a1297361e990cacafcdd","original_commit_id":"88aa9c3ebbef58c25386a1297361e990cacafcdd","user":{"login":"reasonerjt","id":2390463,"node_id":"MDQ6VXNlcjIzOTA0NjM=","avatar_url":"https://avatars0.githubusercontent.com/u/2390463?v=4","gravatar_id":"","url":"https://api.github.com/users/reasonerjt","html_url":"https://github.com/reasonerjt","followers_url":"https://api.github.com/users/reasonerjt/followers","following_url":"https://api.github.com/users/reasonerjt/following{/other_user}","gists_url":"https://api.github.com/users/reasonerjt/gists{/gist_id}","starred_url":"https://api.github.com/users/reasonerjt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reasonerjt/subscriptions","organizations_url":"https://api.github.com/users/reasonerjt/orgs","repos_url":"https://api.github.com/users/reasonerjt/repos","events_url":"https://api.github.com/users/reasonerjt/events{/privacy}","received_events_url":"https://api.github.com/users/reasonerjt/received_events","type":"User","site_admin":false},"body":"Suggest we add a prefix to all the chart related APIs, for example `/api/chart_registry/:repo/charts`","created_at":"2018-07-13T02:16:56Z","updated_at":"2018-07-13T03:00:43Z","html_url":"https://github.com/vmware/harbor/pull/5304#discussion_r202228145","pull_request_url":"https://api.github.com/repos/vmware/harbor/pulls/5304","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/vmware/harbor/pulls/comments/202228145"},"html":{"href":"https://github.com/vmware/harbor/pull/5304#discussion_r202228145"},"pull_request":{"href":"https://api.github.com/repos/vmware/harbor/pulls/5304"}}},"pull_request":{"url":"https://api.github.com/repos/vmware/harbor/pulls/5304","id":201165932,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxMTY1OTMy","html_url":"https://github.com/vmware/harbor/pull/5304","diff_url":"https://github.com/vmware/harbor/pull/5304.diff","patch_url":"https://github.com/vmware/harbor/pull/5304.patch","issue_url":"https://api.github.com/repos/vmware/harbor/issues/5304","number":5304,"state":"open","locked":false,"title":"Add API routes of chart repo services in harbor API router","user":{"login":"steven-zou","id":5753287,"node_id":"MDQ6VXNlcjU3NTMyODc=","avatar_url":"https://avatars0.githubusercontent.com/u/5753287?v=4","gravatar_id":"","url":"https://api.github.com/users/steven-zou","html_url":"https://github.com/steven-zou","followers_url":"https://api.github.com/users/steven-zou/followers","following_url":"https://api.github.com/users/steven-zou/following{/other_user}","gists_url":"https://api.github.com/users/steven-zou/gists{/gist_id}","starred_url":"https://api.github.com/users/steven-zou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steven-zou/subscriptions","organizations_url":"https://api.github.com/users/steven-zou/orgs","repos_url":"https://api.github.com/users/steven-zou/repos","events_url":"https://api.github.com/users/steven-zou/events{/privacy}","received_events_url":"https://api.github.com/users/steven-zou/received_events","type":"User","site_admin":false},"body":"**Add API routes of chart repo services in harbor API router**\r\n\r\n- add chart repo API controller\r\n- update GetChartVersion to extract repo name from the request\r\n- update the corresponding UI cases\r\n- update the chart controller initialization process","created_at":"2018-07-13T01:30:15Z","updated_at":"2018-07-13T03:00:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6ca5ba52b53cc187237eb7a5540b9f99a1375fff","assignee":{"login":"reasonerjt","id":2390463,"node_id":"MDQ6VXNlcjIzOTA0NjM=","avatar_url":"https://avatars0.githubusercontent.com/u/2390463?v=4","gravatar_id":"","url":"https://api.github.com/users/reasonerjt","html_url":"https://github.com/reasonerjt","followers_url":"https://api.github.com/users/reasonerjt/followers","following_url":"https://api.github.com/users/reasonerjt/following{/other_user}","gists_url":"https://api.github.com/users/reasonerjt/gists{/gist_id}","starred_url":"https://api.github.com/users/reasonerjt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reasonerjt/subscriptions","organizations_url":"https://api.github.com/users/reasonerjt/orgs","repos_url":"https://api.github.com/users/reasonerjt/repos","events_url":"https://api.github.com/users/reasonerjt/events{/privacy}","received_events_url":"https://api.github.com/users/reasonerjt/received_events","type":"User","site_admin":false},"assignees":[{"login":"reasonerjt","id":2390463,"node_id":"MDQ6VXNlcjIzOTA0NjM=","avatar_url":"https://avatars0.githubusercontent.com/u/2390463?v=4","gravatar_id":"","url":"https://api.github.com/users/reasonerjt","html_url":"https://github.com/reasonerjt","followers_url":"https://api.github.com/users/reasonerjt/followers","following_url":"https://api.github.com/users/reasonerjt/following{/other_user}","gists_url":"https://api.github.com/users/reasonerjt/gists{/gist_id}","starred_url":"https://api.github.com/users/reasonerjt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reasonerjt/subscriptions","organizations_url":"https://api.github.com/users/reasonerjt/orgs","repos_url":"https://api.github.com/users/reasonerjt/repos","events_url":"https://api.github.com/users/reasonerjt/events{/privacy}","received_events_url":"https://api.github.com/users/reasonerjt/received_events","type":"User","site_admin":false},{"login":"ywk253100","id":5835782,"node_id":"MDQ6VXNlcjU4MzU3ODI=","avatar_url":"https://avatars3.githubusercontent.com/u/5835782?v=4","gravatar_id":"","url":"https://api.github.com/users/ywk253100","html_url":"https://github.com/ywk253100","followers_url":"https://api.github.com/users/ywk253100/followers","following_url":"https://api.github.com/users/ywk253100/following{/other_user}","gists_url":"https://api.github.com/users/ywk253100/gists{/gist_id}","starred_url":"https://api.github.com/users/ywk253100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ywk253100/subscriptions","organizations_url":"https://api.github.com/users/ywk253100/orgs","repos_url":"https://api.github.com/users/ywk253100/repos","events_url":"https://api.github.com/users/ywk253100/events{/privacy}","received_events_url":"https://api.github.com/users/ywk253100/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"ywk253100","id":5835782,"node_id":"MDQ6VXNlcjU4MzU3ODI=","avatar_url":"https://avatars3.githubusercontent.com/u/5835782?v=4","gravatar_id":"","url":"https://api.github.com/users/ywk253100","html_url":"https://github.com/ywk253100","followers_url":"https://api.github.com/users/ywk253100/followers","following_url":"https://api.github.com/users/ywk253100/following{/other_user}","gists_url":"https://api.github.com/users/ywk253100/gists{/gist_id}","starred_url":"https://api.github.com/users/ywk253100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ywk253100/subscriptions","organizations_url":"https://api.github.com/users/ywk253100/orgs","repos_url":"https://api.github.com/users/ywk253100/repos","events_url":"https://api.github.com/users/ywk253100/events{/privacy}","received_events_url":"https://api.github.com/users/ywk253100/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":350773817,"node_id":"MDU6TGFiZWwzNTA3NzM4MTc=","url":"https://api.github.com/repos/vmware/harbor/labels/cla-not-required","name":"cla-not-required","color":"159818","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/vmware/harbor/pulls/5304/commits","review_comments_url":"https://api.github.com/repos/vmware/harbor/pulls/5304/comments","review_comment_url":"https://api.github.com/repos/vmware/harbor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vmware/harbor/issues/5304/comments","statuses_url":"https://api.github.com/repos/vmware/harbor/statuses/88aa9c3ebbef58c25386a1297361e990cacafcdd","head":{"label":"steven-zou:chart_repo_supporting","ref":"chart_repo_supporting","sha":"88aa9c3ebbef58c25386a1297361e990cacafcdd","user":{"login":"steven-zou","id":5753287,"node_id":"MDQ6VXNlcjU3NTMyODc=","avatar_url":"https://avatars0.githubusercontent.com/u/5753287?v=4","gravatar_id":"","url":"https://api.github.com/users/steven-zou","html_url":"https://github.com/steven-zou","followers_url":"https://api.github.com/users/steven-zou/followers","following_url":"https://api.github.com/users/steven-zou/following{/other_user}","gists_url":"https://api.github.com/users/steven-zou/gists{/gist_id}","starred_url":"https://api.github.com/users/steven-zou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steven-zou/subscriptions","organizations_url":"https://api.github.com/users/steven-zou/orgs","repos_url":"https://api.github.com/users/steven-zou/repos","events_url":"https://api.github.com/users/steven-zou/events{/privacy}","received_events_url":"https://api.github.com/users/steven-zou/received_events","type":"User","site_admin":false},"repo":{"id":86295940,"node_id":"MDEwOlJlcG9zaXRvcnk4NjI5NTk0MA==","name":"harbor","full_name":"steven-zou/harbor","owner":{"login":"steven-zou","id":5753287,"node_id":"MDQ6VXNlcjU3NTMyODc=","avatar_url":"https://avatars0.githubusercontent.com/u/5753287?v=4","gravatar_id":"","url":"https://api.github.com/users/steven-zou","html_url":"https://github.com/steven-zou","followers_url":"https://api.github.com/users/steven-zou/followers","following_url":"https://api.github.com/users/steven-zou/following{/other_user}","gists_url":"https://api.github.com/users/steven-zou/gists{/gist_id}","starred_url":"https://api.github.com/users/steven-zou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steven-zou/subscriptions","organizations_url":"https://api.github.com/users/steven-zou/orgs","repos_url":"https://api.github.com/users/steven-zou/repos","events_url":"https://api.github.com/users/steven-zou/events{/privacy}","received_events_url":"https://api.github.com/users/steven-zou/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/steven-zou/harbor","description":"An enterprise-class container registry server based on Docker Distribution","fork":true,"url":"https://api.github.com/repos/steven-zou/harbor","forks_url":"https://api.github.com/repos/steven-zou/harbor/forks","keys_url":"https://api.github.com/repos/steven-zou/harbor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/steven-zou/harbor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/steven-zou/harbor/teams","hooks_url":"https://api.github.com/repos/steven-zou/harbor/hooks","issue_events_url":"https://api.github.com/repos/steven-zou/harbor/issues/events{/number}","events_url":"https://api.github.com/repos/steven-zou/harbor/events","assignees_url":"https://api.github.com/repos/steven-zou/harbor/assignees{/user}","branches_url":"https://api.github.com/repos/steven-zou/harbor/branches{/branch}","tags_url":"https://api.github.com/repos/steven-zou/harbor/tags","blobs_url":"https://api.github.com/repos/steven-zou/harbor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/steven-zou/harbor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/steven-zou/harbor/git/refs{/sha}","trees_url":"https://api.github.com/repos/steven-zou/harbor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/steven-zou/harbor/statuses/{sha}","languages_url":"https://api.github.com/repos/steven-zou/harbor/languages","stargazers_url":"https://api.github.com/repos/steven-zou/harbor/stargazers","contributors_url":"https://api.github.com/repos/steven-zou/harbor/contributors","subscribers_url":"https://api.github.com/repos/steven-zou/harbor/subscribers","subscription_url":"https://api.github.com/repos/steven-zou/harbor/subscription","commits_url":"https://api.github.com/repos/steven-zou/harbor/commits{/sha}","git_commits_url":"https://api.github.com/repos/steven-zou/harbor/git/commits{/sha}","comments_url":"https://api.github.com/repos/steven-zou/harbor/comments{/number}","issue_comment_url":"https://api.github.com/repos/steven-zou/harbor/issues/comments{/number}","contents_url":"https://api.github.com/repos/steven-zou/harbor/contents/{+path}","compare_url":"https://api.github.com/repos/steven-zou/harbor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/steven-zou/harbor/merges","archive_url":"https://api.github.com/repos/steven-zou/harbor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/steven-zou/harbor/downloads","issues_url":"https://api.github.com/repos/steven-zou/harbor/issues{/number}","pulls_url":"https://api.github.com/repos/steven-zou/harbor/pulls{/number}","milestones_url":"https://api.github.com/repos/steven-zou/harbor/milestones{/number}","notifications_url":"https://api.github.com/repos/steven-zou/harbor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/steven-zou/harbor/labels{/name}","releases_url":"https://api.github.com/repos/steven-zou/harbor/releases{/id}","deployments_url":"https://api.github.com/repos/steven-zou/harbor/deployments","created_at":"2017-03-27T05:47:38Z","updated_at":"2018-07-02T11:27:48Z","pushed_at":"2018-07-13T01:29:11Z","git_url":"git://github.com/steven-zou/harbor.git","ssh_url":"git@github.com:steven-zou/harbor.git","clone_url":"https://github.com/steven-zou/harbor.git","svn_url":"https://github.com/steven-zou/harbor","homepage":"http://vmware.github.io/harbor/","size":86632,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"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,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"vmware:master","ref":"master","sha":"f7a29363edfdb24982b44276161d507f9475863a","user":{"login":"vmware","id":473334,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzMzNA==","avatar_url":"https://avatars0.githubusercontent.com/u/473334?v=4","gravatar_id":"","url":"https://api.github.com/users/vmware","html_url":"https://github.com/vmware","followers_url":"https://api.github.com/users/vmware/followers","following_url":"https://api.github.com/users/vmware/following{/other_user}","gists_url":"https://api.github.com/users/vmware/gists{/gist_id}","starred_url":"https://api.github.com/users/vmware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmware/subscriptions","organizations_url":"https://api.github.com/users/vmware/orgs","repos_url":"https://api.github.com/users/vmware/repos","events_url":"https://api.github.com/users/vmware/events{/privacy}","received_events_url":"https://api.github.com/users/vmware/received_events","type":"Organization","site_admin":false},"repo":{"id":50613991,"node_id":"MDEwOlJlcG9zaXRvcnk1MDYxMzk5MQ==","name":"harbor","full_name":"vmware/harbor","owner":{"login":"vmware","id":473334,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzMzNA==","avatar_url":"https://avatars0.githubusercontent.com/u/473334?v=4","gravatar_id":"","url":"https://api.github.com/users/vmware","html_url":"https://github.com/vmware","followers_url":"https://api.github.com/users/vmware/followers","following_url":"https://api.github.com/users/vmware/following{/other_user}","gists_url":"https://api.github.com/users/vmware/gists{/gist_id}","starred_url":"https://api.github.com/users/vmware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmware/subscriptions","organizations_url":"https://api.github.com/users/vmware/orgs","repos_url":"https://api.github.com/users/vmware/repos","events_url":"https://api.github.com/users/vmware/events{/privacy}","received_events_url":"https://api.github.com/users/vmware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vmware/harbor","description":"An open source trusted cloud native registry project that stores, signs, and scans content.","fork":false,"url":"https://api.github.com/repos/vmware/harbor","forks_url":"https://api.github.com/repos/vmware/harbor/forks","keys_url":"https://api.github.com/repos/vmware/harbor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vmware/harbor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vmware/harbor/teams","hooks_url":"https://api.github.com/repos/vmware/harbor/hooks","issue_events_url":"https://api.github.com/repos/vmware/harbor/issues/events{/number}","events_url":"https://api.github.com/repos/vmware/harbor/events","assignees_url":"https://api.github.com/repos/vmware/harbor/assignees{/user}","branches_url":"https://api.github.com/repos/vmware/harbor/branches{/branch}","tags_url":"https://api.github.com/repos/vmware/harbor/tags","blobs_url":"https://api.github.com/repos/vmware/harbor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vmware/harbor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vmware/harbor/git/refs{/sha}","trees_url":"https://api.github.com/repos/vmware/harbor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vmware/harbor/statuses/{sha}","languages_url":"https://api.github.com/repos/vmware/harbor/languages","stargazers_url":"https://api.github.com/repos/vmware/harbor/stargazers","contributors_url":"https://api.github.com/repos/vmware/harbor/contributors","subscribers_url":"https://api.github.com/repos/vmware/harbor/subscribers","subscription_url":"https://api.github.com/repos/vmware/harbor/subscription","commits_url":"https://api.github.com/repos/vmware/harbor/commits{/sha}","git_commits_url":"https://api.github.com/repos/vmware/harbor/git/commits{/sha}","comments_url":"https://api.github.com/repos/vmware/harbor/comments{/number}","issue_comment_url":"https://api.github.com/repos/vmware/harbor/issues/comments{/number}","contents_url":"https://api.github.com/repos/vmware/harbor/contents/{+path}","compare_url":"https://api.github.com/repos/vmware/harbor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vmware/harbor/merges","archive_url":"https://api.github.com/repos/vmware/harbor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vmware/harbor/downloads","issues_url":"https://api.github.com/repos/vmware/harbor/issues{/number}","pulls_url":"https://api.github.com/repos/vmware/harbor/pulls{/number}","milestones_url":"https://api.github.com/repos/vmware/harbor/milestones{/number}","notifications_url":"https://api.github.com/repos/vmware/harbor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vmware/harbor/labels{/name}","releases_url":"https://api.github.com/repos/vmware/harbor/releases{/id}","deployments_url":"https://api.github.com/repos/vmware/harbor/deployments","created_at":"2016-01-28T21:10:28Z","updated_at":"2018-07-13T02:17:29Z","pushed_at":"2018-07-13T01:30:16Z","git_url":"git://github.com/vmware/harbor.git","ssh_url":"git@github.com:vmware/harbor.git","clone_url":"https://github.com/vmware/harbor.git","svn_url":"https://github.com/vmware/harbor","homepage":"http://vmware.github.io/harbor/","size":87121,"stargazers_count":4608,"watchers_count":4608,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1334,"mirror_url":null,"archived":false,"open_issues_count":566,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1334,"open_issues":566,"watchers":4608,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vmware/harbor/pulls/5304"},"html":{"href":"https://github.com/vmware/harbor/pull/5304"},"issue":{"href":"https://api.github.com/repos/vmware/harbor/issues/5304"},"comments":{"href":"https://api.github.com/repos/vmware/harbor/issues/5304/comments"},"review_comments":{"href":"https://api.github.com/repos/vmware/harbor/pulls/5304/comments"},"review_comment":{"href":"https://api.github.com/repos/vmware/harbor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vmware/harbor/pulls/5304/commits"},"statuses":{"href":"https://api.github.com/repos/vmware/harbor/statuses/88aa9c3ebbef58c25386a1297361e990cacafcdd"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"reasonerjt"}}