{"action":"created","comment":{"url":"https://api.github.com/repos/codice/ddf/pulls/comments/51880410","id":51880410,"diff_hunk":"@@ -34,23 +37,22 @@\n      *\n      * @param input the {@link CreateRequest} to process\n      * @return the value of the processed {@link CreateRequest} to pass to the next {@link AccessPlugin}\n-     * @throws StopProcessingException  thrown to halt processing when a critical issue occurs during processing. This is\n-     *                                  intended to prevent other plugins from processing as well.\n+     * @throws StopProcessingException thrown to halt processing when a critical issue occurs during processing. This is\n+     *                                 intended to prevent other plugins from processing as well.\n      */\n-    CreateRequest processPreCreate(CreateRequest input)\n-            throws StopProcessingException;\n+    CreateRequest processPreCreate(CreateRequest input) throws StopProcessingException;\n \n     /**\n      * Processes an {@link UpdateRequest}, prior to execution of the {@link ddf.catalog.operation.Update},\n      * to determine whether or not the user can access the Catalog operation\n      *\n      * @param input the {@link UpdateRequest} to process\n+     * @param existingMetacards the List of {@link Metacard}s that currently exist\n      * @return the value of the processed {@link UpdateRequest} to pass to the next {@link AccessPlugin}\n-     * @throws StopProcessingException  thrown to halt processing when a critical issue occurs during processing. This is\n-     *                                  intended to prevent other plugins from processing as well.\n+     * @throws StopProcessingException thrown to halt processing when a critical issue occurs during processing. This is\n+     *                                 intended to prevent other plugins from processing as well.\n      */\n-    UpdateRequest processPreUpdate(UpdateRequest input)\n-            throws StopProcessingException;\n+    UpdateRequest processPreUpdate(UpdateRequest input, Map<String, Metacard> existingMetacards) throws StopProcessingException;","path":"catalog/core/catalog-core-api/src/main/java/ddf/catalog/plugin/AccessPlugin.java","position":40,"original_position":40,"commit_id":"b2362c2f252ebef9b7a894ce9ec59ccfcfb13206","original_commit_id":"b2362c2f252ebef9b7a894ce9ec59ccfcfb13206","user":{"login":"stustison","id":4391679,"avatar_url":"https://avatars.githubusercontent.com/u/4391679?v=3","gravatar_id":"","url":"https://api.github.com/users/stustison","html_url":"https://github.com/stustison","followers_url":"https://api.github.com/users/stustison/followers","following_url":"https://api.github.com/users/stustison/following{/other_user}","gists_url":"https://api.github.com/users/stustison/gists{/gist_id}","starred_url":"https://api.github.com/users/stustison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stustison/subscriptions","organizations_url":"https://api.github.com/users/stustison/orgs","repos_url":"https://api.github.com/users/stustison/repos","events_url":"https://api.github.com/users/stustison/events{/privacy}","received_events_url":"https://api.github.com/users/stustison/received_events","type":"User","site_admin":false},"body":"It hasn't been released yet.","created_at":"2016-02-04T14:42:15Z","updated_at":"2016-02-04T14:42:15Z","html_url":"https://github.com/codice/ddf/pull/518#discussion_r51880410","pull_request_url":"https://api.github.com/repos/codice/ddf/pulls/518","_links":{"self":{"href":"https://api.github.com/repos/codice/ddf/pulls/comments/51880410"},"html":{"href":"https://github.com/codice/ddf/pull/518#discussion_r51880410"},"pull_request":{"href":"https://api.github.com/repos/codice/ddf/pulls/518"}}},"pull_request":{"url":"https://api.github.com/repos/codice/ddf/pulls/518","id":58293407,"html_url":"https://github.com/codice/ddf/pull/518","diff_url":"https://github.com/codice/ddf/pull/518.diff","patch_url":"https://github.com/codice/ddf/pull/518.patch","issue_url":"https://api.github.com/repos/codice/ddf/issues/518","number":518,"state":"open","locked":false,"title":"DDF-1836 updated access and policy plugin apis","user":{"login":"stustison","id":4391679,"avatar_url":"https://avatars.githubusercontent.com/u/4391679?v=3","gravatar_id":"","url":"https://api.github.com/users/stustison","html_url":"https://github.com/stustison","followers_url":"https://api.github.com/users/stustison/followers","following_url":"https://api.github.com/users/stustison/following{/other_user}","gists_url":"https://api.github.com/users/stustison/gists{/gist_id}","starred_url":"https://api.github.com/users/stustison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stustison/subscriptions","organizations_url":"https://api.github.com/users/stustison/orgs","repos_url":"https://api.github.com/users/stustison/repos","events_url":"https://api.github.com/users/stustison/events{/privacy}","received_events_url":"https://api.github.com/users/stustison/received_events","type":"User","site_admin":false},"body":" - updated catalog framework to use updated plugins\r\n - expanded functionality of existing access and policy plugins\r\n - changed ingest plugin to more general catalog policy plugin","created_at":"2016-02-04T14:29:07Z","updated_at":"2016-02-04T14:42:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c3b0a9c831b239e6c4e1601665cb1329964f1abd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/codice/ddf/pulls/518/commits","review_comments_url":"https://api.github.com/repos/codice/ddf/pulls/518/comments","review_comment_url":"https://api.github.com/repos/codice/ddf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codice/ddf/issues/518/comments","statuses_url":"https://api.github.com/repos/codice/ddf/statuses/b2362c2f252ebef9b7a894ce9ec59ccfcfb13206","head":{"label":"stustison:ddf1836","ref":"ddf1836","sha":"b2362c2f252ebef9b7a894ce9ec59ccfcfb13206","user":{"login":"stustison","id":4391679,"avatar_url":"https://avatars.githubusercontent.com/u/4391679?v=3","gravatar_id":"","url":"https://api.github.com/users/stustison","html_url":"https://github.com/stustison","followers_url":"https://api.github.com/users/stustison/followers","following_url":"https://api.github.com/users/stustison/following{/other_user}","gists_url":"https://api.github.com/users/stustison/gists{/gist_id}","starred_url":"https://api.github.com/users/stustison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stustison/subscriptions","organizations_url":"https://api.github.com/users/stustison/orgs","repos_url":"https://api.github.com/users/stustison/repos","events_url":"https://api.github.com/users/stustison/events{/privacy}","received_events_url":"https://api.github.com/users/stustison/received_events","type":"User","site_admin":false},"repo":{"id":34327919,"name":"ddf","full_name":"stustison/ddf","owner":{"login":"stustison","id":4391679,"avatar_url":"https://avatars.githubusercontent.com/u/4391679?v=3","gravatar_id":"","url":"https://api.github.com/users/stustison","html_url":"https://github.com/stustison","followers_url":"https://api.github.com/users/stustison/followers","following_url":"https://api.github.com/users/stustison/following{/other_user}","gists_url":"https://api.github.com/users/stustison/gists{/gist_id}","starred_url":"https://api.github.com/users/stustison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stustison/subscriptions","organizations_url":"https://api.github.com/users/stustison/orgs","repos_url":"https://api.github.com/users/stustison/repos","events_url":"https://api.github.com/users/stustison/events{/privacy}","received_events_url":"https://api.github.com/users/stustison/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stustison/ddf","description":"The Distributed Data Framework - Distribution, SDK, and Test","fork":true,"url":"https://api.github.com/repos/stustison/ddf","forks_url":"https://api.github.com/repos/stustison/ddf/forks","keys_url":"https://api.github.com/repos/stustison/ddf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stustison/ddf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stustison/ddf/teams","hooks_url":"https://api.github.com/repos/stustison/ddf/hooks","issue_events_url":"https://api.github.com/repos/stustison/ddf/issues/events{/number}","events_url":"https://api.github.com/repos/stustison/ddf/events","assignees_url":"https://api.github.com/repos/stustison/ddf/assignees{/user}","branches_url":"https://api.github.com/repos/stustison/ddf/branches{/branch}","tags_url":"https://api.github.com/repos/stustison/ddf/tags","blobs_url":"https://api.github.com/repos/stustison/ddf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stustison/ddf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stustison/ddf/git/refs{/sha}","trees_url":"https://api.github.com/repos/stustison/ddf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stustison/ddf/statuses/{sha}","languages_url":"https://api.github.com/repos/stustison/ddf/languages","stargazers_url":"https://api.github.com/repos/stustison/ddf/stargazers","contributors_url":"https://api.github.com/repos/stustison/ddf/contributors","subscribers_url":"https://api.github.com/repos/stustison/ddf/subscribers","subscription_url":"https://api.github.com/repos/stustison/ddf/subscription","commits_url":"https://api.github.com/repos/stustison/ddf/commits{/sha}","git_commits_url":"https://api.github.com/repos/stustison/ddf/git/commits{/sha}","comments_url":"https://api.github.com/repos/stustison/ddf/comments{/number}","issue_comment_url":"https://api.github.com/repos/stustison/ddf/issues/comments{/number}","contents_url":"https://api.github.com/repos/stustison/ddf/contents/{+path}","compare_url":"https://api.github.com/repos/stustison/ddf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stustison/ddf/merges","archive_url":"https://api.github.com/repos/stustison/ddf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stustison/ddf/downloads","issues_url":"https://api.github.com/repos/stustison/ddf/issues{/number}","pulls_url":"https://api.github.com/repos/stustison/ddf/pulls{/number}","milestones_url":"https://api.github.com/repos/stustison/ddf/milestones{/number}","notifications_url":"https://api.github.com/repos/stustison/ddf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stustison/ddf/labels{/name}","releases_url":"https://api.github.com/repos/stustison/ddf/releases{/id}","deployments_url":"https://api.github.com/repos/stustison/ddf/deployments","created_at":"2015-04-21T13:14:31Z","updated_at":"2015-04-21T13:14:32Z","pushed_at":"2016-02-03T21:16:31Z","git_url":"git://github.com/stustison/ddf.git","ssh_url":"git@github.com:stustison/ddf.git","clone_url":"https://github.com/stustison/ddf.git","svn_url":"https://github.com/stustison/ddf","homepage":"","size":127198,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"codice:master","ref":"master","sha":"d4e58097f58b66bc125ebb882274030bca5867b2","user":{"login":"codice","id":2386734,"avatar_url":"https://avatars.githubusercontent.com/u/2386734?v=3","gravatar_id":"","url":"https://api.github.com/users/codice","html_url":"https://github.com/codice","followers_url":"https://api.github.com/users/codice/followers","following_url":"https://api.github.com/users/codice/following{/other_user}","gists_url":"https://api.github.com/users/codice/gists{/gist_id}","starred_url":"https://api.github.com/users/codice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codice/subscriptions","organizations_url":"https://api.github.com/users/codice/orgs","repos_url":"https://api.github.com/users/codice/repos","events_url":"https://api.github.com/users/codice/events{/privacy}","received_events_url":"https://api.github.com/users/codice/received_events","type":"Organization","site_admin":false},"repo":{"id":15173563,"name":"ddf","full_name":"codice/ddf","owner":{"login":"codice","id":2386734,"avatar_url":"https://avatars.githubusercontent.com/u/2386734?v=3","gravatar_id":"","url":"https://api.github.com/users/codice","html_url":"https://github.com/codice","followers_url":"https://api.github.com/users/codice/followers","following_url":"https://api.github.com/users/codice/following{/other_user}","gists_url":"https://api.github.com/users/codice/gists{/gist_id}","starred_url":"https://api.github.com/users/codice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codice/subscriptions","organizations_url":"https://api.github.com/users/codice/orgs","repos_url":"https://api.github.com/users/codice/repos","events_url":"https://api.github.com/users/codice/events{/privacy}","received_events_url":"https://api.github.com/users/codice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codice/ddf","description":"The Distributed Data Framework - Federated Open Geospatial Consortium (OGC) filter powered metadata catalog with SAML Web SSO secured container","fork":false,"url":"https://api.github.com/repos/codice/ddf","forks_url":"https://api.github.com/repos/codice/ddf/forks","keys_url":"https://api.github.com/repos/codice/ddf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codice/ddf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codice/ddf/teams","hooks_url":"https://api.github.com/repos/codice/ddf/hooks","issue_events_url":"https://api.github.com/repos/codice/ddf/issues/events{/number}","events_url":"https://api.github.com/repos/codice/ddf/events","assignees_url":"https://api.github.com/repos/codice/ddf/assignees{/user}","branches_url":"https://api.github.com/repos/codice/ddf/branches{/branch}","tags_url":"https://api.github.com/repos/codice/ddf/tags","blobs_url":"https://api.github.com/repos/codice/ddf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codice/ddf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codice/ddf/git/refs{/sha}","trees_url":"https://api.github.com/repos/codice/ddf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codice/ddf/statuses/{sha}","languages_url":"https://api.github.com/repos/codice/ddf/languages","stargazers_url":"https://api.github.com/repos/codice/ddf/stargazers","contributors_url":"https://api.github.com/repos/codice/ddf/contributors","subscribers_url":"https://api.github.com/repos/codice/ddf/subscribers","subscription_url":"https://api.github.com/repos/codice/ddf/subscription","commits_url":"https://api.github.com/repos/codice/ddf/commits{/sha}","git_commits_url":"https://api.github.com/repos/codice/ddf/git/commits{/sha}","comments_url":"https://api.github.com/repos/codice/ddf/comments{/number}","issue_comment_url":"https://api.github.com/repos/codice/ddf/issues/comments{/number}","contents_url":"https://api.github.com/repos/codice/ddf/contents/{+path}","compare_url":"https://api.github.com/repos/codice/ddf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codice/ddf/merges","archive_url":"https://api.github.com/repos/codice/ddf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codice/ddf/downloads","issues_url":"https://api.github.com/repos/codice/ddf/issues{/number}","pulls_url":"https://api.github.com/repos/codice/ddf/pulls{/number}","milestones_url":"https://api.github.com/repos/codice/ddf/milestones{/number}","notifications_url":"https://api.github.com/repos/codice/ddf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codice/ddf/labels{/name}","releases_url":"https://api.github.com/repos/codice/ddf/releases{/id}","deployments_url":"https://api.github.com/repos/codice/ddf/deployments","created_at":"2013-12-13T20:38:28Z","updated_at":"2016-02-02T16:34:27Z","pushed_at":"2016-02-04T14:33:51Z","git_url":"git://github.com/codice/ddf.git","ssh_url":"git@github.com:codice/ddf.git","clone_url":"https://github.com/codice/ddf.git","svn_url":"https://github.com/codice/ddf","homepage":"","size":136330,"stargazers_count":32,"watchers_count":32,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":68,"mirror_url":null,"open_issues_count":17,"forks":68,"open_issues":17,"watchers":32,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codice/ddf/pulls/518"},"html":{"href":"https://github.com/codice/ddf/pull/518"},"issue":{"href":"https://api.github.com/repos/codice/ddf/issues/518"},"comments":{"href":"https://api.github.com/repos/codice/ddf/issues/518/comments"},"review_comments":{"href":"https://api.github.com/repos/codice/ddf/pulls/518/comments"},"review_comment":{"href":"https://api.github.com/repos/codice/ddf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codice/ddf/pulls/518/commits"},"statuses":{"href":"https://api.github.com/repos/codice/ddf/statuses/b2362c2f252ebef9b7a894ce9ec59ccfcfb13206"}}}}