{"action":"closed","number":198,"pull_request":{"url":"https://api.github.com/repos/codice/alliance/pulls/198","id":92880118,"html_url":"https://github.com/codice/alliance/pull/198","diff_url":"https://github.com/codice/alliance/pull/198.diff","patch_url":"https://github.com/codice/alliance/pull/198.patch","issue_url":"https://api.github.com/repos/codice/alliance/issues/198","number":198,"state":"closed","locked":false,"title":"CAL-195 Enable Chip Image action for remote NITF resources","user":{"login":"lcrosenbu","id":16792154,"avatar_url":"https://avatars.githubusercontent.com/u/16792154?v=3","gravatar_id":"","url":"https://api.github.com/users/lcrosenbu","html_url":"https://github.com/lcrosenbu","followers_url":"https://api.github.com/users/lcrosenbu/followers","following_url":"https://api.github.com/users/lcrosenbu/following{/other_user}","gists_url":"https://api.github.com/users/lcrosenbu/gists{/gist_id}","starred_url":"https://api.github.com/users/lcrosenbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcrosenbu/subscriptions","organizations_url":"https://api.github.com/users/lcrosenbu/orgs","repos_url":"https://api.github.com/users/lcrosenbu/repos","events_url":"https://api.github.com/users/lcrosenbu/events{/privacy}","received_events_url":"https://api.github.com/users/lcrosenbu/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nThis PR adds custom checking on derived resource URI for remote resources, which are not formatted the same as local resources. Fixes issue where NITF actions list is missing `Chip Image` action only for remote NITFs, due to a logic error in `canHandle` for the action provider, when it is parsing the derived resource URI.\r\n\r\n#### Who is reviewing it (please choose AT LEAST two reviewers that need to approve the PR before it can get merged; if a component team is listed, at least one of its members needs to approve)?\r\n@bdeining @dcruver @glenhein \r\n\r\n#### Choose 2 committers to review/merge the PR (please choose ONLY two committers from below, delete the rest).\r\n@coyotesqrl @jlcsmith \r\n\r\n#### How should this be tested?\r\n - Build and run Alliance.\r\n - Configure a CSW loopback source under `DDF Spatial` --> `CSW Specification Profile Federated Source` to mimic a remote source.\r\n-- Add Source ID name\r\n-- Change CSW URL to local: https://localhost:8993/services/csw\r\n-- Change “Output Schema” to: urn:catalog:metacard\r\n - Ingest a NITF formatted file, then perform a search to find the ingested file.\r\n - Verify that the `Chip Image` action is available for the remote source.\r\n_Note: remote image chipping does not work._\r\n\r\n#### Any background context you want to provide?\r\n\r\n#### What are the relevant tickets?\r\nhttps://codice.atlassian.net/browse/CAL-195\r\n\r\n#### Screenshots (if appropriate)\r\n\r\n#### Checklist:\r\n- [ ] Documentation Updated\r\n\t- [ ] Change Log Updated\r\n- [ ] Update / Add Unit Tests\r\n- [ ] Update / Add Integration Tests\r\n\r\n","created_at":"2016-11-08T23:25:27Z","updated_at":"2016-11-15T19:28:15Z","closed_at":"2016-11-15T19:28:15Z","merged_at":"2016-11-15T19:28:15Z","merge_commit_sha":"64d4fcfe9966dc94ef0450b86ef66f91a7ba0e36","assignee":{"login":"lessarderic","id":11377558,"avatar_url":"https://avatars.githubusercontent.com/u/11377558?v=3","gravatar_id":"","url":"https://api.github.com/users/lessarderic","html_url":"https://github.com/lessarderic","followers_url":"https://api.github.com/users/lessarderic/followers","following_url":"https://api.github.com/users/lessarderic/following{/other_user}","gists_url":"https://api.github.com/users/lessarderic/gists{/gist_id}","starred_url":"https://api.github.com/users/lessarderic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lessarderic/subscriptions","organizations_url":"https://api.github.com/users/lessarderic/orgs","repos_url":"https://api.github.com/users/lessarderic/repos","events_url":"https://api.github.com/users/lessarderic/events{/privacy}","received_events_url":"https://api.github.com/users/lessarderic/received_events","type":"User","site_admin":false},"assignees":[{"login":"lessarderic","id":11377558,"avatar_url":"https://avatars.githubusercontent.com/u/11377558?v=3","gravatar_id":"","url":"https://api.github.com/users/lessarderic","html_url":"https://github.com/lessarderic","followers_url":"https://api.github.com/users/lessarderic/followers","following_url":"https://api.github.com/users/lessarderic/following{/other_user}","gists_url":"https://api.github.com/users/lessarderic/gists{/gist_id}","starred_url":"https://api.github.com/users/lessarderic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lessarderic/subscriptions","organizations_url":"https://api.github.com/users/lessarderic/orgs","repos_url":"https://api.github.com/users/lessarderic/repos","events_url":"https://api.github.com/users/lessarderic/events{/privacy}","received_events_url":"https://api.github.com/users/lessarderic/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/codice/alliance/pulls/198/commits","review_comments_url":"https://api.github.com/repos/codice/alliance/pulls/198/comments","review_comment_url":"https://api.github.com/repos/codice/alliance/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codice/alliance/issues/198/comments","statuses_url":"https://api.github.com/repos/codice/alliance/statuses/7e996efad2bf5e2c6273d12edff62907faf238f6","head":{"label":"lcrosenbu:CAL-195","ref":"CAL-195","sha":"7e996efad2bf5e2c6273d12edff62907faf238f6","user":{"login":"lcrosenbu","id":16792154,"avatar_url":"https://avatars.githubusercontent.com/u/16792154?v=3","gravatar_id":"","url":"https://api.github.com/users/lcrosenbu","html_url":"https://github.com/lcrosenbu","followers_url":"https://api.github.com/users/lcrosenbu/followers","following_url":"https://api.github.com/users/lcrosenbu/following{/other_user}","gists_url":"https://api.github.com/users/lcrosenbu/gists{/gist_id}","starred_url":"https://api.github.com/users/lcrosenbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcrosenbu/subscriptions","organizations_url":"https://api.github.com/users/lcrosenbu/orgs","repos_url":"https://api.github.com/users/lcrosenbu/repos","events_url":"https://api.github.com/users/lcrosenbu/events{/privacy}","received_events_url":"https://api.github.com/users/lcrosenbu/received_events","type":"User","site_admin":false},"repo":{"id":60187605,"name":"alliance","full_name":"lcrosenbu/alliance","owner":{"login":"lcrosenbu","id":16792154,"avatar_url":"https://avatars.githubusercontent.com/u/16792154?v=3","gravatar_id":"","url":"https://api.github.com/users/lcrosenbu","html_url":"https://github.com/lcrosenbu","followers_url":"https://api.github.com/users/lcrosenbu/followers","following_url":"https://api.github.com/users/lcrosenbu/following{/other_user}","gists_url":"https://api.github.com/users/lcrosenbu/gists{/gist_id}","starred_url":"https://api.github.com/users/lcrosenbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcrosenbu/subscriptions","organizations_url":"https://api.github.com/users/lcrosenbu/orgs","repos_url":"https://api.github.com/users/lcrosenbu/repos","events_url":"https://api.github.com/users/lcrosenbu/events{/privacy}","received_events_url":"https://api.github.com/users/lcrosenbu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lcrosenbu/alliance","description":null,"fork":true,"url":"https://api.github.com/repos/lcrosenbu/alliance","forks_url":"https://api.github.com/repos/lcrosenbu/alliance/forks","keys_url":"https://api.github.com/repos/lcrosenbu/alliance/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lcrosenbu/alliance/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lcrosenbu/alliance/teams","hooks_url":"https://api.github.com/repos/lcrosenbu/alliance/hooks","issue_events_url":"https://api.github.com/repos/lcrosenbu/alliance/issues/events{/number}","events_url":"https://api.github.com/repos/lcrosenbu/alliance/events","assignees_url":"https://api.github.com/repos/lcrosenbu/alliance/assignees{/user}","branches_url":"https://api.github.com/repos/lcrosenbu/alliance/branches{/branch}","tags_url":"https://api.github.com/repos/lcrosenbu/alliance/tags","blobs_url":"https://api.github.com/repos/lcrosenbu/alliance/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lcrosenbu/alliance/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lcrosenbu/alliance/git/refs{/sha}","trees_url":"https://api.github.com/repos/lcrosenbu/alliance/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lcrosenbu/alliance/statuses/{sha}","languages_url":"https://api.github.com/repos/lcrosenbu/alliance/languages","stargazers_url":"https://api.github.com/repos/lcrosenbu/alliance/stargazers","contributors_url":"https://api.github.com/repos/lcrosenbu/alliance/contributors","subscribers_url":"https://api.github.com/repos/lcrosenbu/alliance/subscribers","subscription_url":"https://api.github.com/repos/lcrosenbu/alliance/subscription","commits_url":"https://api.github.com/repos/lcrosenbu/alliance/commits{/sha}","git_commits_url":"https://api.github.com/repos/lcrosenbu/alliance/git/commits{/sha}","comments_url":"https://api.github.com/repos/lcrosenbu/alliance/comments{/number}","issue_comment_url":"https://api.github.com/repos/lcrosenbu/alliance/issues/comments{/number}","contents_url":"https://api.github.com/repos/lcrosenbu/alliance/contents/{+path}","compare_url":"https://api.github.com/repos/lcrosenbu/alliance/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lcrosenbu/alliance/merges","archive_url":"https://api.github.com/repos/lcrosenbu/alliance/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lcrosenbu/alliance/downloads","issues_url":"https://api.github.com/repos/lcrosenbu/alliance/issues{/number}","pulls_url":"https://api.github.com/repos/lcrosenbu/alliance/pulls{/number}","milestones_url":"https://api.github.com/repos/lcrosenbu/alliance/milestones{/number}","notifications_url":"https://api.github.com/repos/lcrosenbu/alliance/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lcrosenbu/alliance/labels{/name}","releases_url":"https://api.github.com/repos/lcrosenbu/alliance/releases{/id}","deployments_url":"https://api.github.com/repos/lcrosenbu/alliance/deployments","created_at":"2016-06-01T15:11:16Z","updated_at":"2016-06-01T15:11:20Z","pushed_at":"2016-11-10T19:05:45Z","git_url":"git://github.com/lcrosenbu/alliance.git","ssh_url":"git@github.com:lcrosenbu/alliance.git","clone_url":"https://github.com/lcrosenbu/alliance.git","svn_url":"https://github.com/lcrosenbu/alliance","homepage":null,"size":26440,"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":"11fb3f98f9d4fe51088f60eddbd28238fea882c3","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":52804523,"name":"alliance","full_name":"codice/alliance","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/alliance","description":null,"fork":false,"url":"https://api.github.com/repos/codice/alliance","forks_url":"https://api.github.com/repos/codice/alliance/forks","keys_url":"https://api.github.com/repos/codice/alliance/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codice/alliance/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codice/alliance/teams","hooks_url":"https://api.github.com/repos/codice/alliance/hooks","issue_events_url":"https://api.github.com/repos/codice/alliance/issues/events{/number}","events_url":"https://api.github.com/repos/codice/alliance/events","assignees_url":"https://api.github.com/repos/codice/alliance/assignees{/user}","branches_url":"https://api.github.com/repos/codice/alliance/branches{/branch}","tags_url":"https://api.github.com/repos/codice/alliance/tags","blobs_url":"https://api.github.com/repos/codice/alliance/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codice/alliance/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codice/alliance/git/refs{/sha}","trees_url":"https://api.github.com/repos/codice/alliance/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codice/alliance/statuses/{sha}","languages_url":"https://api.github.com/repos/codice/alliance/languages","stargazers_url":"https://api.github.com/repos/codice/alliance/stargazers","contributors_url":"https://api.github.com/repos/codice/alliance/contributors","subscribers_url":"https://api.github.com/repos/codice/alliance/subscribers","subscription_url":"https://api.github.com/repos/codice/alliance/subscription","commits_url":"https://api.github.com/repos/codice/alliance/commits{/sha}","git_commits_url":"https://api.github.com/repos/codice/alliance/git/commits{/sha}","comments_url":"https://api.github.com/repos/codice/alliance/comments{/number}","issue_comment_url":"https://api.github.com/repos/codice/alliance/issues/comments{/number}","contents_url":"https://api.github.com/repos/codice/alliance/contents/{+path}","compare_url":"https://api.github.com/repos/codice/alliance/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codice/alliance/merges","archive_url":"https://api.github.com/repos/codice/alliance/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codice/alliance/downloads","issues_url":"https://api.github.com/repos/codice/alliance/issues{/number}","pulls_url":"https://api.github.com/repos/codice/alliance/pulls{/number}","milestones_url":"https://api.github.com/repos/codice/alliance/milestones{/number}","notifications_url":"https://api.github.com/repos/codice/alliance/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codice/alliance/labels{/name}","releases_url":"https://api.github.com/repos/codice/alliance/releases{/id}","deployments_url":"https://api.github.com/repos/codice/alliance/deployments","created_at":"2016-02-29T16:10:33Z","updated_at":"2016-10-24T23:01:16Z","pushed_at":"2016-11-15T19:28:15Z","git_url":"git://github.com/codice/alliance.git","ssh_url":"git@github.com:codice/alliance.git","clone_url":"https://github.com/codice/alliance.git","svn_url":"https://github.com/codice/alliance","homepage":null,"size":27188,"stargazers_count":4,"watchers_count":4,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":33,"mirror_url":null,"open_issues_count":8,"forks":33,"open_issues":8,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codice/alliance/pulls/198"},"html":{"href":"https://github.com/codice/alliance/pull/198"},"issue":{"href":"https://api.github.com/repos/codice/alliance/issues/198"},"comments":{"href":"https://api.github.com/repos/codice/alliance/issues/198/comments"},"review_comments":{"href":"https://api.github.com/repos/codice/alliance/pulls/198/comments"},"review_comment":{"href":"https://api.github.com/repos/codice/alliance/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codice/alliance/pulls/198/commits"},"statuses":{"href":"https://api.github.com/repos/codice/alliance/statuses/7e996efad2bf5e2c6273d12edff62907faf238f6"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"coyotesqrl","id":1469860,"avatar_url":"https://avatars.githubusercontent.com/u/1469860?v=3","gravatar_id":"","url":"https://api.github.com/users/coyotesqrl","html_url":"https://github.com/coyotesqrl","followers_url":"https://api.github.com/users/coyotesqrl/followers","following_url":"https://api.github.com/users/coyotesqrl/following{/other_user}","gists_url":"https://api.github.com/users/coyotesqrl/gists{/gist_id}","starred_url":"https://api.github.com/users/coyotesqrl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coyotesqrl/subscriptions","organizations_url":"https://api.github.com/users/coyotesqrl/orgs","repos_url":"https://api.github.com/users/coyotesqrl/repos","events_url":"https://api.github.com/users/coyotesqrl/events{/privacy}","received_events_url":"https://api.github.com/users/coyotesqrl/received_events","type":"User","site_admin":false},"comments":1,"review_comments":3,"commits":3,"additions":47,"deletions":3,"changed_files":4}}
{"actor":{"display_login":"coyotesqrl"}}