{"action":"created","comment":{"url":"https://api.github.com/repos/geosolutions-it/geoserver/pulls/comments/64552974","id":64552974,"diff_hunk":"@@ -0,0 +1,91 @@\n+/* (c) 2014 Open Source Geospatial Foundation - all rights reserved\n+ * (c) 2001 - 2016 OpenPlans\n+ * This code is licensed under the GPL 2.0 license, available at the root\n+ * application directory.\n+ */\n+package org.geoserver.backuprestore.writer;\n+\n+import java.io.File;\n+import java.io.IOException;\n+import java.util.ArrayList;\n+import java.util.List;\n+\n+import org.geoserver.backuprestore.Backup;\n+import org.geoserver.catalog.ResourceInfo;\n+import org.geoserver.platform.resource.Files;\n+import org.geoserver.platform.resource.Paths;\n+import org.geoserver.platform.resource.Resource;\n+import org.geoserver.platform.resource.Resources;\n+import org.geoserver.template.GeoServerTemplateLoader;\n+\n+/**\n+ * TODO\n+ * \n+ * @author Alessio Fabiani, GeoSolutions\n+ *\n+ */\n+public class ResourceInfoAdditionalResourceWriter","path":"src/community/backup-restore/core/src/main/java/org/geoserver/backuprestore/writer/ResourceInfoAdditionalResourceWriter.java","position":27,"original_position":27,"commit_id":"56cf677a639361c681d91c6aba745d6a165e69e0","original_commit_id":"56cf677a639361c681d91c6aba745d6a165e69e0","user":{"login":"aaime","id":325433,"avatar_url":"https://avatars.githubusercontent.com/u/325433?v=3","gravatar_id":"","url":"https://api.github.com/users/aaime","html_url":"https://github.com/aaime","followers_url":"https://api.github.com/users/aaime/followers","following_url":"https://api.github.com/users/aaime/following{/other_user}","gists_url":"https://api.github.com/users/aaime/gists{/gist_id}","starred_url":"https://api.github.com/users/aaime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaime/subscriptions","organizations_url":"https://api.github.com/users/aaime/orgs","repos_url":"https://api.github.com/users/aaime/repos","events_url":"https://api.github.com/users/aaime/events{/privacy}","received_events_url":"https://api.github.com/users/aaime/received_events","type":"User","site_admin":false},"body":"Btw, I don't see an equivalent class for the restore.","created_at":"2016-05-25T10:58:45Z","updated_at":"2016-05-25T10:58:45Z","html_url":"https://github.com/geosolutions-it/geoserver/pull/92#discussion_r64552974","pull_request_url":"https://api.github.com/repos/geosolutions-it/geoserver/pulls/92","_links":{"self":{"href":"https://api.github.com/repos/geosolutions-it/geoserver/pulls/comments/64552974"},"html":{"href":"https://github.com/geosolutions-it/geoserver/pull/92#discussion_r64552974"},"pull_request":{"href":"https://api.github.com/repos/geosolutions-it/geoserver/pulls/92"}}},"pull_request":{"url":"https://api.github.com/repos/geosolutions-it/geoserver/pulls/92","id":71358471,"html_url":"https://github.com/geosolutions-it/geoserver/pull/92","diff_url":"https://github.com/geosolutions-it/geoserver/pull/92.diff","patch_url":"https://github.com/geosolutions-it/geoserver/pull/92.patch","issue_url":"https://api.github.com/repos/geosolutions-it/geoserver/issues/92","number":92,"state":"open","locked":false,"title":"Backup restore","user":{"login":"afabiani","id":1278021,"avatar_url":"https://avatars.githubusercontent.com/u/1278021?v=3","gravatar_id":"","url":"https://api.github.com/users/afabiani","html_url":"https://github.com/afabiani","followers_url":"https://api.github.com/users/afabiani/followers","following_url":"https://api.github.com/users/afabiani/following{/other_user}","gists_url":"https://api.github.com/users/afabiani/gists{/gist_id}","starred_url":"https://api.github.com/users/afabiani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afabiani/subscriptions","organizations_url":"https://api.github.com/users/afabiani/orgs","repos_url":"https://api.github.com/users/afabiani/repos","events_url":"https://api.github.com/users/afabiani/events{/privacy}","received_events_url":"https://api.github.com/users/afabiani/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-25T09:34:35Z","updated_at":"2016-05-25T10:58:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ec403a3f65a71356c6c79cdbdfe760ca3ceb8b9c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/geosolutions-it/geoserver/pulls/92/commits","review_comments_url":"https://api.github.com/repos/geosolutions-it/geoserver/pulls/92/comments","review_comment_url":"https://api.github.com/repos/geosolutions-it/geoserver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/geosolutions-it/geoserver/issues/92/comments","statuses_url":"https://api.github.com/repos/geosolutions-it/geoserver/statuses/56cf677a639361c681d91c6aba745d6a165e69e0","head":{"label":"geosolutions-it:backup_restore","ref":"backup_restore","sha":"56cf677a639361c681d91c6aba745d6a165e69e0","user":{"login":"geosolutions-it","id":775710,"avatar_url":"https://avatars.githubusercontent.com/u/775710?v=3","gravatar_id":"","url":"https://api.github.com/users/geosolutions-it","html_url":"https://github.com/geosolutions-it","followers_url":"https://api.github.com/users/geosolutions-it/followers","following_url":"https://api.github.com/users/geosolutions-it/following{/other_user}","gists_url":"https://api.github.com/users/geosolutions-it/gists{/gist_id}","starred_url":"https://api.github.com/users/geosolutions-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geosolutions-it/subscriptions","organizations_url":"https://api.github.com/users/geosolutions-it/orgs","repos_url":"https://api.github.com/users/geosolutions-it/repos","events_url":"https://api.github.com/users/geosolutions-it/events{/privacy}","received_events_url":"https://api.github.com/users/geosolutions-it/received_events","type":"Organization","site_admin":false},"repo":{"id":5143126,"name":"geoserver","full_name":"geosolutions-it/geoserver","owner":{"login":"geosolutions-it","id":775710,"avatar_url":"https://avatars.githubusercontent.com/u/775710?v=3","gravatar_id":"","url":"https://api.github.com/users/geosolutions-it","html_url":"https://github.com/geosolutions-it","followers_url":"https://api.github.com/users/geosolutions-it/followers","following_url":"https://api.github.com/users/geosolutions-it/following{/other_user}","gists_url":"https://api.github.com/users/geosolutions-it/gists{/gist_id}","starred_url":"https://api.github.com/users/geosolutions-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geosolutions-it/subscriptions","organizations_url":"https://api.github.com/users/geosolutions-it/orgs","repos_url":"https://api.github.com/users/geosolutions-it/repos","events_url":"https://api.github.com/users/geosolutions-it/events{/privacy}","received_events_url":"https://api.github.com/users/geosolutions-it/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/geosolutions-it/geoserver","description":"Official GeoServer repository","fork":true,"url":"https://api.github.com/repos/geosolutions-it/geoserver","forks_url":"https://api.github.com/repos/geosolutions-it/geoserver/forks","keys_url":"https://api.github.com/repos/geosolutions-it/geoserver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/geosolutions-it/geoserver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/geosolutions-it/geoserver/teams","hooks_url":"https://api.github.com/repos/geosolutions-it/geoserver/hooks","issue_events_url":"https://api.github.com/repos/geosolutions-it/geoserver/issues/events{/number}","events_url":"https://api.github.com/repos/geosolutions-it/geoserver/events","assignees_url":"https://api.github.com/repos/geosolutions-it/geoserver/assignees{/user}","branches_url":"https://api.github.com/repos/geosolutions-it/geoserver/branches{/branch}","tags_url":"https://api.github.com/repos/geosolutions-it/geoserver/tags","blobs_url":"https://api.github.com/repos/geosolutions-it/geoserver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/geosolutions-it/geoserver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/geosolutions-it/geoserver/git/refs{/sha}","trees_url":"https://api.github.com/repos/geosolutions-it/geoserver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/geosolutions-it/geoserver/statuses/{sha}","languages_url":"https://api.github.com/repos/geosolutions-it/geoserver/languages","stargazers_url":"https://api.github.com/repos/geosolutions-it/geoserver/stargazers","contributors_url":"https://api.github.com/repos/geosolutions-it/geoserver/contributors","subscribers_url":"https://api.github.com/repos/geosolutions-it/geoserver/subscribers","subscription_url":"https://api.github.com/repos/geosolutions-it/geoserver/subscription","commits_url":"https://api.github.com/repos/geosolutions-it/geoserver/commits{/sha}","git_commits_url":"https://api.github.com/repos/geosolutions-it/geoserver/git/commits{/sha}","comments_url":"https://api.github.com/repos/geosolutions-it/geoserver/comments{/number}","issue_comment_url":"https://api.github.com/repos/geosolutions-it/geoserver/issues/comments{/number}","contents_url":"https://api.github.com/repos/geosolutions-it/geoserver/contents/{+path}","compare_url":"https://api.github.com/repos/geosolutions-it/geoserver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/geosolutions-it/geoserver/merges","archive_url":"https://api.github.com/repos/geosolutions-it/geoserver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/geosolutions-it/geoserver/downloads","issues_url":"https://api.github.com/repos/geosolutions-it/geoserver/issues{/number}","pulls_url":"https://api.github.com/repos/geosolutions-it/geoserver/pulls{/number}","milestones_url":"https://api.github.com/repos/geosolutions-it/geoserver/milestones{/number}","notifications_url":"https://api.github.com/repos/geosolutions-it/geoserver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/geosolutions-it/geoserver/labels{/name}","releases_url":"https://api.github.com/repos/geosolutions-it/geoserver/releases{/id}","deployments_url":"https://api.github.com/repos/geosolutions-it/geoserver/deployments","created_at":"2012-07-22T17:04:22Z","updated_at":"2016-02-19T20:18:07Z","pushed_at":"2016-05-25T09:34:36Z","git_url":"git://github.com/geosolutions-it/geoserver.git","ssh_url":"git@github.com:geosolutions-it/geoserver.git","clone_url":"https://github.com/geosolutions-it/geoserver.git","svn_url":"https://github.com/geosolutions-it/geoserver","homepage":"http://geoserver.org","size":135457,"stargazers_count":6,"watchers_count":6,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":40,"forks":2,"open_issues":40,"watchers":6,"default_branch":"master"}},"base":{"label":"geosolutions-it:bk_rst_review_001","ref":"bk_rst_review_001","sha":"3e22763053235685e71ef104157c7930ea0d838a","user":{"login":"geosolutions-it","id":775710,"avatar_url":"https://avatars.githubusercontent.com/u/775710?v=3","gravatar_id":"","url":"https://api.github.com/users/geosolutions-it","html_url":"https://github.com/geosolutions-it","followers_url":"https://api.github.com/users/geosolutions-it/followers","following_url":"https://api.github.com/users/geosolutions-it/following{/other_user}","gists_url":"https://api.github.com/users/geosolutions-it/gists{/gist_id}","starred_url":"https://api.github.com/users/geosolutions-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geosolutions-it/subscriptions","organizations_url":"https://api.github.com/users/geosolutions-it/orgs","repos_url":"https://api.github.com/users/geosolutions-it/repos","events_url":"https://api.github.com/users/geosolutions-it/events{/privacy}","received_events_url":"https://api.github.com/users/geosolutions-it/received_events","type":"Organization","site_admin":false},"repo":{"id":5143126,"name":"geoserver","full_name":"geosolutions-it/geoserver","owner":{"login":"geosolutions-it","id":775710,"avatar_url":"https://avatars.githubusercontent.com/u/775710?v=3","gravatar_id":"","url":"https://api.github.com/users/geosolutions-it","html_url":"https://github.com/geosolutions-it","followers_url":"https://api.github.com/users/geosolutions-it/followers","following_url":"https://api.github.com/users/geosolutions-it/following{/other_user}","gists_url":"https://api.github.com/users/geosolutions-it/gists{/gist_id}","starred_url":"https://api.github.com/users/geosolutions-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geosolutions-it/subscriptions","organizations_url":"https://api.github.com/users/geosolutions-it/orgs","repos_url":"https://api.github.com/users/geosolutions-it/repos","events_url":"https://api.github.com/users/geosolutions-it/events{/privacy}","received_events_url":"https://api.github.com/users/geosolutions-it/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/geosolutions-it/geoserver","description":"Official GeoServer repository","fork":true,"url":"https://api.github.com/repos/geosolutions-it/geoserver","forks_url":"https://api.github.com/repos/geosolutions-it/geoserver/forks","keys_url":"https://api.github.com/repos/geosolutions-it/geoserver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/geosolutions-it/geoserver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/geosolutions-it/geoserver/teams","hooks_url":"https://api.github.com/repos/geosolutions-it/geoserver/hooks","issue_events_url":"https://api.github.com/repos/geosolutions-it/geoserver/issues/events{/number}","events_url":"https://api.github.com/repos/geosolutions-it/geoserver/events","assignees_url":"https://api.github.com/repos/geosolutions-it/geoserver/assignees{/user}","branches_url":"https://api.github.com/repos/geosolutions-it/geoserver/branches{/branch}","tags_url":"https://api.github.com/repos/geosolutions-it/geoserver/tags","blobs_url":"https://api.github.com/repos/geosolutions-it/geoserver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/geosolutions-it/geoserver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/geosolutions-it/geoserver/git/refs{/sha}","trees_url":"https://api.github.com/repos/geosolutions-it/geoserver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/geosolutions-it/geoserver/statuses/{sha}","languages_url":"https://api.github.com/repos/geosolutions-it/geoserver/languages","stargazers_url":"https://api.github.com/repos/geosolutions-it/geoserver/stargazers","contributors_url":"https://api.github.com/repos/geosolutions-it/geoserver/contributors","subscribers_url":"https://api.github.com/repos/geosolutions-it/geoserver/subscribers","subscription_url":"https://api.github.com/repos/geosolutions-it/geoserver/subscription","commits_url":"https://api.github.com/repos/geosolutions-it/geoserver/commits{/sha}","git_commits_url":"https://api.github.com/repos/geosolutions-it/geoserver/git/commits{/sha}","comments_url":"https://api.github.com/repos/geosolutions-it/geoserver/comments{/number}","issue_comment_url":"https://api.github.com/repos/geosolutions-it/geoserver/issues/comments{/number}","contents_url":"https://api.github.com/repos/geosolutions-it/geoserver/contents/{+path}","compare_url":"https://api.github.com/repos/geosolutions-it/geoserver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/geosolutions-it/geoserver/merges","archive_url":"https://api.github.com/repos/geosolutions-it/geoserver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/geosolutions-it/geoserver/downloads","issues_url":"https://api.github.com/repos/geosolutions-it/geoserver/issues{/number}","pulls_url":"https://api.github.com/repos/geosolutions-it/geoserver/pulls{/number}","milestones_url":"https://api.github.com/repos/geosolutions-it/geoserver/milestones{/number}","notifications_url":"https://api.github.com/repos/geosolutions-it/geoserver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/geosolutions-it/geoserver/labels{/name}","releases_url":"https://api.github.com/repos/geosolutions-it/geoserver/releases{/id}","deployments_url":"https://api.github.com/repos/geosolutions-it/geoserver/deployments","created_at":"2012-07-22T17:04:22Z","updated_at":"2016-02-19T20:18:07Z","pushed_at":"2016-05-25T09:34:36Z","git_url":"git://github.com/geosolutions-it/geoserver.git","ssh_url":"git@github.com:geosolutions-it/geoserver.git","clone_url":"https://github.com/geosolutions-it/geoserver.git","svn_url":"https://github.com/geosolutions-it/geoserver","homepage":"http://geoserver.org","size":135457,"stargazers_count":6,"watchers_count":6,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":40,"forks":2,"open_issues":40,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/geosolutions-it/geoserver/pulls/92"},"html":{"href":"https://github.com/geosolutions-it/geoserver/pull/92"},"issue":{"href":"https://api.github.com/repos/geosolutions-it/geoserver/issues/92"},"comments":{"href":"https://api.github.com/repos/geosolutions-it/geoserver/issues/92/comments"},"review_comments":{"href":"https://api.github.com/repos/geosolutions-it/geoserver/pulls/92/comments"},"review_comment":{"href":"https://api.github.com/repos/geosolutions-it/geoserver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/geosolutions-it/geoserver/pulls/92/commits"},"statuses":{"href":"https://api.github.com/repos/geosolutions-it/geoserver/statuses/56cf677a639361c681d91c6aba745d6a165e69e0"}}}}
{"actor":{"display_login":"aaime"}}