{"action":"created","comment":{"url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/pulls/comments/88488596","pull_request_review_id":9061155,"id":88488596,"diff_hunk":"@@ -0,0 +1,56 @@\n+/**\n+ * Copyright 2016 The University of North Carolina at Chapel Hill\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *         http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+package edu.unc.lib.dl.fcrepo4;\n+\n+import edu.unc.lib.dl.fedora.FedoraException;\n+import edu.unc.lib.dl.fedora.ObjectTypeMismatchException;\n+import edu.unc.lib.dl.fedora.PID;\n+import edu.unc.lib.dl.rdf.Cdr;\n+\n+/**\n+ * A repository object which represents the root of the content tree. Can only\n+ * contain AdminUnit objects as direct children.\n+ * \n+ * @author bbpennel\n+ *\n+ */\n+public class ContentRootObject extends ContentContainerObject {\n+\n+\tpublic ContentRootObject(PID pid, Repository repository, RepositoryObjectDataLoader dataLoader) {\n+\t\tsuper(pid, repository, dataLoader);\n+\t}\n+\n+\t@Override\n+\tpublic ContentContainerObject addMember(ContentObject member) throws ObjectTypeMismatchException {\n+\t\t// TODO should only allow admin units, but allow folders for the moment","path":"fcrepo-clients/src/main/java/edu/unc/lib/dl/fcrepo4/ContentRootObject.java","position":38,"original_position":38,"commit_id":"0aac6661423ae67713c1d5ee277bff597b67d232","original_commit_id":"168a482c5c9a8a7fd4500debf689b26b634d8d8a","user":{"login":"harringj","id":21954788,"avatar_url":"https://avatars.githubusercontent.com/u/21954788?v=3","gravatar_id":"","url":"https://api.github.com/users/harringj","html_url":"https://github.com/harringj","followers_url":"https://api.github.com/users/harringj/followers","following_url":"https://api.github.com/users/harringj/following{/other_user}","gists_url":"https://api.github.com/users/harringj/gists{/gist_id}","starred_url":"https://api.github.com/users/harringj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harringj/subscriptions","organizations_url":"https://api.github.com/users/harringj/orgs","repos_url":"https://api.github.com/users/harringj/repos","events_url":"https://api.github.com/users/harringj/events{/privacy}","received_events_url":"https://api.github.com/users/harringj/received_events","type":"User","site_admin":false},"body":"You raise some good points. Let's continue the discussion offline, maybe at our next sprint planning :-)","created_at":"2016-11-17T16:23:51Z","updated_at":"2016-11-17T16:23:51Z","html_url":"https://github.com/UNC-Libraries/Carolina-Digital-Repository/pull/538#discussion_r88488596","pull_request_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/pulls/538","_links":{"self":{"href":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/pulls/comments/88488596"},"html":{"href":"https://github.com/UNC-Libraries/Carolina-Digital-Repository/pull/538#discussion_r88488596"},"pull_request":{"href":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/pulls/538"}}},"pull_request":{"url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/pulls/538","id":93359413,"html_url":"https://github.com/UNC-Libraries/Carolina-Digital-Repository/pull/538","diff_url":"https://github.com/UNC-Libraries/Carolina-Digital-Repository/pull/538.diff","patch_url":"https://github.com/UNC-Libraries/Carolina-Digital-Repository/pull/538.patch","issue_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/issues/538","number":538,"state":"open","locked":false,"title":"Get Deposit application running against f4","user":{"login":"bbpennel","id":969810,"avatar_url":"https://avatars.githubusercontent.com/u/969810?v=3","gravatar_id":"","url":"https://api.github.com/users/bbpennel","html_url":"https://github.com/bbpennel","followers_url":"https://api.github.com/users/bbpennel/followers","following_url":"https://api.github.com/users/bbpennel/following{/other_user}","gists_url":"https://api.github.com/users/bbpennel/gists{/gist_id}","starred_url":"https://api.github.com/users/bbpennel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbpennel/subscriptions","organizations_url":"https://api.github.com/users/bbpennel/orgs","repos_url":"https://api.github.com/users/bbpennel/repos","events_url":"https://api.github.com/users/bbpennel/events{/privacy}","received_events_url":"https://api.github.com/users/bbpennel/received_events","type":"User","site_admin":false},"body":"Gets the deposit pipeline functional to the point of being able to deposit a bag and its deposit record.\r\n\r\n* Configuration, dependency and context adjustments to get deposit application working against fcrepo4-vagrant\r\n* Changes to many deposit related files to get everything working together\r\n* Added contentRootObject class to support the base of the content tree\r\n* Added Class for initializing a fedora 4 repository with the basics for the CDR\r\n\r\n","created_at":"2016-11-11T16:31:25Z","updated_at":"2016-11-17T16:23:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"35e9459a6eed9e03142cd32abf98238d608bbf10","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/pulls/538/commits","review_comments_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/pulls/538/comments","review_comment_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/issues/538/comments","statuses_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/statuses/0aac6661423ae67713c1d5ee277bff597b67d232","head":{"label":"UNC-Libraries:f4-ingest-deposit-run","ref":"f4-ingest-deposit-run","sha":"0aac6661423ae67713c1d5ee277bff597b67d232","user":{"login":"UNC-Libraries","id":552066,"avatar_url":"https://avatars.githubusercontent.com/u/552066?v=3","gravatar_id":"","url":"https://api.github.com/users/UNC-Libraries","html_url":"https://github.com/UNC-Libraries","followers_url":"https://api.github.com/users/UNC-Libraries/followers","following_url":"https://api.github.com/users/UNC-Libraries/following{/other_user}","gists_url":"https://api.github.com/users/UNC-Libraries/gists{/gist_id}","starred_url":"https://api.github.com/users/UNC-Libraries/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UNC-Libraries/subscriptions","organizations_url":"https://api.github.com/users/UNC-Libraries/orgs","repos_url":"https://api.github.com/users/UNC-Libraries/repos","events_url":"https://api.github.com/users/UNC-Libraries/events{/privacy}","received_events_url":"https://api.github.com/users/UNC-Libraries/received_events","type":"Organization","site_admin":false},"repo":{"id":2357859,"name":"Carolina-Digital-Repository","full_name":"UNC-Libraries/Carolina-Digital-Repository","owner":{"login":"UNC-Libraries","id":552066,"avatar_url":"https://avatars.githubusercontent.com/u/552066?v=3","gravatar_id":"","url":"https://api.github.com/users/UNC-Libraries","html_url":"https://github.com/UNC-Libraries","followers_url":"https://api.github.com/users/UNC-Libraries/followers","following_url":"https://api.github.com/users/UNC-Libraries/following{/other_user}","gists_url":"https://api.github.com/users/UNC-Libraries/gists{/gist_id}","starred_url":"https://api.github.com/users/UNC-Libraries/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UNC-Libraries/subscriptions","organizations_url":"https://api.github.com/users/UNC-Libraries/orgs","repos_url":"https://api.github.com/users/UNC-Libraries/repos","events_url":"https://api.github.com/users/UNC-Libraries/events{/privacy}","received_events_url":"https://api.github.com/users/UNC-Libraries/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UNC-Libraries/Carolina-Digital-Repository","description":"Carolina Digital Repository","fork":false,"url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository","forks_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/forks","keys_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/teams","hooks_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/hooks","issue_events_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/issues/events{/number}","events_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/events","assignees_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/assignees{/user}","branches_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/branches{/branch}","tags_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/tags","blobs_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/git/refs{/sha}","trees_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/statuses/{sha}","languages_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/languages","stargazers_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/stargazers","contributors_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/contributors","subscribers_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/subscribers","subscription_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/subscription","commits_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/commits{/sha}","git_commits_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/git/commits{/sha}","comments_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/comments{/number}","issue_comment_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/issues/comments{/number}","contents_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/contents/{+path}","compare_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/merges","archive_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/downloads","issues_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/issues{/number}","pulls_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/pulls{/number}","milestones_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/milestones{/number}","notifications_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/labels{/name}","releases_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/releases{/id}","deployments_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/deployments","created_at":"2011-09-09T20:22:21Z","updated_at":"2016-10-25T19:45:37Z","pushed_at":"2016-11-17T16:22:54Z","git_url":"git://github.com/UNC-Libraries/Carolina-Digital-Repository.git","ssh_url":"git@github.com:UNC-Libraries/Carolina-Digital-Repository.git","clone_url":"https://github.com/UNC-Libraries/Carolina-Digital-Repository.git","svn_url":"https://github.com/UNC-Libraries/Carolina-Digital-Repository","homepage":"http://www.lib.unc.edu/blogs/cdr/index.php/about/","size":102697,"stargazers_count":7,"watchers_count":7,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":1,"forks":10,"open_issues":1,"watchers":7,"default_branch":"fcrepo4"}},"base":{"label":"UNC-Libraries:fcrepo4","ref":"fcrepo4","sha":"06f9b6618a2af890e6e7cd151e1181bc27282021","user":{"login":"UNC-Libraries","id":552066,"avatar_url":"https://avatars.githubusercontent.com/u/552066?v=3","gravatar_id":"","url":"https://api.github.com/users/UNC-Libraries","html_url":"https://github.com/UNC-Libraries","followers_url":"https://api.github.com/users/UNC-Libraries/followers","following_url":"https://api.github.com/users/UNC-Libraries/following{/other_user}","gists_url":"https://api.github.com/users/UNC-Libraries/gists{/gist_id}","starred_url":"https://api.github.com/users/UNC-Libraries/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UNC-Libraries/subscriptions","organizations_url":"https://api.github.com/users/UNC-Libraries/orgs","repos_url":"https://api.github.com/users/UNC-Libraries/repos","events_url":"https://api.github.com/users/UNC-Libraries/events{/privacy}","received_events_url":"https://api.github.com/users/UNC-Libraries/received_events","type":"Organization","site_admin":false},"repo":{"id":2357859,"name":"Carolina-Digital-Repository","full_name":"UNC-Libraries/Carolina-Digital-Repository","owner":{"login":"UNC-Libraries","id":552066,"avatar_url":"https://avatars.githubusercontent.com/u/552066?v=3","gravatar_id":"","url":"https://api.github.com/users/UNC-Libraries","html_url":"https://github.com/UNC-Libraries","followers_url":"https://api.github.com/users/UNC-Libraries/followers","following_url":"https://api.github.com/users/UNC-Libraries/following{/other_user}","gists_url":"https://api.github.com/users/UNC-Libraries/gists{/gist_id}","starred_url":"https://api.github.com/users/UNC-Libraries/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UNC-Libraries/subscriptions","organizations_url":"https://api.github.com/users/UNC-Libraries/orgs","repos_url":"https://api.github.com/users/UNC-Libraries/repos","events_url":"https://api.github.com/users/UNC-Libraries/events{/privacy}","received_events_url":"https://api.github.com/users/UNC-Libraries/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UNC-Libraries/Carolina-Digital-Repository","description":"Carolina Digital Repository","fork":false,"url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository","forks_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/forks","keys_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/teams","hooks_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/hooks","issue_events_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/issues/events{/number}","events_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/events","assignees_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/assignees{/user}","branches_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/branches{/branch}","tags_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/tags","blobs_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/git/refs{/sha}","trees_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/statuses/{sha}","languages_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/languages","stargazers_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/stargazers","contributors_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/contributors","subscribers_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/subscribers","subscription_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/subscription","commits_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/commits{/sha}","git_commits_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/git/commits{/sha}","comments_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/comments{/number}","issue_comment_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/issues/comments{/number}","contents_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/contents/{+path}","compare_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/merges","archive_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/downloads","issues_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/issues{/number}","pulls_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/pulls{/number}","milestones_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/milestones{/number}","notifications_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/labels{/name}","releases_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/releases{/id}","deployments_url":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/deployments","created_at":"2011-09-09T20:22:21Z","updated_at":"2016-10-25T19:45:37Z","pushed_at":"2016-11-17T16:22:54Z","git_url":"git://github.com/UNC-Libraries/Carolina-Digital-Repository.git","ssh_url":"git@github.com:UNC-Libraries/Carolina-Digital-Repository.git","clone_url":"https://github.com/UNC-Libraries/Carolina-Digital-Repository.git","svn_url":"https://github.com/UNC-Libraries/Carolina-Digital-Repository","homepage":"http://www.lib.unc.edu/blogs/cdr/index.php/about/","size":102697,"stargazers_count":7,"watchers_count":7,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":1,"forks":10,"open_issues":1,"watchers":7,"default_branch":"fcrepo4"}},"_links":{"self":{"href":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/pulls/538"},"html":{"href":"https://github.com/UNC-Libraries/Carolina-Digital-Repository/pull/538"},"issue":{"href":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/issues/538"},"comments":{"href":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/issues/538/comments"},"review_comments":{"href":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/pulls/538/comments"},"review_comment":{"href":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/pulls/538/commits"},"statuses":{"href":"https://api.github.com/repos/UNC-Libraries/Carolina-Digital-Repository/statuses/0aac6661423ae67713c1d5ee277bff597b67d232"}}}}
{"actor":{"display_login":"harringj"}}