{"action":"created","comment":{"url":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/comments/64222901","id":64222901,"diff_hunk":"@@ -136,6 +136,16 @@ public Session getSession(final HttpServletRequest servletRequest) {\n     }\n \n     /**\n+     * Determine whether the given Session is part of a transaction\n+     *\n+     * @param session\n+     * @return whether the session is part of a transaction\n+     */\n+    public boolean isInTransaction(final Session session) {","path":"fcrepo-http-commons/src/main/java/org/fcrepo/http/commons/session/SessionFactory.java","position":9,"original_position":9,"commit_id":"c667d4d7a61ece2bd8ac976378d778fd28399de1","original_commit_id":"c667d4d7a61ece2bd8ac976378d778fd28399de1","user":{"login":"acoburn","id":1265883,"avatar_url":"https://avatars.githubusercontent.com/u/1265883?v=3","gravatar_id":"","url":"https://api.github.com/users/acoburn","html_url":"https://github.com/acoburn","followers_url":"https://api.github.com/users/acoburn/followers","following_url":"https://api.github.com/users/acoburn/following{/other_user}","gists_url":"https://api.github.com/users/acoburn/gists{/gist_id}","starred_url":"https://api.github.com/users/acoburn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acoburn/subscriptions","organizations_url":"https://api.github.com/users/acoburn/orgs","repos_url":"https://api.github.com/users/acoburn/repos","events_url":"https://api.github.com/users/acoburn/events{/privacy}","received_events_url":"https://api.github.com/users/acoburn/received_events","type":"User","site_admin":false},"body":"I would like to remove JCR from the HTTP layers completely, but this PR is specifically about chipping away at the Modeshape dependency in the `-http-commons` and `-http-api` modules. Removing JCR is a separate (though very much related) thing.","created_at":"2016-05-23T13:34:35Z","updated_at":"2016-05-23T13:34:35Z","html_url":"https://github.com/fcrepo4/fcrepo4/pull/1041#discussion_r64222901","pull_request_url":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/1041","_links":{"self":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/comments/64222901"},"html":{"href":"https://github.com/fcrepo4/fcrepo4/pull/1041#discussion_r64222901"},"pull_request":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/1041"}}},"pull_request":{"url":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/1041","id":70996978,"html_url":"https://github.com/fcrepo4/fcrepo4/pull/1041","diff_url":"https://github.com/fcrepo4/fcrepo4/pull/1041.diff","patch_url":"https://github.com/fcrepo4/fcrepo4/pull/1041.patch","issue_url":"https://api.github.com/repos/fcrepo4/fcrepo4/issues/1041","number":1041,"state":"open","locked":false,"title":"Remove more modeshape dependencies from the HTTP layers","user":{"login":"acoburn","id":1265883,"avatar_url":"https://avatars.githubusercontent.com/u/1265883?v=3","gravatar_id":"","url":"https://api.github.com/users/acoburn","html_url":"https://github.com/acoburn","followers_url":"https://api.github.com/users/acoburn/followers","following_url":"https://api.github.com/users/acoburn/following{/other_user}","gists_url":"https://api.github.com/users/acoburn/gists{/gist_id}","starred_url":"https://api.github.com/users/acoburn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acoburn/subscriptions","organizations_url":"https://api.github.com/users/acoburn/orgs","repos_url":"https://api.github.com/users/acoburn/repos","events_url":"https://api.github.com/users/acoburn/events{/privacy}","received_events_url":"https://api.github.com/users/acoburn/received_events","type":"User","site_admin":false},"body":"Partially resolves: https://jira.duraspace.org/browse/FCREPO-1694\r\n\r\nIn particular, this removes the dependency on the modeshape-based namespace service,\r\nand extracts the TransactionServiceImpl from the HTTP layer.","created_at":"2016-05-23T02:07:55Z","updated_at":"2016-05-23T13:34:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"16d9a2a54b2f949f5b5f4cdaae5a41e06f0e9a99","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/1041/commits","review_comments_url":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/1041/comments","review_comment_url":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fcrepo4/fcrepo4/issues/1041/comments","statuses_url":"https://api.github.com/repos/fcrepo4/fcrepo4/statuses/c667d4d7a61ece2bd8ac976378d778fd28399de1","head":{"label":"acoburn:fcrepo-1694.2","ref":"fcrepo-1694.2","sha":"c667d4d7a61ece2bd8ac976378d778fd28399de1","user":{"login":"acoburn","id":1265883,"avatar_url":"https://avatars.githubusercontent.com/u/1265883?v=3","gravatar_id":"","url":"https://api.github.com/users/acoburn","html_url":"https://github.com/acoburn","followers_url":"https://api.github.com/users/acoburn/followers","following_url":"https://api.github.com/users/acoburn/following{/other_user}","gists_url":"https://api.github.com/users/acoburn/gists{/gist_id}","starred_url":"https://api.github.com/users/acoburn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acoburn/subscriptions","organizations_url":"https://api.github.com/users/acoburn/orgs","repos_url":"https://api.github.com/users/acoburn/repos","events_url":"https://api.github.com/users/acoburn/events{/privacy}","received_events_url":"https://api.github.com/users/acoburn/received_events","type":"User","site_admin":false},"repo":{"id":25535833,"name":"fcrepo4","full_name":"acoburn/fcrepo4","owner":{"login":"acoburn","id":1265883,"avatar_url":"https://avatars.githubusercontent.com/u/1265883?v=3","gravatar_id":"","url":"https://api.github.com/users/acoburn","html_url":"https://github.com/acoburn","followers_url":"https://api.github.com/users/acoburn/followers","following_url":"https://api.github.com/users/acoburn/following{/other_user}","gists_url":"https://api.github.com/users/acoburn/gists{/gist_id}","starred_url":"https://api.github.com/users/acoburn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acoburn/subscriptions","organizations_url":"https://api.github.com/users/acoburn/orgs","repos_url":"https://api.github.com/users/acoburn/repos","events_url":"https://api.github.com/users/acoburn/events{/privacy}","received_events_url":"https://api.github.com/users/acoburn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/acoburn/fcrepo4","description":"Fedora 4","fork":true,"url":"https://api.github.com/repos/acoburn/fcrepo4","forks_url":"https://api.github.com/repos/acoburn/fcrepo4/forks","keys_url":"https://api.github.com/repos/acoburn/fcrepo4/keys{/key_id}","collaborators_url":"https://api.github.com/repos/acoburn/fcrepo4/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/acoburn/fcrepo4/teams","hooks_url":"https://api.github.com/repos/acoburn/fcrepo4/hooks","issue_events_url":"https://api.github.com/repos/acoburn/fcrepo4/issues/events{/number}","events_url":"https://api.github.com/repos/acoburn/fcrepo4/events","assignees_url":"https://api.github.com/repos/acoburn/fcrepo4/assignees{/user}","branches_url":"https://api.github.com/repos/acoburn/fcrepo4/branches{/branch}","tags_url":"https://api.github.com/repos/acoburn/fcrepo4/tags","blobs_url":"https://api.github.com/repos/acoburn/fcrepo4/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/acoburn/fcrepo4/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/acoburn/fcrepo4/git/refs{/sha}","trees_url":"https://api.github.com/repos/acoburn/fcrepo4/git/trees{/sha}","statuses_url":"https://api.github.com/repos/acoburn/fcrepo4/statuses/{sha}","languages_url":"https://api.github.com/repos/acoburn/fcrepo4/languages","stargazers_url":"https://api.github.com/repos/acoburn/fcrepo4/stargazers","contributors_url":"https://api.github.com/repos/acoburn/fcrepo4/contributors","subscribers_url":"https://api.github.com/repos/acoburn/fcrepo4/subscribers","subscription_url":"https://api.github.com/repos/acoburn/fcrepo4/subscription","commits_url":"https://api.github.com/repos/acoburn/fcrepo4/commits{/sha}","git_commits_url":"https://api.github.com/repos/acoburn/fcrepo4/git/commits{/sha}","comments_url":"https://api.github.com/repos/acoburn/fcrepo4/comments{/number}","issue_comment_url":"https://api.github.com/repos/acoburn/fcrepo4/issues/comments{/number}","contents_url":"https://api.github.com/repos/acoburn/fcrepo4/contents/{+path}","compare_url":"https://api.github.com/repos/acoburn/fcrepo4/compare/{base}...{head}","merges_url":"https://api.github.com/repos/acoburn/fcrepo4/merges","archive_url":"https://api.github.com/repos/acoburn/fcrepo4/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/acoburn/fcrepo4/downloads","issues_url":"https://api.github.com/repos/acoburn/fcrepo4/issues{/number}","pulls_url":"https://api.github.com/repos/acoburn/fcrepo4/pulls{/number}","milestones_url":"https://api.github.com/repos/acoburn/fcrepo4/milestones{/number}","notifications_url":"https://api.github.com/repos/acoburn/fcrepo4/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/acoburn/fcrepo4/labels{/name}","releases_url":"https://api.github.com/repos/acoburn/fcrepo4/releases{/id}","deployments_url":"https://api.github.com/repos/acoburn/fcrepo4/deployments","created_at":"2014-10-21T17:27:47Z","updated_at":"2016-03-14T20:05:55Z","pushed_at":"2016-05-23T02:07:37Z","git_url":"git://github.com/acoburn/fcrepo4.git","ssh_url":"git@github.com:acoburn/fcrepo4.git","clone_url":"https://github.com/acoburn/fcrepo4.git","svn_url":"https://github.com/acoburn/fcrepo4","homepage":"http://github.com/fcrepo4/fcrepo4","size":14319,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"fcrepo4:master","ref":"master","sha":"04d534da3b446feca644b83e11667a04e0113975","user":{"login":"fcrepo4","id":3057565,"avatar_url":"https://avatars.githubusercontent.com/u/3057565?v=3","gravatar_id":"","url":"https://api.github.com/users/fcrepo4","html_url":"https://github.com/fcrepo4","followers_url":"https://api.github.com/users/fcrepo4/followers","following_url":"https://api.github.com/users/fcrepo4/following{/other_user}","gists_url":"https://api.github.com/users/fcrepo4/gists{/gist_id}","starred_url":"https://api.github.com/users/fcrepo4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fcrepo4/subscriptions","organizations_url":"https://api.github.com/users/fcrepo4/orgs","repos_url":"https://api.github.com/users/fcrepo4/repos","events_url":"https://api.github.com/users/fcrepo4/events{/privacy}","received_events_url":"https://api.github.com/users/fcrepo4/received_events","type":"Organization","site_admin":false},"repo":{"id":7992797,"name":"fcrepo4","full_name":"fcrepo4/fcrepo4","owner":{"login":"fcrepo4","id":3057565,"avatar_url":"https://avatars.githubusercontent.com/u/3057565?v=3","gravatar_id":"","url":"https://api.github.com/users/fcrepo4","html_url":"https://github.com/fcrepo4","followers_url":"https://api.github.com/users/fcrepo4/followers","following_url":"https://api.github.com/users/fcrepo4/following{/other_user}","gists_url":"https://api.github.com/users/fcrepo4/gists{/gist_id}","starred_url":"https://api.github.com/users/fcrepo4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fcrepo4/subscriptions","organizations_url":"https://api.github.com/users/fcrepo4/orgs","repos_url":"https://api.github.com/users/fcrepo4/repos","events_url":"https://api.github.com/users/fcrepo4/events{/privacy}","received_events_url":"https://api.github.com/users/fcrepo4/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fcrepo4/fcrepo4","description":"Fedora 4","fork":false,"url":"https://api.github.com/repos/fcrepo4/fcrepo4","forks_url":"https://api.github.com/repos/fcrepo4/fcrepo4/forks","keys_url":"https://api.github.com/repos/fcrepo4/fcrepo4/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fcrepo4/fcrepo4/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fcrepo4/fcrepo4/teams","hooks_url":"https://api.github.com/repos/fcrepo4/fcrepo4/hooks","issue_events_url":"https://api.github.com/repos/fcrepo4/fcrepo4/issues/events{/number}","events_url":"https://api.github.com/repos/fcrepo4/fcrepo4/events","assignees_url":"https://api.github.com/repos/fcrepo4/fcrepo4/assignees{/user}","branches_url":"https://api.github.com/repos/fcrepo4/fcrepo4/branches{/branch}","tags_url":"https://api.github.com/repos/fcrepo4/fcrepo4/tags","blobs_url":"https://api.github.com/repos/fcrepo4/fcrepo4/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fcrepo4/fcrepo4/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fcrepo4/fcrepo4/git/refs{/sha}","trees_url":"https://api.github.com/repos/fcrepo4/fcrepo4/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fcrepo4/fcrepo4/statuses/{sha}","languages_url":"https://api.github.com/repos/fcrepo4/fcrepo4/languages","stargazers_url":"https://api.github.com/repos/fcrepo4/fcrepo4/stargazers","contributors_url":"https://api.github.com/repos/fcrepo4/fcrepo4/contributors","subscribers_url":"https://api.github.com/repos/fcrepo4/fcrepo4/subscribers","subscription_url":"https://api.github.com/repos/fcrepo4/fcrepo4/subscription","commits_url":"https://api.github.com/repos/fcrepo4/fcrepo4/commits{/sha}","git_commits_url":"https://api.github.com/repos/fcrepo4/fcrepo4/git/commits{/sha}","comments_url":"https://api.github.com/repos/fcrepo4/fcrepo4/comments{/number}","issue_comment_url":"https://api.github.com/repos/fcrepo4/fcrepo4/issues/comments{/number}","contents_url":"https://api.github.com/repos/fcrepo4/fcrepo4/contents/{+path}","compare_url":"https://api.github.com/repos/fcrepo4/fcrepo4/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fcrepo4/fcrepo4/merges","archive_url":"https://api.github.com/repos/fcrepo4/fcrepo4/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fcrepo4/fcrepo4/downloads","issues_url":"https://api.github.com/repos/fcrepo4/fcrepo4/issues{/number}","pulls_url":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls{/number}","milestones_url":"https://api.github.com/repos/fcrepo4/fcrepo4/milestones{/number}","notifications_url":"https://api.github.com/repos/fcrepo4/fcrepo4/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fcrepo4/fcrepo4/labels{/name}","releases_url":"https://api.github.com/repos/fcrepo4/fcrepo4/releases{/id}","deployments_url":"https://api.github.com/repos/fcrepo4/fcrepo4/deployments","created_at":"2013-02-03T16:18:55Z","updated_at":"2016-05-16T17:31:58Z","pushed_at":"2016-05-23T02:07:55Z","git_url":"git://github.com/fcrepo4/fcrepo4.git","ssh_url":"git@github.com:fcrepo4/fcrepo4.git","clone_url":"https://github.com/fcrepo4/fcrepo4.git","svn_url":"https://github.com/fcrepo4/fcrepo4","homepage":"http://github.com/fcrepo4/fcrepo4","size":140625,"stargazers_count":65,"watchers_count":65,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":82,"mirror_url":null,"open_issues_count":26,"forks":82,"open_issues":26,"watchers":65,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/1041"},"html":{"href":"https://github.com/fcrepo4/fcrepo4/pull/1041"},"issue":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/issues/1041"},"comments":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/issues/1041/comments"},"review_comments":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/1041/comments"},"review_comment":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/1041/commits"},"statuses":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/statuses/c667d4d7a61ece2bd8ac976378d778fd28399de1"}}}}
{"actor":{"display_login":"acoburn"}}