{"action":"closed","number":1066,"pull_request":{"url":"https://api.github.com/repos/tsuru/tsuru/pulls/1066","id":27065836,"html_url":"https://github.com/tsuru/tsuru/pull/1066","diff_url":"https://github.com/tsuru/tsuru/pull/1066.diff","patch_url":"https://github.com/tsuru/tsuru/pull/1066.patch","issue_url":"https://api.github.com/repos/tsuru/tsuru/issues/1066","number":1066,"state":"closed","locked":false,"title":"Display info about router on startup","user":{"login":"msabramo","id":305268,"avatar_url":"https://avatars.githubusercontent.com/u/305268?v=3","gravatar_id":"","url":"https://api.github.com/users/msabramo","html_url":"https://github.com/msabramo","followers_url":"https://api.github.com/users/msabramo/followers","following_url":"https://api.github.com/users/msabramo/following{/other_user}","gists_url":"https://api.github.com/users/msabramo/gists{/gist_id}","starred_url":"https://api.github.com/users/msabramo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msabramo/subscriptions","organizations_url":"https://api.github.com/users/msabramo/orgs","repos_url":"https://api.github.com/users/msabramo/repos","events_url":"https://api.github.com/users/msabramo/events{/privacy}","received_events_url":"https://api.github.com/users/msabramo/received_events","type":"User","site_admin":false},"body":"Example output:\r\n\r\n    [marca@marca-mac2 tsuru]$ make run-tsr-api\r\n    build/tsr api\r\n    Opening config file: /etc/tsuru/tsuru.conf\r\n    Done reading config file: /etc/tsuru/tsuru.conf\r\n    Using mongodb database \"tsurudb\" from the server \"127.0.0.1:27017\".\r\n    Using hipache router \"10.128.40.70.xip.io\".  <--------------------- This is the new information\r\n    Using \"docker\" provisioner.\r\n    Using \"native\" auth scheme.\r\n    tsuru HTTP server listening at 0.0.0.0:8080...\r\n\r\nMainly I am hoping that this helps people to understand the various pieces of tsuru better and what depends on what, because this is what I struggled with the most when I first started playing with it.\r\n","created_at":"2015-01-08T22:36:16Z","updated_at":"2015-01-15T17:58:31Z","closed_at":"2015-01-15T17:58:31Z","merged_at":"2015-01-15T17:58:31Z","merge_commit_sha":"14b4e7c6822e691586f47822853d3edb820c1b89","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tsuru/tsuru/pulls/1066/commits","review_comments_url":"https://api.github.com/repos/tsuru/tsuru/pulls/1066/comments","review_comment_url":"https://api.github.com/repos/tsuru/tsuru/pulls/comments/{number}","comments_url":"https://api.github.com/repos/tsuru/tsuru/issues/1066/comments","statuses_url":"https://api.github.com/repos/tsuru/tsuru/statuses/ab4f654264b38771f5c0c3757ac9ff77964a924d","head":{"label":"msabramo:display_info_about_hipache_router","ref":"display_info_about_hipache_router","sha":"ab4f654264b38771f5c0c3757ac9ff77964a924d","user":{"login":"msabramo","id":305268,"avatar_url":"https://avatars.githubusercontent.com/u/305268?v=3","gravatar_id":"","url":"https://api.github.com/users/msabramo","html_url":"https://github.com/msabramo","followers_url":"https://api.github.com/users/msabramo/followers","following_url":"https://api.github.com/users/msabramo/following{/other_user}","gists_url":"https://api.github.com/users/msabramo/gists{/gist_id}","starred_url":"https://api.github.com/users/msabramo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msabramo/subscriptions","organizations_url":"https://api.github.com/users/msabramo/orgs","repos_url":"https://api.github.com/users/msabramo/repos","events_url":"https://api.github.com/users/msabramo/events{/privacy}","received_events_url":"https://api.github.com/users/msabramo/received_events","type":"User","site_admin":false},"repo":{"id":23370782,"name":"tsuru","full_name":"msabramo/tsuru","owner":{"login":"msabramo","id":305268,"avatar_url":"https://avatars.githubusercontent.com/u/305268?v=3","gravatar_id":"","url":"https://api.github.com/users/msabramo","html_url":"https://github.com/msabramo","followers_url":"https://api.github.com/users/msabramo/followers","following_url":"https://api.github.com/users/msabramo/following{/other_user}","gists_url":"https://api.github.com/users/msabramo/gists{/gist_id}","starred_url":"https://api.github.com/users/msabramo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msabramo/subscriptions","organizations_url":"https://api.github.com/users/msabramo/orgs","repos_url":"https://api.github.com/users/msabramo/repos","events_url":"https://api.github.com/users/msabramo/events{/privacy}","received_events_url":"https://api.github.com/users/msabramo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/msabramo/tsuru","description":"Open source Platform as a Service (PaaS).","fork":true,"url":"https://api.github.com/repos/msabramo/tsuru","forks_url":"https://api.github.com/repos/msabramo/tsuru/forks","keys_url":"https://api.github.com/repos/msabramo/tsuru/keys{/key_id}","collaborators_url":"https://api.github.com/repos/msabramo/tsuru/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/msabramo/tsuru/teams","hooks_url":"https://api.github.com/repos/msabramo/tsuru/hooks","issue_events_url":"https://api.github.com/repos/msabramo/tsuru/issues/events{/number}","events_url":"https://api.github.com/repos/msabramo/tsuru/events","assignees_url":"https://api.github.com/repos/msabramo/tsuru/assignees{/user}","branches_url":"https://api.github.com/repos/msabramo/tsuru/branches{/branch}","tags_url":"https://api.github.com/repos/msabramo/tsuru/tags","blobs_url":"https://api.github.com/repos/msabramo/tsuru/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/msabramo/tsuru/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/msabramo/tsuru/git/refs{/sha}","trees_url":"https://api.github.com/repos/msabramo/tsuru/git/trees{/sha}","statuses_url":"https://api.github.com/repos/msabramo/tsuru/statuses/{sha}","languages_url":"https://api.github.com/repos/msabramo/tsuru/languages","stargazers_url":"https://api.github.com/repos/msabramo/tsuru/stargazers","contributors_url":"https://api.github.com/repos/msabramo/tsuru/contributors","subscribers_url":"https://api.github.com/repos/msabramo/tsuru/subscribers","subscription_url":"https://api.github.com/repos/msabramo/tsuru/subscription","commits_url":"https://api.github.com/repos/msabramo/tsuru/commits{/sha}","git_commits_url":"https://api.github.com/repos/msabramo/tsuru/git/commits{/sha}","comments_url":"https://api.github.com/repos/msabramo/tsuru/comments{/number}","issue_comment_url":"https://api.github.com/repos/msabramo/tsuru/issues/comments/{number}","contents_url":"https://api.github.com/repos/msabramo/tsuru/contents/{+path}","compare_url":"https://api.github.com/repos/msabramo/tsuru/compare/{base}...{head}","merges_url":"https://api.github.com/repos/msabramo/tsuru/merges","archive_url":"https://api.github.com/repos/msabramo/tsuru/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/msabramo/tsuru/downloads","issues_url":"https://api.github.com/repos/msabramo/tsuru/issues{/number}","pulls_url":"https://api.github.com/repos/msabramo/tsuru/pulls{/number}","milestones_url":"https://api.github.com/repos/msabramo/tsuru/milestones{/number}","notifications_url":"https://api.github.com/repos/msabramo/tsuru/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/msabramo/tsuru/labels{/name}","releases_url":"https://api.github.com/repos/msabramo/tsuru/releases{/id}","created_at":"2014-08-26T23:58:11Z","updated_at":"2015-01-15T15:58:45Z","pushed_at":"2015-01-15T17:36:23Z","git_url":"git://github.com/msabramo/tsuru.git","ssh_url":"git@github.com:msabramo/tsuru.git","clone_url":"https://github.com/msabramo/tsuru.git","svn_url":"https://github.com/msabramo/tsuru","homepage":"http://tsuru.io","size":28242,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"tsuru:master","ref":"master","sha":"7687d9e70b044f31a15a00295e22944a03377cde","user":{"login":"tsuru","id":6999787,"avatar_url":"https://avatars.githubusercontent.com/u/6999787?v=3","gravatar_id":"","url":"https://api.github.com/users/tsuru","html_url":"https://github.com/tsuru","followers_url":"https://api.github.com/users/tsuru/followers","following_url":"https://api.github.com/users/tsuru/following{/other_user}","gists_url":"https://api.github.com/users/tsuru/gists{/gist_id}","starred_url":"https://api.github.com/users/tsuru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsuru/subscriptions","organizations_url":"https://api.github.com/users/tsuru/orgs","repos_url":"https://api.github.com/users/tsuru/repos","events_url":"https://api.github.com/users/tsuru/events{/privacy}","received_events_url":"https://api.github.com/users/tsuru/received_events","type":"Organization","site_admin":false},"repo":{"id":3631697,"name":"tsuru","full_name":"tsuru/tsuru","owner":{"login":"tsuru","id":6999787,"avatar_url":"https://avatars.githubusercontent.com/u/6999787?v=3","gravatar_id":"","url":"https://api.github.com/users/tsuru","html_url":"https://github.com/tsuru","followers_url":"https://api.github.com/users/tsuru/followers","following_url":"https://api.github.com/users/tsuru/following{/other_user}","gists_url":"https://api.github.com/users/tsuru/gists{/gist_id}","starred_url":"https://api.github.com/users/tsuru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsuru/subscriptions","organizations_url":"https://api.github.com/users/tsuru/orgs","repos_url":"https://api.github.com/users/tsuru/repos","events_url":"https://api.github.com/users/tsuru/events{/privacy}","received_events_url":"https://api.github.com/users/tsuru/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tsuru/tsuru","description":"Open source Platform as a Service (PaaS).","fork":false,"url":"https://api.github.com/repos/tsuru/tsuru","forks_url":"https://api.github.com/repos/tsuru/tsuru/forks","keys_url":"https://api.github.com/repos/tsuru/tsuru/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tsuru/tsuru/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tsuru/tsuru/teams","hooks_url":"https://api.github.com/repos/tsuru/tsuru/hooks","issue_events_url":"https://api.github.com/repos/tsuru/tsuru/issues/events{/number}","events_url":"https://api.github.com/repos/tsuru/tsuru/events","assignees_url":"https://api.github.com/repos/tsuru/tsuru/assignees{/user}","branches_url":"https://api.github.com/repos/tsuru/tsuru/branches{/branch}","tags_url":"https://api.github.com/repos/tsuru/tsuru/tags","blobs_url":"https://api.github.com/repos/tsuru/tsuru/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tsuru/tsuru/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tsuru/tsuru/git/refs{/sha}","trees_url":"https://api.github.com/repos/tsuru/tsuru/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tsuru/tsuru/statuses/{sha}","languages_url":"https://api.github.com/repos/tsuru/tsuru/languages","stargazers_url":"https://api.github.com/repos/tsuru/tsuru/stargazers","contributors_url":"https://api.github.com/repos/tsuru/tsuru/contributors","subscribers_url":"https://api.github.com/repos/tsuru/tsuru/subscribers","subscription_url":"https://api.github.com/repos/tsuru/tsuru/subscription","commits_url":"https://api.github.com/repos/tsuru/tsuru/commits{/sha}","git_commits_url":"https://api.github.com/repos/tsuru/tsuru/git/commits{/sha}","comments_url":"https://api.github.com/repos/tsuru/tsuru/comments{/number}","issue_comment_url":"https://api.github.com/repos/tsuru/tsuru/issues/comments/{number}","contents_url":"https://api.github.com/repos/tsuru/tsuru/contents/{+path}","compare_url":"https://api.github.com/repos/tsuru/tsuru/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tsuru/tsuru/merges","archive_url":"https://api.github.com/repos/tsuru/tsuru/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tsuru/tsuru/downloads","issues_url":"https://api.github.com/repos/tsuru/tsuru/issues{/number}","pulls_url":"https://api.github.com/repos/tsuru/tsuru/pulls{/number}","milestones_url":"https://api.github.com/repos/tsuru/tsuru/milestones{/number}","notifications_url":"https://api.github.com/repos/tsuru/tsuru/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tsuru/tsuru/labels{/name}","releases_url":"https://api.github.com/repos/tsuru/tsuru/releases{/id}","created_at":"2012-03-05T21:41:08Z","updated_at":"2015-01-15T17:58:33Z","pushed_at":"2015-01-15T17:58:32Z","git_url":"git://github.com/tsuru/tsuru.git","ssh_url":"git@github.com:tsuru/tsuru.git","clone_url":"https://github.com/tsuru/tsuru.git","svn_url":"https://github.com/tsuru/tsuru","homepage":"https://tsuru.io","size":39714,"stargazers_count":1308,"watchers_count":1308,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":137,"mirror_url":null,"open_issues_count":150,"forks":137,"open_issues":150,"watchers":1308,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tsuru/tsuru/pulls/1066"},"html":{"href":"https://github.com/tsuru/tsuru/pull/1066"},"issue":{"href":"https://api.github.com/repos/tsuru/tsuru/issues/1066"},"comments":{"href":"https://api.github.com/repos/tsuru/tsuru/issues/1066/comments"},"review_comments":{"href":"https://api.github.com/repos/tsuru/tsuru/pulls/1066/comments"},"review_comment":{"href":"https://api.github.com/repos/tsuru/tsuru/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/tsuru/tsuru/pulls/1066/commits"},"statuses":{"href":"https://api.github.com/repos/tsuru/tsuru/statuses/ab4f654264b38771f5c0c3757ac9ff77964a924d"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"cezarsa","id":11041,"avatar_url":"https://avatars.githubusercontent.com/u/11041?v=3","gravatar_id":"","url":"https://api.github.com/users/cezarsa","html_url":"https://github.com/cezarsa","followers_url":"https://api.github.com/users/cezarsa/followers","following_url":"https://api.github.com/users/cezarsa/following{/other_user}","gists_url":"https://api.github.com/users/cezarsa/gists{/gist_id}","starred_url":"https://api.github.com/users/cezarsa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cezarsa/subscriptions","organizations_url":"https://api.github.com/users/cezarsa/orgs","repos_url":"https://api.github.com/users/cezarsa/repos","events_url":"https://api.github.com/users/cezarsa/events{/privacy}","received_events_url":"https://api.github.com/users/cezarsa/received_events","type":"User","site_admin":false},"comments":6,"review_comments":2,"commits":1,"additions":48,"deletions":4,"changed_files":4}}