{"action":"created","comment":{"url":"https://api.github.com/repos/juju/jujusvg/pulls/comments/64695438","id":64695438,"diff_hunk":"@@ -13,42 +13,42 @@ import (\n )\n \n const (\n-\ticonSize           = 96\n-\tserviceBlockSize   = 180\n-\thealthCircleRadius = 8\n-\trelationLineWidth  = 1\n-\tmaxInt             = int(^uint(0) >> 1)\n-\tminInt             = -(maxInt - 1)\n-\tmaxHeight          = 450\n-\tmaxWidth           = 1000\n+\ticonSize             = 96\n+\tapplicationBlockSize = 180\n+\thealthCircleRadius   = 8\n+\trelationLineWidth    = 1\n+\tmaxInt               = int(^uint(0) >> 1)\n+\tminInt               = -(maxInt - 1)\n+\tmaxHeight            = 450\n+\tmaxWidth             = 1000\n \n \tfontColor     = \"#505050\"\n \trelationColor = \"#a7a7a7\"\n )\n \n // Canvas holds the parsed form of a bundle or environment.\n type Canvas struct {\n-\tservices      []*service\n-\trelations     []*serviceRelation\n+\tapplications  []*application\n+\trelations     []*applicationRelation\n \ticonsRendered map[string]bool\n \ticonIds       map[string]string\n }\n \n-// service represents a service deployed to an environment and contains the\n+// application represents a application deployed to an environment and contains the","path":"canvas.go","position":36,"original_position":36,"commit_id":"938e23d6d2a93aefcbb8293180353e6ce8bba4c7","original_commit_id":"938e23d6d2a93aefcbb8293180353e6ce8bba4c7","user":{"login":"axw","id":843579,"avatar_url":"https://avatars.githubusercontent.com/u/843579?v=3","gravatar_id":"","url":"https://api.github.com/users/axw","html_url":"https://github.com/axw","followers_url":"https://api.github.com/users/axw/followers","following_url":"https://api.github.com/users/axw/following{/other_user}","gists_url":"https://api.github.com/users/axw/gists{/gist_id}","starred_url":"https://api.github.com/users/axw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axw/subscriptions","organizations_url":"https://api.github.com/users/axw/orgs","repos_url":"https://api.github.com/users/axw/repos","events_url":"https://api.github.com/users/axw/events{/privacy}","received_events_url":"https://api.github.com/users/axw/received_events","type":"User","site_admin":false},"body":"to a model","created_at":"2016-05-26T06:06:14Z","updated_at":"2016-05-26T06:06:14Z","html_url":"https://github.com/juju/jujusvg/pull/47#discussion_r64695438","pull_request_url":"https://api.github.com/repos/juju/jujusvg/pulls/47","_links":{"self":{"href":"https://api.github.com/repos/juju/jujusvg/pulls/comments/64695438"},"html":{"href":"https://github.com/juju/jujusvg/pull/47#discussion_r64695438"},"pull_request":{"href":"https://api.github.com/repos/juju/jujusvg/pulls/47"}}},"pull_request":{"url":"https://api.github.com/repos/juju/jujusvg/pulls/47","id":71504393,"html_url":"https://github.com/juju/jujusvg/pull/47","diff_url":"https://github.com/juju/jujusvg/pull/47.diff","patch_url":"https://github.com/juju/jujusvg/pull/47.patch","issue_url":"https://api.github.com/repos/juju/jujusvg/issues/47","number":47,"state":"open","locked":false,"title":"Rename service to application","user":{"login":"wallyworld","id":5808968,"avatar_url":"https://avatars.githubusercontent.com/u/5808968?v=3","gravatar_id":"","url":"https://api.github.com/users/wallyworld","html_url":"https://github.com/wallyworld","followers_url":"https://api.github.com/users/wallyworld/followers","following_url":"https://api.github.com/users/wallyworld/following{/other_user}","gists_url":"https://api.github.com/users/wallyworld/gists{/gist_id}","starred_url":"https://api.github.com/users/wallyworld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wallyworld/subscriptions","organizations_url":"https://api.github.com/users/wallyworld/orgs","repos_url":"https://api.github.com/users/wallyworld/repos","events_url":"https://api.github.com/users/wallyworld/events{/privacy}","received_events_url":"https://api.github.com/users/wallyworld/received_events","type":"User","site_admin":false},"body":"Services are now Applications","created_at":"2016-05-26T06:03:00Z","updated_at":"2016-05-26T06:06:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c6b2e79cd49635c1fa25324709154de5621666fb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/juju/jujusvg/pulls/47/commits","review_comments_url":"https://api.github.com/repos/juju/jujusvg/pulls/47/comments","review_comment_url":"https://api.github.com/repos/juju/jujusvg/pulls/comments{/number}","comments_url":"https://api.github.com/repos/juju/jujusvg/issues/47/comments","statuses_url":"https://api.github.com/repos/juju/jujusvg/statuses/938e23d6d2a93aefcbb8293180353e6ce8bba4c7","head":{"label":"wallyworld:service-to-application","ref":"service-to-application","sha":"938e23d6d2a93aefcbb8293180353e6ce8bba4c7","user":{"login":"wallyworld","id":5808968,"avatar_url":"https://avatars.githubusercontent.com/u/5808968?v=3","gravatar_id":"","url":"https://api.github.com/users/wallyworld","html_url":"https://github.com/wallyworld","followers_url":"https://api.github.com/users/wallyworld/followers","following_url":"https://api.github.com/users/wallyworld/following{/other_user}","gists_url":"https://api.github.com/users/wallyworld/gists{/gist_id}","starred_url":"https://api.github.com/users/wallyworld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wallyworld/subscriptions","organizations_url":"https://api.github.com/users/wallyworld/orgs","repos_url":"https://api.github.com/users/wallyworld/repos","events_url":"https://api.github.com/users/wallyworld/events{/privacy}","received_events_url":"https://api.github.com/users/wallyworld/received_events","type":"User","site_admin":false},"repo":{"id":59724086,"name":"jujusvg","full_name":"wallyworld/jujusvg","owner":{"login":"wallyworld","id":5808968,"avatar_url":"https://avatars.githubusercontent.com/u/5808968?v=3","gravatar_id":"","url":"https://api.github.com/users/wallyworld","html_url":"https://github.com/wallyworld","followers_url":"https://api.github.com/users/wallyworld/followers","following_url":"https://api.github.com/users/wallyworld/following{/other_user}","gists_url":"https://api.github.com/users/wallyworld/gists{/gist_id}","starred_url":"https://api.github.com/users/wallyworld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wallyworld/subscriptions","organizations_url":"https://api.github.com/users/wallyworld/orgs","repos_url":"https://api.github.com/users/wallyworld/repos","events_url":"https://api.github.com/users/wallyworld/events{/privacy}","received_events_url":"https://api.github.com/users/wallyworld/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wallyworld/jujusvg","description":"Generate svgs from Juju bundles and environment.","fork":true,"url":"https://api.github.com/repos/wallyworld/jujusvg","forks_url":"https://api.github.com/repos/wallyworld/jujusvg/forks","keys_url":"https://api.github.com/repos/wallyworld/jujusvg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wallyworld/jujusvg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wallyworld/jujusvg/teams","hooks_url":"https://api.github.com/repos/wallyworld/jujusvg/hooks","issue_events_url":"https://api.github.com/repos/wallyworld/jujusvg/issues/events{/number}","events_url":"https://api.github.com/repos/wallyworld/jujusvg/events","assignees_url":"https://api.github.com/repos/wallyworld/jujusvg/assignees{/user}","branches_url":"https://api.github.com/repos/wallyworld/jujusvg/branches{/branch}","tags_url":"https://api.github.com/repos/wallyworld/jujusvg/tags","blobs_url":"https://api.github.com/repos/wallyworld/jujusvg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wallyworld/jujusvg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wallyworld/jujusvg/git/refs{/sha}","trees_url":"https://api.github.com/repos/wallyworld/jujusvg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wallyworld/jujusvg/statuses/{sha}","languages_url":"https://api.github.com/repos/wallyworld/jujusvg/languages","stargazers_url":"https://api.github.com/repos/wallyworld/jujusvg/stargazers","contributors_url":"https://api.github.com/repos/wallyworld/jujusvg/contributors","subscribers_url":"https://api.github.com/repos/wallyworld/jujusvg/subscribers","subscription_url":"https://api.github.com/repos/wallyworld/jujusvg/subscription","commits_url":"https://api.github.com/repos/wallyworld/jujusvg/commits{/sha}","git_commits_url":"https://api.github.com/repos/wallyworld/jujusvg/git/commits{/sha}","comments_url":"https://api.github.com/repos/wallyworld/jujusvg/comments{/number}","issue_comment_url":"https://api.github.com/repos/wallyworld/jujusvg/issues/comments{/number}","contents_url":"https://api.github.com/repos/wallyworld/jujusvg/contents/{+path}","compare_url":"https://api.github.com/repos/wallyworld/jujusvg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wallyworld/jujusvg/merges","archive_url":"https://api.github.com/repos/wallyworld/jujusvg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wallyworld/jujusvg/downloads","issues_url":"https://api.github.com/repos/wallyworld/jujusvg/issues{/number}","pulls_url":"https://api.github.com/repos/wallyworld/jujusvg/pulls{/number}","milestones_url":"https://api.github.com/repos/wallyworld/jujusvg/milestones{/number}","notifications_url":"https://api.github.com/repos/wallyworld/jujusvg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wallyworld/jujusvg/labels{/name}","releases_url":"https://api.github.com/repos/wallyworld/jujusvg/releases{/id}","deployments_url":"https://api.github.com/repos/wallyworld/jujusvg/deployments","created_at":"2016-05-26T06:01:44Z","updated_at":"2016-05-26T06:01:45Z","pushed_at":"2016-05-26T06:01:59Z","git_url":"git://github.com/wallyworld/jujusvg.git","ssh_url":"git@github.com:wallyworld/jujusvg.git","clone_url":"https://github.com/wallyworld/jujusvg.git","svn_url":"https://github.com/wallyworld/jujusvg","homepage":null,"size":172,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"juju:v1","ref":"v1","sha":"322eb6ec6afd4ad6aa31a687e778540ac2320ec4","user":{"login":"juju","id":4604548,"avatar_url":"https://avatars.githubusercontent.com/u/4604548?v=3","gravatar_id":"","url":"https://api.github.com/users/juju","html_url":"https://github.com/juju","followers_url":"https://api.github.com/users/juju/followers","following_url":"https://api.github.com/users/juju/following{/other_user}","gists_url":"https://api.github.com/users/juju/gists{/gist_id}","starred_url":"https://api.github.com/users/juju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juju/subscriptions","organizations_url":"https://api.github.com/users/juju/orgs","repos_url":"https://api.github.com/users/juju/repos","events_url":"https://api.github.com/users/juju/events{/privacy}","received_events_url":"https://api.github.com/users/juju/received_events","type":"Organization","site_admin":false},"repo":{"id":22249784,"name":"jujusvg","full_name":"juju/jujusvg","owner":{"login":"juju","id":4604548,"avatar_url":"https://avatars.githubusercontent.com/u/4604548?v=3","gravatar_id":"","url":"https://api.github.com/users/juju","html_url":"https://github.com/juju","followers_url":"https://api.github.com/users/juju/followers","following_url":"https://api.github.com/users/juju/following{/other_user}","gists_url":"https://api.github.com/users/juju/gists{/gist_id}","starred_url":"https://api.github.com/users/juju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juju/subscriptions","organizations_url":"https://api.github.com/users/juju/orgs","repos_url":"https://api.github.com/users/juju/repos","events_url":"https://api.github.com/users/juju/events{/privacy}","received_events_url":"https://api.github.com/users/juju/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/juju/jujusvg","description":"Generate svgs from Juju bundles and environment.","fork":false,"url":"https://api.github.com/repos/juju/jujusvg","forks_url":"https://api.github.com/repos/juju/jujusvg/forks","keys_url":"https://api.github.com/repos/juju/jujusvg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/juju/jujusvg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/juju/jujusvg/teams","hooks_url":"https://api.github.com/repos/juju/jujusvg/hooks","issue_events_url":"https://api.github.com/repos/juju/jujusvg/issues/events{/number}","events_url":"https://api.github.com/repos/juju/jujusvg/events","assignees_url":"https://api.github.com/repos/juju/jujusvg/assignees{/user}","branches_url":"https://api.github.com/repos/juju/jujusvg/branches{/branch}","tags_url":"https://api.github.com/repos/juju/jujusvg/tags","blobs_url":"https://api.github.com/repos/juju/jujusvg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/juju/jujusvg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/juju/jujusvg/git/refs{/sha}","trees_url":"https://api.github.com/repos/juju/jujusvg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/juju/jujusvg/statuses/{sha}","languages_url":"https://api.github.com/repos/juju/jujusvg/languages","stargazers_url":"https://api.github.com/repos/juju/jujusvg/stargazers","contributors_url":"https://api.github.com/repos/juju/jujusvg/contributors","subscribers_url":"https://api.github.com/repos/juju/jujusvg/subscribers","subscription_url":"https://api.github.com/repos/juju/jujusvg/subscription","commits_url":"https://api.github.com/repos/juju/jujusvg/commits{/sha}","git_commits_url":"https://api.github.com/repos/juju/jujusvg/git/commits{/sha}","comments_url":"https://api.github.com/repos/juju/jujusvg/comments{/number}","issue_comment_url":"https://api.github.com/repos/juju/jujusvg/issues/comments{/number}","contents_url":"https://api.github.com/repos/juju/jujusvg/contents/{+path}","compare_url":"https://api.github.com/repos/juju/jujusvg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/juju/jujusvg/merges","archive_url":"https://api.github.com/repos/juju/jujusvg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/juju/jujusvg/downloads","issues_url":"https://api.github.com/repos/juju/jujusvg/issues{/number}","pulls_url":"https://api.github.com/repos/juju/jujusvg/pulls{/number}","milestones_url":"https://api.github.com/repos/juju/jujusvg/milestones{/number}","notifications_url":"https://api.github.com/repos/juju/jujusvg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/juju/jujusvg/labels{/name}","releases_url":"https://api.github.com/repos/juju/jujusvg/releases{/id}","deployments_url":"https://api.github.com/repos/juju/jujusvg/deployments","created_at":"2014-07-25T08:13:21Z","updated_at":"2016-03-30T06:40:11Z","pushed_at":"2016-05-26T06:03:00Z","git_url":"git://github.com/juju/jujusvg.git","ssh_url":"git@github.com:juju/jujusvg.git","clone_url":"https://github.com/juju/jujusvg.git","svn_url":"https://github.com/juju/jujusvg","homepage":null,"size":205,"stargazers_count":4,"watchers_count":4,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":4,"forks":10,"open_issues":4,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/juju/jujusvg/pulls/47"},"html":{"href":"https://github.com/juju/jujusvg/pull/47"},"issue":{"href":"https://api.github.com/repos/juju/jujusvg/issues/47"},"comments":{"href":"https://api.github.com/repos/juju/jujusvg/issues/47/comments"},"review_comments":{"href":"https://api.github.com/repos/juju/jujusvg/pulls/47/comments"},"review_comment":{"href":"https://api.github.com/repos/juju/jujusvg/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/juju/jujusvg/pulls/47/commits"},"statuses":{"href":"https://api.github.com/repos/juju/jujusvg/statuses/938e23d6d2a93aefcbb8293180353e6ce8bba4c7"}}}}
{"actor":{"display_login":"axw"}}