{"action":"created","comment":{"url":"https://api.github.com/repos/codice/ddf/pulls/comments/54580883","id":54580883,"diff_hunk":"@@ -813,6 +843,179 @@ public void unknownOperation() throws CswException {\n         throw new CswException(\"No such operation\", CswConstants.OPERATION_NOT_SUPPORTED, null);\n     }\n \n+    @Override\n+    @DELETE\n+    @Path(\"/subscription/{requestId}\")\n+    @Produces({MediaType.WILDCARD})\n+    public Response deleteRecordsSubscription(@PathParam(\"requestId\") String requestId)\n+            throws CswException {\n+        CswSubscription subscription = (CswSubscription) SubscriptionManager.getSubscription(","path":"catalog/spatial/csw/spatial-csw-endpoint/src/main/java/org/codice/ddf/spatial/ogc/csw/catalog/endpoint/CswEndpoint.java","position":null,"original_position":111,"commit_id":"8f7b7ec53856faabdb4e114b79e7e2331d45c2e0","original_commit_id":"c05c601e21f6f5e0b73a7f64b425bb091e7c7ca0","user":{"login":"ryeats","id":14876988,"avatar_url":"https://avatars.githubusercontent.com/u/14876988?v=3","gravatar_id":"","url":"https://api.github.com/users/ryeats","html_url":"https://github.com/ryeats","followers_url":"https://api.github.com/users/ryeats/followers","following_url":"https://api.github.com/users/ryeats/following{/other_user}","gists_url":"https://api.github.com/users/ryeats/gists{/gist_id}","starred_url":"https://api.github.com/users/ryeats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryeats/subscriptions","organizations_url":"https://api.github.com/users/ryeats/orgs","repos_url":"https://api.github.com/users/ryeats/repos","events_url":"https://api.github.com/users/ryeats/events{/privacy}","received_events_url":"https://api.github.com/users/ryeats/received_events","type":"User","site_admin":false},"body":"I have another ticket to add more functionality I will do the refactor there.","created_at":"2016-03-01T15:18:59Z","updated_at":"2016-03-01T15:18:59Z","html_url":"https://github.com/codice/ddf/pull/550#discussion_r54580883","pull_request_url":"https://api.github.com/repos/codice/ddf/pulls/550","_links":{"self":{"href":"https://api.github.com/repos/codice/ddf/pulls/comments/54580883"},"html":{"href":"https://github.com/codice/ddf/pull/550#discussion_r54580883"},"pull_request":{"href":"https://api.github.com/repos/codice/ddf/pulls/550"}}},"pull_request":{"url":"https://api.github.com/repos/codice/ddf/pulls/550","id":59847637,"html_url":"https://github.com/codice/ddf/pull/550","diff_url":"https://github.com/codice/ddf/pull/550.diff","patch_url":"https://github.com/codice/ddf/pull/550.patch","issue_url":"https://api.github.com/repos/codice/ddf/issues/550","number":550,"state":"open","locked":false,"title":"DDF-1858 added subscription api to CSW endpoint","user":{"login":"ryeats","id":14876988,"avatar_url":"https://avatars.githubusercontent.com/u/14876988?v=3","gravatar_id":"","url":"https://api.github.com/users/ryeats","html_url":"https://github.com/ryeats","followers_url":"https://api.github.com/users/ryeats/followers","following_url":"https://api.github.com/users/ryeats/following{/other_user}","gists_url":"https://api.github.com/users/ryeats/gists{/gist_id}","starred_url":"https://api.github.com/users/ryeats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryeats/subscriptions","organizations_url":"https://api.github.com/users/ryeats/orgs","repos_url":"https://api.github.com/users/ryeats/repos","events_url":"https://api.github.com/users/ryeats/events{/privacy}","received_events_url":"https://api.github.com/users/ryeats/received_events","type":"User","site_admin":false},"body":"@coyotesqrl @pklinef @bcwaters @roelens8 @tbatie @wbarnie @jckilmer please review","created_at":"2016-02-18T19:10:04Z","updated_at":"2016-03-01T15:18:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f77584ebd0035b85effc181d3ed958cedb5f56a3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/codice/ddf/pulls/550/commits","review_comments_url":"https://api.github.com/repos/codice/ddf/pulls/550/comments","review_comment_url":"https://api.github.com/repos/codice/ddf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codice/ddf/issues/550/comments","statuses_url":"https://api.github.com/repos/codice/ddf/statuses/8f7b7ec53856faabdb4e114b79e7e2331d45c2e0","head":{"label":"ryeats:DDF-1858","ref":"DDF-1858","sha":"8f7b7ec53856faabdb4e114b79e7e2331d45c2e0","user":{"login":"ryeats","id":14876988,"avatar_url":"https://avatars.githubusercontent.com/u/14876988?v=3","gravatar_id":"","url":"https://api.github.com/users/ryeats","html_url":"https://github.com/ryeats","followers_url":"https://api.github.com/users/ryeats/followers","following_url":"https://api.github.com/users/ryeats/following{/other_user}","gists_url":"https://api.github.com/users/ryeats/gists{/gist_id}","starred_url":"https://api.github.com/users/ryeats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryeats/subscriptions","organizations_url":"https://api.github.com/users/ryeats/orgs","repos_url":"https://api.github.com/users/ryeats/repos","events_url":"https://api.github.com/users/ryeats/events{/privacy}","received_events_url":"https://api.github.com/users/ryeats/received_events","type":"User","site_admin":false},"repo":{"id":43379984,"name":"ddf","full_name":"ryeats/ddf","owner":{"login":"ryeats","id":14876988,"avatar_url":"https://avatars.githubusercontent.com/u/14876988?v=3","gravatar_id":"","url":"https://api.github.com/users/ryeats","html_url":"https://github.com/ryeats","followers_url":"https://api.github.com/users/ryeats/followers","following_url":"https://api.github.com/users/ryeats/following{/other_user}","gists_url":"https://api.github.com/users/ryeats/gists{/gist_id}","starred_url":"https://api.github.com/users/ryeats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryeats/subscriptions","organizations_url":"https://api.github.com/users/ryeats/orgs","repos_url":"https://api.github.com/users/ryeats/repos","events_url":"https://api.github.com/users/ryeats/events{/privacy}","received_events_url":"https://api.github.com/users/ryeats/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ryeats/ddf","description":"The Distributed Data Framework - Distribution, SDK, and Test","fork":true,"url":"https://api.github.com/repos/ryeats/ddf","forks_url":"https://api.github.com/repos/ryeats/ddf/forks","keys_url":"https://api.github.com/repos/ryeats/ddf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ryeats/ddf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ryeats/ddf/teams","hooks_url":"https://api.github.com/repos/ryeats/ddf/hooks","issue_events_url":"https://api.github.com/repos/ryeats/ddf/issues/events{/number}","events_url":"https://api.github.com/repos/ryeats/ddf/events","assignees_url":"https://api.github.com/repos/ryeats/ddf/assignees{/user}","branches_url":"https://api.github.com/repos/ryeats/ddf/branches{/branch}","tags_url":"https://api.github.com/repos/ryeats/ddf/tags","blobs_url":"https://api.github.com/repos/ryeats/ddf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ryeats/ddf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ryeats/ddf/git/refs{/sha}","trees_url":"https://api.github.com/repos/ryeats/ddf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ryeats/ddf/statuses/{sha}","languages_url":"https://api.github.com/repos/ryeats/ddf/languages","stargazers_url":"https://api.github.com/repos/ryeats/ddf/stargazers","contributors_url":"https://api.github.com/repos/ryeats/ddf/contributors","subscribers_url":"https://api.github.com/repos/ryeats/ddf/subscribers","subscription_url":"https://api.github.com/repos/ryeats/ddf/subscription","commits_url":"https://api.github.com/repos/ryeats/ddf/commits{/sha}","git_commits_url":"https://api.github.com/repos/ryeats/ddf/git/commits{/sha}","comments_url":"https://api.github.com/repos/ryeats/ddf/comments{/number}","issue_comment_url":"https://api.github.com/repos/ryeats/ddf/issues/comments{/number}","contents_url":"https://api.github.com/repos/ryeats/ddf/contents/{+path}","compare_url":"https://api.github.com/repos/ryeats/ddf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ryeats/ddf/merges","archive_url":"https://api.github.com/repos/ryeats/ddf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ryeats/ddf/downloads","issues_url":"https://api.github.com/repos/ryeats/ddf/issues{/number}","pulls_url":"https://api.github.com/repos/ryeats/ddf/pulls{/number}","milestones_url":"https://api.github.com/repos/ryeats/ddf/milestones{/number}","notifications_url":"https://api.github.com/repos/ryeats/ddf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ryeats/ddf/labels{/name}","releases_url":"https://api.github.com/repos/ryeats/ddf/releases{/id}","deployments_url":"https://api.github.com/repos/ryeats/ddf/deployments","created_at":"2015-09-29T16:34:25Z","updated_at":"2015-09-29T16:34:41Z","pushed_at":"2016-02-29T15:20:08Z","git_url":"git://github.com/ryeats/ddf.git","ssh_url":"git@github.com:ryeats/ddf.git","clone_url":"https://github.com/ryeats/ddf.git","svn_url":"https://github.com/ryeats/ddf","homepage":"","size":131119,"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":"61f813855a7eec6fcef0691587b516094dba5f4c","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-23T03:59:25Z","pushed_at":"2016-03-01T01:27:30Z","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":145605,"stargazers_count":33,"watchers_count":33,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":69,"mirror_url":null,"open_issues_count":17,"forks":69,"open_issues":17,"watchers":33,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codice/ddf/pulls/550"},"html":{"href":"https://github.com/codice/ddf/pull/550"},"issue":{"href":"https://api.github.com/repos/codice/ddf/issues/550"},"comments":{"href":"https://api.github.com/repos/codice/ddf/issues/550/comments"},"review_comments":{"href":"https://api.github.com/repos/codice/ddf/pulls/550/comments"},"review_comment":{"href":"https://api.github.com/repos/codice/ddf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codice/ddf/pulls/550/commits"},"statuses":{"href":"https://api.github.com/repos/codice/ddf/statuses/8f7b7ec53856faabdb4e114b79e7e2331d45c2e0"}}}}