{"action":"created","comment":{"url":"https://api.github.com/repos/codice/ddf/pulls/comments/48353155","id":48353155,"diff_hunk":"@@ -54,9 +54,22 @@\n     </bean>\n \n \n+    <!-- Post-Query Metacard Validity Filter Plugin -->\n+    <bean id=\"post-query-plugin\" class=\"ddf.catalog.metacard.validation.MetacardValidityFilterPlugin\" >\n+        <cm:managed-properties\n+                persistent-id=\"ddf.catalog.metacard.validation.MetacardValidityFilterPlugin\"\n+                update-strategy=\"container-managed\"/>\n+        <property name=\"attributeMap\">\n+            <list />\n+        </property>\n+    </bean>\n+\n+\n+\n \n     <!-- Register in the OSGi Service Registry -->\n     <service ref=\"pre-ingest-plugin\" interface=\"ddf.catalog.plugin.PreIngestPlugin\"/>\n     <service ref=\"pre-query-plugin\" interface=\"ddf.catalog.plugin.PreQueryPlugin\"/>\n+    <service ref=\"post-query-plugin\" interface=\"ddf.catalog.plugin.PostQueryPlugin\" ranking=\"100\"/>","path":"catalog/plugin/catalog-plugin-metacard-validation/src/main/resources/OSGI-INF/blueprint/blueprint.xml","position":20,"original_position":20,"commit_id":"ee009417ec7faf1e2cc0a18b39ae92433b09ae0e","original_commit_id":"ee009417ec7faf1e2cc0a18b39ae92433b09ae0e","user":{"login":"vinamartin","id":9013407,"avatar_url":"https://avatars.githubusercontent.com/u/9013407?v=3","gravatar_id":"","url":"https://api.github.com/users/vinamartin","html_url":"https://github.com/vinamartin","followers_url":"https://api.github.com/users/vinamartin/followers","following_url":"https://api.github.com/users/vinamartin/following{/other_user}","gists_url":"https://api.github.com/users/vinamartin/gists{/gist_id}","starred_url":"https://api.github.com/users/vinamartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinamartin/subscriptions","organizations_url":"https://api.github.com/users/vinamartin/orgs","repos_url":"https://api.github.com/users/vinamartin/repos","events_url":"https://api.github.com/users/vinamartin/events{/privacy}","received_events_url":"https://api.github.com/users/vinamartin/received_events","type":"User","site_admin":false},"body":"Just curious what `ranking` does here and why the other ones don't include `ranking`. ","created_at":"2015-12-23T15:27:19Z","updated_at":"2015-12-23T15:27:19Z","html_url":"https://github.com/codice/ddf/pull/407#discussion_r48353155","pull_request_url":"https://api.github.com/repos/codice/ddf/pulls/407","_links":{"self":{"href":"https://api.github.com/repos/codice/ddf/pulls/comments/48353155"},"html":{"href":"https://github.com/codice/ddf/pull/407#discussion_r48353155"},"pull_request":{"href":"https://api.github.com/repos/codice/ddf/pulls/407"}}},"pull_request":{"url":"https://api.github.com/repos/codice/ddf/pulls/407","id":54406780,"html_url":"https://github.com/codice/ddf/pull/407","diff_url":"https://github.com/codice/ddf/pull/407.diff","patch_url":"https://github.com/codice/ddf/pull/407.patch","issue_url":"https://api.github.com/repos/codice/ddf/issues/407","number":407,"state":"open","locked":false,"title":"DDF-1745 Add post query plugin for filtering","user":{"login":"harrison-tarr","id":14062223,"avatar_url":"https://avatars.githubusercontent.com/u/14062223?v=3","gravatar_id":"","url":"https://api.github.com/users/harrison-tarr","html_url":"https://github.com/harrison-tarr","followers_url":"https://api.github.com/users/harrison-tarr/followers","following_url":"https://api.github.com/users/harrison-tarr/following{/other_user}","gists_url":"https://api.github.com/users/harrison-tarr/gists{/gist_id}","starred_url":"https://api.github.com/users/harrison-tarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harrison-tarr/subscriptions","organizations_url":"https://api.github.com/users/harrison-tarr/orgs","repos_url":"https://api.github.com/users/harrison-tarr/repos","events_url":"https://api.github.com/users/harrison-tarr/events{/privacy}","received_events_url":"https://api.github.com/users/harrison-tarr/received_events","type":"User","site_admin":false},"body":"Post query plugin sets Metacard SECURITY attribute according\r\nto metatype configuration. Uses existing filter plugin to do actual\r\nfiltering.\r\nAdd default configuration in XACML and Java PDP to allow users with\r\nsystem-admin attribute to view invalid metacards.\r\n@codice/security @brendan-hofmann @vinamartin ","created_at":"2015-12-22T19:39:42Z","updated_at":"2015-12-23T15:27:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e297c2c46448bb7666fdf54ab3e79625b594d12e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/codice/ddf/pulls/407/commits","review_comments_url":"https://api.github.com/repos/codice/ddf/pulls/407/comments","review_comment_url":"https://api.github.com/repos/codice/ddf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codice/ddf/issues/407/comments","statuses_url":"https://api.github.com/repos/codice/ddf/statuses/ee009417ec7faf1e2cc0a18b39ae92433b09ae0e","head":{"label":"harrison-tarr:DDF-1745","ref":"DDF-1745","sha":"ee009417ec7faf1e2cc0a18b39ae92433b09ae0e","user":{"login":"harrison-tarr","id":14062223,"avatar_url":"https://avatars.githubusercontent.com/u/14062223?v=3","gravatar_id":"","url":"https://api.github.com/users/harrison-tarr","html_url":"https://github.com/harrison-tarr","followers_url":"https://api.github.com/users/harrison-tarr/followers","following_url":"https://api.github.com/users/harrison-tarr/following{/other_user}","gists_url":"https://api.github.com/users/harrison-tarr/gists{/gist_id}","starred_url":"https://api.github.com/users/harrison-tarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harrison-tarr/subscriptions","organizations_url":"https://api.github.com/users/harrison-tarr/orgs","repos_url":"https://api.github.com/users/harrison-tarr/repos","events_url":"https://api.github.com/users/harrison-tarr/events{/privacy}","received_events_url":"https://api.github.com/users/harrison-tarr/received_events","type":"User","site_admin":false},"repo":{"id":41703445,"name":"ddf","full_name":"harrison-tarr/ddf","owner":{"login":"harrison-tarr","id":14062223,"avatar_url":"https://avatars.githubusercontent.com/u/14062223?v=3","gravatar_id":"","url":"https://api.github.com/users/harrison-tarr","html_url":"https://github.com/harrison-tarr","followers_url":"https://api.github.com/users/harrison-tarr/followers","following_url":"https://api.github.com/users/harrison-tarr/following{/other_user}","gists_url":"https://api.github.com/users/harrison-tarr/gists{/gist_id}","starred_url":"https://api.github.com/users/harrison-tarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harrison-tarr/subscriptions","organizations_url":"https://api.github.com/users/harrison-tarr/orgs","repos_url":"https://api.github.com/users/harrison-tarr/repos","events_url":"https://api.github.com/users/harrison-tarr/events{/privacy}","received_events_url":"https://api.github.com/users/harrison-tarr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/harrison-tarr/ddf","description":"The Distributed Data Framework - Distribution, SDK, and Test","fork":true,"url":"https://api.github.com/repos/harrison-tarr/ddf","forks_url":"https://api.github.com/repos/harrison-tarr/ddf/forks","keys_url":"https://api.github.com/repos/harrison-tarr/ddf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/harrison-tarr/ddf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/harrison-tarr/ddf/teams","hooks_url":"https://api.github.com/repos/harrison-tarr/ddf/hooks","issue_events_url":"https://api.github.com/repos/harrison-tarr/ddf/issues/events{/number}","events_url":"https://api.github.com/repos/harrison-tarr/ddf/events","assignees_url":"https://api.github.com/repos/harrison-tarr/ddf/assignees{/user}","branches_url":"https://api.github.com/repos/harrison-tarr/ddf/branches{/branch}","tags_url":"https://api.github.com/repos/harrison-tarr/ddf/tags","blobs_url":"https://api.github.com/repos/harrison-tarr/ddf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/harrison-tarr/ddf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/harrison-tarr/ddf/git/refs{/sha}","trees_url":"https://api.github.com/repos/harrison-tarr/ddf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/harrison-tarr/ddf/statuses/{sha}","languages_url":"https://api.github.com/repos/harrison-tarr/ddf/languages","stargazers_url":"https://api.github.com/repos/harrison-tarr/ddf/stargazers","contributors_url":"https://api.github.com/repos/harrison-tarr/ddf/contributors","subscribers_url":"https://api.github.com/repos/harrison-tarr/ddf/subscribers","subscription_url":"https://api.github.com/repos/harrison-tarr/ddf/subscription","commits_url":"https://api.github.com/repos/harrison-tarr/ddf/commits{/sha}","git_commits_url":"https://api.github.com/repos/harrison-tarr/ddf/git/commits{/sha}","comments_url":"https://api.github.com/repos/harrison-tarr/ddf/comments{/number}","issue_comment_url":"https://api.github.com/repos/harrison-tarr/ddf/issues/comments{/number}","contents_url":"https://api.github.com/repos/harrison-tarr/ddf/contents/{+path}","compare_url":"https://api.github.com/repos/harrison-tarr/ddf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/harrison-tarr/ddf/merges","archive_url":"https://api.github.com/repos/harrison-tarr/ddf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/harrison-tarr/ddf/downloads","issues_url":"https://api.github.com/repos/harrison-tarr/ddf/issues{/number}","pulls_url":"https://api.github.com/repos/harrison-tarr/ddf/pulls{/number}","milestones_url":"https://api.github.com/repos/harrison-tarr/ddf/milestones{/number}","notifications_url":"https://api.github.com/repos/harrison-tarr/ddf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/harrison-tarr/ddf/labels{/name}","releases_url":"https://api.github.com/repos/harrison-tarr/ddf/releases{/id}","created_at":"2015-08-31T22:18:51Z","updated_at":"2015-08-31T22:19:01Z","pushed_at":"2015-12-22T22:05:56Z","git_url":"git://github.com/harrison-tarr/ddf.git","ssh_url":"git@github.com:harrison-tarr/ddf.git","clone_url":"https://github.com/harrison-tarr/ddf.git","svn_url":"https://github.com/harrison-tarr/ddf","homepage":"","size":125374,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"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":"9e7aa73a06417469a8675487cc6ef27d7d47dcba","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 - Distribution, SDK, and Test","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}","created_at":"2013-12-13T20:38:28Z","updated_at":"2015-12-13T06:41:18Z","pushed_at":"2015-12-23T00:12:54Z","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":132245,"stargazers_count":26,"watchers_count":26,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":64,"mirror_url":null,"open_issues_count":12,"forks":64,"open_issues":12,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codice/ddf/pulls/407"},"html":{"href":"https://github.com/codice/ddf/pull/407"},"issue":{"href":"https://api.github.com/repos/codice/ddf/issues/407"},"comments":{"href":"https://api.github.com/repos/codice/ddf/issues/407/comments"},"review_comments":{"href":"https://api.github.com/repos/codice/ddf/pulls/407/comments"},"review_comment":{"href":"https://api.github.com/repos/codice/ddf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codice/ddf/pulls/407/commits"},"statuses":{"href":"https://api.github.com/repos/codice/ddf/statuses/ee009417ec7faf1e2cc0a18b39ae92433b09ae0e"}}}}