{"action":"created","comment":{"url":"https://api.github.com/repos/palecrow/horizon/pulls/comments/59631952","id":59631952,"diff_hunk":"@@ -0,0 +1,69 @@\n+/**\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n+ * not use self file except in compliance with the License. You may obtain\n+ * 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, WITHOUT\n+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\n+ * License for the specific language governing permissions and limitations\n+ * under the License.\n+ */\n+\n+(function() {\n+  'use strict';\n+\n+  angular\n+    .module('horizon.framework.util.actions')\n+    .factory('horizon.framework.util.actions.action-promise.service', factory);\n+\n+\n+  function factory() {\n+\n+    \n+    return {\n+      getResolved: getResolved\n+    };\n+\n+    function getResolved() {\n+      return new ResolvedObject();\n+    }\n+\n+    function ResolvedObject() {","path":"horizon/static/framework/util/actions/action-promise.service.js","position":35,"original_position":35,"commit_id":"c9bc1bf5dfa05ec55f068f41081fb46404fc1e29","original_commit_id":"c9bc1bf5dfa05ec55f068f41081fb46404fc1e29","user":{"login":"tyr-hpe","id":18295069,"avatar_url":"https://avatars.githubusercontent.com/u/18295069?v=3","gravatar_id":"","url":"https://api.github.com/users/tyr-hpe","html_url":"https://github.com/tyr-hpe","followers_url":"https://api.github.com/users/tyr-hpe/followers","following_url":"https://api.github.com/users/tyr-hpe/following{/other_user}","gists_url":"https://api.github.com/users/tyr-hpe/gists{/gist_id}","starred_url":"https://api.github.com/users/tyr-hpe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyr-hpe/subscriptions","organizations_url":"https://api.github.com/users/tyr-hpe/orgs","repos_url":"https://api.github.com/users/tyr-hpe/repos","events_url":"https://api.github.com/users/tyr-hpe/events{/privacy}","received_events_url":"https://api.github.com/users/tyr-hpe/received_events","type":"User","site_admin":false},"body":"How about \"ActionResult\" instead of \"ResolvedObject\"?","created_at":"2016-04-13T21:47:51Z","updated_at":"2016-04-13T21:47:51Z","html_url":"https://github.com/palecrow/horizon/pull/11#discussion_r59631952","pull_request_url":"https://api.github.com/repos/palecrow/horizon/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/palecrow/horizon/pulls/comments/59631952"},"html":{"href":"https://github.com/palecrow/horizon/pull/11#discussion_r59631952"},"pull_request":{"href":"https://api.github.com/repos/palecrow/horizon/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/palecrow/horizon/pulls/11","id":66230464,"html_url":"https://github.com/palecrow/horizon/pull/11","diff_url":"https://github.com/palecrow/horizon/pull/11.diff","patch_url":"https://github.com/palecrow/horizon/pull/11.patch","issue_url":"https://api.github.com/repos/palecrow/horizon/issues/11","number":11,"state":"open","locked":false,"title":"Start/Stop server","user":{"login":"palecrow","id":10518044,"avatar_url":"https://avatars.githubusercontent.com/u/10518044?v=3","gravatar_id":"","url":"https://api.github.com/users/palecrow","html_url":"https://github.com/palecrow","followers_url":"https://api.github.com/users/palecrow/followers","following_url":"https://api.github.com/users/palecrow/following{/other_user}","gists_url":"https://api.github.com/users/palecrow/gists{/gist_id}","starred_url":"https://api.github.com/users/palecrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palecrow/subscriptions","organizations_url":"https://api.github.com/users/palecrow/orgs","repos_url":"https://api.github.com/users/palecrow/repos","events_url":"https://api.github.com/users/palecrow/events{/privacy}","received_events_url":"https://api.github.com/users/palecrow/received_events","type":"User","site_admin":false},"body":"This patch provides basic item-level start/stop server functionality.  It doesn't provide confirmation views, and it seems that the actions are not updating properly, but that is not the fault of this patch.","created_at":"2016-04-12T21:23:22Z","updated_at":"2016-04-13T21:47:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dd3c4db2e7f53bdd61a41db6b5e8ca350bf428a8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/palecrow/horizon/pulls/11/commits","review_comments_url":"https://api.github.com/repos/palecrow/horizon/pulls/11/comments","review_comment_url":"https://api.github.com/repos/palecrow/horizon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/palecrow/horizon/issues/11/comments","statuses_url":"https://api.github.com/repos/palecrow/horizon/statuses/c9bc1bf5dfa05ec55f068f41081fb46404fc1e29","head":{"label":"palecrow:stop-server","ref":"stop-server","sha":"c9bc1bf5dfa05ec55f068f41081fb46404fc1e29","user":{"login":"palecrow","id":10518044,"avatar_url":"https://avatars.githubusercontent.com/u/10518044?v=3","gravatar_id":"","url":"https://api.github.com/users/palecrow","html_url":"https://github.com/palecrow","followers_url":"https://api.github.com/users/palecrow/followers","following_url":"https://api.github.com/users/palecrow/following{/other_user}","gists_url":"https://api.github.com/users/palecrow/gists{/gist_id}","starred_url":"https://api.github.com/users/palecrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palecrow/subscriptions","organizations_url":"https://api.github.com/users/palecrow/orgs","repos_url":"https://api.github.com/users/palecrow/repos","events_url":"https://api.github.com/users/palecrow/events{/privacy}","received_events_url":"https://api.github.com/users/palecrow/received_events","type":"User","site_admin":false},"repo":{"id":55429958,"name":"horizon","full_name":"palecrow/horizon","owner":{"login":"palecrow","id":10518044,"avatar_url":"https://avatars.githubusercontent.com/u/10518044?v=3","gravatar_id":"","url":"https://api.github.com/users/palecrow","html_url":"https://github.com/palecrow","followers_url":"https://api.github.com/users/palecrow/followers","following_url":"https://api.github.com/users/palecrow/following{/other_user}","gists_url":"https://api.github.com/users/palecrow/gists{/gist_id}","starred_url":"https://api.github.com/users/palecrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palecrow/subscriptions","organizations_url":"https://api.github.com/users/palecrow/orgs","repos_url":"https://api.github.com/users/palecrow/repos","events_url":"https://api.github.com/users/palecrow/events{/privacy}","received_events_url":"https://api.github.com/users/palecrow/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/palecrow/horizon","description":"Horizon is a Django-based project aimed at providing a complete OpenStack Dashboard along with an extensible framework for building new dashboards from reusable components.","fork":true,"url":"https://api.github.com/repos/palecrow/horizon","forks_url":"https://api.github.com/repos/palecrow/horizon/forks","keys_url":"https://api.github.com/repos/palecrow/horizon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/palecrow/horizon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/palecrow/horizon/teams","hooks_url":"https://api.github.com/repos/palecrow/horizon/hooks","issue_events_url":"https://api.github.com/repos/palecrow/horizon/issues/events{/number}","events_url":"https://api.github.com/repos/palecrow/horizon/events","assignees_url":"https://api.github.com/repos/palecrow/horizon/assignees{/user}","branches_url":"https://api.github.com/repos/palecrow/horizon/branches{/branch}","tags_url":"https://api.github.com/repos/palecrow/horizon/tags","blobs_url":"https://api.github.com/repos/palecrow/horizon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/palecrow/horizon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/palecrow/horizon/git/refs{/sha}","trees_url":"https://api.github.com/repos/palecrow/horizon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/palecrow/horizon/statuses/{sha}","languages_url":"https://api.github.com/repos/palecrow/horizon/languages","stargazers_url":"https://api.github.com/repos/palecrow/horizon/stargazers","contributors_url":"https://api.github.com/repos/palecrow/horizon/contributors","subscribers_url":"https://api.github.com/repos/palecrow/horizon/subscribers","subscription_url":"https://api.github.com/repos/palecrow/horizon/subscription","commits_url":"https://api.github.com/repos/palecrow/horizon/commits{/sha}","git_commits_url":"https://api.github.com/repos/palecrow/horizon/git/commits{/sha}","comments_url":"https://api.github.com/repos/palecrow/horizon/comments{/number}","issue_comment_url":"https://api.github.com/repos/palecrow/horizon/issues/comments{/number}","contents_url":"https://api.github.com/repos/palecrow/horizon/contents/{+path}","compare_url":"https://api.github.com/repos/palecrow/horizon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/palecrow/horizon/merges","archive_url":"https://api.github.com/repos/palecrow/horizon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/palecrow/horizon/downloads","issues_url":"https://api.github.com/repos/palecrow/horizon/issues{/number}","pulls_url":"https://api.github.com/repos/palecrow/horizon/pulls{/number}","milestones_url":"https://api.github.com/repos/palecrow/horizon/milestones{/number}","notifications_url":"https://api.github.com/repos/palecrow/horizon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/palecrow/horizon/labels{/name}","releases_url":"https://api.github.com/repos/palecrow/horizon/releases{/id}","deployments_url":"https://api.github.com/repos/palecrow/horizon/deployments","created_at":"2016-04-04T17:14:19Z","updated_at":"2016-04-04T17:14:25Z","pushed_at":"2016-04-13T20:42:12Z","git_url":"git://github.com/palecrow/horizon.git","ssh_url":"git@github.com:palecrow/horizon.git","clone_url":"https://github.com/palecrow/horizon.git","svn_url":"https://github.com/palecrow/horizon","homepage":"http://openstack.org","size":229582,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"palecrow:master","ref":"master","sha":"5b4ac4b1030e6db46033f87c04489aa619f95f3a","user":{"login":"palecrow","id":10518044,"avatar_url":"https://avatars.githubusercontent.com/u/10518044?v=3","gravatar_id":"","url":"https://api.github.com/users/palecrow","html_url":"https://github.com/palecrow","followers_url":"https://api.github.com/users/palecrow/followers","following_url":"https://api.github.com/users/palecrow/following{/other_user}","gists_url":"https://api.github.com/users/palecrow/gists{/gist_id}","starred_url":"https://api.github.com/users/palecrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palecrow/subscriptions","organizations_url":"https://api.github.com/users/palecrow/orgs","repos_url":"https://api.github.com/users/palecrow/repos","events_url":"https://api.github.com/users/palecrow/events{/privacy}","received_events_url":"https://api.github.com/users/palecrow/received_events","type":"User","site_admin":false},"repo":{"id":55429958,"name":"horizon","full_name":"palecrow/horizon","owner":{"login":"palecrow","id":10518044,"avatar_url":"https://avatars.githubusercontent.com/u/10518044?v=3","gravatar_id":"","url":"https://api.github.com/users/palecrow","html_url":"https://github.com/palecrow","followers_url":"https://api.github.com/users/palecrow/followers","following_url":"https://api.github.com/users/palecrow/following{/other_user}","gists_url":"https://api.github.com/users/palecrow/gists{/gist_id}","starred_url":"https://api.github.com/users/palecrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palecrow/subscriptions","organizations_url":"https://api.github.com/users/palecrow/orgs","repos_url":"https://api.github.com/users/palecrow/repos","events_url":"https://api.github.com/users/palecrow/events{/privacy}","received_events_url":"https://api.github.com/users/palecrow/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/palecrow/horizon","description":"Horizon is a Django-based project aimed at providing a complete OpenStack Dashboard along with an extensible framework for building new dashboards from reusable components.","fork":true,"url":"https://api.github.com/repos/palecrow/horizon","forks_url":"https://api.github.com/repos/palecrow/horizon/forks","keys_url":"https://api.github.com/repos/palecrow/horizon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/palecrow/horizon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/palecrow/horizon/teams","hooks_url":"https://api.github.com/repos/palecrow/horizon/hooks","issue_events_url":"https://api.github.com/repos/palecrow/horizon/issues/events{/number}","events_url":"https://api.github.com/repos/palecrow/horizon/events","assignees_url":"https://api.github.com/repos/palecrow/horizon/assignees{/user}","branches_url":"https://api.github.com/repos/palecrow/horizon/branches{/branch}","tags_url":"https://api.github.com/repos/palecrow/horizon/tags","blobs_url":"https://api.github.com/repos/palecrow/horizon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/palecrow/horizon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/palecrow/horizon/git/refs{/sha}","trees_url":"https://api.github.com/repos/palecrow/horizon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/palecrow/horizon/statuses/{sha}","languages_url":"https://api.github.com/repos/palecrow/horizon/languages","stargazers_url":"https://api.github.com/repos/palecrow/horizon/stargazers","contributors_url":"https://api.github.com/repos/palecrow/horizon/contributors","subscribers_url":"https://api.github.com/repos/palecrow/horizon/subscribers","subscription_url":"https://api.github.com/repos/palecrow/horizon/subscription","commits_url":"https://api.github.com/repos/palecrow/horizon/commits{/sha}","git_commits_url":"https://api.github.com/repos/palecrow/horizon/git/commits{/sha}","comments_url":"https://api.github.com/repos/palecrow/horizon/comments{/number}","issue_comment_url":"https://api.github.com/repos/palecrow/horizon/issues/comments{/number}","contents_url":"https://api.github.com/repos/palecrow/horizon/contents/{+path}","compare_url":"https://api.github.com/repos/palecrow/horizon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/palecrow/horizon/merges","archive_url":"https://api.github.com/repos/palecrow/horizon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/palecrow/horizon/downloads","issues_url":"https://api.github.com/repos/palecrow/horizon/issues{/number}","pulls_url":"https://api.github.com/repos/palecrow/horizon/pulls{/number}","milestones_url":"https://api.github.com/repos/palecrow/horizon/milestones{/number}","notifications_url":"https://api.github.com/repos/palecrow/horizon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/palecrow/horizon/labels{/name}","releases_url":"https://api.github.com/repos/palecrow/horizon/releases{/id}","deployments_url":"https://api.github.com/repos/palecrow/horizon/deployments","created_at":"2016-04-04T17:14:19Z","updated_at":"2016-04-04T17:14:25Z","pushed_at":"2016-04-13T20:42:12Z","git_url":"git://github.com/palecrow/horizon.git","ssh_url":"git@github.com:palecrow/horizon.git","clone_url":"https://github.com/palecrow/horizon.git","svn_url":"https://github.com/palecrow/horizon","homepage":"http://openstack.org","size":229582,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/palecrow/horizon/pulls/11"},"html":{"href":"https://github.com/palecrow/horizon/pull/11"},"issue":{"href":"https://api.github.com/repos/palecrow/horizon/issues/11"},"comments":{"href":"https://api.github.com/repos/palecrow/horizon/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/palecrow/horizon/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/palecrow/horizon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/palecrow/horizon/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/palecrow/horizon/statuses/c9bc1bf5dfa05ec55f068f41081fb46404fc1e29"}}}}