{"action":"created","comment":{"url":"https://api.github.com/repos/crowbar/crowbar-core/pulls/comments/69155444","id":69155444,"diff_hunk":"@@ -24,60 +24,79 @@\n   # Root route have to be on top of all\n   root to: \"nodes#index\"\n \n-  get \"docs(.:format)\", controller: \"docs\", action: \"index\", as: \"docs\"\n+  get \"docs\", controller: \"docs\", action: \"index\", as: \"docs\"\n \n   # nodes\n-  resources :nodes, only: [:index]\n-\n-  get \"nodes/:name/attribute/*path(.:format)\", controller: \"nodes\", action: \"attribute\",\n-              constraints: { name: /[^\\/]+/, path: /.*/ }\n-  get \"nodes/status(.:format)\", controller: \"nodes\", action: \"status\", as: \"nodes_status\"\n-  get \"nodes/list(.:format)\", controller: \"nodes\", action: \"list\", as: \"nodes_list\"\n-  get \"nodes/unallocated(.:format)\", controller: \"nodes\", action: \"unallocated\", as: \"unallocated_list\"\n-  post \"nodes/bulk(.:format)\", controller: \"nodes\", action: \"bulk\", as: \"bulk_nodes\"\n-  get \"nodes/families(.:format)\", controller: \"nodes\", action: \"families\", as: \"nodes_families\"\n-  get \"nodes/:id/hit/:req(.:format)\", controller: \"nodes\", action: \"hit\", constraints: { id: /[^\\/]+/ }, as: \"hit_node\"\n-  get \"nodes/:name/edit(.:format)\", controller: \"nodes\", action: \"edit\", constraints: { name: /[^\\/]+/ }, as: \"edit_node\"\n-  get \"dashboard(.:format)\", controller: \"nodes\", action: \"index\", as: \"dashboard\"\n-  get \"dashboard/:name(.:format)\", controller: \"nodes\", action: \"index\", constraints: { name: /[^\\/]+/ }, as: \"dashboard_detail\"\n-  post \"nodes/groups/1.0/:id/:group(.:format)\", controller: \"nodes\", action: \"group_change\", constraints: { id: /[^\\/]+/ }, as: \"group_change\"\n+  resources :nodes,\n+    param: :name,\n+    only: [:index, :show, :edit] do\n+    collection do\n+      get :status\n+      get :list\n+      get :unallocated\n+      get :families\n+      post :bulk\n+    end\n+\n+    member do\n+      post :update, as: \"update\"\n+    end\n+  end\n+\n+  resources :dashboard,\n+    only: [:index],\n+    param: :name,\n+    controller: :nodes do\n+\n+    member do\n+      get :index, as: \"detail\"\n+      get \"attribute/*path\", to: :attribute\n+    end\n+  end\n+\n+  get \"nodes/:id/hit/:req\", controller: \"nodes\", action: \"hit\", constraints: { id: /[^\\/]+/ }, as: \"hit_node\"\n+  post \"nodes/groups/1.0/:id/:group\", controller: \"nodes\", action: \"group_change\", constraints: { id: /[^\\/]+/ }, as: \"group_change\"\n   # this route allows any barclamp to extend the nodes view\n-  get \"nodes/:controller/1.0(.:format)\", action: \"nodes\", as: \"nodes_barclamp\"\n-  post \"nodes/:name/update(.:format)\", controller: \"nodes\", action: \"update\", constraints: { name: /[^\\/]+/ }, as: \"update_node\"\n-  get \"nodes/:name(.:format)\", controller: \"nodes\", action: \"show\", constraints: { name: /[^\\/]+/ }, as: \"node\"\n+  get \"nodes/:controller/1.0\", action: \"nodes\", as: \"nodes_barclamp\"\n \n   # this route allows any barclamp to extend the network view\n-  get \"network/:controller/1.0(.:format)\", action: \"network\", as: \"network_barclamp\"\n+  get \"network/:controller/1.0\", action: \"network\", as: \"network_barclamp\"\n   # these paths require the network barclamp\n-  get \"network(.:format)\", controller: \"network\", action: \"switch\", as: \"network\"\n-  get \"network/switch/:id(.:format)\", controller: \"network\", action: \"switch\", constraints: { id: /[^\\/]+/ }, defaults: { id: \"default\" }, as: \"switch\"\n-  get \"network/vlan/:id(.:format)\", controller: \"network\", action: \"vlan\", constraints: { id: /[^\\/]+/ }, defaults: { id: \"default\" }, as: \"vlan\"\n+  get \"network\", controller: \"network\", action: \"switch\", as: \"network\"\n+  get \"network/switch/:id\", controller: \"network\", action: \"switch\", constraints: { id: /[^\\/]+/ }, defaults: { id: \"default\" }, as: \"switch\"\n+  get \"network/vlan/:id\", controller: \"network\", action: \"vlan\", constraints: { id: /[^\\/]+/ }, defaults: { id: \"default\" }, as: \"vlan\"","path":"crowbar_framework/config/routes.rb","position":74,"original_position":74,"commit_id":"af4dd295e830c16ed65124f2948ca61e091e6fc4","original_commit_id":"af4dd295e830c16ed65124f2948ca61e091e6fc4","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Line is too long. [135/100]","created_at":"2016-06-30T15:32:35Z","updated_at":"2016-06-30T15:32:35Z","html_url":"https://github.com/crowbar/crowbar-core/pull/524#discussion_r69155444","pull_request_url":"https://api.github.com/repos/crowbar/crowbar-core/pulls/524","_links":{"self":{"href":"https://api.github.com/repos/crowbar/crowbar-core/pulls/comments/69155444"},"html":{"href":"https://github.com/crowbar/crowbar-core/pull/524#discussion_r69155444"},"pull_request":{"href":"https://api.github.com/repos/crowbar/crowbar-core/pulls/524"}}},"pull_request":{"url":"https://api.github.com/repos/crowbar/crowbar-core/pulls/524","id":75797098,"html_url":"https://github.com/crowbar/crowbar-core/pull/524","diff_url":"https://github.com/crowbar/crowbar-core/pull/524.diff","patch_url":"https://github.com/crowbar/crowbar-core/pull/524.patch","issue_url":"https://api.github.com/repos/crowbar/crowbar-core/issues/524","number":524,"state":"open","locked":false,"title":"Routes","user":{"login":"rsalevsky","id":4128547,"avatar_url":"https://avatars.githubusercontent.com/u/4128547?v=3","gravatar_id":"","url":"https://api.github.com/users/rsalevsky","html_url":"https://github.com/rsalevsky","followers_url":"https://api.github.com/users/rsalevsky/followers","following_url":"https://api.github.com/users/rsalevsky/following{/other_user}","gists_url":"https://api.github.com/users/rsalevsky/gists{/gist_id}","starred_url":"https://api.github.com/users/rsalevsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsalevsky/subscriptions","organizations_url":"https://api.github.com/users/rsalevsky/orgs","repos_url":"https://api.github.com/users/rsalevsky/repos","events_url":"https://api.github.com/users/rsalevsky/events{/privacy}","received_events_url":"https://api.github.com/users/rsalevsky/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-30T10:40:49Z","updated_at":"2016-06-30T15:32:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9219ebd730910fa6da67d59c6d474fe1ce4c32ae","assignee":{"login":"MaximilianMeister","id":5364817,"avatar_url":"https://avatars.githubusercontent.com/u/5364817?v=3","gravatar_id":"","url":"https://api.github.com/users/MaximilianMeister","html_url":"https://github.com/MaximilianMeister","followers_url":"https://api.github.com/users/MaximilianMeister/followers","following_url":"https://api.github.com/users/MaximilianMeister/following{/other_user}","gists_url":"https://api.github.com/users/MaximilianMeister/gists{/gist_id}","starred_url":"https://api.github.com/users/MaximilianMeister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaximilianMeister/subscriptions","organizations_url":"https://api.github.com/users/MaximilianMeister/orgs","repos_url":"https://api.github.com/users/MaximilianMeister/repos","events_url":"https://api.github.com/users/MaximilianMeister/events{/privacy}","received_events_url":"https://api.github.com/users/MaximilianMeister/received_events","type":"User","site_admin":false},"assignees":[{"login":"MaximilianMeister","id":5364817,"avatar_url":"https://avatars.githubusercontent.com/u/5364817?v=3","gravatar_id":"","url":"https://api.github.com/users/MaximilianMeister","html_url":"https://github.com/MaximilianMeister","followers_url":"https://api.github.com/users/MaximilianMeister/followers","following_url":"https://api.github.com/users/MaximilianMeister/following{/other_user}","gists_url":"https://api.github.com/users/MaximilianMeister/gists{/gist_id}","starred_url":"https://api.github.com/users/MaximilianMeister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaximilianMeister/subscriptions","organizations_url":"https://api.github.com/users/MaximilianMeister/orgs","repos_url":"https://api.github.com/users/MaximilianMeister/repos","events_url":"https://api.github.com/users/MaximilianMeister/events{/privacy}","received_events_url":"https://api.github.com/users/MaximilianMeister/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/crowbar/crowbar-core/pulls/524/commits","review_comments_url":"https://api.github.com/repos/crowbar/crowbar-core/pulls/524/comments","review_comment_url":"https://api.github.com/repos/crowbar/crowbar-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/crowbar/crowbar-core/issues/524/comments","statuses_url":"https://api.github.com/repos/crowbar/crowbar-core/statuses/af4dd295e830c16ed65124f2948ca61e091e6fc4","head":{"label":"rsalevsky:routes","ref":"routes","sha":"af4dd295e830c16ed65124f2948ca61e091e6fc4","user":{"login":"rsalevsky","id":4128547,"avatar_url":"https://avatars.githubusercontent.com/u/4128547?v=3","gravatar_id":"","url":"https://api.github.com/users/rsalevsky","html_url":"https://github.com/rsalevsky","followers_url":"https://api.github.com/users/rsalevsky/followers","following_url":"https://api.github.com/users/rsalevsky/following{/other_user}","gists_url":"https://api.github.com/users/rsalevsky/gists{/gist_id}","starred_url":"https://api.github.com/users/rsalevsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsalevsky/subscriptions","organizations_url":"https://api.github.com/users/rsalevsky/orgs","repos_url":"https://api.github.com/users/rsalevsky/repos","events_url":"https://api.github.com/users/rsalevsky/events{/privacy}","received_events_url":"https://api.github.com/users/rsalevsky/received_events","type":"User","site_admin":false},"repo":{"id":40906953,"name":"crowbar-core","full_name":"rsalevsky/crowbar-core","owner":{"login":"rsalevsky","id":4128547,"avatar_url":"https://avatars.githubusercontent.com/u/4128547?v=3","gravatar_id":"","url":"https://api.github.com/users/rsalevsky","html_url":"https://github.com/rsalevsky","followers_url":"https://api.github.com/users/rsalevsky/followers","following_url":"https://api.github.com/users/rsalevsky/following{/other_user}","gists_url":"https://api.github.com/users/rsalevsky/gists{/gist_id}","starred_url":"https://api.github.com/users/rsalevsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsalevsky/subscriptions","organizations_url":"https://api.github.com/users/rsalevsky/orgs","repos_url":"https://api.github.com/users/rsalevsky/repos","events_url":"https://api.github.com/users/rsalevsky/events{/privacy}","received_events_url":"https://api.github.com/users/rsalevsky/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rsalevsky/crowbar-core","description":"Core deployment for Crowbar","fork":true,"url":"https://api.github.com/repos/rsalevsky/crowbar-core","forks_url":"https://api.github.com/repos/rsalevsky/crowbar-core/forks","keys_url":"https://api.github.com/repos/rsalevsky/crowbar-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rsalevsky/crowbar-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rsalevsky/crowbar-core/teams","hooks_url":"https://api.github.com/repos/rsalevsky/crowbar-core/hooks","issue_events_url":"https://api.github.com/repos/rsalevsky/crowbar-core/issues/events{/number}","events_url":"https://api.github.com/repos/rsalevsky/crowbar-core/events","assignees_url":"https://api.github.com/repos/rsalevsky/crowbar-core/assignees{/user}","branches_url":"https://api.github.com/repos/rsalevsky/crowbar-core/branches{/branch}","tags_url":"https://api.github.com/repos/rsalevsky/crowbar-core/tags","blobs_url":"https://api.github.com/repos/rsalevsky/crowbar-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rsalevsky/crowbar-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rsalevsky/crowbar-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/rsalevsky/crowbar-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rsalevsky/crowbar-core/statuses/{sha}","languages_url":"https://api.github.com/repos/rsalevsky/crowbar-core/languages","stargazers_url":"https://api.github.com/repos/rsalevsky/crowbar-core/stargazers","contributors_url":"https://api.github.com/repos/rsalevsky/crowbar-core/contributors","subscribers_url":"https://api.github.com/repos/rsalevsky/crowbar-core/subscribers","subscription_url":"https://api.github.com/repos/rsalevsky/crowbar-core/subscription","commits_url":"https://api.github.com/repos/rsalevsky/crowbar-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/rsalevsky/crowbar-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/rsalevsky/crowbar-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/rsalevsky/crowbar-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/rsalevsky/crowbar-core/contents/{+path}","compare_url":"https://api.github.com/repos/rsalevsky/crowbar-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rsalevsky/crowbar-core/merges","archive_url":"https://api.github.com/repos/rsalevsky/crowbar-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rsalevsky/crowbar-core/downloads","issues_url":"https://api.github.com/repos/rsalevsky/crowbar-core/issues{/number}","pulls_url":"https://api.github.com/repos/rsalevsky/crowbar-core/pulls{/number}","milestones_url":"https://api.github.com/repos/rsalevsky/crowbar-core/milestones{/number}","notifications_url":"https://api.github.com/repos/rsalevsky/crowbar-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rsalevsky/crowbar-core/labels{/name}","releases_url":"https://api.github.com/repos/rsalevsky/crowbar-core/releases{/id}","deployments_url":"https://api.github.com/repos/rsalevsky/crowbar-core/deployments","created_at":"2015-08-17T15:42:44Z","updated_at":"2016-02-25T14:15:13Z","pushed_at":"2016-06-30T15:32:20Z","git_url":"git://github.com/rsalevsky/crowbar-core.git","ssh_url":"git@github.com:rsalevsky/crowbar-core.git","clone_url":"https://github.com/rsalevsky/crowbar-core.git","svn_url":"https://github.com/rsalevsky/crowbar-core","homepage":null,"size":106169,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"crowbar:master","ref":"master","sha":"e3f2bc2b72891662e37fb330856b321f836a9b59","user":{"login":"crowbar","id":2910205,"avatar_url":"https://avatars.githubusercontent.com/u/2910205?v=3","gravatar_id":"","url":"https://api.github.com/users/crowbar","html_url":"https://github.com/crowbar","followers_url":"https://api.github.com/users/crowbar/followers","following_url":"https://api.github.com/users/crowbar/following{/other_user}","gists_url":"https://api.github.com/users/crowbar/gists{/gist_id}","starred_url":"https://api.github.com/users/crowbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crowbar/subscriptions","organizations_url":"https://api.github.com/users/crowbar/orgs","repos_url":"https://api.github.com/users/crowbar/repos","events_url":"https://api.github.com/users/crowbar/events{/privacy}","received_events_url":"https://api.github.com/users/crowbar/received_events","type":"Organization","site_admin":false},"repo":{"id":39003227,"name":"crowbar-core","full_name":"crowbar/crowbar-core","owner":{"login":"crowbar","id":2910205,"avatar_url":"https://avatars.githubusercontent.com/u/2910205?v=3","gravatar_id":"","url":"https://api.github.com/users/crowbar","html_url":"https://github.com/crowbar","followers_url":"https://api.github.com/users/crowbar/followers","following_url":"https://api.github.com/users/crowbar/following{/other_user}","gists_url":"https://api.github.com/users/crowbar/gists{/gist_id}","starred_url":"https://api.github.com/users/crowbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crowbar/subscriptions","organizations_url":"https://api.github.com/users/crowbar/orgs","repos_url":"https://api.github.com/users/crowbar/repos","events_url":"https://api.github.com/users/crowbar/events{/privacy}","received_events_url":"https://api.github.com/users/crowbar/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/crowbar/crowbar-core","description":"Core deployment for Crowbar","fork":false,"url":"https://api.github.com/repos/crowbar/crowbar-core","forks_url":"https://api.github.com/repos/crowbar/crowbar-core/forks","keys_url":"https://api.github.com/repos/crowbar/crowbar-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crowbar/crowbar-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crowbar/crowbar-core/teams","hooks_url":"https://api.github.com/repos/crowbar/crowbar-core/hooks","issue_events_url":"https://api.github.com/repos/crowbar/crowbar-core/issues/events{/number}","events_url":"https://api.github.com/repos/crowbar/crowbar-core/events","assignees_url":"https://api.github.com/repos/crowbar/crowbar-core/assignees{/user}","branches_url":"https://api.github.com/repos/crowbar/crowbar-core/branches{/branch}","tags_url":"https://api.github.com/repos/crowbar/crowbar-core/tags","blobs_url":"https://api.github.com/repos/crowbar/crowbar-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crowbar/crowbar-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crowbar/crowbar-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/crowbar/crowbar-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crowbar/crowbar-core/statuses/{sha}","languages_url":"https://api.github.com/repos/crowbar/crowbar-core/languages","stargazers_url":"https://api.github.com/repos/crowbar/crowbar-core/stargazers","contributors_url":"https://api.github.com/repos/crowbar/crowbar-core/contributors","subscribers_url":"https://api.github.com/repos/crowbar/crowbar-core/subscribers","subscription_url":"https://api.github.com/repos/crowbar/crowbar-core/subscription","commits_url":"https://api.github.com/repos/crowbar/crowbar-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/crowbar/crowbar-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/crowbar/crowbar-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/crowbar/crowbar-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/crowbar/crowbar-core/contents/{+path}","compare_url":"https://api.github.com/repos/crowbar/crowbar-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crowbar/crowbar-core/merges","archive_url":"https://api.github.com/repos/crowbar/crowbar-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crowbar/crowbar-core/downloads","issues_url":"https://api.github.com/repos/crowbar/crowbar-core/issues{/number}","pulls_url":"https://api.github.com/repos/crowbar/crowbar-core/pulls{/number}","milestones_url":"https://api.github.com/repos/crowbar/crowbar-core/milestones{/number}","notifications_url":"https://api.github.com/repos/crowbar/crowbar-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crowbar/crowbar-core/labels{/name}","releases_url":"https://api.github.com/repos/crowbar/crowbar-core/releases{/id}","deployments_url":"https://api.github.com/repos/crowbar/crowbar-core/deployments","created_at":"2015-07-13T09:31:28Z","updated_at":"2016-04-10T12:47:20Z","pushed_at":"2016-06-30T15:32:21Z","git_url":"git://github.com/crowbar/crowbar-core.git","ssh_url":"git@github.com:crowbar/crowbar-core.git","clone_url":"https://github.com/crowbar/crowbar-core.git","svn_url":"https://github.com/crowbar/crowbar-core","homepage":null,"size":120647,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":51,"forks":28,"open_issues":51,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/crowbar/crowbar-core/pulls/524"},"html":{"href":"https://github.com/crowbar/crowbar-core/pull/524"},"issue":{"href":"https://api.github.com/repos/crowbar/crowbar-core/issues/524"},"comments":{"href":"https://api.github.com/repos/crowbar/crowbar-core/issues/524/comments"},"review_comments":{"href":"https://api.github.com/repos/crowbar/crowbar-core/pulls/524/comments"},"review_comment":{"href":"https://api.github.com/repos/crowbar/crowbar-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/crowbar/crowbar-core/pulls/524/commits"},"statuses":{"href":"https://api.github.com/repos/crowbar/crowbar-core/statuses/af4dd295e830c16ed65124f2948ca61e091e6fc4"}}}}
{"actor":{"display_login":"houndci-bot"}}