{"action":"created","comment":{"url":"https://api.github.com/repos/badges/shields/pulls/comments/241244300","pull_request_review_id":184468480,"id":241244300,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MTI0NDMwMA==","diff_hunk":"@@ -1,124 +1,214 @@\n 'use strict'","path":"services/nexus/nexus.service.js","position":1,"original_position":1,"commit_id":"c394c8c77c78a2a1778eeddca5fe233bfbd10524","original_commit_id":"c394c8c77c78a2a1778eeddca5fe233bfbd10524","user":{"login":"calebcartwright","id":13042488,"node_id":"MDQ6VXNlcjEzMDQyNDg4","avatar_url":"https://avatars0.githubusercontent.com/u/13042488?v=4","gravatar_id":"","url":"https://api.github.com/users/calebcartwright","html_url":"https://github.com/calebcartwright","followers_url":"https://api.github.com/users/calebcartwright/followers","following_url":"https://api.github.com/users/calebcartwright/following{/other_user}","gists_url":"https://api.github.com/users/calebcartwright/gists{/gist_id}","starred_url":"https://api.github.com/users/calebcartwright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calebcartwright/subscriptions","organizations_url":"https://api.github.com/users/calebcartwright/orgs","repos_url":"https://api.github.com/users/calebcartwright/repos","events_url":"https://api.github.com/users/calebcartwright/events{/privacy}","received_events_url":"https://api.github.com/users/calebcartwright/received_events","type":"User","site_admin":false},"body":"I considered renaming the service file to include `version` as these badges are all about versions from Nexus, and there's potentially other badge info (downloads for example) that could be included from Nexus in the future. I also wondered if supporting Nexus 2.x & 3.x would require different service classes (and thus different files).\r\n\r\nIn the end though I decided to leave the file name as is since we can always change it later if/when those other things come","created_at":"2018-12-13T01:21:24Z","updated_at":"2018-12-13T01:21:24Z","html_url":"https://github.com/badges/shields/pull/2520#discussion_r241244300","pull_request_url":"https://api.github.com/repos/badges/shields/pulls/2520","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/badges/shields/pulls/comments/241244300"},"html":{"href":"https://github.com/badges/shields/pull/2520#discussion_r241244300"},"pull_request":{"href":"https://api.github.com/repos/badges/shields/pulls/2520"}}},"pull_request":{"url":"https://api.github.com/repos/badges/shields/pulls/2520","id":238235580,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM4MjM1NTgw","html_url":"https://github.com/badges/shields/pull/2520","diff_url":"https://github.com/badges/shields/pull/2520.diff","patch_url":"https://github.com/badges/shields/pull/2520.patch","issue_url":"https://api.github.com/repos/badges/shields/issues/2520","number":2520,"state":"open","locked":false,"title":"Migrates [Nexus] service to new service model","user":{"login":"calebcartwright","id":13042488,"node_id":"MDQ6VXNlcjEzMDQyNDg4","avatar_url":"https://avatars0.githubusercontent.com/u/13042488?v=4","gravatar_id":"","url":"https://api.github.com/users/calebcartwright","html_url":"https://github.com/calebcartwright","followers_url":"https://api.github.com/users/calebcartwright/followers","following_url":"https://api.github.com/users/calebcartwright/following{/other_user}","gists_url":"https://api.github.com/users/calebcartwright/gists{/gist_id}","starred_url":"https://api.github.com/users/calebcartwright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calebcartwright/subscriptions","organizations_url":"https://api.github.com/users/calebcartwright/orgs","repos_url":"https://api.github.com/users/calebcartwright/repos","events_url":"https://api.github.com/users/calebcartwright/events{/privacy}","received_events_url":"https://api.github.com/users/calebcartwright/received_events","type":"User","site_admin":false},"body":"Ports the nexus service to the new service model. Some related/relevant conversation #2347 \r\n\r\nI also added some thoughts/comments inline","created_at":"2018-12-13T01:18:27Z","updated_at":"2018-12-13T01:21:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"37cd6097741c489b4fbe878b0dd92507b10ea549","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/badges/shields/pulls/2520/commits","review_comments_url":"https://api.github.com/repos/badges/shields/pulls/2520/comments","review_comment_url":"https://api.github.com/repos/badges/shields/pulls/comments{/number}","comments_url":"https://api.github.com/repos/badges/shields/issues/2520/comments","statuses_url":"https://api.github.com/repos/badges/shields/statuses/c394c8c77c78a2a1778eeddca5fe233bfbd10524","head":{"label":"calebcartwright:master","ref":"master","sha":"c394c8c77c78a2a1778eeddca5fe233bfbd10524","user":{"login":"calebcartwright","id":13042488,"node_id":"MDQ6VXNlcjEzMDQyNDg4","avatar_url":"https://avatars0.githubusercontent.com/u/13042488?v=4","gravatar_id":"","url":"https://api.github.com/users/calebcartwright","html_url":"https://github.com/calebcartwright","followers_url":"https://api.github.com/users/calebcartwright/followers","following_url":"https://api.github.com/users/calebcartwright/following{/other_user}","gists_url":"https://api.github.com/users/calebcartwright/gists{/gist_id}","starred_url":"https://api.github.com/users/calebcartwright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calebcartwright/subscriptions","organizations_url":"https://api.github.com/users/calebcartwright/orgs","repos_url":"https://api.github.com/users/calebcartwright/repos","events_url":"https://api.github.com/users/calebcartwright/events{/privacy}","received_events_url":"https://api.github.com/users/calebcartwright/received_events","type":"User","site_admin":false},"repo":{"id":156782272,"node_id":"MDEwOlJlcG9zaXRvcnkxNTY3ODIyNzI=","name":"shields","full_name":"calebcartwright/shields","private":false,"owner":{"login":"calebcartwright","id":13042488,"node_id":"MDQ6VXNlcjEzMDQyNDg4","avatar_url":"https://avatars0.githubusercontent.com/u/13042488?v=4","gravatar_id":"","url":"https://api.github.com/users/calebcartwright","html_url":"https://github.com/calebcartwright","followers_url":"https://api.github.com/users/calebcartwright/followers","following_url":"https://api.github.com/users/calebcartwright/following{/other_user}","gists_url":"https://api.github.com/users/calebcartwright/gists{/gist_id}","starred_url":"https://api.github.com/users/calebcartwright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calebcartwright/subscriptions","organizations_url":"https://api.github.com/users/calebcartwright/orgs","repos_url":"https://api.github.com/users/calebcartwright/repos","events_url":"https://api.github.com/users/calebcartwright/events{/privacy}","received_events_url":"https://api.github.com/users/calebcartwright/received_events","type":"User","site_admin":false},"html_url":"https://github.com/calebcartwright/shields","description":"Concise, consistent, and legible badges in SVG and raster format","fork":true,"url":"https://api.github.com/repos/calebcartwright/shields","forks_url":"https://api.github.com/repos/calebcartwright/shields/forks","keys_url":"https://api.github.com/repos/calebcartwright/shields/keys{/key_id}","collaborators_url":"https://api.github.com/repos/calebcartwright/shields/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/calebcartwright/shields/teams","hooks_url":"https://api.github.com/repos/calebcartwright/shields/hooks","issue_events_url":"https://api.github.com/repos/calebcartwright/shields/issues/events{/number}","events_url":"https://api.github.com/repos/calebcartwright/shields/events","assignees_url":"https://api.github.com/repos/calebcartwright/shields/assignees{/user}","branches_url":"https://api.github.com/repos/calebcartwright/shields/branches{/branch}","tags_url":"https://api.github.com/repos/calebcartwright/shields/tags","blobs_url":"https://api.github.com/repos/calebcartwright/shields/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/calebcartwright/shields/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/calebcartwright/shields/git/refs{/sha}","trees_url":"https://api.github.com/repos/calebcartwright/shields/git/trees{/sha}","statuses_url":"https://api.github.com/repos/calebcartwright/shields/statuses/{sha}","languages_url":"https://api.github.com/repos/calebcartwright/shields/languages","stargazers_url":"https://api.github.com/repos/calebcartwright/shields/stargazers","contributors_url":"https://api.github.com/repos/calebcartwright/shields/contributors","subscribers_url":"https://api.github.com/repos/calebcartwright/shields/subscribers","subscription_url":"https://api.github.com/repos/calebcartwright/shields/subscription","commits_url":"https://api.github.com/repos/calebcartwright/shields/commits{/sha}","git_commits_url":"https://api.github.com/repos/calebcartwright/shields/git/commits{/sha}","comments_url":"https://api.github.com/repos/calebcartwright/shields/comments{/number}","issue_comment_url":"https://api.github.com/repos/calebcartwright/shields/issues/comments{/number}","contents_url":"https://api.github.com/repos/calebcartwright/shields/contents/{+path}","compare_url":"https://api.github.com/repos/calebcartwright/shields/compare/{base}...{head}","merges_url":"https://api.github.com/repos/calebcartwright/shields/merges","archive_url":"https://api.github.com/repos/calebcartwright/shields/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/calebcartwright/shields/downloads","issues_url":"https://api.github.com/repos/calebcartwright/shields/issues{/number}","pulls_url":"https://api.github.com/repos/calebcartwright/shields/pulls{/number}","milestones_url":"https://api.github.com/repos/calebcartwright/shields/milestones{/number}","notifications_url":"https://api.github.com/repos/calebcartwright/shields/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/calebcartwright/shields/labels{/name}","releases_url":"https://api.github.com/repos/calebcartwright/shields/releases{/id}","deployments_url":"https://api.github.com/repos/calebcartwright/shields/deployments","created_at":"2018-11-08T23:25:35Z","updated_at":"2018-12-13T01:15:35Z","pushed_at":"2018-12-13T01:15:33Z","git_url":"git://github.com/calebcartwright/shields.git","ssh_url":"git@github.com:calebcartwright/shields.git","clone_url":"https://github.com/calebcartwright/shields.git","svn_url":"https://github.com/calebcartwright/shields","homepage":"https://shields.io","size":15271,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"cc0-1.0","name":"Creative Commons Zero v1.0 Universal","spdx_id":"CC0-1.0","url":"https://api.github.com/licenses/cc0-1.0","node_id":"MDc6TGljZW5zZTY="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"badges:master","ref":"master","sha":"b8461aa921ea573913399e906c94e506b08a1da1","user":{"login":"badges","id":6254238,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyNTQyMzg=","avatar_url":"https://avatars2.githubusercontent.com/u/6254238?v=4","gravatar_id":"","url":"https://api.github.com/users/badges","html_url":"https://github.com/badges","followers_url":"https://api.github.com/users/badges/followers","following_url":"https://api.github.com/users/badges/following{/other_user}","gists_url":"https://api.github.com/users/badges/gists{/gist_id}","starred_url":"https://api.github.com/users/badges/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/badges/subscriptions","organizations_url":"https://api.github.com/users/badges/orgs","repos_url":"https://api.github.com/users/badges/repos","events_url":"https://api.github.com/users/badges/events{/privacy}","received_events_url":"https://api.github.com/users/badges/received_events","type":"Organization","site_admin":false},"repo":{"id":7910045,"node_id":"MDEwOlJlcG9zaXRvcnk3OTEwMDQ1","name":"shields","full_name":"badges/shields","private":false,"owner":{"login":"badges","id":6254238,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyNTQyMzg=","avatar_url":"https://avatars2.githubusercontent.com/u/6254238?v=4","gravatar_id":"","url":"https://api.github.com/users/badges","html_url":"https://github.com/badges","followers_url":"https://api.github.com/users/badges/followers","following_url":"https://api.github.com/users/badges/following{/other_user}","gists_url":"https://api.github.com/users/badges/gists{/gist_id}","starred_url":"https://api.github.com/users/badges/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/badges/subscriptions","organizations_url":"https://api.github.com/users/badges/orgs","repos_url":"https://api.github.com/users/badges/repos","events_url":"https://api.github.com/users/badges/events{/privacy}","received_events_url":"https://api.github.com/users/badges/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/badges/shields","description":"Concise, consistent, and legible badges in SVG and raster format","fork":false,"url":"https://api.github.com/repos/badges/shields","forks_url":"https://api.github.com/repos/badges/shields/forks","keys_url":"https://api.github.com/repos/badges/shields/keys{/key_id}","collaborators_url":"https://api.github.com/repos/badges/shields/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/badges/shields/teams","hooks_url":"https://api.github.com/repos/badges/shields/hooks","issue_events_url":"https://api.github.com/repos/badges/shields/issues/events{/number}","events_url":"https://api.github.com/repos/badges/shields/events","assignees_url":"https://api.github.com/repos/badges/shields/assignees{/user}","branches_url":"https://api.github.com/repos/badges/shields/branches{/branch}","tags_url":"https://api.github.com/repos/badges/shields/tags","blobs_url":"https://api.github.com/repos/badges/shields/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/badges/shields/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/badges/shields/git/refs{/sha}","trees_url":"https://api.github.com/repos/badges/shields/git/trees{/sha}","statuses_url":"https://api.github.com/repos/badges/shields/statuses/{sha}","languages_url":"https://api.github.com/repos/badges/shields/languages","stargazers_url":"https://api.github.com/repos/badges/shields/stargazers","contributors_url":"https://api.github.com/repos/badges/shields/contributors","subscribers_url":"https://api.github.com/repos/badges/shields/subscribers","subscription_url":"https://api.github.com/repos/badges/shields/subscription","commits_url":"https://api.github.com/repos/badges/shields/commits{/sha}","git_commits_url":"https://api.github.com/repos/badges/shields/git/commits{/sha}","comments_url":"https://api.github.com/repos/badges/shields/comments{/number}","issue_comment_url":"https://api.github.com/repos/badges/shields/issues/comments{/number}","contents_url":"https://api.github.com/repos/badges/shields/contents/{+path}","compare_url":"https://api.github.com/repos/badges/shields/compare/{base}...{head}","merges_url":"https://api.github.com/repos/badges/shields/merges","archive_url":"https://api.github.com/repos/badges/shields/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/badges/shields/downloads","issues_url":"https://api.github.com/repos/badges/shields/issues{/number}","pulls_url":"https://api.github.com/repos/badges/shields/pulls{/number}","milestones_url":"https://api.github.com/repos/badges/shields/milestones{/number}","notifications_url":"https://api.github.com/repos/badges/shields/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/badges/shields/labels{/name}","releases_url":"https://api.github.com/repos/badges/shields/releases{/id}","deployments_url":"https://api.github.com/repos/badges/shields/deployments","created_at":"2013-01-30T07:41:54Z","updated_at":"2018-12-12T21:52:53Z","pushed_at":"2018-12-13T01:18:27Z","git_url":"git://github.com/badges/shields.git","ssh_url":"git@github.com:badges/shields.git","clone_url":"https://github.com/badges/shields.git","svn_url":"https://github.com/badges/shields","homepage":"https://shields.io","size":15883,"stargazers_count":6775,"watchers_count":6775,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":1570,"mirror_url":null,"archived":false,"open_issues_count":196,"license":{"key":"cc0-1.0","name":"Creative Commons Zero v1.0 Universal","spdx_id":"CC0-1.0","url":"https://api.github.com/licenses/cc0-1.0","node_id":"MDc6TGljZW5zZTY="},"forks":1570,"open_issues":196,"watchers":6775,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/badges/shields/pulls/2520"},"html":{"href":"https://github.com/badges/shields/pull/2520"},"issue":{"href":"https://api.github.com/repos/badges/shields/issues/2520"},"comments":{"href":"https://api.github.com/repos/badges/shields/issues/2520/comments"},"review_comments":{"href":"https://api.github.com/repos/badges/shields/pulls/2520/comments"},"review_comment":{"href":"https://api.github.com/repos/badges/shields/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/badges/shields/pulls/2520/commits"},"statuses":{"href":"https://api.github.com/repos/badges/shields/statuses/c394c8c77c78a2a1778eeddca5fe233bfbd10524"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"calebcartwright"}}