{"action":"created","comment":{"url":"https://api.github.com/repos/sonatype/nexus-oss/pulls/comments/34632945","id":34632945,"diff_hunk":"@@ -58,16 +65,24 @@\n {\n   private final ApplicationDirectories applicationDirectories;\n \n-  private final boolean listenerEnabled;\n+  private final boolean binaryListenerEnabled;\n+\n+  private final boolean httpListenerEnabled;\n+\n+  private boolean dynamicPlugins;\n \n   private OServer server;\n \n   @Inject\n   public DatabaseServerImpl(final ApplicationDirectories applicationDirectories,\n-                            final @Named(\"${nexus.orient.listenerEnabled:-false}\") boolean listenerEnabled)\n+                            final @Named(\"${nexus.orient.binaryListenerEnabled:-false}\") boolean binaryListenerEnabled,\n+                            final @Named(\"${nexus.orient.httpListenerEnabled:-false}\") boolean httpListenerEnabled,","path":"components/nexus-core/src/main/java/org/sonatype/nexus/internal/orient/DatabaseServerImpl.java","position":47,"original_position":47,"commit_id":"47d8e6a91a4ae5a8bd70bbbb9db1d3703e729513","original_commit_id":"47d8e6a91a4ae5a8bd70bbbb9db1d3703e729513","user":{"login":"sonatype-zion","id":1497996,"avatar_url":"https://avatars.githubusercontent.com/u/1497996?v=3","gravatar_id":"","url":"https://api.github.com/users/sonatype-zion","html_url":"https://github.com/sonatype-zion","followers_url":"https://api.github.com/users/sonatype-zion/followers","following_url":"https://api.github.com/users/sonatype-zion/following{/other_user}","gists_url":"https://api.github.com/users/sonatype-zion/gists{/gist_id}","starred_url":"https://api.github.com/users/sonatype-zion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonatype-zion/subscriptions","organizations_url":"https://api.github.com/users/sonatype-zion/orgs","repos_url":"https://api.github.com/users/sonatype-zion/repos","events_url":"https://api.github.com/users/sonatype-zion/events{/privacy}","received_events_url":"https://api.github.com/users/sonatype-zion/received_events","type":"User","site_admin":false},"body":"![MINOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-minor.png) Reorder the modifiers to comply with the Java Language Specification. [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AModifiersOrderCheck)\n","created_at":"2015-07-14T23:42:53Z","updated_at":"2015-07-14T23:42:53Z","html_url":"https://github.com/sonatype/nexus-oss/pull/1562#discussion_r34632945","pull_request_url":"https://api.github.com/repos/sonatype/nexus-oss/pulls/1562","_links":{"self":{"href":"https://api.github.com/repos/sonatype/nexus-oss/pulls/comments/34632945"},"html":{"href":"https://github.com/sonatype/nexus-oss/pull/1562#discussion_r34632945"},"pull_request":{"href":"https://api.github.com/repos/sonatype/nexus-oss/pulls/1562"}}},"pull_request":{"url":"https://api.github.com/repos/sonatype/nexus-oss/pulls/1562","id":39752517,"html_url":"https://github.com/sonatype/nexus-oss/pull/1562","diff_url":"https://github.com/sonatype/nexus-oss/pull/1562.diff","patch_url":"https://github.com/sonatype/nexus-oss/pull/1562.patch","issue_url":"https://api.github.com/repos/sonatype/nexus-oss/issues/1562","number":1562,"state":"open","locked":false,"title":"OrientDB studio","user":{"login":"jdillon","id":20114,"avatar_url":"https://avatars.githubusercontent.com/u/20114?v=3","gravatar_id":"","url":"https://api.github.com/users/jdillon","html_url":"https://github.com/jdillon","followers_url":"https://api.github.com/users/jdillon/followers","following_url":"https://api.github.com/users/jdillon/following{/other_user}","gists_url":"https://api.github.com/users/jdillon/gists{/gist_id}","starred_url":"https://api.github.com/users/jdillon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdillon/subscriptions","organizations_url":"https://api.github.com/users/jdillon/orgs","repos_url":"https://api.github.com/users/jdillon/repos","events_url":"https://api.github.com/users/jdillon/events{/privacy}","received_events_url":"https://api.github.com/users/jdillon/received_events","type":"User","site_admin":false},"body":"https://issues.sonatype.org/browse/NEXUS-7857\r\n\r\nAdds JMX plugin ( https://issues.sonatype.org/browse/NEXUS-7358 ), debatably useful since the JMX integration exposes non-portable mbeans.\r\n\r\nAdds configuration of http protocol and network listener\r\n\r\nHacked in studio.zip into bundle, not happy with it... but it works.\r\n\r\nEdit `etc/nexus.properties`:\r\n\r\n```\r\nnexus.orient.httpListenerEnabled=true\r\nnexus.orient.dynamicPlugins=true\r\n```\r\n\r\nStart server and browse to:\r\n\r\n* http://localhost:2480/studio/index.html\r\n\r\nAuth is admin/admin, its annoyingly popping up browser auth until you tell it, seems to have a bunch of quirks, but may still be useful to help development.\r\n\r\nhttps://www.evernote.com/l/ABK_vzYlRZBCKrfKx4Vvdzxlst44n0qPsVc\r\n\r\nhttps://www.evernote.com/l/ABKnwOXujj5AfJLlL7BagY0gSSWkXAFMkZc\r\n\r\nThe 'sonatype-work/nexus/orient/plugins' directory is not otherwise controllable, we may want to get them to make this configurable, right now its always `${orient.home}/plugins`.","created_at":"2015-07-11T21:24:36Z","updated_at":"2015-07-14T23:42:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2d4d51d5c10c24c7249680090d1744d541f91889","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sonatype/nexus-oss/pulls/1562/commits","review_comments_url":"https://api.github.com/repos/sonatype/nexus-oss/pulls/1562/comments","review_comment_url":"https://api.github.com/repos/sonatype/nexus-oss/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sonatype/nexus-oss/issues/1562/comments","statuses_url":"https://api.github.com/repos/sonatype/nexus-oss/statuses/47d8e6a91a4ae5a8bd70bbbb9db1d3703e729513","head":{"label":"sonatype:orientdb-studio","ref":"orientdb-studio","sha":"47d8e6a91a4ae5a8bd70bbbb9db1d3703e729513","user":{"login":"sonatype","id":44938,"avatar_url":"https://avatars.githubusercontent.com/u/44938?v=3","gravatar_id":"","url":"https://api.github.com/users/sonatype","html_url":"https://github.com/sonatype","followers_url":"https://api.github.com/users/sonatype/followers","following_url":"https://api.github.com/users/sonatype/following{/other_user}","gists_url":"https://api.github.com/users/sonatype/gists{/gist_id}","starred_url":"https://api.github.com/users/sonatype/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonatype/subscriptions","organizations_url":"https://api.github.com/users/sonatype/orgs","repos_url":"https://api.github.com/users/sonatype/repos","events_url":"https://api.github.com/users/sonatype/events{/privacy}","received_events_url":"https://api.github.com/users/sonatype/received_events","type":"Organization","site_admin":false},"repo":{"id":10146961,"name":"nexus-oss","full_name":"sonatype/nexus-oss","owner":{"login":"sonatype","id":44938,"avatar_url":"https://avatars.githubusercontent.com/u/44938?v=3","gravatar_id":"","url":"https://api.github.com/users/sonatype","html_url":"https://github.com/sonatype","followers_url":"https://api.github.com/users/sonatype/followers","following_url":"https://api.github.com/users/sonatype/following{/other_user}","gists_url":"https://api.github.com/users/sonatype/gists{/gist_id}","starred_url":"https://api.github.com/users/sonatype/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonatype/subscriptions","organizations_url":"https://api.github.com/users/sonatype/orgs","repos_url":"https://api.github.com/users/sonatype/repos","events_url":"https://api.github.com/users/sonatype/events{/privacy}","received_events_url":"https://api.github.com/users/sonatype/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sonatype/nexus-oss","description":"Sonatype Nexus OSS","fork":false,"url":"https://api.github.com/repos/sonatype/nexus-oss","forks_url":"https://api.github.com/repos/sonatype/nexus-oss/forks","keys_url":"https://api.github.com/repos/sonatype/nexus-oss/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sonatype/nexus-oss/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sonatype/nexus-oss/teams","hooks_url":"https://api.github.com/repos/sonatype/nexus-oss/hooks","issue_events_url":"https://api.github.com/repos/sonatype/nexus-oss/issues/events{/number}","events_url":"https://api.github.com/repos/sonatype/nexus-oss/events","assignees_url":"https://api.github.com/repos/sonatype/nexus-oss/assignees{/user}","branches_url":"https://api.github.com/repos/sonatype/nexus-oss/branches{/branch}","tags_url":"https://api.github.com/repos/sonatype/nexus-oss/tags","blobs_url":"https://api.github.com/repos/sonatype/nexus-oss/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sonatype/nexus-oss/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sonatype/nexus-oss/git/refs{/sha}","trees_url":"https://api.github.com/repos/sonatype/nexus-oss/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sonatype/nexus-oss/statuses/{sha}","languages_url":"https://api.github.com/repos/sonatype/nexus-oss/languages","stargazers_url":"https://api.github.com/repos/sonatype/nexus-oss/stargazers","contributors_url":"https://api.github.com/repos/sonatype/nexus-oss/contributors","subscribers_url":"https://api.github.com/repos/sonatype/nexus-oss/subscribers","subscription_url":"https://api.github.com/repos/sonatype/nexus-oss/subscription","commits_url":"https://api.github.com/repos/sonatype/nexus-oss/commits{/sha}","git_commits_url":"https://api.github.com/repos/sonatype/nexus-oss/git/commits{/sha}","comments_url":"https://api.github.com/repos/sonatype/nexus-oss/comments{/number}","issue_comment_url":"https://api.github.com/repos/sonatype/nexus-oss/issues/comments{/number}","contents_url":"https://api.github.com/repos/sonatype/nexus-oss/contents/{+path}","compare_url":"https://api.github.com/repos/sonatype/nexus-oss/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sonatype/nexus-oss/merges","archive_url":"https://api.github.com/repos/sonatype/nexus-oss/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sonatype/nexus-oss/downloads","issues_url":"https://api.github.com/repos/sonatype/nexus-oss/issues{/number}","pulls_url":"https://api.github.com/repos/sonatype/nexus-oss/pulls{/number}","milestones_url":"https://api.github.com/repos/sonatype/nexus-oss/milestones{/number}","notifications_url":"https://api.github.com/repos/sonatype/nexus-oss/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sonatype/nexus-oss/labels{/name}","releases_url":"https://api.github.com/repos/sonatype/nexus-oss/releases{/id}","created_at":"2013-05-18T20:48:57Z","updated_at":"2015-07-10T09:43:54Z","pushed_at":"2015-07-14T23:39:04Z","git_url":"git://github.com/sonatype/nexus-oss.git","ssh_url":"git@github.com:sonatype/nexus-oss.git","clone_url":"https://github.com/sonatype/nexus-oss.git","svn_url":"https://github.com/sonatype/nexus-oss","homepage":"http://links.sonatype.com/products/nexus/oss/home","size":893143,"stargazers_count":163,"watchers_count":163,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":108,"mirror_url":null,"open_issues_count":19,"forks":108,"open_issues":19,"watchers":163,"default_branch":"master"}},"base":{"label":"sonatype:master","ref":"master","sha":"b4efc7477ee4e93315cb4136e87bfa0b35f87536","user":{"login":"sonatype","id":44938,"avatar_url":"https://avatars.githubusercontent.com/u/44938?v=3","gravatar_id":"","url":"https://api.github.com/users/sonatype","html_url":"https://github.com/sonatype","followers_url":"https://api.github.com/users/sonatype/followers","following_url":"https://api.github.com/users/sonatype/following{/other_user}","gists_url":"https://api.github.com/users/sonatype/gists{/gist_id}","starred_url":"https://api.github.com/users/sonatype/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonatype/subscriptions","organizations_url":"https://api.github.com/users/sonatype/orgs","repos_url":"https://api.github.com/users/sonatype/repos","events_url":"https://api.github.com/users/sonatype/events{/privacy}","received_events_url":"https://api.github.com/users/sonatype/received_events","type":"Organization","site_admin":false},"repo":{"id":10146961,"name":"nexus-oss","full_name":"sonatype/nexus-oss","owner":{"login":"sonatype","id":44938,"avatar_url":"https://avatars.githubusercontent.com/u/44938?v=3","gravatar_id":"","url":"https://api.github.com/users/sonatype","html_url":"https://github.com/sonatype","followers_url":"https://api.github.com/users/sonatype/followers","following_url":"https://api.github.com/users/sonatype/following{/other_user}","gists_url":"https://api.github.com/users/sonatype/gists{/gist_id}","starred_url":"https://api.github.com/users/sonatype/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonatype/subscriptions","organizations_url":"https://api.github.com/users/sonatype/orgs","repos_url":"https://api.github.com/users/sonatype/repos","events_url":"https://api.github.com/users/sonatype/events{/privacy}","received_events_url":"https://api.github.com/users/sonatype/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sonatype/nexus-oss","description":"Sonatype Nexus OSS","fork":false,"url":"https://api.github.com/repos/sonatype/nexus-oss","forks_url":"https://api.github.com/repos/sonatype/nexus-oss/forks","keys_url":"https://api.github.com/repos/sonatype/nexus-oss/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sonatype/nexus-oss/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sonatype/nexus-oss/teams","hooks_url":"https://api.github.com/repos/sonatype/nexus-oss/hooks","issue_events_url":"https://api.github.com/repos/sonatype/nexus-oss/issues/events{/number}","events_url":"https://api.github.com/repos/sonatype/nexus-oss/events","assignees_url":"https://api.github.com/repos/sonatype/nexus-oss/assignees{/user}","branches_url":"https://api.github.com/repos/sonatype/nexus-oss/branches{/branch}","tags_url":"https://api.github.com/repos/sonatype/nexus-oss/tags","blobs_url":"https://api.github.com/repos/sonatype/nexus-oss/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sonatype/nexus-oss/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sonatype/nexus-oss/git/refs{/sha}","trees_url":"https://api.github.com/repos/sonatype/nexus-oss/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sonatype/nexus-oss/statuses/{sha}","languages_url":"https://api.github.com/repos/sonatype/nexus-oss/languages","stargazers_url":"https://api.github.com/repos/sonatype/nexus-oss/stargazers","contributors_url":"https://api.github.com/repos/sonatype/nexus-oss/contributors","subscribers_url":"https://api.github.com/repos/sonatype/nexus-oss/subscribers","subscription_url":"https://api.github.com/repos/sonatype/nexus-oss/subscription","commits_url":"https://api.github.com/repos/sonatype/nexus-oss/commits{/sha}","git_commits_url":"https://api.github.com/repos/sonatype/nexus-oss/git/commits{/sha}","comments_url":"https://api.github.com/repos/sonatype/nexus-oss/comments{/number}","issue_comment_url":"https://api.github.com/repos/sonatype/nexus-oss/issues/comments{/number}","contents_url":"https://api.github.com/repos/sonatype/nexus-oss/contents/{+path}","compare_url":"https://api.github.com/repos/sonatype/nexus-oss/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sonatype/nexus-oss/merges","archive_url":"https://api.github.com/repos/sonatype/nexus-oss/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sonatype/nexus-oss/downloads","issues_url":"https://api.github.com/repos/sonatype/nexus-oss/issues{/number}","pulls_url":"https://api.github.com/repos/sonatype/nexus-oss/pulls{/number}","milestones_url":"https://api.github.com/repos/sonatype/nexus-oss/milestones{/number}","notifications_url":"https://api.github.com/repos/sonatype/nexus-oss/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sonatype/nexus-oss/labels{/name}","releases_url":"https://api.github.com/repos/sonatype/nexus-oss/releases{/id}","created_at":"2013-05-18T20:48:57Z","updated_at":"2015-07-10T09:43:54Z","pushed_at":"2015-07-14T23:39:04Z","git_url":"git://github.com/sonatype/nexus-oss.git","ssh_url":"git@github.com:sonatype/nexus-oss.git","clone_url":"https://github.com/sonatype/nexus-oss.git","svn_url":"https://github.com/sonatype/nexus-oss","homepage":"http://links.sonatype.com/products/nexus/oss/home","size":893143,"stargazers_count":163,"watchers_count":163,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":108,"mirror_url":null,"open_issues_count":19,"forks":108,"open_issues":19,"watchers":163,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sonatype/nexus-oss/pulls/1562"},"html":{"href":"https://github.com/sonatype/nexus-oss/pull/1562"},"issue":{"href":"https://api.github.com/repos/sonatype/nexus-oss/issues/1562"},"comments":{"href":"https://api.github.com/repos/sonatype/nexus-oss/issues/1562/comments"},"review_comments":{"href":"https://api.github.com/repos/sonatype/nexus-oss/pulls/1562/comments"},"review_comment":{"href":"https://api.github.com/repos/sonatype/nexus-oss/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sonatype/nexus-oss/pulls/1562/commits"},"statuses":{"href":"https://api.github.com/repos/sonatype/nexus-oss/statuses/47d8e6a91a4ae5a8bd70bbbb9db1d3703e729513"}}}}