{"action":"created","comment":{"url":"https://api.github.com/repos/kubernetes/dashboard/pulls/comments/46289339","id":46289339,"diff_hunk":"@@ -0,0 +1,124 @@\n+// Copyright 2015 Google Inc. All Rights Reserved.\n+//\n+// Licensed under the Apache License, Version 2.0 (the \"License\");\n+// you may not use this file except in compliance with the License.\n+// 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+import {stateName as replicasetliststate} from 'replicasetlist/replicasetlist_state';\n+\n+/**\n+ * Controller for the deploy from settings directive.\n+ *\n+ * @final\n+ */\n+export default class DeployFromSettingsController {\n+  /**\n+   * @param {!angular.$log} $log\n+   * @param {!ui.router.$state} $state\n+   * @param {!angular.$resource} $resource\n+   * @param {!angular.$q} $q\n+   * @ngInject\n+   */\n+  constructor($log, $state, $resource, $q) {\n+    /**\n+     * @export {!DeployFromSettingsController}\n+     * It initializes the scope output parameter*/","path":"src/app/frontend/deploy/deployfromsettings_controller.js","position":33,"original_position":33,"commit_id":"53067ebd6c23c2a5d757a8734a823f5ad92d512d","original_commit_id":"53067ebd6c23c2a5d757a8734a823f5ad92d512d","user":{"login":"bryk","id":1159999,"avatar_url":"https://avatars.githubusercontent.com/u/1159999?v=3","gravatar_id":"","url":"https://api.github.com/users/bryk","html_url":"https://github.com/bryk","followers_url":"https://api.github.com/users/bryk/followers","following_url":"https://api.github.com/users/bryk/following{/other_user}","gists_url":"https://api.github.com/users/bryk/gists{/gist_id}","starred_url":"https://api.github.com/users/bryk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryk/subscriptions","organizations_url":"https://api.github.com/users/bryk/orgs","repos_url":"https://api.github.com/users/bryk/repos","events_url":"https://api.github.com/users/bryk/events{/privacy}","received_events_url":"https://api.github.com/users/bryk/received_events","type":"User","site_admin":false},"body":"Add new line. And move `@export` to the end of the comment. This is to have all comments look the same.","created_at":"2015-12-01T15:12:32Z","updated_at":"2015-12-01T15:12:32Z","html_url":"https://github.com/kubernetes/dashboard/pull/101#discussion_r46289339","pull_request_url":"https://api.github.com/repos/kubernetes/dashboard/pulls/101","_links":{"self":{"href":"https://api.github.com/repos/kubernetes/dashboard/pulls/comments/46289339"},"html":{"href":"https://github.com/kubernetes/dashboard/pull/101#discussion_r46289339"},"pull_request":{"href":"https://api.github.com/repos/kubernetes/dashboard/pulls/101"}}},"pull_request":{"url":"https://api.github.com/repos/kubernetes/dashboard/pulls/101","id":51918073,"html_url":"https://github.com/kubernetes/dashboard/pull/101","diff_url":"https://github.com/kubernetes/dashboard/pull/101.diff","patch_url":"https://github.com/kubernetes/dashboard/pull/101.patch","issue_url":"https://api.github.com/repos/kubernetes/dashboard/issues/101","number":101,"state":"open","locked":false,"title":"Deploy using settings","user":{"login":"batikanu","id":11628279,"avatar_url":"https://avatars.githubusercontent.com/u/11628279?v=3","gravatar_id":"","url":"https://api.github.com/users/batikanu","html_url":"https://github.com/batikanu","followers_url":"https://api.github.com/users/batikanu/followers","following_url":"https://api.github.com/users/batikanu/following{/other_user}","gists_url":"https://api.github.com/users/batikanu/gists{/gist_id}","starred_url":"https://api.github.com/users/batikanu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/batikanu/subscriptions","organizations_url":"https://api.github.com/users/batikanu/orgs","repos_url":"https://api.github.com/users/batikanu/repos","events_url":"https://api.github.com/users/batikanu/events{/privacy}","received_events_url":"https://api.github.com/users/batikanu/received_events","type":"User","site_admin":false},"body":"This is the first draft of deploy using settings directive. In deploy.html there will be two directives like \"deploy-using-settings\" and \"deploy-using-file\". According to the selection of the radio button in deploy view the selected directive will be loaded in the page. In current state only deploy-using-settings directive is implemented and related other code blocks are refactored.","created_at":"2015-11-26T14:25:29Z","updated_at":"2015-12-01T15:12:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e0053f80f758f136cb1425fece84036766e4ee08","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes/dashboard/pulls/101/commits","review_comments_url":"https://api.github.com/repos/kubernetes/dashboard/pulls/101/comments","review_comment_url":"https://api.github.com/repos/kubernetes/dashboard/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes/dashboard/issues/101/comments","statuses_url":"https://api.github.com/repos/kubernetes/dashboard/statuses/53067ebd6c23c2a5d757a8734a823f5ad92d512d","head":{"label":"batikanu:deploy-using-settings","ref":"deploy-using-settings","sha":"53067ebd6c23c2a5d757a8734a823f5ad92d512d","user":{"login":"batikanu","id":11628279,"avatar_url":"https://avatars.githubusercontent.com/u/11628279?v=3","gravatar_id":"","url":"https://api.github.com/users/batikanu","html_url":"https://github.com/batikanu","followers_url":"https://api.github.com/users/batikanu/followers","following_url":"https://api.github.com/users/batikanu/following{/other_user}","gists_url":"https://api.github.com/users/batikanu/gists{/gist_id}","starred_url":"https://api.github.com/users/batikanu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/batikanu/subscriptions","organizations_url":"https://api.github.com/users/batikanu/orgs","repos_url":"https://api.github.com/users/batikanu/repos","events_url":"https://api.github.com/users/batikanu/events{/privacy}","received_events_url":"https://api.github.com/users/batikanu/received_events","type":"User","site_admin":false},"repo":{"id":46421668,"name":"dashboard","full_name":"batikanu/dashboard","owner":{"login":"batikanu","id":11628279,"avatar_url":"https://avatars.githubusercontent.com/u/11628279?v=3","gravatar_id":"","url":"https://api.github.com/users/batikanu","html_url":"https://github.com/batikanu","followers_url":"https://api.github.com/users/batikanu/followers","following_url":"https://api.github.com/users/batikanu/following{/other_user}","gists_url":"https://api.github.com/users/batikanu/gists{/gist_id}","starred_url":"https://api.github.com/users/batikanu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/batikanu/subscriptions","organizations_url":"https://api.github.com/users/batikanu/orgs","repos_url":"https://api.github.com/users/batikanu/repos","events_url":"https://api.github.com/users/batikanu/events{/privacy}","received_events_url":"https://api.github.com/users/batikanu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/batikanu/dashboard","description":"","fork":true,"url":"https://api.github.com/repos/batikanu/dashboard","forks_url":"https://api.github.com/repos/batikanu/dashboard/forks","keys_url":"https://api.github.com/repos/batikanu/dashboard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/batikanu/dashboard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/batikanu/dashboard/teams","hooks_url":"https://api.github.com/repos/batikanu/dashboard/hooks","issue_events_url":"https://api.github.com/repos/batikanu/dashboard/issues/events{/number}","events_url":"https://api.github.com/repos/batikanu/dashboard/events","assignees_url":"https://api.github.com/repos/batikanu/dashboard/assignees{/user}","branches_url":"https://api.github.com/repos/batikanu/dashboard/branches{/branch}","tags_url":"https://api.github.com/repos/batikanu/dashboard/tags","blobs_url":"https://api.github.com/repos/batikanu/dashboard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/batikanu/dashboard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/batikanu/dashboard/git/refs{/sha}","trees_url":"https://api.github.com/repos/batikanu/dashboard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/batikanu/dashboard/statuses/{sha}","languages_url":"https://api.github.com/repos/batikanu/dashboard/languages","stargazers_url":"https://api.github.com/repos/batikanu/dashboard/stargazers","contributors_url":"https://api.github.com/repos/batikanu/dashboard/contributors","subscribers_url":"https://api.github.com/repos/batikanu/dashboard/subscribers","subscription_url":"https://api.github.com/repos/batikanu/dashboard/subscription","commits_url":"https://api.github.com/repos/batikanu/dashboard/commits{/sha}","git_commits_url":"https://api.github.com/repos/batikanu/dashboard/git/commits{/sha}","comments_url":"https://api.github.com/repos/batikanu/dashboard/comments{/number}","issue_comment_url":"https://api.github.com/repos/batikanu/dashboard/issues/comments{/number}","contents_url":"https://api.github.com/repos/batikanu/dashboard/contents/{+path}","compare_url":"https://api.github.com/repos/batikanu/dashboard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/batikanu/dashboard/merges","archive_url":"https://api.github.com/repos/batikanu/dashboard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/batikanu/dashboard/downloads","issues_url":"https://api.github.com/repos/batikanu/dashboard/issues{/number}","pulls_url":"https://api.github.com/repos/batikanu/dashboard/pulls{/number}","milestones_url":"https://api.github.com/repos/batikanu/dashboard/milestones{/number}","notifications_url":"https://api.github.com/repos/batikanu/dashboard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/batikanu/dashboard/labels{/name}","releases_url":"https://api.github.com/repos/batikanu/dashboard/releases{/id}","created_at":"2015-11-18T13:49:27Z","updated_at":"2015-11-18T13:49:28Z","pushed_at":"2015-12-01T13:54:03Z","git_url":"git://github.com/batikanu/dashboard.git","ssh_url":"git@github.com:batikanu/dashboard.git","clone_url":"https://github.com/batikanu/dashboard.git","svn_url":"https://github.com/batikanu/dashboard","homepage":"","size":5228,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kubernetes:master","ref":"master","sha":"d6c3b563b85abfa0dc8a36a1c5ff077618c51b05","user":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars.githubusercontent.com/u/13629408?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"repo":{"id":44350607,"name":"dashboard","full_name":"kubernetes/dashboard","owner":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars.githubusercontent.com/u/13629408?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kubernetes/dashboard","description":"","fork":false,"url":"https://api.github.com/repos/kubernetes/dashboard","forks_url":"https://api.github.com/repos/kubernetes/dashboard/forks","keys_url":"https://api.github.com/repos/kubernetes/dashboard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubernetes/dashboard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubernetes/dashboard/teams","hooks_url":"https://api.github.com/repos/kubernetes/dashboard/hooks","issue_events_url":"https://api.github.com/repos/kubernetes/dashboard/issues/events{/number}","events_url":"https://api.github.com/repos/kubernetes/dashboard/events","assignees_url":"https://api.github.com/repos/kubernetes/dashboard/assignees{/user}","branches_url":"https://api.github.com/repos/kubernetes/dashboard/branches{/branch}","tags_url":"https://api.github.com/repos/kubernetes/dashboard/tags","blobs_url":"https://api.github.com/repos/kubernetes/dashboard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubernetes/dashboard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubernetes/dashboard/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubernetes/dashboard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubernetes/dashboard/statuses/{sha}","languages_url":"https://api.github.com/repos/kubernetes/dashboard/languages","stargazers_url":"https://api.github.com/repos/kubernetes/dashboard/stargazers","contributors_url":"https://api.github.com/repos/kubernetes/dashboard/contributors","subscribers_url":"https://api.github.com/repos/kubernetes/dashboard/subscribers","subscription_url":"https://api.github.com/repos/kubernetes/dashboard/subscription","commits_url":"https://api.github.com/repos/kubernetes/dashboard/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubernetes/dashboard/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubernetes/dashboard/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubernetes/dashboard/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubernetes/dashboard/contents/{+path}","compare_url":"https://api.github.com/repos/kubernetes/dashboard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubernetes/dashboard/merges","archive_url":"https://api.github.com/repos/kubernetes/dashboard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubernetes/dashboard/downloads","issues_url":"https://api.github.com/repos/kubernetes/dashboard/issues{/number}","pulls_url":"https://api.github.com/repos/kubernetes/dashboard/pulls{/number}","milestones_url":"https://api.github.com/repos/kubernetes/dashboard/milestones{/number}","notifications_url":"https://api.github.com/repos/kubernetes/dashboard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubernetes/dashboard/labels{/name}","releases_url":"https://api.github.com/repos/kubernetes/dashboard/releases{/id}","created_at":"2015-10-15T23:09:14Z","updated_at":"2015-12-01T14:43:28Z","pushed_at":"2015-12-01T13:54:04Z","git_url":"git://github.com/kubernetes/dashboard.git","ssh_url":"git@github.com:kubernetes/dashboard.git","clone_url":"https://github.com/kubernetes/dashboard.git","svn_url":"https://github.com/kubernetes/dashboard","homepage":"","size":5234,"stargazers_count":54,"watchers_count":54,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":19,"forks":16,"open_issues":19,"watchers":54,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes/dashboard/pulls/101"},"html":{"href":"https://github.com/kubernetes/dashboard/pull/101"},"issue":{"href":"https://api.github.com/repos/kubernetes/dashboard/issues/101"},"comments":{"href":"https://api.github.com/repos/kubernetes/dashboard/issues/101/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes/dashboard/pulls/101/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes/dashboard/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes/dashboard/pulls/101/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes/dashboard/statuses/53067ebd6c23c2a5d757a8734a823f5ad92d512d"}}}}